Talk:Main Page: Difference between revisions

From OpenAcolit
Jump to navigation Jump to search
(Created page with "== Prefissi per query sparql == <pre> PREFIX wd: <https://openacolit.wikibase.cloud/entity/> PREFIX wdt: <https://openacolit.wikibase.cloud/prop/direct/> </pre> == Esempio di query: tutte le lingue definite in OA == <pre> 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 (?qLab...")
 
(tutte le fonti definite in OA)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
__FORCETOC__
== Prefissi per query sparql ==
== Prefissi per query sparql ==
<pre>
<pre>
Line 6: Line 7:


== Esempio di query: tutte le lingue definite in OA ==
== Esempio di query: tutte le lingue definite in OA ==
<pre>
 
{{SPARQL|query=
PREFIX wd:  <https://openacolit.wikibase.cloud/entity/>
PREFIX wd:  <https://openacolit.wikibase.cloud/entity/>
PREFIX wdt: <https://openacolit.wikibase.cloud/prop/direct/>
PREFIX wdt: <https://openacolit.wikibase.cloud/prop/direct/>
Line 14: Line 16:
}
}
ORDER BY (?qLabel)
ORDER BY (?qLabel)
</pre>
}}
 
== Esempio di query: tutte le fonti definite in OA ==
 
{{SPARQL|query=
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)
}}

Latest revision as of 16:18, 22 October 2024

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!