|
Hi,
I tried the following code on Google Colab but it returned nothing. On the other hand, I also tried it on SPARQL queries in Protege and it returned the result correctly as I expected.
SELECT DISTINCT (STR(?y1) AS ?class)
{?x1 a owl:Class.
?x1 rdfs:label ?y1.
FILTER(LANGMATCHES(LANG(?y1),"en"))}
I don't know why this happened. Any comments are welcome.
Thank you.
|