-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions_and_queries.json
30 lines (30 loc) · 7.02 KB
/
questions_and_queries.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[
{
"user_question": "Welke maatregelen worden er tijdens de bouw genomen voor stofreductie?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX oa: <http://www.w3.org/ns/oa#>\nSELECT ?annotation ?target ?title ?motivering (GROUP_CONCAT(?value; separator=', ') AS ?values) ?description ?date ?derivedFrom\nWHERE {\n ?annotation oa:hasBody ?body ;\n oa:hasTarget ?target .\n VALUES ?body {\n <http://stad.gent/id/concepts/gent_words/310>\n <http://stad.gent/id/concepts/decision_making_themes/concept_46>\n <http://stad.gent/id/concepts/gent_words/169>\n <http://stad.gent/id/concepts/policy_domains_themes/concept_42>\n <http://stad.gent/id/concepts/policy_domains_themes/concept_47>\n <http://stad.gent/id/concepts/policy_domains_themes/concept_48>\n <http://stad.gent/id/concepts/decision_making_themes/concept_52>\n }\n ?target eli:title ?title ;\n besluit:motivering ?motivering ;\n prov:value ?value ;\n eli:description ?description ;\n eli:date_publication ?date ;\n prov:wasDerivedFrom ?derivedFrom .\n FILTER (CONTAINS(LCASE(?title), 'stof') || CONTAINS(LCASE(?description), 'stof') || CONTAINS(LCASE(?motivering), 'stof'))\n}\nORDER BY DESC(?date)\nLIMIT 3"
},
{
"user_question": "Wat waren de laatste 10 besluiten met betrekking tot het milieu in Gent?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX oa: <http://www.w3.org/ns/oa#>\nSELECT ?annotation ?target ?title ?motivering (GROUP_CONCAT(?value; separator=', ') AS ?values) ?description ?date ?derivedFrom\nWHERE {\n ?annotation oa:hasBody <http://stad.gent/id/concepts/gent_words/310> ;\n oa:hasTarget ?target .\n ?target eli:title ?title ;\n besluit:motivering ?motivering ;\n prov:value ?value ;\n eli:description ?description ;\n eli:date_publication ?date ;\n prov:wasDerivedFrom ?derivedFrom .\n}\nLIMIT 10"
},
{
"user_question": "How can I do my recycling?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX oa: <http://www.w3.org/ns/oa#>\nSELECT ?annotation ?target ?title ?motivering (GROUP_CONCAT(?value; separator=', ') AS ?values) ?description ?date ?derivedFrom\nWHERE {\n ?annotation oa:hasBody ?body ;\n oa:hasTarget ?target .\n VALUES ?body {\n <http://stad.gent/id/concepts/gent_words/164>\n <http://stad.gent/id/concepts/decision_making_themes/concept_46>\n }\n ?target eli:title ?title ;\n besluit:motivering ?motivering ;\n prov:value ?value ;\n eli:description ?description ;\n eli:date_publication ?date ;\n prov:wasDerivedFrom ?derivedFrom .\n}\nORDER BY DESC(?date)\nLIMIT 3"
},
{
"user_question": "Where can I go swimming?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX oa: <http://www.w3.org/ns/oa#>\nSELECT ?annotation ?target ?title ?motivering (GROUP_CONCAT(?value; separator=', ') AS ?values) ?description ?date ?derivedFrom\nWHERE {\n ?annotation oa:hasBody <http://stad.gent/id/concepts/gent_words/485> ;\n oa:hasTarget ?target .\n ?target eli:title ?title ;\n besluit:motivering ?motivering ;\n prov:value ?value ;\n eli:description ?description ;\n eli:date_publication ?date ;\n prov:wasDerivedFrom ?derivedFrom .\n FILTER (CONTAINS(LCASE(?title), 'zwemmen') || CONTAINS(LCASE(?description), 'zwemmen'))\n}"
},
{
"user_question": "Waar kan ik gaan zwemmen?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nPREFIX oa: <http://www.w3.org/ns/oa#>\nSELECT ?annotation ?target ?title ?motivering (GROUP_CONCAT(?value; separator=', ') AS ?values) ?description ?date ?derivedFrom\nWHERE {\n ?annotation oa:hasBody <http://stad.gent/id/concepts/gent_words/485> ;\n oa:hasTarget ?target .\n ?target eli:title ?title ;\n besluit:motivering ?motivering ;\n prov:value ?value ;\n eli:description ?description ;\n eli:date_publication ?date ;\n prov:wasDerivedFrom ?derivedFrom .\n FILTER (CONTAINS(LCASE(?title), 'zwemmen') || CONTAINS(LCASE(?description), 'zwemmen'))\n}"
},
{
"user_question": "Wat zijn de laatste 10 besluiten en wanneer zijn deze gepubliceerd?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>\nSELECT ?besluit ?title ?publication_date\nWHERE {\n ?besluit a besluit:Besluit ;\n eli:date_publication ?publication_date ;\n eli:title_short ?title .\n}\nORDER BY DESC(?publication_date)\nLIMIT 10"
},
{
"user_question": "Welke besluiten heeft de burgemeester genomen?",
"sparql_query": "PREFIX dct: <http://purl.org/dc/terms/>\nPREFIX prov: <http://www.w3.org/ns/prov#>\nPREFIX eli: <http://data.europa.eu/eli/ontology#>\nPREFIX besluit: <http://data.vlaanderen.be/ns/besluit#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX mandaat: <http://data.vlaanderen.be/ns/mandaat#>\nSELECT ?besluit ?title ?publication_date ?agendapunt ?orgaan ?bestuursorgaanURI\nWHERE {\n ?besluit a besluit:Besluit ;\n eli:date_publication ?publication_date ;\n eli:title_short ?title ;\n prov:wasGeneratedBy ?behandelingVanAgendapunt .\n ?behandelingVanAgendapunt dct:subject ?agendapunt .\n ?agendapunt ^besluit:behandelt ?zitting .\n ?zitting besluit:isGehoudenDoor ?bestuursorgaanURI ;\n besluit:geplandeStart ?zitting_datum .\n ?bestuursorgaanURI skos:prefLabel ?orgaan .\n VALUES ?bestuursorgaanURI {\n <http://data.lblod.info/id/bestuursorganen/c484767ea88b545af011c47b52ac540a0ffdab400cfe9d3f53c6685ec8733cc7>\n }\n}\nORDER BY DESC(?publication_date)\nLIMIT 10"
}
]