# A little RDF vocabulary to deal with URL types from
# Google's SocialGraph NodeMapper tool.
#
# For completeness it includes terms "blog", "photo"
# and "openid", but the author suggests that you use
# the equivalent terms from FOAF instead.

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

# This ontology.
@prefix plink:    <http://buzzword.org.uk/rdf/personal-link-types#> .

# Stock imports.
@prefix cc:       <http://creativecommons.org/ns#> .
@prefix dc:       <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
@prefix link:     <http://www.w3.org/2006/link#> .
@prefix owl:      <http://www.w3.org/2002/07/owl#> .
@prefix rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:     <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos:     <http://www.w3.org/2004/02/skos/core#> .
@prefix vs:       <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
@prefix xhv:      <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 

plink: 
	rdfs:label "Personal Link Types"@en ;
	foaf:maker _:toby ;
	dc:issued "2008-11-28"^^xsd:date ;
	dc:modified "2008-11-28"^^xsd:date ,
		"2008-11-30"^^xsd:date ,
		"2008-12-05"^^xsd:date ;
	cc:license <http://creativecommons.org/licenses/by-sa/2.0/uk/deed.en_GB> ;
	cc:attributionName "Toby Inkster" ;
	cc:attributionURL plink: ; 
	rdfs:seeAlso <http://code.google.com/apis/socialgraph/docs/attributes.html> .

_:toby
	a foaf:Person ;
	foaf:name "Toby Inkster";
	foaf:homepage <http://tobyinkster.co.uk/> .

plink:profile
	a rdf:Property ;
	rdfs:label "profile"@en ;
	rdfs:comment "Indicates a document acting as a profile for a person. That is, one that contains a summary of that person's details."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:page .

plink:rss
	a rdf:Property ;
	rdfs:label "RSS feed"@en ;
	rdfs:comment "Indicates that a document acts as an RSS feed of a person's thoughts, writing or activities."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ; 
	rdfs:subPropertyOf foaf:page .

plink:atom
	a rdf:Property ;
	rdfs:label "Atom feed"@en ;
	rdfs:comment "Indicates that a document acts as an Atom feed of a person's thoughts, writing or activities."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:page .

plink:foaf
	a rdf:Property ;
	rdfs:label "FOAF file"@en ;
	rdfs:comment "Indicates that a document provides machine-readable personal information on the subject."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:page , rdfs:seeAlso .

plink:photo
	a rdf:Property ;
	rdfs:label "photo"@en ;
	rdfs:comment "Indicates that the linked resource is a photograph of the subject."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:depiction .

foaf:depiction
	link:obsoletes plink:photo ;
	rdfs:comment "foaf:depiction should be used instead of plink:photo."@en .

plink:blog
	a rdf:Property ;
	rdfs:label "blog"@en ;
	rdfs:comment "Indicates that the linked resource is the subject's online journal (web log)."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:weblog .

foaf:weblog
	link:obsoletes plink:blog ;
	rdfs:comment "foaf:weblog should be used instead of plink:blog."@en .

plink:openid
	a rdf:Property ;
	rdfs:label "OpenID"@en ;
	rdfs:comment "Indicates that the linked resource is the subject's OpenID."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:openid .

foaf:openid
	link:obsoletes plink:openid ;
	rdfs:comment "foaf:openid should be used instead of plink:openid."@en .
	
plink:content
	a rdf:Property ;
	rdfs:label "content"@en ;
	rdfs:comment "Some content (e.g. writings, photography) which the subject has made."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:page , foaf:made .

plink:addfriend
	a rdf:Property ;
	rdfs:label "add friend"@en ;
	rdfs:comment "At this URI, you may fill in a form or learn of a process that you may use to claim friendship to the subject."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range foaf:Document ;
	rdfs:subPropertyOf foaf:page .

plink:fn
	a rdf:Property ;
	rdfs:label "formatted name"@en ;
	rdfs:comment "Indicates that the literal is the subject's name."@en ;
	rdfs:domain foaf:Agent ;
	rdfs:range rdfs:Literal ;
	rdfs:subPropertyOf foaf:name .

foaf:name
	link:obsoletes plink:fn ;
	rdfs:comment "foaf:name should be used instead of plink:fn."@en .

## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## 
