My two cents for Virtuoso 07.20.3214

This query does not work

###################################################
SELECT distinct ?class {GRAPH <http://dbpedia.org>  {
?class rdfs:subClassOf* ?superclass.
FILTER (?superclass= <http://dbpedia.org/ontology/Actor>)
}}
###################################################

but this query works (just changing the position of the graphname
using a different syntax)

###################################################
SELECT distinct ?class FROM <http://dbpedia.org>  {
?class rdfs:subClassOf* ?superclass.
FILTER (?superclass= <http://dbpedia.org/ontology/Actor>)
}
###################################################


On Tue, Sep 1, 2015 at 2:29 PM, Jerven Tjalling Bolleman
<jerven.bolle...@isb-sib.ch> wrote:
> The Virtuoso 37000 Error TR...: transitive start not given,
> is fixed in a later release.
>
> In the meantime you can use this work around.
>
> SELECT ?superclass {GRAPH <http://dbpedia.org> {
> ?class rdfs:subClassOf [] .
> [] rdfs:subClassOf ?superclass .
> ?class rdfs:subClassOf* ?superclass.
> FILTER (?class = <http://dbpedia.org/ontology/Actor>)
> }}
>
> Regards,
> Jerven
>
> On 2015-09-01 14:15, Adam Sanchez wrote:
>> Hello,
>>
>> I do not understand why two SPARQL queries work in Virtuoso 06.01.3127
>> but not in Virtuoso 07.20.3214. May you help me?
>>
>> These are the equivalent queries launched against a Dbpedia dataset.
>>
>> ###################################################
>>
>> SELECT ?superclass {GRAPH <http://dbpedia.org> {
>> ?class rdfs:subClassOf* ?superclass.
>> FILTER (?class = <http://dbpedia.org/ontology/Actor>)
>> }}
>>
>> ###################################################
>>
>> SELECT ?superclass {GRAPH <http://dbpedia.org> {
>> ?class rdfs:subClassOf ?superclass OPTION (TRANSITIVE,
>> T_DISTINCT,T_NO_CYCLES, T_MIN(0)).
>> FILTER (?class = <http://dbpedia.org/ontology/Actor>)
>> }}
>>
>> ###################################################
>>
>> The error message I got for Virtuoso 07.20.3214 was
>>
>> Virtuoso 37000 Error TR...: transitive start not given
>>
>> SPARQL query:
>> define sql:big-data-const 0
>> #output-format:text/html
>> define sql:signal-void-variables 1 SELECT ?superclass {GRAPH
>> <http://dbpedia.org> {
>> ?class rdfs:subClassOf ?superclass OPTION (TRANSITIVE,
>> T_DISTINCT,T_NO_CYCLES, T_MIN(0)).
>> FILTER (?class = <http://dbpedia.org/ontology/Actor>)
>> }}
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> Adam
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Virtuoso-users mailing list
>> Virtuoso-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>
> --
> Jerven Tjalling Bolleman
> SIB | Swiss Institute of Bioinformatics
> CMU - 1, rue Michel Servet - 1211 Geneva 4
> t: +41 22 379 58 85 - f: +41 22 379 58 58
> jerven.bolle...@isb-sib.ch - http://www.isb-sib.ch
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to