473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Tagging HTML with RDF

Hi everyone- I need a quick pointer from someone on how to mark up HTML
with RDF tags. Suppose, for instance, on my web page, I had the
sentence:

"Last Wednesday I ate a turkey sandwich at Subway"

Now suppose I wanted to link this up to a common RDF ontologies that
contains food items, such as the one at

"http://www.w3.org/TR/2004/REC-owl-guide-20040210/wine.rdf"

Is there a "correct" or at least sensible way of doing this? For
instance, would it be correct to say the following in the HTML:

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:food="http://www.w3.org/TR/2004/REC-owl-guide-20040210/wine.rdf">
Last Wednesday I ate a <food:LightMeatFowlCourse>turkey
sandwich</food:LightMeatFowlCourse> at Subway
</rdf:RDF>

(note the tags around the text for the sandwich)

If this is not correct, where can I find out how to properly mark up
HTML with RDF? The standard RDF resources I was able to find do not
seem to address this particular question- I can find info on how to
mark up an ENTIRE web page, but not a specific text fragment.

Any pointers are appreciated!

Conrad Barski, M.D.

Jul 20 '05 #1
1 1257
I have found some info dealing with this issue, for anyone
interested...

The answer is to use the same techniques commonly used for laying out
an entire web page, but to use bookmarks (using <a name...>) or
XPointer queries to refer to subsections in the document- No RDF is
stored at the actual locations of the text fragments in the body text.

For an example, search for "#XPointer" in the following doc:

http://ubaccess.com/lisa/rdf-tech-src-july.html

Conrad Barski, M.D.

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David Dvali | last post by:
Hello. What is Doxygen tagging and how it can be used for source code documenting?
0
by: pizarropablo | last post by:
hi, i'm looking for code of tagging system like del.icio.us or flickr. excuse my english.
1
by: darrel | last post by:
Has anyone built a tagging system for their .net application akin to way flickr or del.icio.us implement it? We're building an internal CMS and all of the structured content will be organized...
2
by: Jake Barnes | last post by:
Reading over this debate I came to realize that RSS is too limited to mediate against the weaknesses and failures of social search: ...
1
by: Jana | last post by:
Is there an XML-editor that can assist you in marking up the data in an urformatted text document, such that you mark the data and then right-click to access the Schema you have assigned, and...
2
by: metaperl.etc | last post by:
The first thing I look at when examining a module is how often it is updated. Unfortunately, the entries there dont show this. Eg: http://www.python.org/pypi/PySimpleXML/1.0 Second, it seems...
1
by: gojoe101 | last post by:
Hello, I have a tagging database, that allows me to apply tags to transaction records. The transaction records can have none or several different tags applied to them. I would like to be able...
0
by: bluethunder | last post by:
I have a problem regarding in printing the stored information in the database. I must use a tagging code to print the information that i needed to print. The information in database are came from...
2
by: sidhubhatia23 | last post by:
i Need help with photo tagging. but i am nto too sure how to do that. i am trying to get the tagging work like it works in face book. can some one help?
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.