Using virtual graphs tutorial - returns zero rows back

All worked fine with this tutorial https://www.stardog.com/tutorials/using-virtual-graphs/ until executing the query below - returned zero rows.

  • Do you know why?

BTW - I see the virtual graph in studio.

SELECT ?member ?name {
   GRAPH <virtual://music> {
      ?band a :Band ;
            :name "The Beatles" ;
            :member ?member .
      ?member :name ?name .
   }
}

Make sure that your prefixes match up between the triples that are mapped and the triples that you are querying. :Band can resolve to many IRIs depending on how the default prefix is defined. Check your mapping for a prefix declaration and make sure that your query is using the same one.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.