Help:SPARQL query examples: Difference between revisions

From DataTrek
Jump to navigation Jump to search
(Pagina creata)
 
(Redirected page to Help:Esempi query SPARQL)
Tag: New redirect
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages /><translate>Questa pagina conterrà esempi dettagliati per usare lo endpoint SPQARQL.
#REDIRECT [[Help:Esempi query SPARQL]]
 
Si tratta di una caratteristica '''sperimentale'''.
 
== Dove si strova ==
https://wdqs.wikitrek.org
 
== Cosa serve ==
https://en.wikipedia.org/wiki/SPARQL
 
== Esempi da Wikidata ==
https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial
 
== Esempi ==
Elenco di episodi di '''''[[wikitrek:Star Trek: Lower Decks|Lower Decks]]'''''
<syntaxhighlight lang="sparql" line>
PREFIX wd: <https://data.wikitrek.org/entity/>
PREFIX wdt: <https://data.wikitrek.org/prop/direct/>
SELECT ?episode ?episodeLabel ?publication ?production WHERE {
  ?episode wdt:P14 wd:Q10317;
          wdt:P101 ?publication;
          wdt:P1 ?production
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
  }
ORDER BY ASC (?production)
</syntaxhighlight>
</translate>

Latest revision as of 00:29, 10 January 2025