Questions tagged [arq]
A query engine for Jena that supports the SPARQL RDF Query language
76
questions
0
votes
0
answers
28
views
How to list all futures that are being polled inside specific event loop when running pytest?
I'm running multiple pytest tests.
I have 1 specific test case, which works fine when executed alone, but when large amount of previous tests are being executed, this particular test gets stuck when ...
1
vote
2
answers
38
views
Jena Apache arq Error: Could not find or load main class arq.arq
On Windows machine. I downloaded the apache-jena-4.9.0.zip. Have tried version 5 as well.
Unzipped and added System Variables as follows:
Variable=JENA_HOME and Value=C:\apache-jena-4.9.0
Variable=...
0
votes
0
answers
52
views
Cannot properly add directory to PATH with Apache Jena
I am trying to set up Jena through Windows command line but am running into this error:
C:\Users\User>SET JENA_HOME=C:\Users\User\Documents\SPARQL\jena-4.10.0
C:\Users\User>SET PATH=%PATH%;%...
2
votes
2
answers
73
views
Convert anyURI-typed string representations of CURIes to real CURIes or IRIs
I have triples like this, where the object is an anyURI-typed string representation of a CURIe. I would like to construct the triples with the object as a true CURIe or IRI.
@prefix source: <https:/...
0
votes
3
answers
427
views
Can't use ODM beanie API inside celery/arq task
When there are operations on beanie documents in the task code, the beanie.exceptions.CollectionWasNotInitialized error is thrown.
And everything works well if the same functions are called as ...
0
votes
0
answers
47
views
How to Serialize ARQ Algebra as ASK/CONSTRUCT SPARQL Query?
My intention is to
Parse a SPARQL query to the ARQ Algebra.
Get some work done.
Parse the ARQ Algebra back to SPARQL query.
Approach below seems to work as expected for SELECT queries, but fails for ...
-2
votes
1
answer
1k
views
How to pass function to arq worker on python
Run arq worker with some function that have some task to do but getting for below one.
arq import Worker
w = Worker(functions=[],
redis_settings=WorkerSettings.redis_settings(),
max_jobs=1000,
...
0
votes
0
answers
77
views
How to customize Jena ARQ query engine to add additional triple pattern
Given the following triples describe Forklift1 location at the different times:
:forklift1
:location :station1, :dockdoor1;
:9305fc5f-d43d :station1;
:a4e9-2bcd5b97 :dockdoor1;
.
:9305fc5f-...
1
vote
1
answer
164
views
Jena Fuseki: Adding temporary triples to execution context during SPARQL-query with property functions
I've been following the ARQ guide on Property Functions. The section on Graph Operations concludes with "New Triples or Graphs can therefore be created as part of the Property Function" and ...
2
votes
1
answer
120
views
Is there a way to rewrite INSERT, MODIFY or DELETE sparql using ARQ Jena Algebra?
I found some SPARQL query manipulation only for SELECT, ASK, CONSTRUCT https://jena.apache.org/documentation/query/manipulating_sparql_using_arq.html and https://jena.apache.org/documentation/query/...
2
votes
0
answers
23
views
Jena ARQ adding update request element
I am working on an extension in Jena, where I have to add new Update element similar to UpdateModify but the logic is different and I do not want to extend UpdateModify. The UpdateVisitor interface ...
1
vote
0
answers
62
views
Element Transform Apache Jena
I have a query like this:
SELECT ?r ?r1 ?r2 ?r3 ?r4
WHERE
{ ?r ?r1 ?r2 ;
?r3 ?r4
}
I want to transform every triple with a optional element like:
SELECT ?r ?r1 ?r2 ?r3 ?r4 ?r5
WHERE
...
0
votes
0
answers
24
views
Out of order packets in Ad-hoc Network real-time data transmission using UDP with a costume ARQ application
I'm facing a misunderstanding here.
I have an application based on UDP for Automatic repeat request mechanism. The idea is to transmit real-time data with a mechanism of retransmission and reordering ...
0
votes
0
answers
68
views
Apache Jena Aggregate multiple expressions
For the following data.ttl file:
A SAVINGS_1 200
A SAVINGS_2 300
A SAVINGS_3 370
A EMAIL emailidone
B SAVINGS_1 400
B SAVINGS_2 300
B SAVINGS_3 100
B EMAIL emailidtwo
C SAVINGS_1 200
C SAVINGS_2 600
...
-1
votes
1
answer
90
views
Can I force Jena (ARQ) to execute my query plan?
I am working with Jena (ARQ) and I have generated a new query plan. I am not sure how exactly can I ask Jena to execute my query plan instead of generating its own optimized/reordered query plan.
...