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

Why isn't the query bound to prefixes with such config #637

Open
ch-sander opened this issue Oct 8, 2024 · 1 comment
Open

Why isn't the query bound to prefixes with such config #637

ch-sander opened this issue Oct 8, 2024 · 1 comment

Comments

@ch-sander
Copy link

ch-sander commented Oct 8, 2024

Why isn't the query bound to prefixes with such config

<spar-natural 
            src="/static/sparnatural/config.ttl"           
            endpoint="https://g17dev.dhi-roma.it/sparql"
            lang="en"
            defaultLang="en"
            distinct="true"
            limit="10000"
            debug="true"
            prefixes="grace:http://www.graceful17.org/ontology/ g17:http://www.graceful17.org/resources/ "
        ></spar-natural>

The sparql will still be rendered like

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?archive_1 ?archive_1_label ?GIS_2 ?GIS_2_label WHERE {
  ?archive_1 rdf:type <http://www.graceful17.org/ontology/archive>;
    <http://www.graceful17.org/ontology/called> ?archive_1_label;
    <http://www.graceful17.org/ontology/wkt> ?GIS_2.
}
LIMIT 10000

I must be missing something here...sorry!

Originally posted by @ch-sander in #620 (comment)

@ch-sander
Copy link
Author

Any idea why that is? Not really an issue, but for didactic purposes, this would be great!

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

1 participant