Current consumer is VERY picky on how you write the mapping-query

See:
https://github.com/lblod/delta-consumer/blob/v0.0.27/lib/delta-sparql-mapping.js#L267

make sure you write first the graph or "triple"-pattern and filter
after that. For now.
This commit is contained in:
felix
2025-01-17 12:09:07 +01:00
parent 347844e341
commit a6571eefa5
2 changed files with 3 additions and 3 deletions

View File

@@ -5,10 +5,11 @@ PREFIX person: <http://www.w3.org/ns/person#>
CONSTRUCT {
?s a dc_terms:Agent .
} WHERE {
?s a ?type .
VALUES ?type {
lblodlg:Functionaris
person:Person
}
?s a ?type .
}

View File

@@ -4,9 +4,8 @@ PREFIX lblodlg: <http://data.lblod.info/vocabularies/leidinggevenden/>
CONSTRUCT {
?s a ch:AgentInPositie .
} WHERE {
?s a ?type .
VALUES ?type {
lblodlg:Functionaris
}
?s a ?type .
}