FOAF - Friend of a Friend Ontology

8
Vagner Nascimento Departamento de Informática – PUC-Rio FOAF – Friend of a Friend

Transcript of FOAF - Friend of a Friend Ontology

Page 1: FOAF - Friend of a Friend Ontology

Vagner NascimentoDepartamento de Informática – PUC-Rio

FOAF – Friend of a Friend

Page 2: FOAF - Friend of a Friend Ontology

FOAF – Friend of a Friend

• Descreve pessoas, o que elas fazem e  suas relações com outras pessoas e objetos na web

• Bem definida para descrever pessoas nas redes sociais

• NÃO DESCREVE relações familiares, endereço, telefone, etc.

Page 3: FOAF - Friend of a Friend Ontology

Agent , Document , Group , Image , LabelProperty , OnlineAccount , OnlineChatAccount , OnlineEcommerceAccount , OnlineGamingAccount , Organization , Person , PersonalProfileDocument , Project

Classes:

Propriedades:account , accountName , accountServiceHomepage , age , aimChatID , based_near , birthday , currentProject , depiction , depicts , dnaChecksum , familyName , family_name , firstName , focus , fundedBy , geekcode , gender , givenName , givenname , holdsAccount , homepage , icqChatID , img , interest , isPrimaryTopicOf , jabberID , knows , lastName , logo , made , maker , mbox , mbox_sha1sum , member , membershipClass , msnChatID , myersBriggs , name , nick , openid , page , pastProject , phone , plan , primaryTopic , publications , schoolHomepage , sha1 , skypeID , status , surname , theme , thumbnail , tipjar , title , topic , topic_interest , weblog , workInfoHomepage , workplaceHomepage , yahooChatID

Os termos FOAF são divididos em: Core e Social Web

Referências: http://xmlns.com/foaf/spec/#sec-crossref

Page 4: FOAF - Friend of a Friend Ontology

AgentPersonnametitleimgdepiction (depicts)familyNamegivenNameKnowsbased_near

agemade (maker)primaryTopic (primaryTopicOf)ProjectOrganizationGroupmemberDocumentImage

FOAF Core

Page 5: FOAF - Friend of a Friend Ontology

nick

mbox

homepage

weblog

openid

jabberID

mbox_sha1sum

interest

topic_interest

topic (page)

workplaceHomepage

workInfoHomepage

schoolHomepagepublicationscurrentProjectpastProjectaccountOnlineAccountaccountNameaccountServiceHomepagePersonalProfileDocumenttipjarsha1thumbnaillogo

Social Webnick

mbox

homepage

weblog

openid

jabberID

mbox_sha1sum

interest

topic_interest

topic (page)

workplaceHomepage

workInfoHomepage

schoolHomepagepublicationscurrentProjectpastProjectaccountOnlineAccountaccountNameaccountServiceHomepagePersonalProfileDocumenttipjarsha1thumbnaillogo

Page 6: FOAF - Friend of a Friend Ontology

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix foaf: <http://xmlns.com/foaf/0.1/> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<#JW>

a foaf:Person ;foaf:name "Jimmy Wales" ;foaf:mbox <mailto:[email protected]> ;foaf:homepage <http://www.jimmywales.com/> ;foaf:nick "Jimbo" ;foaf:depiction <http://www.jimmywales.com/aus_img_small.jpg> ;

foaf:interest <http://www.wikimedia.org> ;foaf:knows [

a foaf:Person ;

foaf:name "Angela Beesley" ] .

<http://www.wikimedia.org> rdfs:label "Wikipedia" .

Exemplos

Page 7: FOAF - Friend of a Friend Ontology

Exemplos<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"><foaf:Person rdf:nodeID="harry">

<foaf:name>Harry Osborn</foaf:name><rdfs:seeAlso rdf:resource="http://www.osborn.com/harry.rdf"/>

</foaf:Person><foaf:Person>

<foaf:name>Peter Parker</foaf:name><foaf:knows rdf:nodeID="harry"/><foaf:knows>

<foaf:Person><foaf:name>Aunt May</foaf:name>

</foaf:Person></foaf:knows>

</foaf:Person></rdf:RDF> http://www.xml.com/pub/a/2004/02/04/foaf.html