Simple Question (Direct)
Simple Question
Q19358
P162
Q502895
USER
Who produced The Tiger and the Snow ?
(Q19358,P162,c(Q502895))
action filter_type
action find
entity Q19358
relation P162
type Q502895
['Q19358', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q19358 property:P162 ?h . ?h rdf:type ontology:Q502895 }
The Tiger and the Snow
action filter_type
action find
entity The Tiger and the Snow
relation producer
type common name
['The Tiger and the Snow', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Tiger_and_the_Snow property:producer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q254462
SYSTEM
Nicoletta Braschi
Q254462
(Q19358,P162,c(Q502895))
action filter_type
action find
entity Q19358
relation P162
type Q502895
[ANSWER] produced The Tiger and the Snow
['Q19358', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q19358 property:P162 ?h . ?h rdf:type ontology:Q502895 }
Nicoletta Braschi
Nicoletta Braschi produced The Tiger and the Snow
Nicoletta Braschi
action filter_type
action find
entity The Tiger and the Snow
relation producer
type common name
['The Tiger and the Snow', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:The_Tiger_and_the_Snow property:producer ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19358
P161
Q502895
USER
Who starred in The Tiger and the Snow ?
(Q19358,P161,c(Q502895))
action filter_type
action find
entity Q19358
relation P161
type Q502895
['Q19358', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q19358 property:P161 ?v . ?v rdf:type ontology:Q502895 }
The Tiger and the Snow
action filter_type
action find
entity The Tiger and the Snow
relation cast member
type common name
['The Tiger and the Snow', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Tiger_and_the_Snow property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
Q23301 Q43697 Q184805
SYSTEM
Roberto Benigni, Jean Reno, Tom Waits
Q184805 Q82660 Q254462 Q43697 Q3838474 Q213257 Q23301 Q3615988 Q6776577 Q2821029
(Q19358,P161,c(Q502895))
action filter_type
action find
entity Q19358
relation P161
type Q502895
[ANSWERS] starred in The Tiger and the Snow
['Q19358', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q19358 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Tom Waits Giuseppe Battiston Nicoletta Braschi Jean Reno Lucia Poli Emilia Fox Roberto Benigni Andrea Renzi Martin Sherman Abdelhafid Metalsi
Roberto Benigni, Jean Reno and Tom Waits starred in The Tiger and the Snow
Roberto Benigni Jean Reno Tom Waits
action filter_type
action find
entity The Tiger and the Snow
relation cast member
type common name
['The Tiger and the Snow', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Tiger_and_the_Snow property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23301
P103
Q34770
USER
Which language is the mother tongue of that person ?
(Q23301,P103,c(Q34770))
action filter_type
action find
entity Q23301
relation P103
type Q34770
['Q23301', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q23301 property:P103 ?n }
Roberto Benigni
action filter_type
action find
entity Roberto Benigni
relation native language
type language
['Roberto Benigni', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Roberto_Benigni property:native_language ?n }
[]
language
Clarification for simple ques.
Q184805
SYSTEM
Did you mean Tom Waits ?
Q23301 Q43697 Q184805
(Q23301,P103,c(Q34770)) (Q43697,P103,c(Q34770)) (Q184805,P103,c(Q34770))
[ANSWER]
['Q23301', 'P103', {'concept': 'Q34770'}] ['Q43697', 'P103', {'concept': 'Q34770'}] ['Q184805', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q23301 property:P103 ?n }
Roberto Benigni Jean Reno Tom Waits
Did you mean Tom Waits ?
Tom Waits
['Roberto Benigni', 'native language', {'concept': 'language'}] ['Jean Reno', 'native language', {'concept': 'language'}] ['Tom Waits', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Roberto_Benigni property:native_language ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Roberto Benigni. Could you tell me the answer for that?
(Q23301,P103,c(Q34770))
Q23301
['Q23301', 'P103', {'concept': 'Q34770'}]
['Roberto Benigni', 'native language', {'concept': 'language'}]
[]
Q652
SYSTEM
Italian
Q652
(Q23301,P103,c(Q34770))
action filter_type
action find
entity Q23301
relation P103
type Q34770
[ANSWER] is the mother tongue of that person
['Q23301', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q23301 property:P103 ?n }
Italian
Italian is the mother tongue of that person
Italian
action filter_type
action find
entity Roberto Benigni
relation native language
type language
['Roberto Benigni', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:Roberto_Benigni property:native_language ?n }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q184805
P161 P495
Q838948
USER
Which works of art have Tom Waits as actor and are United States of America a country of origin of ?
AND((c(Q838948),P161,Q184805), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q184805
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q184805'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q184805 . ?j property:P495 resource:Q30 . ?j rdf:type ontology:Q838948 }
United States of America Tom Waits
action filter_type
action intersection
action find_reverse
entity Tom Waits
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Tom Waits'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Tom_Waits . ?j property:country_of_origin resource:United_States_of_America . ?j rdf:type ontology:work_of_art }
[]
work of art
Q1106851 Q466297 Q192409 Q7817967 Q1754287 Q5142251 Q614795 Q1476932 Q605226 Q1055332
SYSTEM
Some of them are Coffee and Cigarettes, The Fisher King, Down by Law, Tom Waits for No One, At Play in the Fields of the Lord, Cold Feet, Mystery Train, Queens Logic, Short Cuts, The Outsiders
Q1476932 Q274529 Q32910 Q1084074 Q1925168 Q59610 Q466297 Q1106851 Q19268 Q107325 Q7817967 Q845102 Q1055332 Q605226 Q1545071 Q1754287 Q614795 Q2002073 Q192409 Q639387 Q5142251
AND((c(Q838948),P161,Q184805), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q184805
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have Tom Waits as actor and are United States of America a country of origin of
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q184805'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?j WHERE { ?j property:P161 resource:Q184805 . ?j property:P495 resource:Q30 . ?j rdf:type ontology:Q838948 }
Queens Logic The Book of Eli Domino Mystery Men Candy Mountain Seven Psychopaths The Fisher King Coffee and Cigarettes Paradise Alley Bram Stoker's Dracula Tom Waits for No One Rumble Fish The Outsiders Short Cuts Ironweed At Play in the Fields of the Lord Mystery Train Wristcutters: A Love Story Down by Law The Cotton Club Cold Feet
Coffee and Cigarettes, The Fisher King, Down by Law, Tom Waits for No One, At Play in the Fields of the Lord, Cold Feet, Mystery Train, Queens Logic, Short Cuts and The Outsiders have Tom Waits as actor and are United States of America a country of origin of
Coffee and Cigarettes The Fisher King Down by Law Tom Waits for No One At Play in the Fields of the Lord Cold Feet Mystery Train Queens Logic Short Cuts The Outsiders
action filter_type
action intersection
action find_reverse
entity Tom Waits
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Tom Waits'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?j WHERE { ?j property:cast_member resource:Tom_Waits . ?j property:country_of_origin resource:United_States_of_America . ?j rdf:type ontology:work_of_art }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P86
Q502895
USER
How many people composed that work of art ?
(Q192409,P86,c(Q502895))
['Q192409', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1253165 property:Q36834 ?z . ?z rdf:type ontology:Q502895 }
['Down by Law', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Down_by_Law property:composer ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q605226
SYSTEM
Did you mean Short Cuts ?
(Q1106851,P86,c(Q502895)) (Q466297,P86,c(Q502895)) (Q192409,P86,c(Q502895)) (Q7817967,P86,c(Q502895)) (Q1754287,P86,c(Q502895)) (Q5142251,P86,c(Q502895)) (Q614795,P86,c(Q502895)) (Q1476932,P86,c(Q502895)) (Q605226,P86,c(Q502895)) (Q1055332,P86,c(Q502895))
[ANSWER]
['Q1106851', 'P86', {'concept': 'Q502895'}] ['Q466297', 'P86', {'concept': 'Q502895'}] ['Q192409', 'P86', {'concept': 'Q502895'}] ['Q7817967', 'P86', {'concept': 'Q502895'}] ['Q1754287', 'P86', {'concept': 'Q502895'}] ['Q5142251', 'P86', {'concept': 'Q502895'}] ['Q614795', 'P86', {'concept': 'Q502895'}] ['Q1476932', 'P86', {'concept': 'Q502895'}] ['Q605226', 'P86', {'concept': 'Q502895'}] ['Q1055332', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1253165 property:Q36834 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Short Cuts ?
Short Cuts
['Coffee and Cigarettes', 'composer', {'concept': 'common name'}] ['The Fisher King', 'composer', {'concept': 'common name'}] ['Down by Law', 'composer', {'concept': 'common name'}] ['Tom Waits for No One', 'composer', {'concept': 'common name'}] ['At Play in the Fields of the Lord', 'composer', {'concept': 'common name'}] ['Cold Feet', 'composer', {'concept': 'common name'}] ['Mystery Train', 'composer', {'concept': 'common name'}] ['Queens Logic', 'composer', {'concept': 'common name'}] ['Short Cuts', 'composer', {'concept': 'common name'}] ['The Outsiders', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Down_by_Law property:composer ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Down by Law. Could you tell me the answer for that?
(Q192409,P86,c(Q502895))
Q192409
['Q192409', 'P86', {'concept': 'Q502895'}]
['Down by Law', 'composer', {'concept': 'common name'}]
[]
SYSTEM
1
Q456639
(Q192409,P86,c(Q502895))
[ANSWER]
['Q192409', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1253165 property:Q36834 ?z . ?z rdf:type ontology:Q502895 }
John Lurie
1
['Down by Law', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Down_by_Law property:composer ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8785
P37
Q34770 Q1048835 Q13220204
USER
How many languages are the official languages of less number of political territories or administrative country subdivisions than Armenian ?
(c(Q1048835)|c(Q13220204),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P37
type Q1048835
type Q13220204
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:Q1048835 } UNION { ?o rdf:type ontology:Q13220204 } } . ?o property:P37 resource:Q8785 } } . FILTER ( ?y < ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P37 ?b . ?h rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q34770 } UNION { ?b rdf:type ontology:Q34770 . ?h rdf:type ontology:Q13220204 . ?h property:P37 ?b } } GROUP BY ?b } }
Armenian
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Armenian
relation official language
type political territorial entity
type second-level administrative country subdivision
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:political_territorial_entity } UNION { ?o rdf:type ontology:second-level_administrative_country_subdivision } } . ?o property:official_language resource:Armenian } } . FILTER ( ?y < ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:official_language ?b . ?h rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:language } UNION { ?b rdf:type ontology:language . ?h rdf:type ontology:second-level_administrative_country_subdivision . ?h property:official_language ?b } } GROUP BY ?b } }
[]
language political territorial entity second-level administrative country subdivision
SYSTEM
11
Q9056 Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499 Q397 Q35726
(c(Q1048835)|c(Q13220204),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P37
type Q1048835
type Q13220204
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:Q1048835 } UNION { ?o rdf:type ontology:Q13220204 } } . ?o property:P37 resource:Q8785 } } . FILTER ( ?y < ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:P37 ?b . ?h rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q34770 } UNION { ?b rdf:type ontology:Q34770 . ?h rdf:type ontology:Q13220204 . ?h property:P37 ?b } } GROUP BY ?b } }
Czech Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan
11
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Armenian
relation official language
type political territorial entity
type second-level administrative country subdivision
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { { ?o rdf:type ontology:political_territorial_entity } UNION { ?o rdf:type ontology:second-level_administrative_country_subdivision } } . ?o property:official_language resource:Armenian } } . FILTER ( ?y < ?w ) . { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?y ) WHERE { { ?h property:official_language ?b . ?h rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:language } UNION { ?b rdf:type ontology:language . ?h rdf:type ontology:second-level_administrative_country_subdivision . ?h property:official_language ?b } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q652
P37
Q34770 Q1048835 Q13220204
USER
And how about Italian?
(c(Q1048835)|c(Q13220204),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q1048835
type Q13220204
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?p ) WHERE { { ?q rdf:type ontology:Q34770 . ?f rdf:type ontology:Q1048835 . ?f property:P37 ?q } UNION { ?f property:P37 ?q . ?q rdf:type ontology:Q34770 . ?f rdf:type ontology:Q13220204 } } GROUP BY ?q } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P37 resource:Q652 . { { ?v rdf:type ontology:Q1048835 } UNION { ?v rdf:type ontology:Q13220204 } } } } }
Italian
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type political territorial entity
type second-level administrative country subdivision
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?p ) WHERE { { ?q rdf:type ontology:language . ?f rdf:type ontology:political_territorial_entity . ?f property:official_language ?q } UNION { ?f property:official_language ?q . ?q rdf:type ontology:language . ?f rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?q } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:official_language resource:Italian . { { ?v rdf:type ontology:political_territorial_entity } UNION { ?v rdf:type ontology:second-level_administrative_country_subdivision } } } } }
[]
language political territorial entity second-level administrative country subdivision
SYSTEM
15
Q9056 Q1860 Q33251 Q13211 Q3110592 Q36206 Q8752 Q1321 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q1048835)|c(Q13220204),P37,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q652
relation P37
type Q1048835
type Q13220204
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?p ) WHERE { { ?q rdf:type ontology:Q34770 . ?f rdf:type ontology:Q1048835 . ?f property:P37 ?q } UNION { ?f property:P37 ?q . ?q rdf:type ontology:Q34770 . ?f rdf:type ontology:Q13220204 } } GROUP BY ?q } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P37 resource:Q652 . { { ?v rdf:type ontology:Q1048835 } UNION { ?v rdf:type ontology:Q13220204 } } } } }
Czech English Church Slavonic Ruthenian written Chinese Lak Basque Spanish Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
15
action count
action less
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Italian
relation official language
type political territorial entity
type second-level administrative country subdivision
[[{'concept': 'political territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?p ) WHERE { { ?q rdf:type ontology:language . ?f rdf:type ontology:political_territorial_entity . ?f property:official_language ?q } UNION { ?f property:official_language ?q . ?q rdf:type ontology:language . ?f rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?q } . FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:official_language resource:Italian . { { ?v rdf:type ontology:political_territorial_entity } UNION { ?v rdf:type ontology:second-level_administrative_country_subdivision } } } } }
[]