Hello Peter,
> > CONSTRUCT { > > <http://bio2rdf.org/interpro:IPR000181> > > <http://bio2rdf.org/ns/bio2rdf#hasLinkCount> > > `(select (count(?s)) as ?countS > > where { ?s ?p <http://bio2rdf.org/interpro:IPR000181> })` } > > where { ?s1 ?p1 ?o1 } limit 1 > > Just to check I understand... The real query is inside the CONSTRUCT and the > LIMIT 1 with ?s1 ?p1 ?o1 is just to ensure it returns results and is > syntactically valid SPARQL? Exactly. There will be always at least one triple in the Virtuoso storage because system metadata graph is not empty, so this will form a fake single-row result set. Best Regards, Ivan Mikhailov, OpenLink Software http://virtuoso.openlinksw.com