This is an archive of an inactive wiki and cannot be modified.

RDFa Terminology

Index


This page aims at building an RDFa terminology.

1. RDFa Terminology in OWL Abstract Syntax

The proposal for an RDFa Terminology is: OWL-Lite ontology (RDF/XML document). A SVG visualisation of the RDFa Terminology is available as well. Below the proposed RDFa Terminology is given in OWL abstract syntax.

Namespace(rdf   = <http://www.w3.org/1999/02/22-rdf-syntax-ns#>)
Namespace(xsd   = <http://www.w3.org/2001/XMLSchema#>)
Namespace(rdfs  = <http://www.w3.org/2000/01/rdf-schema#>)
Namespace(owl   = <http://www.w3.org/2002/07/owl#>)
Namespace(rdfat = <http://www.w3.org/2006/07/SWD/RDFa#>)

Ontology( <http://www.w3.org/2006/07/SWD/RDFa>

 Annotation(rdfs:comment "This ontology is intended for describing terms used in the realm of RDFa.")
 Annotation(rdfs:seeAlso http://www.w3.org/2006/07/SWD/wiki/RDFa/)
 Annotation(rdfs:label "RDFa Terminology")

 Class(rdfat:RDFGraph partial 
  annotation(rdfs:comment "An RDF graph is a set of triples; each triple contains three components: subject, predicate, and object.")
  annotation(rdfs:isDefinedBy http://www.w3.org/TR/rdf-concepts/Overview.html#section-rdf-graph)
  annotation(rdfs:label "RDF graph")
 )
 Class(rdfat:RDFaAwareAgent partial 
  annotation(rdfs:comment "A software agent that is able to apply the rules defined in the RDFa Syntax document to generate an RDF graph out of an XHTML document")
  annotation(rdfs:label "RDFa aware agent")
 )
 Class(rdfat:RDFaDOMExtractor partial rdfat:RDFaAwareAgent)
 Class(rdfat:RDFaDOMExtractor partial 
  annotation(rdfs:comment "An RDFa aware agent that provides for a DOM-based interface to generate an RDF graph out of an XHTML document.")
  annotation(rdfs:label "DOM-based RDFa aware agent")
 )
 Class(rdfat:RDFaRESTExtractor partial rdfat:RDFaAwareAgent)
 Class(rdfat:RDFaRESTExtractor partial 
  annotation(rdfs:comment "An RDFa aware agent that provides for a REST interface to generate an RDF graph out of an XHTML document.")
  annotation(rdfs:label "REST-based RDFa aware agent")
 )
 Class(rdfat:SWApplication partial 
  annotation(rdfs:comment "A piece of software that operates on an RDF graph.")
  annotation(rdfs:label "Semantic Web application")
 )
 Class(rdfat:Vocabulary partial 
  annotation(rdfs:comment "A set of atomic words known to an agent forming a part of a specific language.")
  annotation(rdfs:label "vocabulary")
 )

 ObjectProperty(rdfat:generates
  domain(rdfat:RDFaAwareAgent)
  range(rdfat:RDFGraph)
 )
 ObjectProperty(a:isEmbeddedIn
  domain(rdfat:Vocabulary)
  range(rdfat:Vocabulary)
 )
 ObjectProperty(a:operatesOn
  domain(rdfat:SWApplication)
  range(rdfat:RDFGraph)
 )
 ObjectProperty(a:processes
  domain(rdfat:RDFaAwareAgent)
  range(rdfat:Vocabulary)
 )
 ObjectProperty(a:uses
  domain(rdfat:SWApplication)
  range(rdfat:RDFaAwareAgent)
 )

 Individual(rdfat:RDFaHTML
  annotation(rdfs:isDefinedBy http://www.w3.org/2006/07/SWD/RDFa)
  annotation(rdfs:label "RDFa in HTML")
  type(rdfat:Vocabulary)
  value(rdfat:isEmbeddedIn a:XHTML11)
 )
 Individual(rdfat:XHTML11
  annotation(rdfs:isDefinedBy http://www.w3.org/TR/xhtml11/)
  annotation(rdfs:label "XHTML 1.1 - Module-based XHTML")
  type(rdfat:Vocabulary))
 )

2. RDFa Processing

The Fig. below describes how an RDFa aware agent generates RDF out of an XHTML+RDFa document, and which specifications are involved in this process.