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

Error for direct select clause binding when running on a file #66

Open
kvistgaard opened this issue Oct 8, 2023 · 1 comment
Open

Comments

@kvistgaard
Copy link

kvistgaard commented Oct 8, 2023

I get this
image
Not happy with the last binding. Runs fine when not on a file. Is that an Oxigraph issue?

Here's the query:

PREFIX owl: <http://www.w3.org/2002/07/owl#> 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> 

SELECT
(COUNT (DISTINCT ?class) AS ?NoC)
(COUNT (DISTINCT ?oProperty) AS ?NoP)
(COUNT (DISTINCT ?dProperty) AS ?DoP)
(COUNT (DISTINCT ?aProperty) AS ?AoP)
(?NoP+?DoP+?AoP AS ?TnP)
{   ?class a owl:Class .
    ?oProperty a owl:ObjectProperty .
    ?dProperty a owl:DatatypeProperty .
    OPTIONAL {?aProperty a owl:AnnotationProperty} .
}
@ktk
Copy link
Member

ktk commented Oct 8, 2023

Most likely, did you try it on standalone Oxigraph?

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

2 participants