Extending FOAF profile
From Music Ontology Wiki
erzelelv
Contents |
[edit] Finding, exchanging, buying and selling musical items using your FOAF profile
By using these three properties, on can easily find, exchange or sell musical items using their FOAF profile.
[edit] Music Ontology Properties
[edit] Integration Example
<foaf:Person rdf:about="http://www.talkdigger.com/foaf/fgiasson"> <foaf:nick>fgiasson</foaf:nick> <foaf:name>Frederick Giasson</foaf:name> <foaf:mbox_sha1sum>bb81ecaac6992f832ea69313bd04d4fd9e2e4e0f</foaf:mbox_sha1sum> <mo:has_item rdf:resource="http://zitgist.com/music/record/a89e1d92-5381-4dab-ba51-733137d0e431"/> <mo:sell_item rdf:resource="http://zitgist.com/music/record/a89e1d92-5381-4dab-ba51-733137d0e431"/> <mo:exchange_item rdf:resource="http://zitgist.com/music/record/a89e1d92-5381-4dab-ba51-733137d0e431"/> <mo:want_item rdf:resource="http://zitgist.com/music/record/65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab"/> </foaf:Person>
[edit] Services using these capabilities
- Zitgist - this semantic web search engine will enable its users to send such requests to find such items (CDs, etc.)
[edit] Extending your FOAF profile
Do you want to express more things about yourself (via your FOAF profile)? Arenât you lazy enough to create your basic FOAF profile? Here we present a way to automatically add information to FOAF profiles.
So, given a FOAF profile (like this one), we do a SPARQL query to get all the accounts that the user has (e.g. <foaf:holdsAccount>). Then, for some accounts (last.fm, pandora, delicious, blogger, etc.) we grab some data using their APIs, and we extend the userâs FOAF profile (right now only adding more <foaf:interest>âs).
The following RDF excerpt shows some information that has been automatically added to the userâs FOAF profile. It says that the user likes (or is interested in) Yann Tiersen, and it uses this Music Ontology:
<foaf:interest>
<mo:MusicArtist rdf:about='http://musicbrainz.org/artist/12d432a3-feb0-49b1-a107-d20751880764'>
<mo:discogs rdf:resource='http://www.discogs.com/artist/Yann+Tiersen'/>
<foaf:img rdf:resource='http://ec2.images-amazon.com/images/P/B000852GIQ.01._SCMZZZZZZZ_.jpg'/>
<foaf:homepage rdf:resource='http://www.yanntiersen.com/'/>
<foaf:name>Yann Tiersen</foaf:name>
<mo:wikipedia rdf:resource='http://en.wikipedia.org/wiki/Yann_Tiersen'/>
</mo:MusicArtist>
</foaf:interest>

