Hi Jerven,

Either ?sub or ?super (or both) should appear in some non-transitive triple 
pattern to specify at least one of transitive ends.

See the following property path examples:

        
http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtTipsAndTricksSPARQL11PropertyPaths

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers

On 14 May 2013, at 09:16, Jerven Bolleman <[email protected]> wrote:

> Hi All,
> 
> When executing
> 
> PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> 
> CONSTRUCT
>   { ?sub rdfs:subClassOf ?super .}
> FROM <http://purl.uniprot.org/go/>
> WHERE
>   { ?sub (rdfs:subClassOf)* ?super }
> 
> I get the following exception.
> 
> Query evaluation failed:PREFIX 
> rdfs:<http://www.w3.org/2000/01/rdf-schema#> CONSTRUCT {?sub 
> rdfs:subClassOf ?super} FROM <http://purl.uniprot.org/go/> WHERE {?sub 
> rdfs:subClassOf* ?super}
> org.openrdf.query.QueryEvaluationException: : SPARQL execute 
> failed:[PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> CONSTRUCT 
> {?sub rdfs:subClassOf ?super} FROM <http://purl.uniprot.org/go/> WHERE 
> {?sub rdfs:subClassOf* ?super}]
>  Exception:virtuoso.jdbc3.VirtuosoException: TR...: transitive start 
> not given
>       at 
> virtuoso.sesame2.driver.VirtuosoRepositoryConnection.executeSPARQLForHandler(Unknown
>  
> Source)
> 
> 
> Regards,
> Jerven
> -- 
> -------------------------------------------------------------------
>  Jerven Bolleman                        [email protected]
>  SIB Swiss Institute of Bioinformatics  Tel: +41 (0)22 379 58 85
>  CMU, rue Michel Servet 1               Fax: +41 (0)22 379 58 58
>  1211 Geneve 4,
>  Switzerland     www.isb-sib.ch - www.uniprot.org
>  Follow us at https://twitter.com/#!/uniprot
> -------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to