Simple Question (Direct)
Simple Question
Q171500
P27
Q15617994
USER
Which administrative territory is the native country of Haile Gebrselassie ?
(Q171500,P27,c(Q15617994))
action filter_type
action find
entity Q171500
relation P27
type Q15617994
['Q171500', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q171500 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Haile Gebrselassie
action filter_type
action find
entity Haile Gebrselassie
relation country of citizenship
type designation for an administrative territorial entity
['Haile Gebrselassie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Haile_Gebrselassie property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q115
SYSTEM
Ethiopia
Q115
(Q171500,P27,c(Q15617994))
action filter_type
action find
entity Q171500
relation P27
type Q15617994
[ANSWER] is the native country of Haile Gebrselassie
['Q171500', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q171500 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Ethiopia
Ethiopia is the native country of Haile Gebrselassie
Ethiopia
action filter_type
action find
entity Haile Gebrselassie
relation country of citizenship
type designation for an administrative territorial entity
['Haile Gebrselassie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Haile_Gebrselassie property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q171500
P641
Q212434
USER
What were the Olympic sports that Haile Gebrselassie were a part of ?
(Q171500,P641,c(Q212434))
action filter_type
action find
entity Q171500
relation P641
type Q212434
['Q171500', 'P641', {'concept': 'Q212434'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q212434 . resource:Q171500 property:P641 ?t }
Haile Gebrselassie
action filter_type
action find
entity Haile Gebrselassie
relation sport
type Olympic sport
['Haile Gebrselassie', 'sport', {'concept': 'Olympic sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Olympic_sport . resource:Haile_Gebrselassie property:sport ?t }
[]
Olympic sport
Q1934817 Q3312129
SYSTEM
road running, track and field
Q1934817 Q3312129
(Q171500,P641,c(Q212434))
action filter_type
action find
entity Q171500
relation P641
type Q212434
The Olympic sports that Haile Gebrselassie were a part of were [ANSWERS]
['Q171500', 'P641', {'concept': 'Q212434'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q212434 . resource:Q171500 property:P641 ?t }
road running track and field
The Olympic sports that Haile Gebrselassie were a part of were road running and track and field
road running track and field
action filter_type
action find
entity Haile Gebrselassie
relation sport
type Olympic sport
['Haile Gebrselassie', 'sport', {'concept': 'Olympic sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Olympic_sport . resource:Haile_Gebrselassie property:sport ?t }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q171500
Q31629
USER
And which type of sport?
(Q171500,P641,c(Q31629))
action filter_type
action find
entity Q171500
relation P641
type Q31629
['Q171500', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q171500 property:P641 ?d . ?d rdf:type ontology:Q31629 }
Haile Gebrselassie
action filter_type
action find
entity Haile Gebrselassie
relation sport
type type of sport
['Haile Gebrselassie', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Haile_Gebrselassie property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q171500,P641,c(Q31629))
action filter_type
action find
entity Q171500
relation P641
type Q31629
[ANSWER]
['Q171500', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q171500 property:P641 ?d . ?d rdf:type ontology:Q31629 }
athletics
athletics
action filter_type
action find
entity Haile Gebrselassie
relation sport
type type of sport
['Haile Gebrselassie', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Haile_Gebrselassie property:sport ?d . ?d rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q14524493 Q31629
USER
Which terrains do the journey end for exactly 1 type of sport ?
(c(Q31629),P1444,c(Q14524493))
action equal
action find_reverse_tuple_counts
relation P1444
type Q14524493
type Q31629
value 1
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P1444 ?d . ?d rdf:type ontology:Q14524493 . ?b rdf:type ontology:Q31629 } GROUP BY ?d } . FILTER ( ?h = 1 ) }
action equal
action find_reverse_tuple_counts
relation destination point
type terrain
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:destination_point ?d . ?d rdf:type ontology:terrain . ?b rdf:type ontology:type_of_sport } GROUP BY ?d } . FILTER ( ?h = 1 ) }
[]
terrain type of sport
Q3861976 Q2842559 Q3321710
SYSTEM
Monte San Vicino, Kluisberg, mount Brouilly
Q3861976 Q699291 Q7511639 Q2842559 Q1122701 Q15622232 Q539792 Q3321710 Q22038925 Q8537932 Q913368
(c(Q31629),P1444,c(Q14524493))
action equal
action find_reverse_tuple_counts
relation P1444
type Q14524493
type Q31629
value 1
The journey end at [ANSWERS] for exactly 1 type of sport
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:P1444 ?d . ?d rdf:type ontology:Q14524493 . ?b rdf:type ontology:Q31629 } GROUP BY ?d } . FILTER ( ?h = 1 ) }
Monte San Vicino Arrate Sierra de Cazorla Kluisberg Montjuïc La Camperona Monte Naranco mount Brouilly Cerro El Amago Peña Cabarga Fóia
The journey end at Monte San Vicino, Kluisberg and mount Brouilly for exactly 1 type of sport
Monte San Vicino Kluisberg mount Brouilly
action equal
action find_reverse_tuple_counts
relation destination point
type terrain
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?h ) WHERE { ?b property:destination_point ?d . ?d rdf:type ontology:terrain . ?b rdf:type ontology:type_of_sport } GROUP BY ?d } . FILTER ( ?h = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3861976 Q2842559 Q3321710
P17
Q15617994
USER
Which administrative territories do those terrains belong to ?
(Q3861976,P17,c(Q15617994)) (Q2842559,P17,c(Q15617994)) (Q3321710,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q3861976', 'P17', {'concept': 'Q15617994'}] ['Q2842559', 'P17', {'concept': 'Q15617994'}] ['Q3321710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . ?h property:P17 ?m . VALUES ( ?h ) { ( resource:Q3861976 ) ( resource:Q699291 ) ( resource:Q7511639 ) } }
Monte San Vicino Kluisberg mount Brouilly
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Monte San Vicino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kluisberg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mount Brouilly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:country ?m . VALUES ( ?h ) { ( resource:Monte_San_Vicino ) ( resource:Arrate ) ( resource:Sierra_de_Cazorla ) } }
[]
designation for an administrative territorial entity
Q38 Q31 Q142
SYSTEM
Italy, Belgium, France
Q38 Q31 Q142
(Q3861976,P17,c(Q15617994)) (Q2842559,P17,c(Q15617994)) (Q3321710,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those terrains belong to [ANSWERS]
['Q3861976', 'P17', {'concept': 'Q15617994'}] ['Q2842559', 'P17', {'concept': 'Q15617994'}] ['Q3321710', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . ?h property:P17 ?m . VALUES ( ?h ) { ( resource:Q3861976 ) ( resource:Q699291 ) ( resource:Q7511639 ) } }
Italy Belgium France
Those terrains belong to Italy, Belgium and France
Italy Belgium France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Monte San Vicino', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kluisberg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['mount Brouilly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:country ?m . VALUES ( ?h ) { ( resource:Monte_San_Vicino ) ( resource:Arrate ) ( resource:Sierra_de_Cazorla ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q115
P37
Q25295
USER
What is the official language of Ethiopia ?
(Q115,P37,c(Q25295))
action filter_type
action find
entity Q115
relation P37
type Q25295
['Q115', 'P37', {'concept': 'Q25295'}]
SELECT DISTINCT ?q WHERE { resource:Q115 property:P37 ?q . ?q rdf:type ontology:Q25295 }
Ethiopia
action filter_type
action find
entity Ethiopia
relation official language
type language family
['Ethiopia', 'official language', {'concept': 'language family'}]
SELECT DISTINCT ?q WHERE { resource:Ethiopia property:official_language ?q . ?q rdf:type ontology:language_family }
[]
language family
Q28244
SYSTEM
Amharic
Q28244
(Q115,P37,c(Q25295))
action filter_type
action find
entity Q115
relation P37
type Q25295
The official language of Ethiopia is the [ANSWER]
['Q115', 'P37', {'concept': 'Q25295'}]
SELECT DISTINCT ?q WHERE { resource:Q115 property:P37 ?q . ?q rdf:type ontology:Q25295 }
Amharic
The official language of Ethiopia is the Amharic
Amharic
action filter_type
action find
entity Ethiopia
relation official language
type language family
['Ethiopia', 'official language', {'concept': 'language family'}]
SELECT DISTINCT ?q WHERE { resource:Ethiopia property:official_language ?q . ?q rdf:type ontology:language_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P206
Q15324
USER
Which body of water is situated close to Italy ?
(Q38,P206,c(Q15324))
action filter_type
action find
entity Q38
relation P206
type Q15324
['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { resource:Q38 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Italy
action filter_type
action find
entity Italy
relation located next to body of water
type body of water
['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { resource:Italy property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q38,P206,c(Q15324))
action filter_type
action find
entity Q38
relation P206
type Q15324
Sea [ANSWER] is situated close to Italy
['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?l WHERE { resource:Q38 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Adriatic Sea
Sea Adriatic Sea is situated close to Italy
Adriatic Sea
action filter_type
action find
entity Italy
relation located next to body of water
type body of water
['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?l WHERE { resource:Italy property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of Italy ?
(c(Q12737077),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q38']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q38 . ?u rdf:type ontology:Q12737077 }
Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Italy . ?u rdf:type ontology:occupation }
[]
occupation
Q332711 Q1714174 Q796897
SYSTEM
President of Italy, judge of the Constitutional Court of Italy, Prime Minister of Italy
Q3721646 Q1321872 Q26877879 Q1714174 Q796897 Q26877839 Q3705737 Q6092845 Q6092842 Q26912078 Q826589 Q11805434 Q3858501 Q13653224 Q1538785 Q6360077 Q658082 Q670106 Q23554157 Q3687266 Q332711 Q7477985 Q18558478 Q1541071
(c(Q12737077),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q12737077
[ANSWERS] have control over the jurisdiction of Italy
[{'concept': 'Q12737077'}, 'P1001', 'Q38']
SELECT DISTINCT ?u WHERE { ?u property:P1001 resource:Q38 . ?u rdf:type ontology:Q12737077 }
Italian Minister of Education Minister of Foreign Affairs minister of the Navy of Italy judge of the Constitutional Court of Italy Prime Minister of Italy minister of War of Italy member of the Constituent Assembly of Italy Italian Minister of Transports Italian Minister of Infrastructures minister of Air Force of Italy senatore a vita Italian Minister of Economic Development Italian minister member of the Italian Senate Italian Minister of Defence President of the Chamber of Deputies of Italy Italian Minister of Agriculture sindaco Minister of Federal Reforms member of City Council President of Italy President of the Italian Senate member of the Chamber of Deputies of the Italian Republic Italian Minister of the Interior
President of Italy, judge of the Constitutional Court of Italy and Prime Minister of Italy have control over the jurisdiction of Italy
President of Italy judge of the Constitutional Court of Italy Prime Minister of Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?u WHERE { ?u property:applies_to_jurisdiction resource:Italy . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q332711 Q1714174 Q796897
P39
Q502895
USER
Who held the position of those occupations ?
(c(Q502895),P39,Q332711) (c(Q502895),P39,Q1714174) (c(Q502895),P39,Q796897)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q332711'] [{'concept': 'Q502895'}, 'P39', 'Q1714174'] [{'concept': 'Q502895'}, 'P39', 'Q796897']
SELECT DISTINCT ?n WHERE { ?n property:P39 ?m . ?n rdf:type ontology:Q502895 . VALUES ( ?m ) { ( resource:Q3721646 ) ( resource:Q1321872 ) ( resource:Q26877879 ) } }
President of Italy judge of the Constitutional Court of Italy Prime Minister of Italy
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Italy'] [{'concept': 'common name'}, 'position held', 'judge of the Constitutional Court of Italy'] [{'concept': 'common name'}, 'position held', 'Prime Minister of Italy']
SELECT DISTINCT ?n WHERE { ?n property:position_held ?m . ?n rdf:type ontology:common_name . VALUES ( ?m ) { ( resource:Italian_Minister_of_Education ) ( resource:Minister_of_Foreign_Affairs ) ( resource:minister_of_the_Navy_of_Italy ) } }
[]
common name
Q11860 Q11860 Q11860
SYSTEM
Silvio Berlusconi
Q1245 Q1241 Q1240 Q1242 Q1220 Q1238 Q1230 Q1233 Q1235 Q1228 Q1224 Q3956186 Q3770232 Q3770236 Q3742960 Q3623511 Q941128 Q1720458 Q4013894 Q961925 Q4013562 Q3094080 Q1245 Q3751341 Q3619054 Q3770281 Q3726486 Q3932656 Q1747666 Q3609312 Q3750393 Q3765547 Q3665527 Q117902 Q3992572 Q3619098 Q3830595 Q3762826 Q982700 Q1441165 Q1440895 Q3770540 Q3766576 Q3733941 Q3616955 Q3856783 Q3779007 Q3758629 Q3848467 Q3839882 Q4007902 Q3770310 Q18516418 Q3619732 Q3659622 Q3849049 Q4002900 Q3852825 Q3665479 Q3770587 Q15273970 Q3779399 Q3619795 Q3362635 Q4013143 Q3558039 Q3719694 Q3940723 Q202209 Q3769665 Q3839947 Q3608393 Q1410871 Q3750401 Q3619208 Q3609947 Q3848366 Q3766980 Q3903147 Q3732171 Q3609154 Q3944319 Q3767044 Q3609165 Q3876335 Q4010544 Q3876246 Q3750086 Q3756893 Q3750097 Q3750577 Q3856608 Q3771619 Q1876222 Q3757128 Q519728 Q3770778 Q3770156 Q1412573 Q3695539 Q3851501 Q337397 Q3770164 Q3731212 Q1384236 Q3835629 Q3618064 Q18325706 Q3726471 Q3639352 Q3894432 Q3611103 Q3751151 Q3771513 Q3932687 Q3956186 Q3779166 Q3934407 Q3894222 Q366104 Q47563 Q1240 Q1240 Q47602 Q320963 Q367342 Q1230 Q1235 Q1235 Q192818 Q332709 Q312058 Q202209 Q202209 Q316226 Q50005 Q50005 Q50005 Q434786 Q153832 Q1224 Q11860 Q11860 Q11860 Q316288 Q316288 Q208100 Q171834 Q171834 Q38484 Q38484 Q674957 Q336259 Q314004 Q47904 Q273228 Q273228 Q273228 Q273228 Q273228
(c(Q502895),P39,Q332711) (c(Q502895),P39,Q1714174) (c(Q502895),P39,Q796897)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWER], [ANSWER] and [ANSWER] held the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q332711'] [{'concept': 'Q502895'}, 'P39', 'Q1714174'] [{'concept': 'Q502895'}, 'P39', 'Q796897']
SELECT DISTINCT ?n WHERE { ?n property:P39 ?m . ?n rdf:type ontology:Q502895 . VALUES ( ?m ) { ( resource:Q3721646 ) ( resource:Q1321872 ) ( resource:Q26877879 ) } }
Enrico De Nicola Giovanni Gronchi Antonio Segni Luigi Einaudi Giorgio Napolitano Giuseppe Saragat Francesco Cossiga Sandro Pertini Giovanni Leone Oscar Luigi Scalfaro Carlo Azeglio Ciampi Sergio Mattarella Giuseppe Capograssi Giuseppe Cappi Fernando Santosuosso Arnaldo Maccarone Giovanni Maria Flick Alfonso Quaranta Virgilio Andrioli Paolo Maddalena Vincenzo Trimarchi Gabriele Pescatore Enrico De Nicola Franco Gallo Antonino De Stefano Giuseppe Castelli Avolio Enzo Cheli Renato Dell'Andro Oronzo Reale Aldo Sandulli Francesco Pantaleo Gabrieli Giorgio Lattanzi Cesare Ruperto Giuliano Vassalli Tomaso Perassi Antonino Papaldo Leonetto Amadei Giancarlo Coraggio Gustavo Zagrebelsky Francesco Paolo Bonifacio Francesco Amirante Giuseppe Ferrari Giovanni Battista Benedetti Ettore Gallo Angelo De Marco Michele Rossano Guglielmo Roehrssen Gaspare Ambrosini Mario Cosatti Luigi Mazzella Valerio Onida Giuseppe Chiarelli Silvana Sciarra Antonio Mario La Pergola Carlo Mezzanotte Mario Rosario Morelli Ugo Spagnoli Mauro Ferri Cesare Mirabelli Giuseppe Frigo Nicolò Zanon Guido Neppi Modona Antonio Manca Paolo Grossi Vincenzo Caianiello Brunetto Bucciarelli Ducci Edoardo Volterra Romano Vaccarella Giuliano Amato Giulio Gionfrida Luigi Oggioni Alberto Malagugini Ugo De Siervo Francesco Paolo Casavola Antonio Baldassarre Alessandro Criscuolo Mario Bracci Giovanni Cassandro Piero Alberto Capotosti Ernesto Battaglini Aldo Carosi Sabino Cassese Giovanni Conso Aldo Corasaniti Nicola Reale Vezio Crisafulli Nicola Jaeger Francesco Greco Gaetano Azzariti Francesco Guizzi Francesco Saja Michele Fragali Giuseppe Verzì Luigi Mengoni Gaetano Silvestri Fernanda Contri Giuseppe Lampis Giuseppe Borzellino Marta Cartabia Costantino Mortati Massimo Vari Maria Rita Saulle Giuseppe Branca Ercole Rocchetti Leopoldo Elia Livio Paladin Annibale Marini Daria de Pretis Enzo Capalozza Biagio Petrocelli Paolo Rossi Alfio Finocchiaro Franco Bile Giuseppe Tesauro Renato Granata Sergio Mattarella Guido Astuti Riccardo Chieppa Paolo Maria Napolitano Adone Zoli Matteo Renzi Antonio Segni Antonio Segni Massimo D'Alema Giuseppe Pella Mario Scelba Francesco Cossiga Giovanni Leone Giovanni Leone Bettino Craxi Giovanni Spadolini Emilio Colombo Giuliano Amato Giuliano Amato Ciriaco De Mita Giulio Andreotti Giulio Andreotti Giulio Andreotti Arnaldo Forlani Alcide De Gasperi Carlo Azeglio Ciampi Silvio Berlusconi Silvio Berlusconi Silvio Berlusconi Mariano Rumor Mariano Rumor Lamberto Dini Aldo Moro Aldo Moro Romano Prodi Romano Prodi Enrico Letta Giovanni Goria Fernando Tambroni Mario Monti Amintore Fanfani Amintore Fanfani Amintore Fanfani Amintore Fanfani Amintore Fanfani
Silvio Berlusconi, Silvio Berlusconi and Silvio Berlusconi held the position of those occupations
Silvio Berlusconi Silvio Berlusconi Silvio Berlusconi
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Italy'] [{'concept': 'common name'}, 'position held', 'judge of the Constitutional Court of Italy'] [{'concept': 'common name'}, 'position held', 'Prime Minister of Italy']
SELECT DISTINCT ?n WHERE { ?n property:position_held ?m . ?n rdf:type ontology:common_name . VALUES ( ?m ) { ( resource:Italian_Minister_of_Education ) ( resource:Minister_of_Foreign_Affairs ) ( resource:minister_of_the_Navy_of_Italy ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q332711
P163
Q17335294
USER
What has President of Italy as its flag
(Q11860,P163,c(Q17335294)) (Q11860,P163,c(Q17335294)) (Q11860,P163,c(Q17335294))
action filter_type
action find
entity Q332711
relation P163
type Q17335294
['Q11860', 'P163', {'concept': 'Q17335294'}] ['Q11860', 'P163', {'concept': 'Q17335294'}] ['Q11860', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?t WHERE { resource:Q332711 property:P163 ?t . ?t rdf:type ontology:Q17335294 }
President of Italy
action filter_type
action find
entity President of Italy
relation flag
type flag or coat of arms
['Silvio Berlusconi', 'flag', {'concept': 'flag or coat of arms'}] ['Silvio Berlusconi', 'flag', {'concept': 'flag or coat of arms'}] ['Silvio Berlusconi', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?t WHERE { resource:President_of_Italy property:flag ?t . ?t rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q3973088
SYSTEM
Standard of the President of the Italian Republic
Q3973088
(Q11860,P163,c(Q17335294)) (Q11860,P163,c(Q17335294)) (Q11860,P163,c(Q17335294))
action filter_type
action find
entity Q332711
relation P163
type Q17335294
The [ANSWER] has President of Italy as its flag
['Q11860', 'P163', {'concept': 'Q17335294'}] ['Q11860', 'P163', {'concept': 'Q17335294'}] ['Q11860', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?t WHERE { resource:Q332711 property:P163 ?t . ?t rdf:type ontology:Q17335294 }
Standard of the President of the Italian Republic
The Standard of the President of the Italian Republic has President of Italy as its flag
Standard of the President of the Italian Republic
action filter_type
action find
entity President of Italy
relation flag
type flag or coat of arms
['Silvio Berlusconi', 'flag', {'concept': 'flag or coat of arms'}] ['Silvio Berlusconi', 'flag', {'concept': 'flag or coat of arms'}] ['Silvio Berlusconi', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?t WHERE { resource:President_of_Italy property:flag ?t . ?t rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1715101 Q171500
P106
Q12737077
USER
Which occupations do Haile Gebrselassie or Józef Niewiadomski do for a living ?
OR((Q171500,P106,c(Q12737077)), (Q1715101,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q171500
relation P106
action find
entity Q1715101
relation P106
type Q12737077
{'OR': [['Q171500', 'P106', {'concept': 'Q12737077'}], ['Q1715101', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q171500 property:P106 ?l } UNION { resource:Q1715101 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
Józef Niewiadomski Haile Gebrselassie
action filter_type
action union
action find
entity Haile Gebrselassie
relation occupation
action find
entity Józef Niewiadomski
relation occupation
type occupation
{'OR': [['Haile Gebrselassie', 'occupation', {'concept': 'occupation'}], ['Józef Niewiadomski', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Haile_Gebrselassie property:occupation ?l } UNION { resource:Józef_Niewiadomski property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
occupation
Q4439155 Q1234713 Q13382460 Q1622272
SYSTEM
long-distance runner, theologian, marathon runner, university teacher
Q4439155 Q1234713 Q13382460 Q1622272
OR((Q171500,P106,c(Q12737077)), (Q1715101,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q171500
relation P106
action find
entity Q1715101
relation P106
type Q12737077
Haile Gebrselassie or Józef Niewiadomski do for a living as [ANSWERS]
{'OR': [['Q171500', 'P106', {'concept': 'Q12737077'}], ['Q1715101', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q171500 property:P106 ?l } UNION { resource:Q1715101 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
long-distance runner theologian marathon runner university teacher
Haile Gebrselassie or Józef Niewiadomski do for a living as long-distance runner, theologian, marathon runner and university teacher
long-distance runner theologian marathon runner university teacher
action filter_type
action union
action find
entity Haile Gebrselassie
relation occupation
action find
entity Józef Niewiadomski
relation occupation
type occupation
{'OR': [['Haile Gebrselassie', 'occupation', {'concept': 'occupation'}], ['Józef Niewiadomski', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Haile_Gebrselassie property:occupation ?l } UNION { resource:Józef_Niewiadomski property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q449478 Q796897
P27 P1001
Q15617994
USER
Which administrative territories come under the jurisdiction of Prime Minister of Italy or are the native countriesof Ole Gabriel Gabrielsen Ueland ?
OR((Q796897,P1001,c(Q15617994)), (Q449478,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q796897
relation P1001
action find
entity Q449478
relation P27
type Q15617994
{'OR': [['Q796897', 'P1001', {'concept': 'Q15617994'}], ['Q449478', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q449478 property:P27 ?u } UNION { resource:Q796897 property:P1001 ?u } } }
Ole Gabriel Gabrielsen Ueland Prime Minister of Italy
action filter_type
action union
action find
entity Prime Minister of Italy
relation applies to jurisdiction
action find
entity Ole Gabriel Gabrielsen Ueland
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Prime Minister of Italy', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Ole Gabriel Gabrielsen Ueland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ole_Gabriel_Gabrielsen_Ueland property:country_of_citizenship ?u } UNION { resource:Prime_Minister_of_Italy property:applies_to_jurisdiction ?u } } }
[]
designation for an administrative territorial entity
Q20 Q38
SYSTEM
Norway, Italy
Q20 Q38
OR((Q796897,P1001,c(Q15617994)), (Q449478,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q796897
relation P1001
action find
entity Q449478
relation P27
type Q15617994
[ANSWERS] come under the jurisdiction of Prime Minister of Italy or are the native countriesof Ole Gabriel Gabrielsen Ueland
{'OR': [['Q796897', 'P1001', {'concept': 'Q15617994'}], ['Q449478', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q449478 property:P27 ?u } UNION { resource:Q796897 property:P1001 ?u } } }
Norway Italy
Norway and Italy come under the jurisdiction of Prime Minister of Italy or are the native countriesof Ole Gabriel Gabrielsen Ueland
Norway Italy
action filter_type
action union
action find
entity Prime Minister of Italy
relation applies to jurisdiction
action find
entity Ole Gabriel Gabrielsen Ueland
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Prime Minister of Italy', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Ole Gabriel Gabrielsen Ueland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Ole_Gabriel_Gabrielsen_Ueland property:country_of_citizenship ?u } UNION { resource:Prime_Minister_of_Italy property:applies_to_jurisdiction ?u } } }
[]