| Description |
<p style='box-sizing: border-box; font-family: "Fira Sans"; margin: 0px 0px 1em; color: rgb(35, 51, 58); font-size: 14px;
font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans:
2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; background-color:
rgb(240, 249, 253);'><b>Raadpleeg de eerste 50 evenementen op de visit Gent website</b></p><p>In deze dataset kan je de eerste
50 evenementen terugvinden die gebruikt worden op de Visit Gent website. Deze infopagina's worden op de website meteen als
linked open data gepubliceerd. Daar haalt het open data platform deze gewijzigde pagina's ook meteen op door deze linked open
data te bevragen. </p><p style='box-sizing: border-box; font-family: "Fira Sans"; margin: 0px 0px 1em; color: rgb(35, 51,
58); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;
background-color: rgb(240, 249, 253);'>Deze query wordt dagelijks uitgevoerd</p><br class="Apple-interchange-newline"/><p
style='box-sizing: border-box; font-family: "Fira Sans"; margin: 0px 0px 1em; color: rgb(35, 51, 58); font-size: 14px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space:
normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; background-color:
rgb(240, 249, 253);'><b style='box-sizing: border-box; font-family: "Fira Sans"; font-weight: bolder;'>Nood aan een eigen
query?</b></p><p style='box-sizing: border-box; font-family: "Fira Sans"; margin: 0px 0px 1em; color: rgb(35, 51, 58); font-size:
14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal;
orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;
background-color: rgb(240, 249, 253);'><span style='box-sizing: border-box; font-family: "Fira Sans"; color: rgb(35, 51, 58);
font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; white-space: normal; background-color: rgb(240, 249, 253); text-decoration-thickness: initial; text-decoration-style:
initial; text-decoration-color: initial; float: none; display: inline !important;'>Voor deze bevragingen gebruiken we de zoektaal
SPARQL.We gebruiken hiervoor de onderstaande query. Je kan die zelf ook aanpassen en gebruiken op het SPARQL endpoint</span><span
style='box-sizing: border-box; font-family: "Fira Sans"; color: rgb(35, 51, 58); font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness:
initial; text-decoration-style: initial; text-decoration-color: initial;'> </span><a href="https://stad.gent/sparql." style='box-sizing:
border-box; font-family: "Fira Sans"; background-color: transparent; text-decoration: none; color: rgb(0, 125, 179);' target="_blank">https://stad.gent/sparql.</a><a
href="https://stad.gent/sparql." style='box-sizing: border-box; font-family: "Fira Sans"; background-color: transparent; text-decoration:
none; color: rgb(0, 125, 179); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal;' target="_blank"></a></p><p style='box-sizing: border-box;
font-family: "Fira Sans"; margin: 0px 0px 1em; color: rgb(35, 51, 58); font-size: 14px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness:
initial; text-decoration-style: initial; text-decoration-color: initial; background-color: rgb(240, 249, 253);'><br style='box-sizing:
border-box; font-family: "Fira Sans";'/></p><p style='box-sizing: border-box; font-family: "Fira Sans"; margin: 0px 0px 1em;
color: rgb(35, 51, 58); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing:
0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial;
text-decoration-color: initial; background-color: rgb(240, 249, 253);'><b style='box-sizing: border-box; font-family: "Fira
Sans"; font-weight: bolder;'>Wil je weten hoe je hiermee aan de slag kan?</b></p><br><p><a href="https://data.stad.gent/pages/linked-open-data/">Lees
meer over Linked Open Data</a></p>
<p><a href="https://stad.gent/data/datasets/aHR0cHM6Ly9zdGFkLmdlbnQvaWQvZGNhdC9saW5rZWQtZGF0YS9kYXRhc2V0LzJlNGEwODdhMzY5Y2FjYTRhZWNlYzNlYjEzNzM1NjkzODI0ODlkY2JhNzM3N2IyZmVjN2ViOTNjNDQ2M2NjYjc="
target="_blank">Bekijk de structuur van de RDF dataset</a><br></p>
<p><br></p><p class="MsoNormal" style='box-sizing: border-box; font-family: "Fira Sans"; margin: 0px 0px 1em; color: rgb(35,
51, 58); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(240, 249, 253); text-decoration-thickness: initial;
text-decoration-style: initial; text-decoration-color: initial;'><b style='box-sizing: border-box; font-family: "Fira Sans";
font-weight: bolder;'>Gebruik de voorbeeld SPARQL query die we voor deze dataset gebruiken</b></p><pre>PREFIX xsd: <
http://www.w3.org/2001/XMLSchema#>
PREFIX
dct: <
http://purl.org/dc/terms/>
PREFIX
schema: <
http://schema.org/>
PREFIX
geo: <
http://www.opengis.net/ont/geosparql#>
SELECT
DISTINCT
?_event
?_contact
?name_nl
?description_nl
?url
?date_start
?date_end
?created
?modified
?ctcname_nl
?address
?postal
?local
?country
?long
?lat
FROM <
http://stad.gent/tourism/events/>
FROM
<
http://stad.gent/tourism/terms/>
WHERE
{
?_event a <
http://schema.org/Event>.
?_event schema:name ?name.
?_event schema:description ?description.
?_event schema:url ?url.
?_event dct:created ?created.
OPTIONAL {?_event dct:modified ?modified.}
?_event dct:subject ?_cat.
?_cat schema:name ?catname.
?_event schema:contactPoint ?_contact.
?_contact schema:name ?ctcname_nl.
?_contact schema:streetAddress ?address.
?_contact schema:postalCode ?postal.
?_contact schema:addressLocality ?local.
?_contact schema:addressCountry ?country.
?_contact schema:geometry ?_location.
?_location geo:asWKT ?location.
bind( replace( str(?location), "^[^0-9\\.-]*([-]?[0-9\\.]+) .*$", "$1" ) as ?long )
bind( replace( str(?location), "^.* ([-]?[0-9\\.]+)[^0-9\\.]*$", "$1" ) as ?lat )
OPTIONAL {?_event schema:startDate ?date_start}
OPTIONAL {?_event schema:endDate ?date_end}
OPTIONAL {?_event schema:name ?name_nl}
OPTIONAL {?_event schema:description ?description_nl}
FILTER (lang(?name_nl) = 'nl')
FILTER (lang(?description_nl) = 'nl')
FILTER (lang(?ctcname_nl) = 'nl')
FILTER (xsd:date(?date_start) <= now() && xsd:date(?date_end) >= now())
}
ORDER BY ?date_end LIMIT 50<br></pre></br>
|