Error #sparql :Error query : select ?s ?p ?o WHERE { ?s ?p ?o.} select * where { ?x ?y ?z . } LIMIT 10
Error endpoint: http://localhost:8081/sparql/
Error http_response_code: 400
Error message:
-------------------------------------------------------------
the code :
{{#sparql:SELECT * WHERE { <PAGEIRI> ?o ?p.} }}
return an empty table
Whe have the same problem with the special page Special:Specialsparqlquery
-------------------------------------------------------------
Installed version
And with the parameter debug=YES ?
Have you install curl for php5-curl ?
Karima
Its a parameter of #sparql... |debug = YES
Try with a query on dbpedia. If it works, the problem is not in the wiki.
Karima
On 6 27, 2012 9:23 AM, "SAHL Amandine" <amandi...@gmail.com> wrote:
Hello,
php5-curl is installed
I don't know what is the debug parameter. An apache or a mediawiki parameter?
In the LocalSettings.php we have this following related debug parameters :
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
Best regards
2012/6/26 Karima Rafes <karima...@gmail.com> > > And with the parameter debug=YES ? > Have you ...
Sorry, I didn t see it.
You have a error in your query sparql in your first mail.
You have 2 times select.
On 6 27, 2012 10:26 AM, "SAHL Amandine" <amandi...@gmail.com> wrote:
It's working with dbpedia.
Adding the parameter debug=Yes chage nothing. We have the same message.
It's strange that the problem is not the wiki, because the data are mirrored inside the triple store. That mean semantic mediawiki is enable to put data but not to retrive. How it is possible?
For information I check the stored URI and everything look good.
2012/6/27 Karima Rafes <karima...@gmail.com> > > Its a parameter of #sparql... |debug = YES > ...
The version 2 of linkedwiki can work without semantic mediawiki. So, this query with pageiri can work only with the version 1.
This month, I have a few time to update linkedwiki but i dont know if pageiri is again possible with the new Smw.
Regards
Karima
On 6 27, 2012 11:01 AM, "SAHL Amandine" <amandi...@gmail.com> wrote:
Effectively sorry, me neither I didn't see it.
But the query {{#sparql:SELECT * WHERE { <PAGEIRI> ?o ?p.} }} doesn't not work too.
2012/6/27 Karima Rafes <karima...@gmail.com> > > Sorry, I didn t see it. > You have a error in ...