Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken components (Frankenstein related) #19

Open
cbobed opened this issue Mar 8, 2019 · 2 comments
Open

Broken components (Frankenstein related) #19

cbobed opened this issue Mar 8, 2019 · 2 comments

Comments

@cbobed
Copy link

cbobed commented Mar 8, 2019

I've tried to install qanary along some of the components available in Frankenstein system, and several of them fails at compilation time giving the following error (it currently happens with both versions of Qanary, this one and the one in the Frankenstein repository):

Qanary/qanary_monolitic-wrapper/src/main/java/eu/wdaqua/qanary/component/Monolitic.java:[83,22] no suitable method found for updateTripleStore(java.lang.String)
[ERROR] method eu.wdaqua.qanary.commons.QanaryUtils.updateTripleStore(java.lang.String,eu.wdaqua.qanary.business.QanaryConfigurator) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] method eu.wdaqua.qanary.commons.QanaryUtils.updateTripleStore(java.lang.String,java.lang.String) is not applicable
[ERROR] (actual and formal argument lists differ in length)

@lalppaul
Copy link

Is this resolved?

@jannlemm0913
Copy link

Hi, I'm pretty sure you solved it at this point, but I will post the solution here for others.
The "updateTripleStore" function needs the SPARQL query plus the question's endpoint as arguments. I don't know when that change was implemented, but we had to fix it quite a lot to get the pipelines working.
myQanaryUtils.updateTripleStore(sparql); // wrong
myQanaryUtils.updateTripleStore(sparql, myQanaryQuestion.getEndpoint().toString()); // right

Hope this helps someone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants