WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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)

Clone this wiki locally