Hi,
I have a working SPARQLMotion script that contains an
sml:ApplyConstruct module with the following SPARQL query:
CONSTRUCT {
?s ?p ?o .
}
WHERE {
GRAPH <http://siemens.com/vocab/kps/epic_instances> {
BIND (spif:buildURI(?tag) AS ?tagURI) .
?s <http://siemens.com/schemas/kps/epic#hasTag> ?tagURI .
?s ?p ?o .
} .
}
(?tag is passed in as a variable).
I want to expand the search to two graphs, so I changed the query to:
CONSTRUCT {
?s ?p ?o .
}
FROM <http://siemens.com/vocab/kps/epicArchive>
FROM <http://siemens.com/vocab/kps/epic_instances>
WHERE {
BIND (spif:buildURI(?tag) AS ?tagURI) .
?s <http://siemens.com/schemas/kps/epic#hasTag> ?tagURI .
?s ?p ?o .
}
.but this gives the following error:
HTTP ERROR: 500
Problem accessing /tbl/sparqlmotion. Reason:
An internal error has been reported by the SPARQLMotion engine of
TopBraid Live.
Summary: [Endpoint returned Content Type: text/html which is not a valid RDF
syntax]
Details: org.apache.jena.query.QueryException: Endpoint returned Content
Type: text/html which is not a valid RDF syntax
at
org.apache.jena.sparql.engine.http.QueryEngineHTTP.execConstructWorker(Query
EngineHTTP.java:491)
at
org.apache.jena.sparql.engine.http.QueryEngineHTTP.execModel(QueryEngineHTTP
.java:440)
... more
The odd thing is that the same query works inside a SPARQL query pane in TBC
Maestro.
Any ideas?
- Steve
Steven R. Ray, Ph.D.
Distinguished Research Fellow
Carnegie Mellon University
NASA Research Park
Building 23 (MS 23-11)
P.O. Box 1
Moffett Field, CA 94305-0001
Email: [email protected]
Phone: (650) 587-3780
Cell: (202) 316-6481
Skype: steverayconsulting
cid:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.