Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Federated Sparql Question

manuelso manuelso at stanford.edu
Wed Mar 5 12:14:58 PST 2014


On Mar 5, 2014, at 12:07 PM, tomd <tom.dwyer at patientfirst.com> wrote:

> Hi Manuel,
> The past I am getting confused on is the filter, I only know how to do the
> first 2 parts, not the second 2.
> IOW, I understand:
> WHERE {
> 	?id skos:prefLabel ?label .
>        ?id skos:notation ?notation .
>        FILTER(?id = ?source || ?id = ?target)  
> } 
> But how would I code the 4 part OR statement you mention to include the
> second row of the first query?

Tom,

You need to construct the filter programmatically in a string before sending it to the SPARQL server. If you have a script that is building the second SPARQL query I could have a look at it.

Manuel

> Thanks for your help,
> Tom
> 
> 
> 
> --
> View this message in context: http://ncbo-support.2288202.n4.nabble.com/Federated-Sparql-Question-tp4652567p4652672.html
> Sent from the NCBO Support mailing list archive at Nabble.com.
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/bioontology-support



More information about the bioontology-support mailing list