Closed (duplicate)
Project:
RDF external vocabulary importer
Version:
6.x-1.0-alpha2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
24 Mar 2009 at 17:57 UTC
Updated:
24 Mar 2009 at 21:06 UTC
Comments
Comment #1
scor commentedIt 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
Comment #2
drw commentedThanks 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.