Hi Hugh,

in the meantime I solved some of the errors. Assuming the following query is 
evaluated at endpoint running at port 8893:

SELECT ?x ?a ?b ?P0src ?P1src
WHERE {
   {
      SERVICE <http://141.87.4.8:8899/sparql> {
         ?x <http://purl.org/dc/terms/partOf> ?a .
         FILTER ( ?x >= 
<http://bibsonomy.org/uri/bibtexkey/conf/icmcs/NagatomoYOIT02/dblp> ) .
         FILTER ( ?x < 
<http://bibsonomy.org/uri/bibtexkey/conf/wpmc/EndoMA14/dblp> ) .
      } .
      BIND (<http://141.87.4.8:8899/sparql> AS ?P0src)
   }
   UNION
   {
      SERVICE <http://141.87.4.8:8891/sparql> {
         ?x <http://purl.org/dc/terms/partOf> ?a .
         FILTER ( ?x >= 
<http://bibsonomy.org/uri/bibtexkey/conf/icmcs/NagatomoYOIT02/dblp> ) .
         FILTER ( ?x < 
<http://bibsonomy.org/uri/bibtexkey/conf/wpmc/EndoMA14/dblp> ) .
      } .
      BIND (<http://141.87.4.8:8891/sparql> AS ?P0src)
   }
   UNION
   {
      ?x <http://purl.org/dc/terms/partOf> ?a .
      FILTER ( ?x >= 
<http://bibsonomy.org/uri/bibtexkey/conf/icmcs/NagatomoYOIT02/dblp> ) .
      FILTER ( ?x < 
<http://bibsonomy.org/uri/bibtexkey/conf/wpmc/EndoMA14/dblp> ) .
      BIND (<http://141.87.4.8:8893/sparql> AS ?P0src)
   }
   UNION
   {
      SERVICE <http://141.87.4.8:8895/sparql> {
         ?x <http://purl.org/dc/terms/partOf> ?a .
         FILTER ( ?x >= 
<http://bibsonomy.org/uri/bibtexkey/conf/icmcs/NagatomoYOIT02/dblp> ) .
         FILTER ( ?x < 
<http://bibsonomy.org/uri/bibtexkey/conf/wpmc/EndoMA14/dblp> ) .
      } .
      BIND (<http://141.87.4.8:8895/sparql> AS ?P0src)
      BIND (<http://141.87.4.8:8895/sparql> AS ?P0src)
   } .
   ?b <http://www.aktors.org/ontology/portal#article-of-journal> ?x .
   FILTER ( ?x >= 
<http://bibsonomy.org/uri/bibtexkey/conf/icmcs/NagatomoYOIT02/dblp> ) .
   FILTER ( ?x < <http://bibsonomy.org/uri/bibtexkey/conf/wpmc/EndoMA14/dblp> ) 
.
   BIND (<http://141.87.4.8:8893/sparql> AS ?P1src)
}

If this endpoint has no ?x matching pattern at line 22 of this query, an 
exception is thrown. It is possible to avoid that by replacing line 20 to 26 by

UNION
   {
      {
         ?x <http://purl.org/dc/terms/partOf> ?a .
         FILTER ( ?x >= 
<http://bibsonomy.org/uri/bibtexkey/conf/icmcs/NagatomoYOIT02/dblp> ) .
         FILTER ( ?x < 
<http://bibsonomy.org/uri/bibtexkey/conf/wpmc/EndoMA14/dblp> ) .
      }
      BIND (<http://141.87.4.8:8893/sparql> AS ?P0src)
   }

Best
Andy

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to