-
Notifications
You must be signed in to change notification settings - Fork 19
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
Construct queries for DataIds #2
Comments
@holycrab13 I have the following questions:
or
|
https://github.com/dbpedia/databus/blob/master/server/app/common/execute-construct.js. The entire publishing process with calls to execute-construct is done here: Construct query is here: https://github.com/dbpedia/databus/blob/master/server/app/common/queries/constructs/construct-version.sparql
|
I had to use OPTIONAL in the construct queries - searching for optional clauses in construct queries led me to this article: They suggest using UNION instead to save performance - it's somewhat unrelated as I wasn't using OPTIONAL before but I wrote this query:
... and it's super fast and appears to be correct. |
Based on the subject with type dataid:Dataset I want to create a graph with only the subjects that are somehow linked to the Dataset subject.
E.g. all the triples with subject of type Dataset (?dataset) but also all the triples with the subject ?proof (with ?dataset sec:proof ?proof)
Doing this only for ?proof works fine, however this has to be done several times for different properties (full construct query below the example data)
Example data:
Construct Query:
Problem: Running the query is very slow!
The text was updated successfully, but these errors were encountered: