Command:
java -jar $PATH_RPT integrate -o=local_licenses.jsonld --out-format=jsonld datasources.n3 get_licenses.rq
Version: 1.9.1
datasources.n3:
<http://dalicc.net/dependencygraph/dg_default/>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://vocab.eccenca.com/di/Dataset> .
<https://coypu.org/datasource/COY%20Ontology%20%2F%20CoyPu%20Schema> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/dcat#Dataset>.
<https://coypu.org/datasource/COY%20Ontology%20%2F%20CoyPu%20Schema> <http://purl.org/dc/terms/title> "COY Ontology / CoyPu Schema".
<https://coypu.org/datasource/COY%20Ontology%20%2F%20CoyPu%20Schema> <http://purl.org/dc/terms/language> "http://id.loc.gov/vocabulary/iso639-1/en".
<https://coypu.org/datasource/COY%20Ontology%20%2F%20CoyPu%20Schema> <http://purl.org/dc/terms/license> <http://dalicc.net/licenselibrary/CC-BY_v4>.
get_licenses.rq:
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX odrl: <http://www.w3.org/ns/odrl/2/>
construct { ?license a odrl:Set . }
WHERE {
SELECT distinct ?license WHERE {
?ds a <http://www.w3.org/ns/dcat#Dataset> ;
dcterms:license ?license .
}
}
It shows an RDF result in the terminal, but writes [] into the jsonld file. With other formats it works.
Command:
java -jar $PATH_RPT integrate -o=local_licenses.jsonld --out-format=jsonld datasources.n3 get_licenses.rqVersion: 1.9.1
datasources.n3:
get_licenses.rq:
It shows an RDF result in the terminal, but writes
[]into the jsonld file. With other formats it works.