EntitySchema talk:E1: verschil tussen versies

Uit Knowledge Graph Kunstenpunt
Ga naar:navigatie, zoeken
(Nieuwe pagina aangemaakt met 'Validate here [https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:https://kg.kunsten.be/query/proxy/wdqs/bigdata/namespace/wdq/sparql&textMapIsSparqlQuery&schemaURL=//kg.kunsten.be/wiki/Special:EntitySchemaText/E1 shex simple] query could be for locaties <pre> PREFIX kp:<https://kg.kunsten.be/entity/> PREFIX kppd:<https://kg.kunsten.be/prop/direct/> SELECT ?item WHERE { ?item kppd:P1 ?is. FILTER(?is, IN(Q58545...')
 
Geen bewerkingssamenvatting
 
Regel 1: Regel 1:
Validate here [https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:https://kg.kunsten.be/query/proxy/wdqs/bigdata/namespace/wdq/sparql&textMapIsSparqlQuery&schemaURL=//kg.kunsten.be/wiki/Special:EntitySchemaText/E1 shex simple]
Validate here [https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:https://kg.kunsten.be/query/proxy/wdqs/bigdata/namespace/wdq/sparql&textMapIsSparqlQuery&schemaURL=//kg.kunsten.be/wiki/Special:EntitySchemaText/E1 shex simple]


query could be for locaties
query could be for agents


<pre>
<pre>
Regel 10: Regel 10:
WHERE {
WHERE {
?item kppd:P1 ?is.
?item kppd:P1 ?is.
FILTER(?is, IN(Q58545, Q58543))
FILTER(?is IN (kp:Q58545, kp:Q58543))
BIND(SHA512(CONCAT(STR(RAND()), STR(?item))) AS ?random) .
BIND(SHA512(CONCAT(STR(RAND()), STR(?item))) AS ?random) .
} ORDER BY ?random
} ORDER BY ?random
LIMIT 100
LIMIT 100
</pre>
</pre>

Huidige versie van 11 okt 2024 om 09:57

Validate here shex simple

query could be for agents

PREFIX kp:<https://kg.kunsten.be/entity/>
PREFIX kppd:<https://kg.kunsten.be/prop/direct/>

SELECT ?item
WHERE {
?item kppd:P1 ?is.
FILTER(?is IN (kp:Q58545, kp:Q58543))
BIND(SHA512(CONCAT(STR(RAND()), STR(?item))) AS ?random) .
} ORDER BY ?random
LIMIT 100