Professional Documents
Culture Documents
Aggregation
Rahul Roy
E-mail: rahulroy@nist.edu
Need for semantic based
representations
• Aggregation of social network information
– Especially in heterogeneous environment.
10/30/2019 5
FOAF Vocabulary:
See details at
http://xmlns.com/foaf/0.1/
10/30/2019 6
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>
10/30/2019 7
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
10/30/2019 8
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.
10/30/2019 9
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
10/30/2019 10
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.)
10/30/2019 11
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#"
• http://www.l xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:admin="http://webns.net/mvcb/">
dodds.com/f <foaf:Person rdf:ID="me">
<foaf:name>Ying Ding</foaf:name>
oaf/foaf-a- <foaf:title>Mrs.</foaf:title>
matic <foaf:givenname>Ying</foaf:givenname>
<foaf:family_name>Ding</foaf:family_name>
• Fill in the <foaf:mbox_sha1sum>f782acba4fc1c1bbecefc41fe2696fa62a84dfe5</foaf:mbox_sha1sum>
<foaf:homepage rdf:resource="www.yingding.com"/>
<foaf:depiction rdf:resource="me.jpg"/>
detail of <foaf:phone rdf:resource="tel:0043-512-5076488"/>
yourself <foaf:workplaceHomepage rdf:resource="www.iu.edu"/>
<foaf:workInfoHomepage rdf:resource="www.iu.edu/ying"/>
• It will create <foaf:schoolHomepage rdf:resource="www.uibk.ac.at"/>
<foaf:knows>
FOAF in <foaf:Person>
<foaf:name>Stefan Decker</foaf:name>
RDF <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>
10/30/2019 12
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:Person foaf:Person
rdf:type rdf:type
foaf:knows
foaf:mbox
foaf:mbox
foaf:name foaf:name
30.10.2019 13
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
10/30/2019 14
Social Relationship and Ontology
Key idea in representation of social relationship: