On 3/21/14 11:54 AM, ghirardi nicola wrote:
I have this kind of queries that do not perform as expected (transaction timeout usually). Here an example on dbpedia:CONSTRUCT {<http://dbpedia.org/resource/Coen_brothers> ?p ?o. ?sub ?p_sub ?o_sub. ?type ?p_type ?o_type. } where { <http://dbpedia.org/resource/Coen_brothers> ?p ?o OPTIONAL {<http://dbpedia.org/resource/Coen_brothers> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?type.?type ?p_type ?o_type. } OPTIONAL {<http://dbpedia.org/resource/Coen_brothers> <http://purl.org/dc/terms/subject> ?sub.?sub ?p_sub ?o_sub. } } The query answer very fast if I remove one of the optional or the "?p ?o" part. Is it something expected? Can you suggest me another query to get the same response? Would use all the properties in separated optional works faster? Thanks Nicola
Please repeat using: http://lod.openlinksw.com/sparql Then share your SPARQL Query Results URL. -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter Profile: https://twitter.com/kidehen Google+ Profile: https://plus.google.com/+KingsleyIdehen/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users