content
| - ---+++Addressbook Data Space
<verbatim>
PREFIX sioc: <http://rdfs.org/sioc/ns#>
PREFIX sioct: <http://rdfs.org/sioc/types#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?nick, ?fname, ?post, ?aimChatID, ?based_near, ?birthday,
?family_name, ?firstName, ?gender, ?homepage, ?icqChatID, ?mbox, ?msnChatID, ?phone, ?yahooChatID
WHERE
{
?forum a sioct:AddressBook .
?forum sioc:container_of ?post.
optional{ ?post foaf:maker ?maker }.
optional{ ?maker foaf:nick ?nick } .
optional{ ?maker foaf:name ?fname } .
optional{ ?maker foaf:aimChatID ?aimChatID } .
optional{ ?maker foaf:based_near ?based_near } .
optional{ ?maker foaf:birthday ?birthday } .
optional{ ?maker foaf:family_name ?family_name } .
optional{ ?maker foaf:firstName ?firstName } .
optional{ ?maker foaf:gender ?gender } .
optional{ ?maker foaf:homepage ?homepage } .
optional{ ?maker foaf:icqChatID ?icqChatID } .
optional{ ?maker foaf:mbox ?mbox } .
optional{ ?maker foaf:msnChatID ?msnChatID } .
optional{ ?maker foaf:phone ?phone } .
optional{ ?maker foaf:yahooChatID ?yahooChatID } .
}
</verbatim>
---+++++Sample Data (Live Query Results)
* Click [[http://demo.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fdemo.openlinksw.com%2Fdataspace&should-sponge=&query=PREFIX+sioc%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Fns%23%3E%0D%0APREFIX+sioct%3A+%3Chttp%3A%2F%2Frdfs.org%2Fsioc%2Ftypes%23%3E%0D%0APREFIX+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0ASELECT+DISTINCT+%3Fnick%2C+%3Ffname%2C+%3Fpost%2C+%3FaimChatID%2C+%3Fbased_near%2C+%3Fbirthday%2C+%0D%0A%3Ffamily_name%2C+%3FfirstName%2C+%3Fgender%2C+%3Fhomepage%2C+%3FicqChatID%2C+%3Fmbox%2C+%3FmsnChatID%2C+%3Fphone%2C+%3FyahooChatID%0D%0AWHERE+%0D%0A++%7B%0D%0A+++++%3Fforum+a+sioct%3AAddressBook+.%0D%0A+++++%3Fforum+sioc%3Acontainer_of+%3Fpost.%0D%0A+++++optional%7B+%3Fpost+foaf%3Amaker+%3Fmaker+%7D.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Anick+%3Fnick++%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Aname+%3Ffname+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3AaimChatID+%3FaimChatID++%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Abased_near+%3Fbased_near+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Abirthday+%3Fbirthday+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Afamily_name+%3Ffamily_name+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3AfirstName+%3FfirstName+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Agender+%3Fgender+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Ahomepage+%3Fhomepage+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3AicqChatID+%3FicqChatID+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Ambox+%3Fmbox+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3AmsnChatID+%3FmsnChatID+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3Aphone+%3Fphone+%7D+.%0D%0A+++++optional%7B+%3Fmaker+foaf%3AyahooChatID+%3FyahooChatID+%7D+.%0D%0A++%7D&format=text%2Fhtml][Here]] for a live SPARQL Query (via SPARQL Protocol) against a collection of AddressBook posts.
|