Skip to content

Commit

Permalink
fix: fixes an error due to missing prefixes
Browse files Browse the repository at this point in the history
Also adds a new prefix file to be used in all queries to set prefixes centrally.
  • Loading branch information
sennierer committed Oct 19, 2023
1 parent fa72dd7 commit 9776346
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 1 addition & 7 deletions intavia_backend/sparql/bulk_retrieve_entities_v2_1.sparql
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
PREFIX bds: <http://www.bigdata.com/rdf/search#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX idm: <https://www.intavia.eu/idm/>
PREFIX idmcore: <http://www.intavia.eu/idm-core/>
PREFIX bioc: <http://ldf.fi/schema/bioc/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
{% include 'prefixes_v2_1.sparql' %}

SELECT ?entity ?entityType ?entityTypeLabel ?entityLabel ?gender ?genderLabel ?nationalityLabel ?occupation ?occupationLabel
?event ?linkedIds ?count ?geometry ?role_type ?mediaObject ?biographyObject
Expand Down
9 changes: 9 additions & 0 deletions intavia_backend/sparql/prefixes_v2_1.sparql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PREFIX bds: <http://www.bigdata.com/rdf/search#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX idm: <https://www.intavia.eu/idm/>
PREFIX idmcore: <http://www.intavia.eu/idm-core/>
PREFIX bioc: <http://ldf.fi/schema/bioc/>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
PREFIX bgn: <http://data.biographynet.nl/rdf/>

0 comments on commit 9776346

Please sign in to comment.