RDF extension : adding a reconciliation service based on SPARQL endpoint

110 views
Skip to first unread message

Mathieu Saby

unread,
Nov 11, 2018, 10:15:17 AM11/11/18
to OpenRefine
Hi I'm trying to use the RDF extension (https://github.com/stkenny/grefine-rdf-extension/releases/tag/v1.0.0-rc4 à to add a reconciliation service based on the sparql endpoint of french national library. http://data.bnf.fr/sparql/ 

The page for creating the service does not close, and display "Adding new reconciliation service" forever. 
I kept all parameters in standard position except for the URL of the endpoint
Am I doing something wrong?

Mathieu
Capture d’écran 2018-11-11 à 16.11.42.png
Capture d’écran 2018-11-11 à 16.09.58.png

Thad Guidry

unread,
Nov 11, 2018, 11:43:05 AM11/11/18
to openr...@googlegroups.com
I got the same thing using 1.0.0 final release of the RDF Extension and setting the Type: Virtuoso

You might want to let stkenny know about this error...

JQMIGRATE: jQuery.fn.attr('checked') may use property instead of attribute project-bundle.js:10355:4
  console.trace() project-bundle.js:10357:5
    migrateWarn  http://127.0.0.1:3333/project-bundle.js:10357:5
    jQuery.attr  http://127.0.0.1:3333/project-bundle.js:10469:4
    jQuery.access  http://127.0.0.1:3333/project-bundle.js:4155:13
    attr  http://127.0.0.1:3333/project-bundle.js:7897:10
    ReconciliationSparqlServiceDialog.prototype._footer/<  http://127.0.0.1:3333/project-bundle.js:82071:20
    dispatch  http://127.0.0.1:3333/project-bundle.js:4642:15
    add/elemData.handle  http://127.0.0.1:3333/project-bundle.js:4311:6
TypeError: data.service is undefined[Learn More] project-bundle.js:81780:7
  RdfReconciliationManager.registerService  http://127.0.0.1:3333/project-bundle.js:81780:7
  RdfReconciliationManager.synchronizeServices/<  http://127.0.0.1:3333/project-bundle.js:82106:3
  fire  http://127.0.0.1:3333/project-bundle.js:3121:10
  fireWith  http://127.0.0.1:3333/project-bundle.js:3233:7
  done  http://127.0.0.1:3333/project-bundle.js:9277:5
  callback  http://127.0.0.1:3333/project-bundle.js:9687:8



--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thad Guidry

unread,
Nov 11, 2018, 11:43:35 AM11/11/18
to openr...@googlegroups.com

Ettore Rizza

unread,
Nov 11, 2018, 12:46:50 PM11/11/18
to OpenRefine
Hi Mathieu,

I manage to configure the service with OpenRefine 3 and 3.1 using the latest version of the extension. I'm on Windows 10. It seems to work. 


screenshot-localhost-3333-2018.11.11-18-41-50.png






Your error possibly comes from the / at the end of the SPARQL endpoint URL. Here is the configuration I used:

Name: BNF
Type: Virtuoso
Label Properties:  skos:prefLabel

Hope this helps,

Ettore

Thad Guidry

unread,
Nov 11, 2018, 12:58:27 PM11/11/18
to openr...@googlegroups.com
Uncaught TypeError: Cannot read property 'id' of undefined at Object.RdfReconciliationManager.registerService (project-bundle.js:81780) at Object.success (project-bundle.js:82106) at fire (project-bundle.js:3121) at Object.fireWith [as resolveWith] (project-bundle.js:3233) at done (project-bundle.js:9277) at XMLHttpRequest.callback (project-bundle.js:9687)

Ettore,
when I tried those settings, I still get the error above in the console (firefox and chrome)...and on OpenRefine the spinner for "Add new reconciliation service".




--

Ettore Rizza

unread,
Nov 11, 2018, 12:58:45 PM11/11/18
to OpenRefine
(Just a detail for those who read this thread: if you have to match names of people, like Victor Hugo that I took as an example, you must select foaf:name instead of skos:prefLabel.)

Ettore Rizza

unread,
Nov 11, 2018, 1:18:15 PM11/11/18
to OpenRefine
@Thad: Weird. I just tried with Firefox (the first try was with Chrome), but I cannot reproduce the issue.

Stuart Kenny

unread,
Nov 12, 2018, 4:52:45 AM11/12/18
to OpenRefine
Hi, there was another report of that error, but I also wasn't able to reproduce it. I'll take another look.

Thanks,
Stuart.

Stuart Kenny

unread,
Nov 16, 2018, 4:27:55 AM11/16/18
to OpenRefine
Hi, I did manage to reproduce the error. It was to do with default namespace prefixes in a new project. Should be fixed in https://github.com/stkenny/grefine-rdf-extension/releases/tag/v1.0.1

Thanks for the reports.
Stuart.
Reply all
Reply to author
Forward
0 new messages