When requesting text/turtle for a set of queries that has id, all queries must have id in their query.
Minimal failing config:
openapi: 3.0.2
info:
title: Test site
version: 0.1.0
paths:
/example:
get:
summary: A simple path
responses:
'200':
description: A simple response
x-walder-input-text/html: template.pug
x-walder-query:
graphql-query:
first: |
{
id @single
comment @single @optional
}
#adding id @single to this query makes it work correctly
second: |
{
comment @single @optional
}
json-ld-context: |
{
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"comment": "rdfs:comment"
}
datasources:
sources:
- http://localhost:8080/example.ttl
RDF source for reference:
```rdf
@prefix rdfs: .
@prefix rdf: .
@prefix owl: .
@prefix foaf: .
@prefix odapps: .
@prefix apps4X: .
@prefix schema: .
@prefix dct: .
@prefix xsd: .
@prefix time: .
@prefix geo: .
@prefix lode: .
@prefix dul: .
@prefix rev: .
@prefix skos: .
# ---------------------------------------- Metadata----------------------------------------------
a owl:Ontology;
rdfs:comment "odapps is an RDF vocabulary defined to facilitate the description of Open-Data-based ideas and applications published on the Web.";
dct:title "The vocabulary for (L)OD ideas and applications"@en;
dct:issued "2013-05-10"^^xsd:date;
dct:modified "2013-07-24"^^xsd:date;
dct:creator [foaf:mbox "Anastasia.Dimou@UGent.be"; foaf:name "Anastasia Dimou"];
dct:creator [foaf:mbox "Pieter.Colpaert@UGent.be"; foaf:name "Pieter Colpaert"].
# ------------------------------------------ Classes --------------------------------------------
# Co-creation Event
# need to decide on the proper word to call it, is co-creation event? is it co-creation competition? is it competition? is it contest?
# or use alternative labels.
# A cocreation event may be an event on its own or it could be a competition in the frame of a broader event
apps4X:CocreationEvent a rdfs:Class ;
rdfs:subClassOf lode:Event, schema:Event ;
rdfs:label "Co-creation event" ;
rdfs:comment "A co-creation event is a competition, a contest, a challenge etc. It's a subproperty as it is an event but with a certain scope" ;
rdfs:isDefinedBy .
# ---------------------------------------- Properties --------------------------------------------
#apps4X:award
#it could be more than one awards offered
apps4X:award a rdf:Property ;
rdfs:label "award offered" ;
rdfs:comment "one or more awards offered at this co-creation event" ;
rdfs:isDefinedBy ;
rdfs:domain apps4X:CocreationEvent , apps4X:Jury ;
rdfs:range apps4X:Award .
```
When requesting text/turtle for a set of queries that has
id
, all queries must haveid
in their query.Minimal failing config:
RDF source for reference:
```rdf @prefix rdfs: