Wiki
Clone wikisdaas / sdaas_AP
SDaaS Application Profile sdaas_AP is the vocabulary that is recognized by SDaaS platform and agent. sdaas_AP is compatible with the KEES language profile.
Besides all KEES specifications, sdaas_AP provides support for RML specification as a data accrual method. It is also able to understand void:DataDump and dcat:Distribution classes
Following namespace are used:
- dcat: http://www.w3.org/ns/dcat#
- dct: http://purl.org/dc/terms/
- foaf: http://xmlns.com/foaf/0.1/
- owl: http://www.w3.org/2002/07/owl#
- rdfs: http://www.w3.org/2000/01/rdf-schema#
- schema: http://schema.org/
- skos: http://www.w3.org/2004/02/skos/core#
- spdx: http://spdx.org/rdf/terms#
- xsd: http://www.w3.org/2001/XMLSchema#
- qb: http://purl.org/linked-data/cube#
- daq: http://purl.org/eis/vocab/daq#
- prov: http://www.w3.org/ns/prov#
- void: http://rdfs.org/ns/void#
- sd: http://www.w3.org/ns/sparql-service-description#
- kees: http://linkeddata.center/kees/v1#
- sdaas: http://linkeddata.center/sddas/v1#
- rml: http://semweb.mmlab.be/ns/rml#
- ql: http://semweb.mmlab.be/ns/ql#
- rr: http://www.w3.org/ns/r2rml#
- csvw: http://www.w3.org/ns/csvw#
- d2rq: http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#
Following restrictions apply:
- rr:graphMap attribute is not recognized, all triples are generated in the graph where the RML triple map is defined
- all csv source files must be related with a csvw:Table wth following attributes with max cardinality =1:
- csvw:dialect (default sdass:standardCSVDialect)
- csvw:delimiter (default ",")
- csvw:encoding (default"UTF-8")
- csvw:header (default tre)
- if the dct:source referred object is a dataset, the rml:source in the logical source must be a distribution of such datatset
Examples:
Build a graph from a triple map:
[] a kees:Plan ; kees:builds <http://www.example/named-graph> ; dct:accrualMethod ( [ a rml:TriplesMap rml:logicalSource [ rml:source <http://www.example/dataset/distribution.csv> ; rml:referenceFormulation ql:CSV ]; rr:subjectMap [ rr:template "http://airport.example.com/{id}"; rr:class ex:Stop ]); # ... ] . <http://www.example/dataset> a dcat:Dataset ; dcat:distribution [ a dcat:Distribution; dcat:downloadURL <http://www.example/dataset/distribution.csv> ] . [] a csvw:Table; csvw:url <http://www.example/dataset/distribution.csv> ; csvw:dialect [ a csvw:Dialect; csvw:delimiter ";"; csvw:encoding "UTF-8"; csvw:header "1"^^xsd:boolean ] .
From datadumps :
[] kees:builds :NYTimes kees:from [ void:dataDump <http://data.nytimes.com/people.rdf>; void:dataDump <http://data.nytimes.com/organizations.rdf>; void:dataDump <http://data.nytimes.com/locations.rdf>; void:dataDump <http://data.nytimes.com/descriptors.rdf> ] .
Updated