TAP: Towards a Web of Data
R.V.Guha
IBM Research, Almaden
guha @ us.ibm.com
|
Rob McCool
KSL, Stanford University
robm @ ksl.stanford.edu
|
Appendix
Here are the SOAP messages associated with the examples of GetData presented in the
paper.
Example: GetData(<Yo-Yo Ma>, birthplace) => <Paris>
Request
<a:GetData>
<rdf:Resource rdf:about="http://tap.stanford.edu/data/MusicianMa,_Yo-Yo"/>
<tap:birthplace/>
</a:GetData>
Response
<a:Data>
<tap:Musician rdf:ID="http://tap.stanford.edu/data/MusicianMa,_Yo-Yo">
<tap:birthplace>
<tap:City rdf:ID="http://tap.stanford.edu/data/CityParis,_France">
<rdfs:label xml:lang="en">Paris</rdfs:label>
</tap:City>
</tap:birthplace>
</tap:Musician>
</a:Data>
Example: GetData(<Paris>, temperature) => 57 F
Request
<a:GetData>
<tap:City rdf:about=""http://tap.stanford.edu/data/">CityParis,_France"/>
<tap:temperature/>
</a:GetData>
Response
<a:Data>
<tap:City rdf:about="http://tap.stanford.edu/data/CityParis,_France">
<tap:temperature>57 F</tap:temperature>
</tap:City>
</a:Data>
Example: GetData(<Paris>, locatedIn) => <France>
<a:GetData>
<tap:City rdf:resource="http://tap.stanford.edu/data/CityParis,_France"/>
<tap:locatedIn/>
</a:GetData>
Response
<a:Data>
<tap:City rdf:ID="http://tap.stanford.edu/data/CityParis,_France">
<tap:locatedIn>
<tap:Country rdf:ID="http://tap.stanford.edu/data/CountryFrance">
<tap:longFormName>French Republic</tap:longFormName>
<tap:placeLetterCode>FR</tap:placeLetterCode>
<rdfs:label xml:lang="en">France</rdfs:label>
<tap:adjective>French</tap:adjective>
</tap:Country>
</tap:locatedIn>
</tap:City>
</a:Data>
|