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.

--
Regards,

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
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