We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to specify a query limit at runtime, but the returned result contains the limit hardcoded into the sparql file.
sparql
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?property ?propertyLabel WHERE { ?type (rdfs:subClassOf)* ?class . ?property rdfs:domain ?class . ?property rdfs:label ?propertyLabel . FILTER ( LANG(?propertyLabel) = "en" ) } LIMIT 10
(defquery get-properties-for-type-query "sparql/dbpedia/get-properties-for-type.sparql" {:connection "http://dbpedia.org/sparql"}) (count (with-open [result (get-properties-for-type-query {:limit 5 :bindings {:type "http://dbpedia.org/ontology/Organization"}})] (format-properties-response result))) ;; => 10
Or is it possible I'm mis-using the lib or misunderstanding the documentation?
Thanks for the help, and cheers to the good work on this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to specify a query limit at runtime, but the returned result contains the limit hardcoded into the
sparql
file.Or is it possible I'm mis-using the lib or misunderstanding the documentation?
Thanks for the help, and cheers to the good work on this.
The text was updated successfully, but these errors were encountered: