Hi Virtuoso team, I'm using Virtuoso for a project and have a simple RDFS inferencing use case. Rather than giving you the details of the use case, I replicated the error for one of the examples on the RDFS inferencing page (http://docs.openlinksw.com/virtuoso/rdfsparqlrule.html). Specifically, I am working off of the example in section 16.13.9 Identity With Inverse Functional Properties.
I need to perform a SELECT DISTINCT query using literal values in this data
with a single query. So, going on the example given, my query might look like:
SQL>SPARQL define input:inference "ifps" SELECT DISTINCT * FROM <ifps> WHERE
{?person <name> ?name};
If I execute the query, I get no results (see below):
person
name
VARCHAR
VARCHAR
_______________________________________________________________________________
0 Rows. -- 2 msec.
If I execute the query without the DISTINCT constraint, I get results (see
below):
SQL>SPARQL define input:inference "ifps" SELECT DISTINCT * FROM <ifps> WHERE
{?person <name> ?name};
person
name
VARCHAR
VARCHAR
_______________________________________________________________________________
john1
John
john2
John
john1
Tarzan
3 Rows. -- 1 msec.
Given the results from the second query, I would expect the same results for a
SELECT DISTINCT query. Any thoughts on what is causing this error? I am using
Virtuoso 6.1.2.
Thanks,
-Eric Rozell
smime.p7s
Description: S/MIME cryptographic signature
