Query: Difference between revisions

From LibMovIt Project
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
     SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
     SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
}
}}
{{SPARQL|query=
# Tutte le citazioni tratte da Martyn 1791
PREFIX ld: <https://libmovit.wikibase.cloud/entity/>
PREFIX ldt: <https://libmovit.wikibase.cloud/prop/direct/>
SELECT ?itemLabel ?brano WHERE {
 
  ?item ldt:P4 ?brano .
  ?item ldt:P8 ld:Q27 .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Order by ?itemLabel


}}
}}

Revision as of 07:56, 31 May 2024

Query già predisposte

Statistiche sul questa istanza di WikiBase [1]

PREFIX ld: <https://libmovit.wikibase.cloud/entity/>
PREFIX ldt: <https://libmovit.wikibase.cloud/prop/direct/>

SELECT ?item
WHERE { ?item ldt:P1 ld:Q2 . }
Provalo!


# Tutte le sottoclassi di biblioteca

PREFIX ld: <https://libmovit.wikibase.cloud/entity/>
PREFIX ldt: <https://libmovit.wikibase.cloud/prop/direct/>

SELECT ?item ?itemLabel WHERE {
  
  ?item ldt:P3* ld:Q5 .
  
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Provalo!
# Tutte le citazioni tratte da Martyn 1791
PREFIX ld: <https://libmovit.wikibase.cloud/entity/>
PREFIX ldt: <https://libmovit.wikibase.cloud/prop/direct/>

SELECT ?itemLabel ?brano WHERE {
  
  ?item ldt:P4 ?brano .
  ?item ldt:P8 ld:Q27 .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Order by ?itemLabel
Provalo!