Statements as Triples (“ David Billington”, http:/www.mydomain.org/site-owner, http://www.cit.gu.edu.au/-db) o The triple (x, P,y) can be considered as a logical formula P(x,y) Binary predicate P relates object x to object y RDF offers only binary predicates(properties) 11 Chapter 3 A Semantic Web primer
Chapter 3 A Semantic Web Primer 11 Statements as Triples (“David Billington”, http://www.mydomain.org/site-owner, http://www.cit.gu.edu.au/~db) ⚫ The triple (x,P,y) can be considered as a logical formula P(x,y) – Binary predicate P relates object x to object y – RDF offers only binary predicates (properties)
XML Vocabularies site owner ww.cit gu.edu. au /wdb David Billington o a directed graph with labeled nodes and arcs from the resource(the subject of the statement) to the value(the object of the statement) e Known in al as a semantic net o The value of a statement may be a resource It may be linked to other resources 12 Chapter 3 A Semantic Web primer
Chapter 3 A Semantic Web Primer 12 XML Vocabularies ⚫ A directed graph with labeled nodes and arcs – from the resource (the subject of the statement) – to the value (the object of the statement) ⚫ Known in AI as a semantic net ⚫ The value of a statement may be a resource – Ιt may be linked to other resources
A Set of Triples as a Semantic Net site-owner onc www.cit.gu.eduau/-ab David Billington 3875507 uSes site-owner Andrew Rock w.citgu.edu. au/ arock/defeasible/Defeasibleog1 13 Chapter 3 A Semantic Web primer
Chapter 3 A Semantic Web Primer 13 A Set of Triples as a Semantic Net
Statements in XML Syntax Graphs are a powerful tool for human understanding but o The semantic Web vision requires machine accessible and machine-processable representations o There is a 3rd representation based on XML But XML is not a part of the rdf data model E.g. serialisation of XML is irrelevant for RDF 14 Chapter 3 A Semantic Web primer
Chapter 3 A Semantic Web Primer 14 Statements in XML Syntax ⚫ Graphs are a powerful tool for human understanding but ⚫ The Semantic Web vision requires machineaccessible and machine-processable representations ⚫ There is a 3rd representation based on XML – But XML is not a part of the RDF data model – E.g. serialisation of XML is irrelevant for RDF
Statements in XML(2) <rdf: rdF xmins:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns# xmins:mydomain="http://www.mydomain.org/my-rdf-ns"> <rdf: Description rdf:about=http://www.cit.gu.edu.au/-db"> <mydomain: site-owner> David Billington </mydomain: site-owner> </rdf: Description> </rdf: RDF 15 Chapter 3 A Semantic Web primer
Chapter 3 A Semantic Web Primer 15 Statements in XML (2) <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mydomain="http://www.mydomain.org/my-rdf-ns"> <rdf:Description rdf:about="http://www.cit.gu.edu.au/~db"> <mydomain:site-owner> David Billington </mydomain:site-owner> </rdf:Description> </rdf:RDF>