rdf modeling for oxford university
DESCRIPTION
Slides from a presentation by researcher Arno Mittelbach at the Oxford University Webmasters' Meeting on the 15th December 2008 regarding modeling time-sensitive geo-location data using RDF.TRANSCRIPT
RDFformodellingOxfordUniversity
OxPointstheoldSystem
2RDFformodellingOxfordUniversity12/15/2008ArnoMiAelbach
AtypicalOxPointsrecord<placetype="college"xml:id="blac"><placeName>Blackfriars</placeName><eventwhen="1221"type="officialstatus"><label>FoundaQon</label></event><eventwhen="1921"type="officialstatus"><label>refounded</label></event><placesubtype="primary"type="building"><placeName>Lodge</placeName><locaQonwhen="2007‐05‐22T11:50:22.34+01:00"><georend="90">‐1.260370016098022551.756916532903084</geo><note>recordedbyJanetMcKnight</note></locaQon></place></place>
IndirectrelaQonshipwithparentelement
3RDFformodellingOxfordUniversity12/15/2008ArnoMiAelbach
ThenewOxPoints:Requirements
• WewanttogetinformaQonabout– colleges,units,departments,etc.– buildings,rooms,etc.– relaQons:ownership,usage,ect.– events:foundaQon,etc.– manyotherthings
• Wewanttobeableto– Drawmaps– Drawhistoricalmaps– Andmanyothercoolthings
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 4
Resources
ResourceDescripQonFramework(RDF)
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 5
subject predicate object
#blac „Blackfriars“dc:Qtle
#lodge
RDFBasics
• MakeasserQonsaboutresources• ResourcesareidenQfiedbyURIs• AsserQonsaremadeintheformoftriples
• Subject,predicate,object• OnlybinaryrelaQonsexpressable• But,n‐aryrelaQonscanbebrokendownintoseveralbinaryrelaQons
• Manysyntaxes– Graphsyntax,XML,N‐Tripel
• Standardizedquerylanguage:SPARQL
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 6
RDFanddimensionaldata
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 7
subject predicate object
#tedfoaf:knows
#leyla
Qme
2000 2007 2014 2021 2028
RDFanddimensionaldata
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 8
subject predicate object
#tedrel:spouseOf
#leyla
#elizabeth
foaf:knows
Qme
2000 2007 2014 2021 2028
RDFanddimensionaldata
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 9
subject predicate object
#tedfoaf:knows
#leyla
#elizabeth
rel:spouseOf
Qme
2000 2007 2014 2021 2028
RDFanddimensionaldata
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 10
#tedrel:spouseOf
#leyla
#elizabeth
rel:spouseOf
Qme
2000 2007 2014 2021 2028
2007‐2014
2014‐…
RDF:InterpretaQonusingmodels
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 11
subject predicate object
#ants 6ex:hasLegs
„Qny“
AworldinwhichonlyantsexistandwhereantsareQnythingswith6legsisamodelforthisgraph.However,ifantsinthisworldhappentohave8legs,thentheworldisnotsaQsfyingthegraph.
RDFanddimensionaldata
• AnRDFGraphdescribesonetruth– andonlyonetruth
• Nobuilt‐inmechanismfordescribingdimensionaldata(suchaschangesoverQme)
• IfyoufollowtheRDFspecificaQon– RDFdoesnotsupportanysortofdimensionaldata
• But:Wethinkthereisaway!
12/15/2008ArnoMiAelbach RDFformodellingOxfordUniversity 12
InteresQngLinks
• Erewhonprojectsite:– hAp://erewhon.oucs.ox.ac.uk/
• RDFPrimer:– hAp://www.w3.org/TR/rdf‐primer/
• RDFSpecificaQon:– hAp://www.w3.org/RDF/
• OurthoughtsonRDFandQme+introducQontoRDF:– hAp://oxforderewhon.wordpress.com/
• SPARQLspecificaQon:– hAp://www.w3.org/TR/rdf‐sparql‐query/
12/15/2008ArnoMiAelbach 13RDFformodellingOxfordUniversity