RDFa Testbed
A collection of RDFa implementations, that is how RDFa is used in a real-world setup. If you are interested in software implementations (extractors, etc.), have a look at: RDFa implementations (TODO: Elias, should we move the ESW content somewhere here?).
DOAP for Apache Tomcat in RDFa
Based on http://projects.apache.org/projects/tomcat.html:
[[SafeHTML(<div xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><div about="http://tomcat.apache.org/" rel="rdf:type" href="[doap:Project]">The <a rel="doap:homepage" href="http://tomcat.apache.org" property="doap:name">Apache Tomcat</a> is a <meta property="doap:shortdesc">a Java Servlet and Java Servet Pages specifications implementation.</meta></div></div>)]]
Applying the following SPARQL query:
PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX doap: <http://usefulinc.com/ns/doap#> SELECT * WHERE { ?project a doap:Project; doap:homepage ?projectHP; doap:name ?projectName . }
on this page using the RDFa In Wiki Interface (RiWi) yields:
project |
projectHP |
projectName |
<http://tomcat.apache.org/> |
<http://tomcat.apache.org> |
"Apache Tomcat" ^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> |
CategoryRDFa