Slides of the presentation …
This is an evolving slide set, updated regularly.
<foo:creator> same as
<bar:author>?http://www.example.org/myCalendar
(http://www.ivan-herman.net, http://…/myCalendar, http://…/calendar)
http://www.example.org/file.xml#xpointer(id('calendar'))
http://www.example.org/file.html#calendar
<rdf:Description rdf:about="http://.../membership.svg#FullSlide">
<axsvg:graphicsType>Chart</axsvg:graphicsType>
<axsvg:labelledBy rdf:resource="http://...#BottomLegend"/>
<axsvg:chartType>Line</axsvg:chartType>
</rdf:Description>
<http://.../membership.svg#FullSlide>
axsvg:graphicsType "Chart";
axsvg:labelledBy <http://...#BottomLegend>;
axsvg:chartType "Line".
See the “tabulator” example…
Chart, labelledBy, isAnchor,
…myCV, myCalendar, …rdfs:Resource, rdfs:Class as
nodes; rdf:type, rdfs:subClassOf as properties
<rdf:Description rdf:ID="Dolphin">
<rdf:type rdf:resource=
"http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdf:Description>
<rdf:Description rdf:about="#Flipper">
<rdf:type rdf:resource="animal-schema.rdf#Dolphin"/>
</rdf:Description>
(#Flipper rdf:type #Mammal)
If:
uuu rdfs:subClassOf xxx .
vvv rdf:type uuu .
Then add:
vvv rdf:type xxx .
rdf:Property)
xml:lang)In RDF/XML
<rdf:Description rdf:about="#Flipper">
<animal:is_TV_Star
rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">
True
</animal:is_TV_Star>
</rdf:Description/>
In Turtle
:Flipper
animal:is_TV_Star "True"^^<http://www.w3.org/2001/XMLSchema#boolean>.
triples = graph.triples((Resource,Property,None))
(Resource,Property)
SELECT ?cat ?val # note: not ?x!
WHERE { ?x rdf:value ?val. ?x category ?cat }
[["Total Members",100],["Total
Members",200],…,["Full Members",10],…]
<svg ...>
...
<metadata>
<rdf:RDF xmlns:rdf="http://../rdf-syntax-ns#">
...
</rdf:RDF>
</metadata>
...
</svg>
meta elementsClass and
Thing to differentiate the classes from
individuals
<owl:Class rdf:ID="MarineMammal">
<owl:unionOf rdf:parseType="Collection">
<owl:Class rdf:about="#Dolphin"/>
<owl:Class rdf:about="#Orca"/>
<owl:Class rdf:about="#Whale"/>
…
</owl:unionOf>
</owl:Class>
:Dolphin rdf:type owl:Class.
:Orca rdf:type owl:Class.
:Whale rdf:type owl:Class.
:MarineMammal rdf:type owlClass;
owl:unionOf (:Dolphin, :Orca, :Whale).
complementOf,
intersectionOf
// create a model (a.k.a. Triple Store)
Model model = new ModelMem();
Resource subject = model.createResource("URI_of_Subject")
// 'in' refers to the input file
model.read(new InputStreamReader(in));
StmtIterator iter = model.listStatements(subject,null,null);
while(iter.hasNext()) {
st = iter.next();
p = st.getProperty();
o = st.getObject();
do_something(p,o);
}
(from the RDF Semantics Glossary)
(from UK Archival Thesaurus)