-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
apf: functions not working in SERVICE blocks (Testing 0.9-DEV.2) #421
Comments
I have investigated a bit, it seems related to the jena strSplit function I have used in my query:
If I remove this part of query, it works. Are apf functions still supported via Sparql Anything ? If not, what alternative exist to split a string ? |
@EmidioStani i believe you need to reference
|
Hello @justin2004 , as you can see: it is outside, it is on the WHERE block, and it works on 0.8.2 but it doesn't work on 0.9-DEV.2 |
Thanks for testing the current build, we knew there was an issue with apf functions inside the service block (#330) but now, apparently, this has scaled up. There have been quite a few changes in the way the system handles the execution; we need to figure this out before the next release. |
Hi, The problem is here Line 59 in 75f63fd
The |
Do you think the fix will also address #330? |
I re-open the issue because I didn't know that the
Let us know if it works.
@enridaga, let me investigate a little bit more. |
Can be tested with release https://github.com/SPARQL-Anything/sparql.anything/releases/tag/v0.9-DEV.3 |
Hello @luigi-asprino and @enridaga , I tested the same query with version 0.9-DEV.3 and it works, thanks for your work |
Great! I think we can close this now. |
Hello,
I have been using Sparql Anything Server 0.8.2 successfully for some data integration/transformation with: https://github.com/SEMICeu/Taxonomy/blob/master/Entity_Legal_Form/SPARQL-query-for-ELF-v1.5.rq
Now I wanted to test version 0.9-DEV.2 as I have seen string distances have been implemented.
However, when I run the same query I have 0 result (expected many ) and on the command line I see the below log messages:
[qtp1632789609-19] ERROR io.github.sparqlanything.engine.PropertyExtractor - Neither location nor content provided
[qtp1632789609-19] WARN io.github.sparqlanything.engine.FXWorkerOpService - No triplifier found
[qtp1632789609-19] ERROR io.github.sparqlanything.engine.PropertyExtractor - Neither location nor content provided
[qtp1632789609-19] WARN io.github.sparqlanything.engine.FXWorkerOpService - No triplifier found
[qtp1632789609-19] WARN org.apache.jena.sparql.engine.iterator.QueryIteratorCheck - Open iterator: QueryIterRoot/0
[qtp1632789609-19] WARN org.apache.jena.sparql.engine.iterator.QueryIteratorCheck - Open iterator: QueryIterFilterExpr/16
[qtp1632789609-19] WARN org.apache.jena.sparql.engine.iterator.QueryIteratorCheck - Open iterator: QueryIterFilterExpr/22
[qtp1632789609-19] WARN org.apache.jena.sparql.engine.iterator.QueryIteratorCheck - Open iterator: QueryIterNullIterator/23
[qtp1632789609-19] WARN org.apache.jena.sparql.engine.iterator.QueryIteratorCheck - Open iterator: QueryIterAssign/24
[qtp1632789609-19] INFO org.apache.jena.fuseki.Fuseki - [1] 200 OK (2.579 s)
[qtp1632789609-19] INFO org.apache.jena.fuseki.Request - [0:0:0:0:0:0:0:1] - - [08/Nov/2023:18:00:28 +0000] "GET /sparql.anything" 200 - "http://localhost:3000/sparql" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
By the way, both show this error:
ERROR org.apache.jena.util.JenaXMLInput - Problem setting StAX property - name: "http://javax.xml.XMLConstants/property/accessExternalDTD" - value: "" - error: Unrecognized property 'http://javax.xml.XMLConstants/property/accessExternalDTD'
Is there something I should do ?
Thanks,
Emidio
The text was updated successfully, but these errors were encountered: