This is all the lines I have that relate to 4store or linkedwiki:
### LinkedWiki ###
# require_once( $IP."/extensions/LinkedWiki/lib/4store/SparqlTools.php");
require_once( "{$IP}/extensions/LinkedWiki/LinkedWiki.php" );
$smwgDefaultStore = "SMW_LinkedWikiStore";
//put the address of your 4store endpoint or SPARQL 1.1-compatible endpoint
//WARNING! this address has to be accessible only by the wiki!
$wgLinkedWikiEndPoint = "http://localhost:8080/sparql";
//put the graph name where the data of your wiki will be recorded
$wgLinkedWikiGraphWiki = "http://localhost:8080/";
//put the address of your endpoint where the user can perform an Http
Get request without the right to Write in your endpoint.
$wgLinkedWikiLocalEndPoint = "http://localhost:8080/";
### / LinkedWiki ###
$smwgSparqlQueryEndpoint = 'http://localhost:8080/sparql/'; #
location of query service
$smwgSparqlUpdateEndpoint = 'http://localhost:8080/update/'; #
location of update service
$smwgSparqlDataEndpoint = 'http://localhost:8080/data/'; #
optional location of SPARQL over HTTP service
$smwgSparqlDatabase = 'SMWSparqlDatabase4Store';
I was getting the same errors with the older version of linkedwiki.
PHP Fatal error: Call to undefined function curl_init() in
/var/www/bb/w/extensions/LinkedWiki/lib/sparql/Curl.php on line 36,
referer: http://...
Here's the current error I'm getting when I put that line you gave me
earlier into a test page in wikimedia:
Error query : select * where { ?x ?y ?z . } LIMIT 5\nError endpoint:
http://localhost:8080/sparql/\nError http_response_code: 0\nError
message: \n, referer: http://.....
and this is what shows up in the mediawiki page:
Error #sparql :Error query : select * where { ?x ?y ?z . } LIMIT 5
Error endpoint: http://localhost:8080/sparql/ Error
http_response_code: 0 Error message:
On Sat, Mar 3, 2012 at 11:45 AM, Karima <karima...@gmail.com> wrote:
Yesterday I have restarted the 4store sevice, but in the restart it
does not specify the triplestore to start. So i ran a 4s-backend
command with the proper triplestore.
I also had to remove the endpoint in the command you gave me. and I
now see data in a table, I'm not sure what that data is, but there's
data :)