/RDF-RDFS-RDFa-OWL-TTL-XML

Semantic web, linked datasets

Creative Commons Zero v1.0 UniversalCC0-1.0

RDF-RDFS-RDFa-OWL-TTL-XML

Semantic web, linked datasets

Resources for semantic web

Good practises

Principles of linked open data

  • On the web
  • Machine Readable
  • Non-proprietary format
  • RSF standards
  • Linked RDF

Get an overview of the principles of Linked Data with "Linked Data: Evolving the Web into a Global Data Space" by Tom Heath and Christian Bizer

Syntax

RDF translator on appspot.com from about any language to about any other. See also easyrdf.org

Visualize RDF .

Download data of a certain negotiated format with curl command (Windows)

-L refers to the location
-H refers to the header
more info with curl --help

  • rdf/xml curl -o myFileName.xml -L -H "Accept: application/rdf+xml" myURI
  • json curl -o myFileName.json -L -H "Accept: application/json" myURI
  • turtle curl -o myFileName.ttl -L -H "Accept: text/turtle" myURI
  • html curl -o myFileName.html -L -H "Accept: text/html" myURI

Assign URI / Prefix URI

Use # separator for grouping, small coherent datasets, simple structures.
Use / separator for big datasets, modularity, to be more precise.
Read more about cool URIs on W3

Code/Decode a URL on meyerweb.com

Find namespace associated with prefix on prefix.cc License: CC BY-SA 4.0

Common prefixes

  • Generals
prefix URI comment
owl http://www.w3.org/2002/07/owl# Web Ontology Language
rdfs http://www.w3.org/2000/01/rdf-schema# Resource Description Framework Schema
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns# Resource Description Framework
rdfa http://www.w3.org/ns/rdfa# Resource Description Framework in Attributes
sh http://www.w3.org/ns/shacl# SHACL Shapes Constraints Language vocabulary
void http://rdfs.org/ns/void# Vocabulary of Interlinked Datasets
dcat https://www.w3.org/ns/dcat# Data CATalog vocabulary
  • Specialized
prefix URI comment
xsd http://www.w3.org/2001/XMLSchema# RDF compatible XSD types
foaf http://xmlns.com/foaf/0.1/ Friend Of A Friend social vocabulary
rel http://purl.org/vocab/relationship/ Relationship, extension of FOAF
skos http://www.w3.org/2004/02/skos/core# SKOS knowledge vocabulary
skosxl http://www.w3.org/2008/05/skos-xl# SKOS eXtenstion for Labels
dct (dcterms) http://purl.org/dc/terms Dublin Core Metadata Initiative : Metadata Terms
dc http://purl.org/dc/elements/1.1/ DCMI : Metadata Elements
dctype http://purl.org/dc/dcmitype/ DCMI Type vocabulary
prov https://www.w3.org/ns/prov# Provenance vocabulary
qb http://purl.org/linked-data/cube# Data Cube vocabulary
cc http://creativecommons.org/ns# Creative Common licenses
sawsdl http://www.w3.org/ns/sawsdl# Semantic Annotation for Web Services Description Language
ma http://www.w3.org/ns/ma-ont# Ontology for media resources
  • Datasets
prefix URI comment
db http://dbpedia.org/ DBpedia data

Reference biblio on good practices

A pattern catalogue for modelling, publishing, and consuming Linked Data by Leigh Dodds and Ian Davis

Some Standards

W3C recommendation on OWL
W3C recommendation on RDFS
W3C recommendation on RDF/turtle syntax
W3C recommendation on RDF/XML syntax
W3C recommendation on RDFa syntax to embed RDF in html
Schema.org vocabulary for structured data on the internet
W3C recommendation on XML datatypes
W3C recommendation on SHACL syntax
W3C recommendation on SPARQL syntax
W3C recommendation on Data Cube vocabulary for multi-dimensional data
W3C recommendation on Provenance Data Model PROV-DM
W3C recommendation on Provenance Ontology that expressed PROV-DM with OWL2
W3C recommendation on Semantic Annotations for Web Services Description Language and XML Schema SAWDSDL that is an extension of WSDL
W3C recommendation on Ontology for Media Resources

Famous schemas

SKOS Simple Knowledge Organization System homepage has 4 classes and 28 properties in OWL
SKOS-XL SKOS eXtension for Labels homepage to transform labels into resources
Dublin Core Metadata Initiative to describe documents has 22 classes and 55 properties. Note that DC Elements is a subset of DC Terms. DC Type is a different vocabulary containing types of things that can be described using DC terms.
Creative Commons homepage to describe rights associated to a resource, has 6 main classes, 12 secondary classes and 11 properties
Friend Of A Friend specifications for social networkd, has 13 classes and 62 properties
Relationship is an extension of FOAF to describe relations between persons
Vocabulary of Interlinked Datasets to describe datasets and linksets
Data Catalog Vocabulary recommendation to describe any dataset, not only rdf

Software

W3C RDF/XML validator renders triples and graph from RDF/XML
Download standalone version of Corese from inria.fr for SPARQL queries and SHACL checks
Download Protégé from stanford.edu for ontology edition
Get simple RDFa samples on rdfa.info
W3C RDFa distiller and parser to get triples from html
Map a given vocabulary or append IRI = ...

SPARQL endpoints

DBpedia with Flint SPARQL editor
DBpedia with Virtuoso
INSEE

Find datasets and ontologies

Visualize the Linked Open Data Cloud on lod-cloud.net License: CC BY 4.0 View and search ontologies and datasets classified by topics.
Visualize Linked Open Vocabularies LOV

Enrich plain text

Annotate text with DBpediaSpotlight with API too