Hi,

I have the following SPARQL query for creating a string by concatenating two 
other strings, and the new label is assigned to rdfs:label.  However the 
resulting rdfs:label will have the range rdfs:Literal, instead of xsd:string:

CONSTRUCT { ?s rdfs:label ?newLabel . }
WHERE {
               ?s rdfs:subClassOf+ BiodiversityConservation:Threat .
               ?s BiodiversityConservation:hasInternalName ?oldLabel .
               ?s BiodiversityConservation:hasIndex ?index .
               BIND(fn:concat(?index, "  ", ?oldLabel) AS ?newLabel)
}

How should I modify my query expression so that the range of rdfs:lable will 
automatically be xsd:string?

Thanks for your help!
Naicong

-- 
-- 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.


Reply via email to