semantic web - Representing complicated sentences using RDF syntax -


i new rdf , have 1 question rdf.

with simple sentence : "ann study math", there's no problem represent using rdf.

but more complicated sentences such as: "mr parker teaches machine learning , uses book named ml-for-newbie", mean mr parker uses book prepare lectures. there're 3 objects : mr parker, machine learning, ml-for-newbie; 2 predicates: teach, use. how represent sentence in rdf? know, 1 rdf statement subject --predicate--> object, , 3 objects , 2 predicates make me confused :(

plz help, thanks!

in case, either decompose these sentences in 3 rdf statements or use blank node.

examples of decomposition, course has own uri (:course999):

:mr_parker    :teaches    :course999 . :course999    :coursename    "machine learning" . :course999    :hassupportbook    "ml-for-newbies" . 

with anonymous nodes (blank node _:b1), it's same principle course not explicitly captured:

:mr_parker    :teaches    _:b1 . _:b1    :coursename    "machine learning" . _:b1    :hassupportbook    "ml-for-newbies" . 

now mentioned in comments, string "ml-for-newbies" not book, represent title of book. add more triples capture information item (like author of book instance). can think of re-using developed vocabulary task (like dublin core):

:mr_parker    :teaches    _:b1 . _:b1    :hassupportbook    :book2 . :book2    dcterms:title    "ml-for-newbies" . :book2    dcterms:creator    "john smith" . 

... , here string represent name of author not author (like book), expand triples more representing entity type if needed.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -