Hi Pascale,
disclaimer: I'm really a newbie with RAP.
However, it seems that I got past the stage you're in with configuring
a SPARQL endpoint for the Semantic MediaWiki so here are my two cents...
> I red explanations but I dont understand which file to modify in part
> 3.
As far as I understand, this step is related to using the API in your
own PHP files. I didn't need to do this. I've been following the howto
at this address:
http://semantic-mediawiki.org/wiki/Help:SPARQL_endpoint
Then the howto they point out, here:
http://www4.wiwiss.fu-berlin.de/bizer/rdfapi/tutorial/netapi.html
Two notes on steps I found tricky in the latter:
- step 2: the /path/to/rdfapi-php/netapi/ the page is mentioning is the
virtual path of Apache, not the physical one
- step 3: I also needed to modify the netapi/config.inc.php for the API
to point to the right database.
After doing this, I have the triples corresponding to new pages
created in the wiki stored in a RAP model and can download them in RDF
format through the rdfdb-utils page by using the RDF/XML export button.
Unfortunately, the SPARQL endpoint itself is not working yet (that's
why I started browsing the mailing list). I'll post a message on the
issue I got very soon.
Cheers,
Cristiano
|