Hello everyone..

Well I'm try this module but when installed it, I suppose import some clases but in my case does't work just appear the title "The namespace for sioc have been created" but the properties like as "Sioc:user, Sioc:Post" never imported them.
I'd review the database for look this class and does't appear.

How I can fix the problem ?

Thanks for you answers.

Comments

scor’s picture

Status: Active » Closed (duplicate)

It seems to be a problem occurring quite often, where the distant SPARQL endpoint (the public virtuoso here) does not return the classes and properties. I'm looking into it at http://drupal.org/node/385582

drw’s picture

Thanks for you help scor

Well the solution for other persons who are working with this module is edit one line from this code block:

// FIXME in sparql module.
require_once drupal_get_path('module', 'sparql') . '/sparql.client.inc';

// Loop through all the various queries in order to extract as many classes and properties as possible.
$fetched_terms = array();
foreach ($term_queries as $query) {
//$endpoint = 'http://demo.openlinksw.com/sparql/';
//$endpoint = 'http://www.sparql.org/sparql';
$endpoint = 'http://jena.hpl.hp.com:2020/sparql';
$sparql_res = sparql_request($endpoint, $query['query']);

Uncomment one line I choose the uri about "jena", but is important that you should uninstall the module and install again.

Regards.