User:Luca.favorido/Queries
Jump to navigation
Jump to search
General[edit]
Born on a specific date[edit]
- Properties used: date of birth (P569) , image (P18)
- Features used: ImageGrid (Q24515278)
#defaultView:ImageGrid
SELECT ?item ?itemLabel ?img WHERE {
?item wdt:P569 "+1991-04-19T00:00:00Z"^^xsd:dateTime.
?item wdt:P18 ?img
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE],en" .
}
}
Pagine wikipedia sull'Italia[edit]
- Items used: country (Q6256)
- Properties used: instance of (P31)
SELECT distinct ?item ?itemLabel ?itemDescription WHERE{
?item ?label "Italia"@en.
?item wdt:P31 wd:Q6256 .
?article schema:about ?item .
?article schema:inLanguage "it" .
?article schema:isPartOf <https://it.wikipedia.org/>.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE],en" .
}
}
Buried in S. Michele[edit]
- Items used: Cemetery of San Michele (Q3676942)
- Properties used: place of burial (P119) , Find a Grave memorial ID (P535)
SELECT ?Person ?PersonLabel ?Find_A_Grave_memorial_ID WHERE {
?Person wdt:P119 wd:Q3676942.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?Person wdt:P535 ?Find_A_Grave_memorial_ID. }
}
Padua University Rectors by dates[edit]
- Items used: rector (Q212071) , University of Padua (Q193510)
- Properties used: position held (P39) , of (P642) , start time (P580) , end time (P582)
SELECT ?rettore ?rettoreLabel ?starttime ?endtime WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?rettore p:P39 [
ps:P39 wd:Q212071;
pq:P642 wd:Q193510;
pq:P580 ?starttime;
pq:P582 ?endtime
].
}
ORDER BY ?starttime
People in the consulta nazionale[edit]
- Properties used: member of (P463) , family name (P734)
SELECT ?persona ?personaLabel ?cognomeLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?persona wdt:P463 wd:Q2995361.
OPTIONAL { ?persona wdt:P734 ?cognome. }
}
order by ?cognomeLabel
Try it! [1](Consultori Nazionali)
Padua University Rectors images[edit]
- Items used: rector (Q212071) , University of Padua (Q193510)
- Properties used: image (P18) , occupation (P106) , of (P642)
- Features used: ImageGrid (Q24515278)
#defaultView:ImageGrid
SELECT ?rettore ?pic ?rettoreLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?rettore wdt:P18 ?pic.
?rettore p:P106 [
ps:P106 wd:Q212071;
pq:P642 wd:Q193510;
].
}
ORDER BY ?starttime
Padua University Rectors[edit]
- Items used: rector (Q212071) , University of Padua (Q193510)
- Properties used: position held (P39) , occupation (P106) , of (P642) , start time (P580) , end time (P582)
SELECT
?rettore
?rettoreLabel
(year(xsd:dateTime(?starttime)) as ?startyear)
(year(xsd:dateTime(?endtime)) as ?endyear)
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?rettore p:P39 [
ps:P39 wd:Q212071;
pq:P642 wd:Q193510;
pq:P580 ?starttime;
].
OPTIONAL { ?rettore p:P106 [
pq:P582 ?endtime
] }
}
ORDER BY ?starttime
Works depicting Judas[edit]
- Items used: Judas Iscariot (Q81018)
- Properties used: depicts (P180) , image (P18)
- Features used: ImageGrid (Q24515278)
#defaultView:ImageGrid
# Works depicting Judas
SELECT ?item ?itemLabel ?img
WHERE
{
?item wdt:P180 wd:Q81018 .
?item wdt:P18 ?img.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it,fr". }
}
Astronomia[edit]
Constellations[edit]
- Items used: constellation (Q8928)
- Properties used: instance of (P31)
SELECT ?item ?itemLabel
WHERE
{
?item wdt:P31 wd:Q8928.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
galaxies in the Boote constellation (labels in english and italian)[edit]
- Items used: galaxy (Q318) , Boötes (Q8667)
- Properties used: instance of (P31) , constellation (P59)
SELECT ?item ?label_en ?itemLabel ?itemDescription
WHERE
{
?item wdt:P31 wd:Q318;
wdt:P59 wd:Q8667.
?item rdfs:label ?label_en
filter (lang(?label_en) = "en").
SERVICE wikibase:label { bd:serviceParam wikibase:language "it". }
}
Storia[edit]
Stemmi reggimenti[edit]
- Items used: regiment (Q52371) , Italy (Q38)
- Properties used: instance of (P31) , subclass of (P279) , country (P17) , coat of arms image (P94)
SELECT ?item ?itemLabel ?stemma WHERE {
?item (wdt:P31/(wdt:P279*)) wd:Q52371;
wdt:P17 wd:Q38.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en,fr,de,es,ru". }
OPTIONAL { ?item wdt:P94 ?stemma. }
}
Spedizione dei mille[edit]
- Items used: Expedition of the Thousand (Q228284)
- Properties used: conflict (P607) , date of birth (P569) , date of death (P570) , place of birth (P19) , place of death (P20)
SELECT
(?item AS ?id)
(?itemLabel AS ?nome)
(?data_di_nascita AS ?nato_il)
(?luogo_di_nascitaLabel AS ?nato_a)
(?data_di_morte AS ?morto_il)
(?luogo_di_morteLabel AS ?morto_a)
WHERE {
?item wdt:P607 wd:Q228284.
OPTIONAL { ?item wdt:P569 ?data_di_nascita. }
OPTIONAL { ?item wdt:P570 ?data_di_morte. }
OPTIONAL { ?item wdt:P19 ?luogo_di_nascita. }
OPTIONAL { ?item wdt:P20 ?luogo_di_morte. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".
?item rdfs:label ?itemLabel.
?luogo_di_nascita rdfs:label ?luogo_di_nascitaLabel.
?luogo_di_morte rdfs:label ?luogo_di_morteLabel.
}
}
Famous people died because of the Messina Earthquake[edit]
- Items used: 1908 Messina earthquake (Q1348910)
- Properties used: cause of death (P509)
SELECT ?item ?itemLabel WHERE {
?item wdt:P509 wd:Q1348910.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Geografia[edit]
Organi a canne per stato[edit]
- Items used: pipe organ (Q281460)
- Properties used: coordinate location (P625) , instance of (P31) , country (P17)
- Features used: map (Q24515275)
#defaultView:Map{"hide":["?coord","?area_scale_km", "?paese"], "layer": "?paeseLabel"}
SELECT ?item ?itemLabel ?coord ?paese ?paeseLabel WHERE {
?item wdt:P625 ?coord;
wdt:P31 wd:Q281460.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P17 ?paese. }
}
- Properties used: instance of (P31)
SELECT ?item ?label ?istanza_di ?istanza_diLabel
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Generator";
mwapi:generator "search";
mwapi:gsrsearch "inlabel:Organ";
mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title.
}
?item rdfs:label ?label.
FILTER CONTAINS(?label, "organ")
OPTIONAL { ?item wdt:P31 ?istanza_di. }
}
- Properties used: subclass of (P279) , instance of (P31)
SELECT ?item ?itemLabel ?sottoclasse_di ?istanza_di
WITH {
SELECT DISTINCT ?item
WHERE
{
SERVICE wikibase:mwapi
{
bd:serviceParam wikibase:endpoint "www.wikidata.org";
wikibase:api "Generator";
mwapi:generator "search";
mwapi:gsrsearch "inlabel:orgel";
mwapi:gsrlimit "max".
?item wikibase:apiOutputItem mwapi:title.
}
?item rdfs:label ?label.
FILTER CONTAINS(?label, "orgel")
}
} AS %results
WHERE {
INCLUDE %results.
OPTIONAL { ?item wdt:P279 ?sottoclasse_di. }
OPTIONAL { ?item wdt:P31 ?istanza_di. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it,fr,de". }
}
Luoghi "fuori zona"[edit]
- Items used: Veneto (Q1243)
- Properties used: located in the administrative territorial entity (P131) , coordinate location (P625)
- Features used: map (Q24515275)
#defaultView:Map
SELECT ?item ?coord
WHERE
{
?item wdt:P131 ?sub1 .
?sub1 (wdt:P131)* wd:Q1243 .
?item wdt:P625 ?coord .
}
Scuole a Venezia[edit]
- Items used: Venice (Q641) , school (Q3914)
#scuole a venezia
SELECT DISTINCT ?building ?buildingLabel ?schoolLabel ?coord ?address
WHERE
{
?building wdt:P131 wd:Q641.
?building wdt:P31 ?school.
?school wdt:P279* wd:Q3914.
OPTIONAL {?building wdt:P625 ?coord .}
OPTIONAL {?building wdt:P6375 ?address .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Mappa delle località con un certo nome[edit]
- Properties used: coordinate location (P625)
- Features used: map (Q24515275)
#defaultView:Map
SELECT ?item ?coord ?itemLabel
WHERE {
{ ?item rdfs:label "Castelli"@it. }
UNION
{ ?item rdfs:label "Castello"@it. }
UNION
{ ?item rdfs:label "castelli"@it. }
UNION
{ ?item rdfs:label "castello"@it. }
UNION
{ ?item rdfs:label "Castelli"@en. }
UNION
{ ?item rdfs:label "Castello"@en. }
UNION
{ ?item rdfs:label "castelli"@en. }
UNION
{ ?item rdfs:label "castello"@en. }
?item wdt:P625 ?coord
}
Civiltà nuragica[edit]
- Items used: nuraghe (Q688292) , protonuraghe (Q1385277) , nuragic holy well (Q3909778) , giants' grave (Q1523627) , domus de janas (Q1238775)
- Properties used: coordinate location (P625) , instance of (P31) , Nurnet ID (P11982)
- Features used: map (Q24515275)
#defaultView:Map{"hide":["?coord"], "layer": "?nu"}
SELECT ?item ?itemLabel ?coord ?nur (CONTAINS(?nur,"NUR") AS ?nu) WHERE {
?item wdt:P625 ?coord.
{
{ ?item wdt:P31 wd:Q688292.}
UNION
{ ?item wdt:P31 wd:Q1385277.}
UNION
{ ?item wdt:P31 wd:Q3909778.}
UNION
{ ?item wdt:P31 wd:Q1523627.}
UNION
{ ?item wdt:P31 wd:Q1238775.}
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en,[AUTO_LANGUAGE],en" .
}
OPTIONAL { ?item wdt:P11982 ?nur. }
}
Lingua Italiana[edit]
Lessemi[edit]
- Items used: Italian (Q652)
select ?lexemeId ?lemma WHERE {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma.
}
Wordlist italiana[edit]
- Items used: Italian (Q652)
SELECT DISTINCT ?word WHERE {
?l ontolex:lexicalForm ?form;
dct:language wd:Q652.
?form rdf:type ontolex:Form;
ontolex:representation ?word.
}
Rimario[edit]
- Items used: Italian (Q652)
SELECT DISTINCT ?word ?category WHERE {
?l ontolex:lexicalForm ?form;
wikibase:lexicalCategory ?category;
dct:language wd:Q652.
?form rdf:type ontolex:Form;
ontolex:representation ?word.
FILTER(REGEX(?word, ".*esto$"))
}
ORDER BY ?category
Lessemi italiani, genere gramm. e identificativo nel vocabolario Treccani[edit]
- Items used: Italian (Q652)
- Properties used: grammatical gender (P5185) , Treccani Vocabulary ID (P5844)
SELECT ?l ?lemma ?catLabel ?genere ?treccani WHERE {
?l dct:language wd:Q652;
wikibase:lemma ?lemma;
wikibase:lexicalCategory ?cat.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it". }
OPTIONAL { ?l wdt:P5185 ?genere. }
OPTIONAL { ?l wdt:P5844 ?treccani. }
}
ORDER BY ?treccani ?catLabel
Lessemi italiani senza forme[edit]
- Items used: Italian (Q652)
#title:Lexemes in Italian without forms
SELECT ?lexemeId ?lemma
WHERE {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma.
MINUS {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma;
ontolex:lexicalForm ?form.
}
}
Lessemi italiani senza sensi[edit]
- Items used: Italian (Q652)
#title:Lexemes in Italian without senses
SELECT ?lexemeId ?lemma
WHERE {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma.
MINUS {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma;
ontolex:sense ?s.
}
}
Lingue e numero di lessemi inseriti[edit]
SELECT ?langLabel ?count
WHERE
{
{
SELECT ?lang (COUNT(?l) as ?count)
WHERE {
?l dct:language ?lang.
}
GROUP BY ?lang
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
}
}
ORDER BY DESC(?count)
Conteggio di lessemi italiani, forme, sensi per categoria[edit]
- Properties used: ISO 639-1 code (P218)
SELECT ?category ?categoryLabel (COUNT(distinct ?l) as ?lexemeCount) (COUNT(distinct ?f) AS ?formCount) (COUNT(distinct ?s) AS ?senseCount)
WHERE {
?l a ontolex:LexicalEntry ;
wikibase:lemma ?word ;
wikibase:lexicalCategory ?category;
dct:language [wdt:P218 'it'].
OPTIONAL { ?l ontolex:lexicalForm ?f. }
OPTIONAL { ?l ontolex:sense ?s. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?category ?categoryLabel
ORDER BY DESC(?lexemeCount)
Lessemi che finiscono con "ese" ed eventuali demonimi[edit]
- Items used: Italian (Q652)
- Properties used: demonym of (P6271)
SELECT ?lexemeId ?lemma ?demonimoLabel WHERE {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma;
FILTER(REGEX(?lemma, ".*ese$"))
OPTIONAL {
?lexemeId ontolex:sense ?sense.
?sense wdt:P6271 ?demonimo.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it". }
}
Check su identificativo de mauro per underscore[edit]
- Items used: Italian (Q652)
- Properties used: Il Nuovo De Mauro ID (P12420)
SELECT ?lexemeId ?lemma ?dm
WHERE {
?lexemeId dct:language wd:Q652;
wikibase:lemma ?lemma.
?lexemeId wdt:P12420 ?dm.
FILTER(REGEX(?dm, ".*_.*"))
}
Demonimi italiani sulla mappa[edit]
- Properties used: ISO 639-1 code (P218) , demonym of (P6271) , coordinate location (P625)
- Features used: map (Q24515275)
#defaultView:Map
SELECT ?l ?lemma ?demoPlaceLabel ?coords WHERE {
?l a ontolex:LexicalEntry ;
dct:language ?language ;
wikibase:lemma ?lemma .
?language wdt:P218 'it'. # language
?l ontolex:sense ?sense.
?sense wdt:P6271 ?demoPlace.
?demoPlace wdt:P625 ?coords
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". }
}
Forme di lessemi che contengono una doppia i[edit]
- Items used: Italian (Q652) , verb (Q24905)
SELECT ?lexemeId ?lemma ?word WHERE {
?lexemeId dct:language wd:Q652.
?lexemeId wikibase:lexicalCategory wd:Q24905.
?lexemeId wikibase:lemma ?lemma.
?lexemeId ontolex:lexicalForm ?form.
?form ontolex:representation ?word.
#FILTER(REGEX(?word, ".*ato$"))
FILTER(REGEX(?word, ".*ii.*"))
#SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it". }
}
#https://en.wikibooks.org/wiki/SPARQL/WIKIDATA_Lexicographical_data
Dialetto Veneto[edit]
Uccelli con nome in dialetto veneto e immagine[edit]
- Items used: bird (Q5113) , species (Q7432) , taxon (Q16521)
- Properties used: parent taxon (P171) , taxon rank (P105) , instance of (P31) , taxon name (P225) , image (P18)
- Features used: ImageGrid (Q24515278)
#defaultView:ImageGrid
SELECT ?item ?itemLabel (SAMPLE(?pic) as ?picture)
WHERE
{
?item
wdt:P171* wd:Q5113 ;
wdt:P105 wd:Q7432 ;
wdt:P31 wd:Q16521 ;
wdt:P225 ?sciName ;
wdt:P18 ?pic;
rdfs:label ?itemLabel ;
filter (lang(?itemLabel) = "vec").
FILTER(str(?itemLabel) != str(?sciName)).
}
GROUP BY ?item ?itemLabel
ORDER BY ?itemLabel
Mammiferi con nome in dialetto veneto e immagine[edit]
- Items used: mammal (Q7377) , species (Q7432) , taxon (Q16521)
- Properties used: parent taxon (P171) , taxon rank (P105) , instance of (P31) , taxon name (P225) , image (P18)
- Features used: ImageGrid (Q24515278)
#defaultView:ImageGrid
SELECT ?item ?itemLabel (SAMPLE(?pic) as ?picture)
WHERE
{
?item
wdt:P171* wd:Q7377 ;
wdt:P105 wd:Q7432 ;
wdt:P31 wd:Q16521 ;
wdt:P225 ?sciName ;
wdt:P18 ?pic;
rdfs:label ?itemLabel ;
filter (lang(?itemLabel) = "vec").
FILTER(str(?itemLabel) != str(?sciName)).
}
GROUP BY ?item ?itemLabel
ORDER BY ?itemLabel
Pesci spinati con nome in dialetto veneto e immagine[edit]
- Items used: Actinopterygii (Q127282) , species (Q7432) , taxon (Q16521)
- Properties used: parent taxon (P171) , taxon rank (P105) , instance of (P31) , taxon name (P225) , image (P18)
- Features used: ImageGrid (Q24515278)
#defaultView:ImageGrid
SELECT ?item ?itemLabel (SAMPLE(?pic) as ?picture)
WHERE
{
?item
wdt:P171* wd:Q127282 ;
wdt:P105 wd:Q7432 ;
wdt:P31 wd:Q16521 ;
wdt:P225 ?sciName ;
wdt:P18 ?pic;
rdfs:label ?itemLabel ;
filter (lang(?itemLabel) = "vec").
FILTER(str(?itemLabel) != str(?sciName)).
}
GROUP BY ?item ?itemLabel
ORDER BY ?itemLabel
Cocktails[edit]
- Items used: IBA official cocktail (Q2536409) , cocktail (Q134768)
- Properties used: instance of (P31) , subclass of (P279) , TheCocktailDB drink ID (P9056)
SELECT distinct ?item ?itemLabel ?identificativo_drink_TheCocktailDB WHERE {
{ ?item wdt:P31 wd:Q2536409. }
UNION
{ ?item wdt:P31 wd:Q134768. }
UNION
{ ?item wdt:P279 wd:Q2536409. }
UNION
{ ?item wdt:P279 wd:Q134768. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P9056 ?identificativo_drink_TheCocktailDB. }
}
Mix n Match[edit]
- Properties used: instance of (P31) , Mix'n'match catalog ID (P2264)
# Authority Control properties for people, without Mix'n'match catalog
SELECT ?p ?pLabel WHERE {
?p rdf:type wikibase:Property;
wdt:P31 wd:Q19595382.
MINUS { ?p wdt:P2264 _:b2. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} order by ?pLabel
Go tournament[edit]
- Items used: sports season (Q27020041) , Meijin (Q675180)
- Properties used: sport (P641) , edition number (P393) , instance of (P31) , of (P642)
SELECT ?item ?itemLabel ?sport ?sportLabel ?ediz WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item p:P31 _:b20.
_:b20 ps:P31 wd:Q27020041;
pq:P642 wd:Q675180.
OPTIONAL { ?item wdt:P641 ?sport. }
OPTIONAL { ?item wdt:P393 ?ediz. }
}
Musica[edit]
Vincitori del festival di Sanremo[edit]
Gruppi italiani senza ident. Deezer[edit]
- Items used: musical group (Q215380) , Italy (Q38) , reggae (Q9794)
- Properties used: instance of (P31) , country of origin (P495) , genre (P136) , Deezer artist ID (P2722)
SELECT ?band ?bandLabel
WHERE
{
# ?band (wdt:P31)* wd:Q215380 .
?band wdt:P31 wd:Q215380 .
?band wdt:P495 wd:Q38.
# ?band wdt:P136 wd:Q9794.
MINUS { ?band wdt:P2722 [] }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it". }
}
Tech[edit]
Engine families and models[edit]
- Properties used: instance of (P31) , engine configuration (P1002) , number of cylinders (P1100) , manufacturer (P176) , subclass of (P279)
SELECT ?item ?itemLabel ?configurazione_del_motoreLabel ?cilindri ?fabbricanteLabel ?sottoclasse_diLabel WHERE {
{ ?item wdt:P31 wd:Q15057021. }
UNION
{ ?item wdt:P31 wd:Q15057020. }
UNION
{ ?item wdt:P31 wd:Q118017625. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P1002 ?configurazione_del_motore. }
OPTIONAL { ?item wdt:P1100 ?cilindri. }
OPTIONAL { ?item wdt:P176 ?fabbricante. }
OPTIONAL { ?item wdt:P279 ?sottoclasse_di. }
}
Items that we might reconsider as engine models or families[edit]
- Items used: gasoline engine (Q502048) , aircraft engine (Q743004) , marine engine (Q1566051) , straight engine (Q946676) , V engine (Q724736) , internal combustion engine (Q12757) , reciprocating engine (Q630010) , piston engine (Q1779063)
- Properties used: instance of (P31) , engine configuration (P1002) , number of cylinders (P1100) , manufacturer (P176) , subclass of (P279)
SELECT DISTINCT ?item ?itemLabel ?configurazione_del_motoreLabel ?cilindri ?fabbricanteLabel ?sottoclasse_diLabel WHERE {
{ ?item wdt:P31 wd:Q502048. }
UNION
{ ?item wdt:P31 wd:Q743004. }
UNION
{ ?item wdt:P31 wd:Q1566051. }
UNION
{ ?item wdt:P31 wd:Q946676. }
UNION
{ ?item wdt:P31 wd:Q724736. }
UNION
{ ?item wdt:P31 wd:Q12757. }
UNION
{ ?item wdt:P31 wd:Q630010. }
UNION
{ ?item wdt:P31 wd:Q1779063. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
OPTIONAL { ?item wdt:P1002 ?configurazione_del_motore. }
OPTIONAL { ?item wdt:P1100 ?cilindri. }
OPTIONAL { ?item wdt:P176 ?fabbricante. }
OPTIONAL { ?item wdt:P279 ?sottoclasse_di. }
}
ORDER BY ASC (?itemLabel)
Snippet[edit]
BIND(strafter(str(?item), "http://www.wikidata.org/entity/Q") AS ?numericId)
FILTER (?numericId >= 1 && ?numericId <= 10000)