-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating the rdf example serializations
- Loading branch information
1 parent
e7e7088
commit 2326d44
Showing
6 changed files
with
280 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,77 @@ | ||
{ | ||
"@graph": [ | ||
{ | ||
"@id": "http://dcat.example.org/budget", | ||
"@type": "http://www.w3.org/ns/dcat#DatasetSeries", | ||
"http://purl.org/dc/terms/title": { | ||
"@language": "en", | ||
"@value": "Budget data" | ||
} | ||
}, | ||
{ | ||
"@id": "http://dcat.example.org/budget-2020", | ||
"@type": "http://www.w3.org/ns/dcat#Dataset", | ||
"http://purl.org/dc/terms/issued": { | ||
"@type": "http://www.w3.org/2001/XMLSchema#date", | ||
"@value": "2021-01-01" | ||
}, | ||
"http://purl.org/dc/terms/title": { | ||
"@language": "en", | ||
"@value": "Budget data for year 2020" | ||
}, | ||
"http://www.w3.org/ns/dcat#inSeries": { | ||
"@id": "http://dcat.example.org/budget" | ||
}, | ||
"http://www.w3.org/ns/dcat#prev": { | ||
"@id": "http://dcat.example.org/budget-2019" | ||
} | ||
}, | ||
{ | ||
"@id": "http://dcat.example.org/budget-2019", | ||
"@type": "http://www.w3.org/ns/dcat#Dataset", | ||
"http://purl.org/dc/terms/issued": { | ||
"@type": "http://www.w3.org/2001/XMLSchema#date", | ||
"@value": "2020-01-01" | ||
}, | ||
"http://purl.org/dc/terms/title": { | ||
"@language": "en", | ||
"@value": "Budget data for year 2019" | ||
}, | ||
"http://www.w3.org/ns/dcat#inSeries": { | ||
"@id": "http://dcat.example.org/budget" | ||
}, | ||
"http://www.w3.org/ns/dcat#next": { | ||
"@id": "http://dcat.example.org/budget-2020" | ||
}, | ||
"http://www.w3.org/ns/dcat#prev": { | ||
"@id": "http://dcat.example.org/budget-2018" | ||
} | ||
}, | ||
{ | ||
"@id": "http://dcat.example.org/budget-2018", | ||
"@type": "http://www.w3.org/ns/dcat#Dataset", | ||
"http://purl.org/dc/terms/issued": { | ||
"@type": "http://www.w3.org/2001/XMLSchema#date", | ||
"@value": "2019-01-01" | ||
}, | ||
"http://purl.org/dc/terms/title": { | ||
"@language": "en", | ||
"@value": "Budget data for year 2018" | ||
}, | ||
"http://www.w3.org/ns/dcat#inSeries": { | ||
"@id": "http://dcat.example.org/budget" | ||
}, | ||
"http://www.w3.org/ns/dcat#next": { | ||
"@id": "http://dcat.example.org/budget-2019" | ||
} | ||
} | ||
] | ||
} | ||
"@graph" : [ { | ||
"@id" : "ex:budget", | ||
"@type" : "dcat:DatasetSeries", | ||
"dcterms:title" : { | ||
"@language" : "en", | ||
"@value" : "Budget data" | ||
}, | ||
"first" : "ex:budget-2018", | ||
"last" : "ex:budget-2020" | ||
}, { | ||
"@id" : "ex:budget-2018", | ||
"@type" : "dcat:Dataset", | ||
"issued" : "2019-01-01", | ||
"dcterms:title" : { | ||
"@language" : "en", | ||
"@value" : "Budget data for year 2018" | ||
}, | ||
"inSeries" : "ex:budget", | ||
"next" : "ex:budget-2019" | ||
}, { | ||
"@id" : "ex:budget-2019", | ||
"@type" : "dcat:Dataset", | ||
"issued" : "2020-01-01", | ||
"dcterms:title" : { | ||
"@language" : "en", | ||
"@value" : "Budget data for year 2019" | ||
}, | ||
"inSeries" : "ex:budget", | ||
"next" : "ex:budget-2020", | ||
"prev" : "ex:budget-2018" | ||
}, { | ||
"@id" : "ex:budget-2020", | ||
"@type" : "dcat:Dataset", | ||
"issued" : "2021-01-01", | ||
"dcterms:title" : { | ||
"@language" : "en", | ||
"@value" : "Budget data for year 2020" | ||
}, | ||
"inSeries" : "ex:budget", | ||
"prev" : "ex:budget-2019" | ||
} ], | ||
"@context" : { | ||
"last" : { | ||
"@id" : "http://www.w3.org/ns/dcat#last", | ||
"@type" : "@id" | ||
}, | ||
"first" : { | ||
"@id" : "http://www.w3.org/ns/dcat#first", | ||
"@type" : "@id" | ||
}, | ||
"title" : { | ||
"@id" : "http://purl.org/dc/terms/title", | ||
"@type" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString" | ||
}, | ||
"next" : { | ||
"@id" : "http://www.w3.org/ns/dcat#next", | ||
"@type" : "@id" | ||
}, | ||
"prev" : { | ||
"@id" : "http://www.w3.org/ns/dcat#prev", | ||
"@type" : "@id" | ||
}, | ||
"issued" : { | ||
"@id" : "http://purl.org/dc/terms/issued", | ||
"@type" : "http://www.w3.org/2001/XMLSchema#date" | ||
}, | ||
"inSeries" : { | ||
"@id" : "http://www.w3.org/ns/dcat#inSeries", | ||
"@type" : "@id" | ||
}, | ||
"ex" : "http://dcat.example.org/", | ||
"xsd" : "http://www.w3.org/2001/XMLSchema#", | ||
"dcterms" : "http://purl.org/dc/terms/", | ||
"dcat" : "http://www.w3.org/ns/dcat#" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rdf:RDF | ||
xmlns:dcat="http://www.w3.org/ns/dcat#" | ||
xmlns:dcterms="http://purl.org/dc/terms/" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
> | ||
<rdf:Description rdf:about="http://dcat.example.org/budget-2018"> | ||
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"/> | ||
<dcterms:title xml:lang="en">Budget data for year 2018</dcterms:title> | ||
<dcat:inSeries rdf:resource="http://dcat.example.org/budget"/> | ||
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2019-01-01</dcterms:issued> | ||
<dcat:next rdf:resource="http://dcat.example.org/budget-2019"/> | ||
</rdf:Description> | ||
<rdf:Description rdf:about="http://dcat.example.org/budget"> | ||
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#DatasetSeries"/> | ||
<dcterms:title xml:lang="en">Budget data</dcterms:title> | ||
</rdf:Description> | ||
<rdf:Description rdf:about="http://dcat.example.org/budget-2020"> | ||
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"/> | ||
<dcterms:title xml:lang="en">Budget data for year 2020</dcterms:title> | ||
xmlns:dcterms="http://purl.org/dc/terms/" | ||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | ||
xmlns:dcat="http://www.w3.org/ns/dcat#" | ||
xmlns:ex="http://dcat.example.org/" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> | ||
<dcat:Dataset rdf:about="http://dcat.example.org/budget-2019"> | ||
<dcat:next> | ||
<dcat:Dataset rdf:about="http://dcat.example.org/budget-2020"> | ||
<dcat:prev rdf:resource="http://dcat.example.org/budget-2019"/> | ||
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date" | ||
>2021-01-01</dcterms:issued> | ||
<dcat:inSeries> | ||
<dcat:DatasetSeries rdf:about="http://dcat.example.org/budget"> | ||
<dcat:last rdf:resource="http://dcat.example.org/budget-2020"/> | ||
<dcat:first> | ||
<dcat:Dataset rdf:about="http://dcat.example.org/budget-2018"> | ||
<dcat:next rdf:resource="http://dcat.example.org/budget-2019"/> | ||
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date" | ||
>2019-01-01</dcterms:issued> | ||
<dcat:inSeries rdf:resource="http://dcat.example.org/budget"/> | ||
<dcterms:title xml:lang="en">Budget data for year 2018</dcterms:title> | ||
</dcat:Dataset> | ||
</dcat:first> | ||
<dcterms:title xml:lang="en">Budget data</dcterms:title> | ||
</dcat:DatasetSeries> | ||
</dcat:inSeries> | ||
<dcterms:title xml:lang="en">Budget data for year 2020</dcterms:title> | ||
</dcat:Dataset> | ||
</dcat:next> | ||
<dcat:prev rdf:resource="http://dcat.example.org/budget-2018"/> | ||
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date" | ||
>2020-01-01</dcterms:issued> | ||
<dcat:inSeries rdf:resource="http://dcat.example.org/budget"/> | ||
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2021-01-01</dcterms:issued> | ||
<dcat:prev rdf:resource="http://dcat.example.org/budget-2019"/> | ||
</rdf:Description> | ||
<rdf:Description rdf:about="http://dcat.example.org/budget-2019"> | ||
<rdf:type rdf:resource="http://www.w3.org/ns/dcat#Dataset"/> | ||
<dcterms:title xml:lang="en">Budget data for year 2019</dcterms:title> | ||
<dcat:inSeries rdf:resource="http://dcat.example.org/budget"/> | ||
<dcterms:issued rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2020-01-01</dcterms:issued> | ||
<dcat:prev rdf:resource="http://dcat.example.org/budget-2018"/> | ||
<dcat:next rdf:resource="http://dcat.example.org/budget-2020"/> | ||
</rdf:Description> | ||
</dcat:Dataset> | ||
</rdf:RDF> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.