hi all, this query with Fuseki 0.2.7 on a TDB with named graphs yields 2 for ?c:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> select (count(*) as ?c) where { graph ?g { SERVICE <http://127.0.0.1:3030/datasets/query> { ?d rdfs:subClassOf <example> } ?s ?p ?d } } But as soon as I wrap it as subquery, ?c is 9436 - the number of all triples from all named graphs: PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> select ?c where { select (count(*) as ?c) where { graph ?g { SERVICE <http://127.0.0.1:3030/datasets/query> { ?d rdfs:subClassOf <example> } ?s ?p ?d } } } (The federated subquery on http://127.0.0.1:3030/datasets/query has one subclass as result) Is this a bug or a misunderstanding ? Regards, Michael Brunnbauer -- ++ Michael Brunnbauer ++ netEstate GmbH ++ Geisenhausener Straße 11a ++ 81379 München ++ Tel +49 89 32 19 77 80 ++ Fax +49 89 32 19 77 89 ++ E-Mail [email protected] ++ http://www.netestate.de/ ++ ++ Sitz: München, HRB Nr.142452 (Handelsregister B München) ++ USt-IdNr. DE221033342 ++ Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer ++ Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
pgpSVcbFpjSIs.pgp
Description: PGP signature
