Vocabularies for the social Web
Friend of a Friend (foaf)
Prefix and namespace
Summary
‘Friend of a Friend’ is a vocabulary that describes persons and organizations. It defines the terms that you can use to represent a user profile: name, picture, homepage…
Example fragments
prefix foaf: <http://xmlns.com/foaf/0.1/>
:jcaesar a foaf:Person;
foaf:title "Imperator";
foaf:name "Gaius Julius Caesar";
foaf:givenname "Julius";
foaf:family_name "Caesar";
foaf:nick "Jul".
:spqr a foaf:Organization;
foaf:name "Roman republic";
foaf:member :jcaesar.
vCard (vc)
Prefix and namespace
Summary
This vocabulary describes the vCard model, based on RFC6350. It is used for instance by the Profile Viewer of the Solid data browser. Note that there is a lot of overlap between vCard and foaf. The main difference is tat vCard is aligned with an RFC, while foaf is a little lighter, but there are alignments bridging between the two of them, so choosing one does not shut you off from applications using the other.
Example fragment
@prefix vc: <http://www.w3.org/2006/vcard/ns#>.
:me
vc:fn "Gaius Julius Caesar";
vc:organization-name "Roman republic";
vc:role "Imperator".
Activity Streams (as)
Prefix and namespace
Summary
‘Activity Streams’ is a vocabulary associated to the homonym standard, used to represent a model for social interaction on the Web. It is for instance used in the ActivityPub protocol, instanciated by decentralized social networks such as Mastodon or GNU Social.
Exemple fragments
{
"@context": "https://www.w3.org/ns/activitystreams",
"summary": "Cleopatra joined a group",
"type": "Join",
"actor": {
"id": "https://cleopatra.solidcommunity.net/profile/card#me"
},
"object": {
"type": "Group",
"name": "A Simple Group"
}
}
@prefix as: <https://www.w3.org/ns/activitystreams#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
:party a as:Event;
rdfs:label "Party at my p(a)lace";
rdfs:comment "I'm celebrating the release of my book, 'De Bello Gallico'";
as:startTime "50BC-01-15T18:00:00-00:00";
as:endTime "50BC-01-16T05:00:00-00:00".
Semantically-Interlinked Online Communities (sioc)
Prefix and namespace
Summary
From the documentation: The SIOC (Semantically-Interlinked Online Communities) Core Ontology provides the main concepts and properties required to describe information from online communities (e.g., message boards, wikis, weblogs, etc.) on the Semantic Web. SIOC is a modular ontology, so you can pick from its different modules depending on your needs:
- http://rdfs.org/sioc/access# - SIOC Access Ontology Module Namespace
- http://rdfs.org/sioc/actions# - SIOC Actions Ontology Module Namespace
- http://rdfs.org/sioc/argument# - SIOC Argumentation Ontology Module Namespace
- http://rdfs.org/sioc/nepomuk# - SIOC-Nepomuk Ontology Mappings
- http://rdfs.org/sioc/quotes# - SIOC Quotes Ontology Module Namespace
- http://rdfs.org/sioc/services# - SIOC Services Ontology Module Namespace
- http://rdfs.org/sioc/swan# - SIOC-SWAN Ontology Mappings
- http://rdfs.org/sioc/types# - SIOC Types Ontology Module Namespace
- http://rdfs.org/sioc/wikitalk# - SIOC WikiTalk Ontology Module Namespace
Example fragment
This example comes from the SIOC specification
@prefix sioc: <http://rdfs.org/sioc/ns#>
@base <http://johnbreslin.com>.
<blog/creating-connections-between-discussion-clouds-with-sioc> a sioc:Post ;
sioc:has_container <blog/index.php?sioc_type=site#weblog>;
sioc:has_creator <blog/author/cloud/>;
sioc:content "SIOC provides a unified vocabulary for content and interaction description: a semantic layer that can co-exist with existing discussion platforms."@en ;
sioc:topic <blog/category/semantic-web>;
sioc:topic <blog/category/blogs>;
sioc:has_reply <blog/creating-connections-between-discussion-clouds-with-sioc/#comment-123928>
<http://johnbreslin.com/blog/author/cloud/> a sioc:UserAccount;
rdfs:label "Cloud"@en.
<http://johnbreslin.com/blog/2006/09/07/creating-connections-between-discussion-clouds-with-sioc/#comment-123928> a sioc:Post;
rdfs:seeAlso <http://johnbreslin.com/blog/index.php?sioc_type=comment&sioc_id=123928>
Creative commons (cc)
Prefix and namespace
Summary
This vocabulary helps describing copyright licenses.
Example fragment
# The Obelisk ontology is available under the CC 4.0 license...
<http://w3id.org/obelisk/ns/> cc:license <https://creativecommons.org/licenses/by/4.0/>.
# ... and here is a description of what that means
<https://creativecommons.org/licenses/by/4.0/> a cc:License;
cc:permits cc:Distribution;
cc:permits cc:DerivativeWorks;
cc:requires cc:Attribution.
Dublic Core (dc)
Prefix and namespace
Geonames
Prefix and namespace
iCal
Prefix and namespace
Meeting
Prefix and namespace
Music Ontology (mo)
Prefix and namespace
- mo: http://purl.org/ontology/mo/