-
Notifications
You must be signed in to change notification settings - Fork 17
1.0 ‐ 2.0 collection custom query migration notes
JJ-Author edited this page Oct 27, 2023
·
3 revisions
things that need rewrite in custom sparql queries
- change property name for dimensionless content var AKA tag e.g.
MINUS { ?distribution databus:contentVariant 'sorted' . }
-->MINUS { ?distribution dataid-cv:tag 'sorted' . }
- no string datatype for string literal
?distribution databus:formatExtension 'nt'^^xsd:string .
-->?distribution databus:formatExtension 'nt'.
- replace downloadUrl property with databus:file prop for ?file variable,
SELECT DISTINCT ?file WHERE { ... ?distribution dcat:downloadURL ?file . ...}
-->SELECT DISTINCT ?file WHERE { ... ?distribution databus:file ?file . ...}
- rename old databus prefix (e.g. used for accounts) (due to bug in migration script that uses databus prefix for new databus ontology)