Talk:Main Page

From OpenAcolit
Jump to navigation Jump to search

Prefissi per query sparql

PREFIX wd:  <https://openacolit.wikibase.cloud/entity/>
PREFIX wdt: <https://openacolit.wikibase.cloud/prop/direct/>

Esempio di query: tutte le lingue definite in OA

PREFIX wd:  <https://openacolit.wikibase.cloud/entity/>
PREFIX wdt: <https://openacolit.wikibase.cloud/prop/direct/>
SELECT ?q ?qLabel WHERE {
  ?q wdt:P1 wd:Q1051.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it". }
}
ORDER BY (?qLabel)
Provalo!

Esempio di query: tutte le fonti definite in OA

PREFIX wd:  <https://openacolit.wikibase.cloud/entity/>
PREFIX wdt: <https://openacolit.wikibase.cloud/prop/direct/>
SELECT ?q ?qLabel WHERE {
  ?q wdt:P1 wd:Q1235.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it". }
}
ORDER BY (?qLabel)
Provalo!