Hello Maria, I'm not a Virtuoso developer, so I can't help you and the query is rather simple. Probably depends on your settings and the size of the dataset. It's also not clear what "long" means in your case.
Off-topic, but: please don't use predefined namespaces like RDF, RDFS or OWL for your domain as you did with rdf:plays . That's for sure far away from best-practice. Kind regards, Lorenz > I ran the following query on Virtuoso: > > [code]PREFIX rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#> > SELECT DISTINCT ?X > WHERE > {?X rdf:type Musician . > ?X rdf:plays <http://Music>} > [/code] > > The output of "explain" of this query is: > [code]{ > RDF_QUAD_POGS 4 rows(s_1_4_t1.S) > P = ##plays , O = #/Music > RDF_QUAD_POGS 0.8 rows(s_1_4_t0.S) > inlined P = ##type , O = ##Musician , S = s_1_4_t1.S > Distinct (s_1_4_t0.S) > > After code: > 0: X := := artm s_1_4_t0.S > 4: BReturn 0 > Subquery Select(X) > > After code: > 0: X := Call __ro2sq (X) > 5: BReturn 0 > Select (X) > } > [/code] > > Now I am unable to decipher the output of explain command. What do > "ro2sq", "inlined" and "artm" mean? And which join algorithm (like > Hash Join, Merge Join, Nested loop join, etc.) is Virtuoso using for > this query? I need to understand Virtuoso's explain command in order > to understand the reason for Virtuoso taking a long time to execute? > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > -- Lorenz Bühmann AKSW group, University of Leipzig Group: http://aksw.org - semantic web research center
------------------------------------------------------------------------------
_______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users