Web ServicesLesson 106Free preview
XML RDF
This lesson is part of XML · All levels
Summary
The RDF or Resource Description Framework is a framework for expressing knowledge in the form of a threefold: subject, predicate, and object. RDF data is often written with XML syntax to be easily interchangeable, although RDF also has Turtle and N-Triples syntax. This model became the foundation of the Semantic Web and allowed the machines to understand the relationships between resources.
Key points
- The triangle consists of subjects, predicates, and objects such as Book - Author - Rina
- Each resource is identified by URI.
- XML syntax uses the elements <rdf:RDF> and <rdf:Description>
- The ontology of RDFS or OWL adds the meaning of class and property
- RDF data can be tracked using the SPARQL query language
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.