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:
@@ -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 .
|
||||
}
|
||||
|
||||
@@ -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 .
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user