260 likes | 702 Views
FOAF. Introduction. Metadata is data about data The terms refer to data used to identify, describe, or locate information resources Metadata helps manage and use large collections of information Library card catalogs are example of metadata. Popular Schemas. Dublin Core FOAF FRBR
E N D
Introduction • Metadata is data about data • The terms refer to data used to identify, describe, or locate information resources • Metadata helps manage and use large collections of information • Library card catalogs are example of metadata
Popular Schemas • Dublin Core • FOAF • FRBR • Creative Commons • SKOS • Geo • See http://www.schemaweb.info/
FOAF: Friend of a friend “The Friend of a Friend (FOAF) project is about creating a Web of machine-readable homepages describing people, the links between them and the things they create and do. ” (http://www.foaf-project.org/) • Annotation vocabulary for linking semantic information about people to achieve a social network • Everybody can provide/link his/her own FoaF file on his/her own webpage. • Related to the success of “social networks”: friendster, orkut, ryze, LinkedIn etc. But: these use disclosed applications/databases/portals instead whereas Foaf is intended to work decentralized and based on RDF. Reference: FOAF Vocabulary Specification 0.91: http://xmlns.com/foaf/spec/
FOAF Vocabulary: See details at http://xmlns.com/foaf/0.1/
Basic example <foaf:Person rdf:about="#me" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <foaf:name>Dan Brickley</foaf:name> <foaf:mbox_sha1sum>241021fb0e6289f92815fc210f9e9137262c252e</foaf:mbox_sha1sum> <foaf:homepage rdf:resource="http://danbri.org/" /> <foaf:img rdf:resource="/images/me.jpg" /> </foaf:Person>
FOAF: Basic Idea • To a computer, the Web is a flat, boring world, devoid of meaning. This is a pity, as in fact documents on the Web describe real objects and imaginary concepts, and give particular relationships between them. For example, a document might describe a person. The title document to a house describes a house and also the ownership relation with a person. Adding semantics to the Web involves two things: allowing documents which have information in machine-readable forms, and allowing links to be created with relationship values. Only when we have this extra level of semantics will we be able to use computer power to help us exploit the information to a greater extent than our own reading. - Tim Berners-Lee "W3 future directions" keynote, 1st World Wide Web Conference Geneva, May 1994
FOAF: Basic Idea • FOAF aims to create a linked information system about people, groups, companies and other kinds of thing. • If people publish information in FOAF document format, machines will be able to make use of that information. • If those files contain “see also” references to other such documents in the Web, we will have a machine-friendly version of today’s hypertext web • FOAF documents are usually represented in RDF.
FOAF basic concepts • foaf:Agent • An agent (eg., person, group, software or physical artifact) • Subclass: foaf:Person, foaf:Organization, foaf:Group • foaf:Document • Sublcass: foaf:Image • foaf:Person • A person • foaf:Project • A project
FOAF basic properties • foaf:family_name • foaf:firstName • foaf:homepage • foaf:knows • A person known by this person • foaf:mbox • foaf:mbox_sha1sum • foaf:title • Personal title (Mr, Mrs, Ms, Dr, etc.)
Create your own FOAF <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:admin="http://webns.net/mvcb/"> <foaf:Person rdf:ID="me"> <foaf:name>Ying Ding</foaf:name> <foaf:title>Mrs.</foaf:title> <foaf:givenname>Ying</foaf:givenname> <foaf:family_name>Ding</foaf:family_name> <foaf:mbox_sha1sum>f782acba4fc1c1bbecefc41fe2696fa62a84dfe5</foaf:mbox_sha1sum> <foaf:homepage rdf:resource="www.yingding.com"/> <foaf:depiction rdf:resource="me.jpg"/> <foaf:phone rdf:resource="tel:0043-512-5076488"/> <foaf:workplaceHomepage rdf:resource="www.iu.edu"/> <foaf:workInfoHomepage rdf:resource="www.iu.edu/ying"/> <foaf:schoolHomepage rdf:resource="www.uibk.ac.at"/> <foaf:knows> <foaf:Person> <foaf:name>Stefan Decker</foaf:name> <foaf:mbox_sha1sum>1bc1f862b688a45b7e0c8d4a8467c23177c53fad</foaf:mbox_sha1sum> <rdfs:seeAlso rdf:resource="www.semanticweb.org"/></foaf:Person></foaf:knows> <foaf:knows> <foaf:Person> <foaf:name>Ioan Toma</foaf:name> <foaf:mbox_sha1sum>1e9f327c5c745341ad13710805961aa739861904</foaf:mbox_sha1sum> <rdfs:seeAlso rdf:resource="www.ubik.ac.at/Ioan"/></foaf:Person></foaf:knows></foaf:Person> </rdf:RDF> • http://www.ldodds.com/foaf/foaf-a-matic • Fill in the detail of yourself • It will create FOAF in RDF
Publish your FOAF description • Save your FOAF RDF file into your website somewhere and name it usually as “foaf.rdf”
foaf:Person foaf:Person rdf:type rdf:type foaf:name foaf:name mailto:John.Breslin@deri.org mailto:Stefan.Decker@deri.org John Breslin Stefan Decker FOAF Example in RDF/XML <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/"> <foaf:Person> <foaf:name>John Breslin</foaf:name> <foaf:mbox rdf:resource="mailto:John.Breslin@deri.org"/> <foaf:knows> <foaf:Person> <foaf:name>Stefan Decker</foaf:name> <foaf:mbox rdf:resource="mailto:stefan.decker@deri.org"/> </foaf:Person> </foaf:knows> </foaf:Person> </rdf:RDF> foaf:knows foaf:mbox foaf:mbox
FOAF Conclusions • Vocabulary for machine-processable personal homepages • currently some preliminary tools available • not yet as successful as social networks such as friendster, which use proprietary central data • advantage of foaf: decentralized, could serve as exchange format between those existing networks and exists on its own