VoiD creation / suggestion extension for OntoWiki edit this file
VoID is an RDF Schema vocabulary for expressing metadata about RDF datasets. It is intended as a bridge between the publishers and users of RDF data, with applications ranging from data discovery to cataloging and archiving of datasets.
Presentation slides: http://bit.ly/void-ontowiki
This extension should be able:
- to generate VoID statements automatically where possible, and
- to suggest additional content based on a suggestion-list
The following prefixes are used in this document:
@cc: <http://creativecommons.org/ns#>
@dc: <http://purl.org/dc/elements/1.1/>
@dcterms: <http://purl.org/dc/terms/>
@foaf: <http://xmlns.com/foaf/0.1/>
@rdfs: <http://www.w3.org/2000/01/rdf-schema#>
@void: <http://rdfs.org/ns/void#>
@wv: <http://vocab.org/waiver/terms/>
SPARQL query:
SELECT (COUNT(DISTINCT ?o) AS ?no) WHERE {
?s a ?o .
}
SPARQL query:
SELECT (COUNT(DISTINCT ?o) AS ?no) WHERE {
?s ?p ?o .
}
SPARQL query:
SELECT (COUNT(DISTINCT ?s) AS ?no) WHERE {
?s ?p ?o .
}
#### void:entities
SPARQL query:
SELECT (COUNT(DISTINCT ?s) AS ?no) WHERE {
?s a [] .
}
#### void:properties
SPARQL query:
SELECT (COUNT(DISTINCT ?p) AS ?no) WHERE {
?s ?p ?o .
}
SPARQL query:
SELECT (COUNT(*) AS ?no) {
?s ?p ?o .
}
#### void:vocabulary
To be retrieved via OntoWiki.
#### void:dataDump
To be retrieved via OntoWiki.
List of available RDF searializations to be retrived via OntoWiki.
#### void:openSearchDescription
To be retrieved via OntoWiki.
To be retrieved via OntoWiki.
List all named graphs in a given OntoWiki dataset.
To be retrieved via OntoWiki.
To be retrieved via OntoWiki.
The suggested content is based on the recommendation from the VoID specification for dataset metadata. For each item there are listed synonym sets (synset) of RDF properties, in which one property is designed as the preferred property and the rest are the alternatives. The extension checks if one of the properties in a set has a value for a particular dataset. If no value is found, the extension suggests to add it for the preferred property from a set.
- Preferred property:
void:exampleResource
### Licence
- Preferred property:
cc:license - Alternative properties:
dc:rightswv:normswv:waiver
SPARQL query:
PREFIX cc: <http://creativecommons.org/ns#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
ASK {
{ ?s cc:license ?licence }
UNION
{ ?s dc:rights ?licence }
}
* Preferred property: dcterms:creator
- Alternative properties:
dc:creatordcterms:contributor
SPARQL query:
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX void: <http://rdfs.org/ns/void#>
ASK {
?s a void:Dataset .
{ ?s dc:creator ?creator }
UNION
{ ?s dcterms:creator ?creator }
UNION
{ ?s dcterms:contributor ?creator }
}
- Preferred property:
dcterms:description - Alternative properties:
rdfs:comment
- Preferred property:
dcterms:publisher
- Preferred property:
dcterms:source
- Preferred property:
dcterms:date
- Preferred property:
dcterms:issued
- Preferred property:
dcterms:modified
- Preferred property:
dcterms:title - Alternative properties:
dc:titlerdfs:label
SPARQL query:
PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX void: <http://rdfs.org/ns/void#>
ASK {
?s a void:Dataset .
{ ?s dcterms:title ?title }
UNION
{ ?s dc:title ?title }
}
- Preferred property:
dcterms:created
#### Homepage of the publisher
- Preferred property:
foaf:homepage
#### Root resource
- Preferred property:
void:rootResource
- Preferred property:
dcterms:subject - Alternative properties:
dc:subjectfoaf:primaryTopic
#### URI pattern of the dataset
- Preferred property:
void:uriRegexPattern