This just ate up more minutes of my life than I'd care to think about.
The Query 1 below throws an error while Query 2 below works as expected.
The only difference is that the BIND() function is outside the SERVICE call
in the 2nd, working example. Thoughts on why this difference might occur,
and whether it would be TBCME-specific or a general problem with any query
platform? Thanks --Courtland
*QUERY 1*
SELECT ?snewuri
WHERE {
SERVICE http://sparql.bioontology.org/ontologies/sparql/?(removing my API
key) {
GRAPH <http://bioportal.bioontology.org/ontologies/MDR> {
?s rdfs:subClassOf owl:Thing ;
skos:prefLabel ?slab ;
skos:notation ?snotation .
BIND ( URI(CONCAT("MDR:",?snotation)) as ?snewuri)
}}}
*QUERY 2*
SELECT ?snewuri
WHERE {
SERVICE <http://sparql.bioontology.org/ontologies/sparql/?(removing my API
<http://sparql.bioontology.org/ontologies/sparql/?(removing
my API K>key)> {
GRAPH <http://bioportal.bioontology.org/ontologies/MDR> {
?s rdfs:subClassOf owl:Thing ;
skos:prefLabel ?slab ;
skos:notation ?snotation .
}}
BIND ( URI(CONCAT("MDR:",?snotation)) as ?snewuri)
}
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
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/groups/opt_out.