Help:SPARQL query examples: Difference between revisions

From DataTrek
Jump to navigation Jump to search
(Marked this version for translation)
(Redirected page to Help:Esempi query SPARQL)
Tag: New redirect
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages /><translate><!--T:1-->
#REDIRECT [[Help:Esempi query SPARQL]]
Questa pagina conterrà esempi dettagliati per usare lo endpoint SPQARQL.
 
<!--T:2-->
Si tratta di una caratteristica '''sperimentale'''.
 
<!--T:3-->
== Dove si strova ==
https://wdqs.wikitrek.org
 
<!--T:4-->
== Cosa serve ==
https://en.wikipedia.org/wiki/SPARQL
 
<!--T:5-->
== Esempi da Wikidata ==
https://www.wikidata.org/wiki/Wikidata:SPARQL_tutorial
 
<!--T:6-->
== 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