|
Hi all,
I am new to Owlready2 and trying to query my ontology with SPARQL. However, I am not able to gain anything from the query. For example, the following query
g = default_world.as_rdflib_graph()
query_string = '''
SELECT ?a ?b
WHERE
{
?a ?b "true"^^xsd:boolean.}'''
r = g.query(query_string)
should at least return some results (the same query string is tested with Stardog). This only happens when boolean value is involved. Is there anyway to make this work?
Kind regards,
Jin
|