Hi Kingsley,

the answer inline:

On 10/17/2014 02:39 PM, Kingsley Idehen wrote:
On 10/17/14 2:45 AM, QUERALT ROSINACH, NURIA wrote:
Hi all,

I have a problem with the following FED. I don't understand why this simple 
query from the bio2rdf::irefindex sparql endpoint works:

PREFIX bio2rdf-ifx:<http://bio2rdf.org/irefindex_vocabulary:>
SELECT  ?ppi ?protein_dgn ?protein_irx WHERE {
?ppi a bio2rdf-ifx:Pairwise-Interaction ;
         bio2rdf-ifx:interactor_a ?protein_dgn ;
         bio2rdf-ifx:interactor_b ?protein_irx .
} limit 20


HTTP SPARQL QUERY:
http://irefindex.bio2rdf.org/sparql?default-graph-uri=&query=PREFIX+bio2rdf-ifx%3A+%3Chttp%3A%2F%2Fbio2rdf.org%2Firefindex_vocabulary%3A%3E%0D%0ASELECT++%3Fppi+%3Fprotein_dgn+%3Fprotein_irx+WHERE+%7B%0D%0A%3Fppi+a+bio2rdf-ifx%3APairwise-Interaction+%3B%0D%0A+++++++bio2rdf-ifx%3Ainteractor_a+%3Fprotein_dgn+%3B%0D%0A+++++++bio2rdf-ifx%3Ainteractor_b+%3Fprotein_irx+.%0D%0A%7D+limit+20&format=text%2Fhtml&timeout=0&debug=on


And doing the same query from our isql shell works as well, but from our sparql 
endpoint (http://rdf.disgenet.org/sparql/) does not:

PREFIX bio2rdf-ifx:<http://bio2rdf.org/irefindex_vocabulary:>
SELECT  ?ppi ?protein_dgn ?protein_irx WHERE {
SERVICE<http://irefindex.bio2rdf.org/sparql>  {
?ppi a bio2rdf-ifx:Pairwise-Interaction ;
         bio2rdf-ifx:interactor_a ?protein_dgn ;
         bio2rdf-ifx:interactor_b ?protein_irx .
}
} LIMIT 20


HTTP SPARQL QUERY:
http://rdf.disgenet.org/sparql/?default-graph-uri=&query=PREFIX+bio2rdf-ifx%3A+%3Chttp%3A%2F%2Fbio2rdf.org%2Firefindex_vocabulary%3A%3E%0D%0ASELECT++%3Fppi+%3Fprotein_dgn+%3Fprotein_irx+WHERE+%7B%0D%0ASERVICE+%3Chttp%3A%2F%2Firefindex.bio2rdf.org%2Fsparql%3E+%7B%0D%0A%3Fppi+a+bio2rdf-ifx%3APairwise-Interaction+%3B%0D%0A+++++++bio2rdf-ifx%3Ainteractor_a+%3Fprotein_dgn+%3B%0D%0A+++++++bio2rdf-ifx%3Ainteractor_b+%3Fprotein_irx+.%0D%0A%7D%0D%0A%7D+LIMIT+20&format=text%2Fhtml&timeout=0&debug=on


I am sure it is related to some configuration setting that we missed. Could you 
shed light on it?

Many thanks in advance!
Please share your query definition. Example:
http://irefindex.bio2rdf.org/sparql?default-graph-uri=&qtxt=%0D%0APREFIX+bio2rdf-ifx%3A+%3Chttp%3A%2F%2Fbio2rdf.org%2Firefindex_vocabulary%3A%3E%0D%0ASELECT++%3Fppi+%3Fprotein_dgn+%3Fprotein_irx+WHERE+%7B%0D%0ASERVICE+%3Chttp%3A%2F%2Firefindex.bio2rdf.org%2Fsparql%3E+%7B%0D%0A%3Fppi+a+bio2rdf-ifx%3APairwise-Interaction+%3B%0D%0A+++++++bio2rdf-ifx%3Ainteractor_a+%3Fprotein_dgn+%3B%0D%0A+++++++bio2rdf-ifx%3Ainteractor_b+%3Fprotein_irx+.%0D%0A%7D%0D%0A%7D+LIMIT+20&format=text%2Fhtml&timeout=0&debug=on

Note: &query becomes &qtxt re., SPARQL Query Definition URL pattern.


Your example link isn't resolving right now.

That's exactly the problem, that is not resolving and the same query from the isql shell works perctly. The query is:

PREFIX bio2rdf-ifx:<http://bio2rdf.org/irefindex_vocabulary:>
SELECT  ?ppi ?protein_dgn ?protein_irx WHERE {
SERVICE<http://irefindex.bio2rdf.org/sparql>  {
?ppi a bio2rdf-ifx:Pairwise-Interaction ;
        bio2rdf-ifx:interactor_a ?protein_dgn ;
        bio2rdf-ifx:interactor_b ?protein_irx .
}
} LIMIT 20


Our virtuoso distribution is from the open edition:

 * Version: 07.10.3207
 * Build: Oct 7 2014


Thanks!
nuria




--
********************************************************************
NĂºria Queralt Rosinach
Research Programme on Biomedical Informatics (GRIB)
Department of Experimental and Health Sciences
Universitat Pompeu Fabra
IMIM (Hospital del Mar Medical Research Institute)
C/Dr. Aiguader 88, 08003
Barcelona, Spain
Tel.: +34 93 316 0536 (1536)
E-mail: nquer...@imim.es
Skype IM: nuriaqr76
http://ibi.imim.es/
********************************************************************

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to