zazuko / vscode-sparql-notebook

Visual Studio Code SPARQL Notebook Extension
https://marketplace.visualstudio.com/items?itemName=Zazuko.sparql-notebook
Other
26 stars 8 forks source link

Using FROM clause yields 'Unknown query type' #74

Closed mchlrch closed 8 months ago

mchlrch commented 10 months ago

If the RDF dataset is specified using either of the FROM or FROM NAMED clauses, then "SPARQL error: Unknown query type" is shown.

Example query:

PREFIX cube: <https://cube.link/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

from <https://lindas.admin.ch/foen/cube>
select *
WHERE  
{ 
    BIND(<https://environment.ld.admin.ch/foen/ubd000502/1> AS ?cube)
    ?cube  rdf:type  cube:Cube
}

image

BenjaminHofstetter commented 8 months ago

fixed