-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"rdf:" not found when sending a federated query to Fuseki #114
Comments
The bug is fixed.
Olivier
… De: "Pierre Maillot" ***@***.***>
À: "Wimmics" ***@***.***>
Cc: "Subscribed" ***@***.***>
Envoyé: Mercredi 23 Novembre 2022 15:53:50
Objet: [Wimmics/corese] "rdf:" not found when sending a federated query to
Fuseki (Issue #114)
Tested with Fuseki 4.6.1.
When sending a federated query that contains the "a", to remplace "rdf:type" to
a fuseki service through corese, the query sent by corese to the service
replace the "a" by "rdf:type" but do not include the namespace "rdf:"
For example, for the following query sent to corese:
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX earl: <http://www.w3.org/ns/earl#>
PREFIX kgi: <http://ns.inria.fr/kg/index#>
PREFIX void: <http://rdfs.org/ns/void#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
INSERT {
?datasetDescription void:classPartition ?classPartition .
?classPartition void:class ?c .
}
WHERE {
SERVICE <http://localhost:3030/DekalogDebugEmpty/sparql> {
{ ?s a ?c . }
}
BIND(Iri(CONCAT(str(kgi:),
MD5(str(<http://localhost:3030/DekalogDebugEmpty/sparql>)), "Dataset")) AS
?datasetDescription)
BIND(Iri(CONCAT(str(kgi:),
MD5(CONCAT(str(<http://localhost:3030/DekalogDebugEmpty/sparql>), str(?c))),
"Partition")) AS ?classPartition)
}
The following query is received by fuseki:
prefix kgi: <http://ns.inria.fr/kg/index#>
prefix prov: <http://www.w3.org/ns/prov#>
prefix void: <http://rdfs.org/ns/void#>
prefix earl: <http://www.w3.org/ns/earl#>
select * where { {?s rdf:type ?c .} }
The rdf namespace has disappeared and the server returns a 400 error.
—
Reply to this email directly, [ #114 |
view it on GitHub ] , or [
https://github.com/notifications/unsubscribe-auth/ABKXNJGYG3A7MFPKJCLPYULWJYVX5ANCNFSM6AAAAAASJBWV4U
| unsubscribe ] .
You are receiving this because you are subscribed to this thread. Message ID:
***@***.***>
|
Good job ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with Fuseki 4.6.1.
When sending a federated query that contains the "a", to remplace "rdf:type" to a fuseki service through corese, the query sent by corese to the service replace the "a" by "rdf:type" but do not include the namespace "rdf:"
For example, for the following query sent to corese:
The following query is received by fuseki:
The rdf namespace has disappeared and the server returns a 400 error.
The text was updated successfully, but these errors were encountered: