Hi,
  The below SPARQL returns preferred labels of all languages available in 
the vocabulary by default(please check the below SPARQL). When I try FILTER 
to get only specific languages preferred labels then it doesn't 
return/place all those resulted preferred labels of a concept in a single 
row. Could some one please help?




*SPARQL*SELECT DISTINCT ?result ?label ?latitude ?preferredlabel
WHERE {
    GRAPH <urn:x-evn-master:geo> {
    {
        ?result a <http://topquadrant.com/ns/examples/geography#Continent> .
    } .
    BIND (search:nestedObjectsList(?result, geo:lat, "result") AS 
?latitude) .
    BIND (search:nestedObjectsList(?result, skos:prefLabel, "result") AS 
?preferredlabel) .
    BIND (ui:label(?result) AS ?label) .
    }
}
ORDER BY (LCASE(?label)) 



*FYI..*







*Using FILTER (FILTER(lang(?preferredlabel) = "en" || lang(?preferredlabel) 
= "fr"))*

Thanks,
sanjeev

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

Reply via email to