Simple Question (Direct)
Simple Question
Q429464
P1412
Q34770
USER
Which language can Juan José Nogués read ?
(Q429464,P1412,c(Q34770))
action filter_type
action find
entity Q429464
relation P1412
type Q34770
['Q429464', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q429464 property:P1412 ?p }
Juan José Nogués
action filter_type
action find
entity Juan José Nogués
relation languages spoken, written or signed
type language
['Juan José Nogués', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Juan_José_Nogués property:languages_spoken,_written_or_signed ?p }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q429464,P1412,c(Q34770))
action filter_type
action find
entity Q429464
relation P1412
type Q34770
Juan José Nogués can read in [ANSWER]
['Q429464', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q429464 property:P1412 ?p }
Spanish
Juan José Nogués can read in Spanish
Spanish
action filter_type
action find
entity Juan José Nogués
relation languages spoken, written or signed
type language
['Juan José Nogués', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Juan_José_Nogués property:languages_spoken,_written_or_signed ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q429464
P1344
Q15275719
USER
Which recurring event did Juan José Nogués participate in ?
(Q429464,P1344,c(Q15275719))
action filter_type
action find
entity Q429464
relation P1344
type Q15275719
['Q429464', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?o WHERE { resource:Q429464 property:P1344 ?o . ?o rdf:type ontology:Q15275719 }
Juan José Nogués
action filter_type
action find
entity Juan José Nogués
relation participant of
type recurring event
['Juan José Nogués', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?o WHERE { resource:Juan_José_Nogués property:participant_of ?o . ?o rdf:type ontology:recurring_event }
[]
recurring event
Q1477177
SYSTEM
1934 FIFA World Cup
Q1477177
(Q429464,P1344,c(Q15275719))
action filter_type
action find
entity Q429464
relation P1344
type Q15275719
Juan José Nogués participated in [ANSWER]
['Q429464', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?o WHERE { resource:Q429464 property:P1344 ?o . ?o rdf:type ontology:Q15275719 }
1934 FIFA World Cup
Juan José Nogués participated in 1934 FIFA World Cup
1934 FIFA World Cup
action filter_type
action find
entity Juan José Nogués
relation participant of
type recurring event
['Juan José Nogués', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?o WHERE { resource:Juan_José_Nogués property:participant_of ?o . ?o rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1477177
P276
Q483110
USER
Which stadia are the place where that recurring event are located ?
(Q1477177,P276,c(Q483110))
action filter_type
action find
entity Q1477177
relation P276
type Q483110
['Q1477177', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?o WHERE { resource:Q1477177 property:P276 ?o . ?o rdf:type ontology:Q483110 }
1934 FIFA World Cup
action filter_type
action find
entity 1934 FIFA World Cup
relation location
type stadium
['1934 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?o WHERE { resource:1934_FIFA_World_Cup property:location ?o . ?o rdf:type ontology:stadium }
[]
stadium
Q757182 Q133566 Q642958
SYSTEM
Stadio Renato Dall'Ara, Stadio Giuseppe Meazza, Stadio Nazionale PNF
Q642958 Q1010594 Q1627980 Q757182 Q133566 Q271568
(Q1477177,P276,c(Q483110))
action filter_type
action find
entity Q1477177
relation P276
type Q483110
[ANSWERS] are the place where that recurring event are located
['Q1477177', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?o WHERE { resource:Q1477177 property:P276 ?o . ?o rdf:type ontology:Q483110 }
Stadio Nazionale PNF Stadio Giorgio Ascarelli Stadio Giuseppe Grezar Stadio Renato Dall'Ara Stadio Giuseppe Meazza Stadio Luigi Ferraris
Stadio Renato Dall'Ara, Stadio Giuseppe Meazza and Stadio Nazionale PNF are the place where that recurring event are located
Stadio Renato Dall'Ara Stadio Giuseppe Meazza Stadio Nazionale PNF
action filter_type
action find
entity 1934 FIFA World Cup
relation location
type stadium
['1934 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?o WHERE { resource:1934_FIFA_World_Cup property:location ?o . ?o rdf:type ontology:stadium }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q47735
Q483110
USER
And also tell me about 2002 FIFA World Cup?
(Q47735,P276,c(Q483110))
action filter_type
action find
entity Q47735
relation P276
type Q483110
['Q47735', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q483110 . resource:Q47735 property:P276 ?n }
2002 FIFA World Cup
action filter_type
action find
entity 2002 FIFA World Cup
relation location
type stadium
['2002 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:stadium . resource:2002_FIFA_World_Cup property:location ?n }
[]
stadium
Q562072 Q494773 Q482598
SYSTEM
Jeonju World Cup Stadium, Miyagi Stadium, Daejeon World Cup Stadium
Q482585 Q482591 Q482601 Q482598 Q562072 Q482589 Q482446 Q494773 Q494769 Q175477 Q494758
(Q47735,P276,c(Q483110))
action filter_type
action find
entity Q47735
relation P276
type Q483110
[ANSWERS]
['Q47735', 'P276', {'concept': 'Q483110'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q483110 . resource:Q47735 property:P276 ?n }
Jeju World Cup Stadium Shizuoka Stadium Ulsan Munsu Football Stadium Daejeon World Cup Stadium Jeonju World Cup Stadium Busan Asiad Main Stadium Saitama Stadium 2002 Miyagi Stadium Kashima Soccer Stadium Seoul World Cup Stadium Gwangju World Cup Stadium
Jeonju World Cup Stadium Miyagi Stadium Daejeon World Cup Stadium
action filter_type
action find
entity 2002 FIFA World Cup
relation location
type stadium
['2002 FIFA World Cup', 'location', {'concept': 'stadium'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:stadium . resource:2002_FIFA_World_Cup property:location ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q757182
P84
Q502895
USER
Who designed the architecture of Stadio Renato Dall'Ara ?
(Q757182,P84,c(Q502895))
action filter_type
action find
entity Q757182
relation P84
type Q502895
['Q757182', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q757182 property:P84 ?e . ?e rdf:type ontology:Q502895 }
Stadio Renato Dall'Ara
action filter_type
action find
entity Stadio Renato Dall'Ara
relation architect
type common name
["Stadio Renato Dall'Ara", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Stadio_Renato_Dall'Ara property:architect ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2655551
SYSTEM
Giulio Ulisse Arata
Q2655551
(Q757182,P84,c(Q502895))
action filter_type
action find
entity Q757182
relation P84
type Q502895
[ANSWER] designed the architecture of Stadio Renato Dall'Ara
['Q757182', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q757182 property:P84 ?e . ?e rdf:type ontology:Q502895 }
Giulio Ulisse Arata
Giulio Ulisse Arata designed the architecture of Stadio Renato Dall'Ara
Giulio Ulisse Arata
action filter_type
action find
entity Stadio Renato Dall'Ara
relation architect
type common name
["Stadio Renato Dall'Ara", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Stadio_Renato_Dall'Ara property:architect ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q757182
P800
Q502895
USER
Which person is accredited with being the author of the notable work Stadio Renato Dall'Ara ?
(c(Q502895),P800,Q757182)
action filter_type
action find_reverse
entity Q757182
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q757182']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P800 resource:Q757182 }
Stadio Renato Dall'Ara
action filter_type
action find_reverse
entity Stadio Renato Dall'Ara
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "Stadio Renato Dall'Ara"]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:notable_work resource:Stadio_Renato_Dall'Ara }
[]
common name
Q2655551
SYSTEM
Giulio Ulisse Arata
Q2655551
(c(Q502895),P800,Q757182)
action filter_type
action find_reverse
entity Q757182
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work Stadio Renato Dall'Ara
[{'concept': 'Q502895'}, 'P800', 'Q757182']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P800 resource:Q757182 }
Giulio Ulisse Arata
Giulio Ulisse Arata is accredited with being the author of the notable work Stadio Renato Dall'Ara
Giulio Ulisse Arata
action filter_type
action find_reverse
entity Stadio Renato Dall'Ara
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', "Stadio Renato Dall'Ara"]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:notable_work resource:Stadio_Renato_Dall'Ara }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q757182
P127
Q56061
USER
Which administrative territory owned Stadio Renato Dall'Ara ?
(Q757182,P127,c(Q56061))
action filter_type
action find
entity Q757182
relation P127
type Q56061
['Q757182', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q757182 property:P127 ?u . ?u rdf:type ontology:Q56061 }
Stadio Renato Dall'Ara
action filter_type
action find
entity Stadio Renato Dall'Ara
relation owned by
type administrative territorial entity
["Stadio Renato Dall'Ara", 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Stadio_Renato_Dall'Ara property:owned_by ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1891
SYSTEM
Bologna
Q1891
(Q757182,P127,c(Q56061))
action filter_type
action find
entity Q757182
relation P127
type Q56061
[ANSWER] owned Stadio Renato Dall'Ara
['Q757182', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q757182 property:P127 ?u . ?u rdf:type ontology:Q56061 }
Bologna
Bologna owned Stadio Renato Dall'Ara
Bologna
action filter_type
action find
entity Stadio Renato Dall'Ara
relation owned by
type administrative territorial entity
["Stadio Renato Dall'Ara", 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Stadio_Renato_Dall'Ara property:owned_by ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1891 Q2671003
P19
Q502895
USER
Was Martina Grimaldi born at that administrative territory ?
(Q2671003,P19,Q1891)
action is_in
entity Q1891
action find
entity Q2671003
relation P19
['Q2671003', 'P19', 'Q1891']
ASK WHERE { resource:Q2671003 property:P19 resource:Q1891 }
Bologna Martina Grimaldi
action is_in
entity Bologna
action find
entity Martina Grimaldi
relation place of birth
['Martina Grimaldi', 'place of birth', 'Bologna']
ASK WHERE { resource:Martina_Grimaldi property:place_of_birth resource:Bologna }
[]
common name
SYSTEM
YES
(Q2671003,P19,Q1891)
action is_in
entity Q1891
action find
entity Q2671003
relation P19
[ANSWER]
['Q2671003', 'P19', 'Q1891']
ASK WHERE { resource:Q2671003 property:P19 resource:Q1891 }
Yes
action is_in
entity Bologna
action find
entity Martina Grimaldi
relation place of birth
['Martina Grimaldi', 'place of birth', 'Bologna']
ASK WHERE { resource:Martina_Grimaldi property:place_of_birth resource:Bologna }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3110592
P37
Q34770 Q1048835 Q15617994
USER
Which languages are considered to be the official language of more number of political territories or administrative territories than written Chinese ?
(c(Q1048835)|c(Q15617994),P37,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q3110592
relation P37
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q34770 . ?a property:P37 ?p } UNION { ?a property:P37 ?p . ?p rdf:type ontology:Q34770 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { { ?s rdf:type ontology:Q1048835 } UNION { ?s rdf:type ontology:Q15617994 } } . ?s property:P37 resource:Q3110592 } } }
written Chinese
action greater
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 designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity written Chinese
relation official language
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:language . ?a property:official_language ?p } UNION { ?a property:official_language ?p . ?p rdf:type ontology:language . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { { ?s rdf:type ontology:political_territorial_entity } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?s property:official_language resource:written_Chinese } } }
[]
language political territorial entity designation for an administrative territorial entity
Q1860 Q9056 Q8752
SYSTEM
English, Czech, Basque
Q9056 Q1860 Q652 Q8752 Q1321 Q397 Q8785
(c(Q1048835)|c(Q15617994),P37,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q3110592
relation P37
type Q1048835
type Q15617994
[ANSWERS] are considered to be the official language of more number of political territories or administrative territories than written Chinese
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q34770 . ?a property:P37 ?p } UNION { ?a property:P37 ?p . ?p rdf:type ontology:Q34770 . ?a rdf:type ontology:Q15617994 } } GROUP BY ?p } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { { ?s rdf:type ontology:Q1048835 } UNION { ?s rdf:type ontology:Q15617994 } } . ?s property:P37 resource:Q3110592 } } }
Czech English Italian Basque Spanish Latin Armenian
English, Czech and Basque are considered to be the official language of more number of political territories or administrative territories than written Chinese
English Czech Basque
action greater
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 designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity written Chinese
relation official language
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?p WHERE { { ?a rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:language . ?a property:official_language ?p } UNION { ?a property:official_language ?p . ?p rdf:type ontology:language . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } . FILTER ( ?j > ?l ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { { ?s rdf:type ontology:political_territorial_entity } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . ?s property:official_language resource:written_Chinese } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4857121 Q482598
P17
Q15617994
USER
Which administrative territories are Daejeon World Cup Stadium or Bansgaon village situated in ?
OR((Q482598,P17,c(Q15617994)), (Q4857121,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q482598
relation P17
action find
entity Q4857121
relation P17
type Q15617994
{'OR': [['Q482598', 'P17', {'concept': 'Q15617994'}], ['Q4857121', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q482598 property:P17 ?p } UNION { resource:Q4857121 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Bansgaon village Daejeon World Cup Stadium
action filter_type
action union
action find
entity Daejeon World Cup Stadium
relation country
action find
entity Bansgaon village
relation country
type designation for an administrative territorial entity
{'OR': [['Daejeon World Cup Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bansgaon village', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Daejeon_World_Cup_Stadium property:country ?p } UNION { resource:Bansgaon_village property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q884 Q668
SYSTEM
Japan, South Korea, India
Q17 Q884 Q668
OR((Q482598,P17,c(Q15617994)), (Q4857121,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q482598
relation P17
action find
entity Q4857121
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q482598', 'P17', {'concept': 'Q15617994'}], ['Q4857121', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q482598 property:P17 ?p } UNION { resource:Q4857121 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Japan South Korea India
Which administrative territories are Daejeon World Cup Stadium or Bansgaon village situated in
Japan South Korea India
action filter_type
action union
action find
entity Daejeon World Cup Stadium
relation country
action find
entity Bansgaon village
relation country
type designation for an administrative territorial entity
{'OR': [['Daejeon World Cup Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bansgaon village', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Daejeon_World_Cup_Stadium property:country ?p } UNION { resource:Bansgaon_village property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q884 Q668
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of Japan, South Korea and India ?
(Q17,P1313,c(Q12737077)) (Q884,P1313,c(Q12737077)) (Q668,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q17
relation P1313
type Q12737077
action filter_type
action find
entity Q884
relation P1313
type Q12737077
action filter_type
action find
entity Q668
relation P1313
type Q12737077
['Q17', 'P1313', {'concept': 'Q12737077'}] ['Q884', 'P1313', {'concept': 'Q12737077'}] ['Q668', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { resource:Q17 property:P1313 ?j . ?j rdf:type ontology:Q12737077 } UNION { resource:Q884 property:P1313 ?j . ?j rdf:type ontology:Q12737077 } }
Japan South Korea India
action union
action filter_type
action find
entity Japan
relation office held by head of government
type occupation
action filter_type
action find
entity South Korea
relation office held by head of government
type occupation
action filter_type
action find
entity India
relation office held by head of government
type occupation
['Japan', 'office held by head of government', {'concept': 'occupation'}] ['South Korea', 'office held by head of government', {'concept': 'occupation'}] ['India', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { resource:Japan property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation } UNION { resource:South_Korea property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation } }
[]
occupation
Q274948 Q6296418 Q192711
SYSTEM
Prime Minister of Japan, President of South Korea, Prime Minister of India
Q274948 Q6296418 Q192711
(Q17,P1313,c(Q12737077)) (Q884,P1313,c(Q12737077)) (Q668,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q17
relation P1313
type Q12737077
action filter_type
action find
entity Q884
relation P1313
type Q12737077
action filter_type
action find
entity Q668
relation P1313
type Q12737077
[ANSWERS] serve as the political office that are fulfilled by the head of the government of Japan, South Korea and India
['Q17', 'P1313', {'concept': 'Q12737077'}] ['Q884', 'P1313', {'concept': 'Q12737077'}] ['Q668', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { resource:Q17 property:P1313 ?j . ?j rdf:type ontology:Q12737077 } UNION { resource:Q884 property:P1313 ?j . ?j rdf:type ontology:Q12737077 } }
Prime Minister of Japan President of South Korea Prime Minister of India
Prime Minister of Japan, President of South Korea and Prime Minister of India serve as the political office that are fulfilled by the head of the government of Japan, South Korea and India
Prime Minister of Japan President of South Korea Prime Minister of India
action union
action filter_type
action find
entity Japan
relation office held by head of government
type occupation
action filter_type
action find
entity South Korea
relation office held by head of government
type occupation
action filter_type
action find
entity India
relation office held by head of government
type occupation
['Japan', 'office held by head of government', {'concept': 'occupation'}] ['South Korea', 'office held by head of government', {'concept': 'occupation'}] ['India', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { resource:Japan property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation } UNION { resource:South_Korea property:office_held_by_head_of_government ?j . ?j rdf:type ontology:occupation } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q274948 Q6296418 Q192711
P39
Q502895
USER
Which people were responsible for occupying the position of those occupations ?
(c(Q502895),P39,Q274948) (c(Q502895),P39,Q6296418) (c(Q502895),P39,Q192711)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q274948'] [{'concept': 'Q502895'}, 'P39', 'Q6296418'] [{'concept': 'Q502895'}, 'P39', 'Q192711']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q274948 ) ( resource:Q6296418 ) ( resource:Q192711 ) } . ?h property:P39 ?n }
Prime Minister of Japan President of South Korea Prime Minister of India
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Japan'] [{'concept': 'common name'}, 'position held', 'President of South Korea'] [{'concept': 'common name'}, 'position held', 'Prime Minister of India']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Prime_Minister_of_Japan ) ( resource:President_of_South_Korea ) ( resource:Prime_Minister_of_India ) } . ?h property:position_held ?n }
[]
common name
Q1047 Q174971 Q1149
SYSTEM
Jawaharlal Nehru, Ito Hirobumi, Indira Gandhi
Q131077 Q145416 Q299142 Q315594 Q174971 Q315584 Q101137 Q315572 Q57647 Q4479990 Q132345 Q132345 Q714951 Q317675 Q297644 Q715231 Q130852 Q179871 Q313339 Q335194 Q335191 Q335198 Q335188 Q379996 Q335177 Q335177 Q351652 Q351661 Q351665 Q354687 Q233499 Q309374 Q315591 Q315549 Q744989 Q301804 Q301804 Q333589 Q47846 Q250828 Q315568 Q315565 Q132596 Q310126 Q315555 Q315551 Q315720 Q315725 Q315574 Q315579 Q315561 Q242651 Q138048 Q192049 Q171684 Q313350 Q45785 Q380681 Q165210 Q14362 Q14356 Q14345 Q14342 Q1058 Q233289 Q233289 Q41914 Q248484 Q244689 Q317769 Q334279 Q1149 Q1149 Q319824 Q377870 Q4593 Q275146 Q315338 Q1047 Q218661
(c(Q502895),P39,Q274948) (c(Q502895),P39,Q6296418) (c(Q502895),P39,Q192711)
action filter_type
action find_reverse
entity prev_answer
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of those occupations
[{'concept': 'Q502895'}, 'P39', 'Q274948'] [{'concept': 'Q502895'}, 'P39', 'Q6296418'] [{'concept': 'Q502895'}, 'P39', 'Q192711']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . VALUES ( ?n ) { ( resource:Q274948 ) ( resource:Q6296418 ) ( resource:Q192711 ) } . ?h property:P39 ?n }
Yukio Hatoyama Tanaka Giichi Hayato Ikeda Fumimaro Konoe Ito Hirobumi Takeo Fukuda Yasuo Fukuda Nobusuke Kishi Yoshihiko Noda Kenzō Yoshida Shinzō Abe Shinzō Abe Keisuke Okada Takeo Miki Kakuei Tanaka Mitsumasa Yonai Junichiro Koizumi Eisaku Satō Keizō Obuchi Tetsu Katayama Kijūrō Shidehara Kantarō Suzuki Saitō Makoto Hiranuma Kiichirō Wakatsuki Reijirō Wakatsuki Reijirō Kōki Hirota Osachi Hamaguchi Senjūrō Hayashi Inukai Tsuyoshi Yoshiro Mori Ryūtarō Hashimoto Sōsuke Uno Kuniaki Koiso Masayoshi Ito Shigeru Yoshida Shigeru Yoshida Ichirō Hatoyama Naoto Kan Yasuhiro Nakasone Masayoshi Ōhira Kiichi Miyazawa Taro Aso Tomiichi Murayama Morihiro Hosokawa Zenkō Suzuki Tsutomu Hata Hitoshi Ashida Nobuyuki Abe Toshiki Kaifu Noboru Takeshita Roh Tae-woo Park Geun-hye Yun Posun Rhee Syng-man Choi Kyu-ha Kim Dae-jung Goh Kun Kim Young-sam Chun Doo-hwan Park Chung-hee Roh Moo-hyun Lee Myung-bak Narendra Modi Atal Bihari Vajpayee Atal Bihari Vajpayee Manmohan Singh I. K. Gujral Lal Bahadur Shastri Gulzarilal Nanda Chandra Shekhar Indira Gandhi Indira Gandhi Charan Singh H. D. Deve Gowda Rajiv Gandhi P. V. Narasimha Rao V. P. Singh Jawaharlal Nehru Morarji Desai
Jawaharlal Nehru, Ito Hirobumi and Indira Gandhi were responsible for occupying the position of those occupations
Jawaharlal Nehru Ito Hirobumi Indira Gandhi
action filter_type
action find_reverse
entity prev_answer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Prime Minister of Japan'] [{'concept': 'common name'}, 'position held', 'President of South Korea'] [{'concept': 'common name'}, 'position held', 'Prime Minister of India']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . VALUES ( ?n ) { ( resource:Prime_Minister_of_Japan ) ( resource:President_of_South_Korea ) ( resource:Prime_Minister_of_India ) } . ?h property:position_held ?n }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1047 Q174971 Q1149
P26
Q502895
USER
Who are married to those ones ?
(c(Q502895),P26,Q1047) (c(Q502895),P26,Q174971) (c(Q502895),P26,Q1149)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1047'] [{'concept': 'Q502895'}, 'P26', 'Q174971'] [{'concept': 'Q502895'}, 'P26', 'Q1149']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?m property:P26 ?r . VALUES ( ?m ) { ( resource:Q131077 ) ( resource:Q145416 ) ( resource:Q299142 ) } }
Jawaharlal Nehru Ito Hirobumi Indira Gandhi
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jawaharlal Nehru'] [{'concept': 'common name'}, 'spouse', 'Ito Hirobumi'] [{'concept': 'common name'}, 'spouse', 'Indira Gandhi']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?m property:spouse ?r . VALUES ( ?m ) { ( resource:Yukio_Hatoyama ) ( resource:Tanaka_Giichi ) ( resource:Hayato_Ikeda ) } }
[]
common name
Q3633365 Q4205319 Q554175
SYSTEM
Kamala Nehru, Itō Umeko, Feroze Gandhi
Q3633365 Q4205319 Q554175
(c(Q502895),P26,Q1047) (c(Q502895),P26,Q174971) (c(Q502895),P26,Q1149)
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are married to those ones
[{'concept': 'Q502895'}, 'P26', 'Q1047'] [{'concept': 'Q502895'}, 'P26', 'Q174971'] [{'concept': 'Q502895'}, 'P26', 'Q1149']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?m property:P26 ?r . VALUES ( ?m ) { ( resource:Q131077 ) ( resource:Q145416 ) ( resource:Q299142 ) } }
Kamala Nehru Itō Umeko Feroze Gandhi
Kamala Nehru, Itō Umeko and Feroze Gandhi are married to those ones
Kamala Nehru Itō Umeko Feroze Gandhi
action filter_type
action find
entity prev_answer
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jawaharlal Nehru'] [{'concept': 'common name'}, 'spouse', 'Ito Hirobumi'] [{'concept': 'common name'}, 'spouse', 'Indira Gandhi']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?m property:spouse ?r . VALUES ( ?m ) { ( resource:Yukio_Hatoyama ) ( resource:Tanaka_Giichi ) ( resource:Hayato_Ikeda ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q554175
P22
Q502895
USER
Which people have Feroze Gandhi as dad ?
(c(Q502895),P22,Q554175)
action filter_type
action find_reverse
entity Q554175
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q554175']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q554175 }
Feroze Gandhi
action filter_type
action find_reverse
entity Feroze Gandhi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Feroze Gandhi']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Feroze_Gandhi }
[]
common name
Q730045 Q4593
SYSTEM
Sanjay Gandhi, Rajiv Gandhi
Q730045 Q4593
(c(Q502895),P22,Q554175)
action filter_type
action find_reverse
entity Q554175
relation P22
type Q502895
[ANSWERS] have Feroze Gandhi as dad
[{'concept': 'Q502895'}, 'P22', 'Q554175']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q554175 }
Sanjay Gandhi Rajiv Gandhi
Sanjay Gandhi and Rajiv Gandhi have Feroze Gandhi as dad
Sanjay Gandhi Rajiv Gandhi
action filter_type
action find_reverse
entity Feroze Gandhi
relation father
type common name
[{'concept': 'common name'}, 'father', 'Feroze Gandhi']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Feroze_Gandhi }
[]