Simple Question (Direct)
Simple Question
Q3749833
P1412
Q34770
USER
Which language can Francesco consentino read ?
(Q3749833,P1412,c(Q34770))
action filter_type
action find
entity Q3749833
relation P1412
type Q34770
['Q3749833', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3749833 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Francesco consentino
action filter_type
action find
entity Francesco consentino
relation languages spoken, written or signed
type language
['Francesco consentino', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Francesco_consentino property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3749833,P1412,c(Q34770))
action filter_type
action find
entity Q3749833
relation P1412
type Q34770
Francesco consentino can read in [ANSWER]
['Q3749833', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3749833 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Italian
Francesco consentino can read in Italian
Italian
action filter_type
action find
entity Francesco consentino
relation languages spoken, written or signed
type language
['Francesco consentino', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Francesco_consentino property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3749833
P102
Q7210356
USER
Which political organization is Francesco consentino a member of ?
(Q3749833,P102,c(Q7210356))
action filter_type
action find
entity Q3749833
relation P102
type Q7210356
['Q3749833', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q3749833 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Francesco consentino
action filter_type
action find
entity Francesco consentino
relation member of political party
type political organization
['Francesco consentino', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Francesco_consentino property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q815348
SYSTEM
Christian Democracy
Q815348
(Q3749833,P102,c(Q7210356))
action filter_type
action find
entity Q3749833
relation P102
type Q7210356
The [ANSWER] is Francesco consentino a member of
['Q3749833', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q3749833 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Christian Democracy
The Christian Democracy is Francesco consentino a member of
Christian Democracy
action filter_type
action find
entity Francesco consentino
relation member of political party
type political organization
['Francesco consentino', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Francesco_consentino property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q322924
Q7210356
USER
And also tell me about Renaud Dutreil?
(Q322924,P102,c(Q7210356))
action filter_type
action find
entity Q322924
relation P102
type Q7210356
['Q322924', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . resource:Q322924 property:P102 ?u }
Renaud Dutreil
action filter_type
action find
entity Renaud Dutreil
relation member of political party
type political organization
['Renaud Dutreil', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . resource:Renaud_Dutreil property:member_of_political_party ?u }
[]
political organization
Q173152 Q1542710 Q827415
SYSTEM
Union for a Popular Movement, Radical Party, Union for French Democracy
Q3366676 Q1542710 Q827415 Q686372 Q173152
(Q322924,P102,c(Q7210356))
action filter_type
action find
entity Q322924
relation P102
type Q7210356
[ANSWERS]
['Q322924', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q7210356 . resource:Q322924 property:P102 ?u }
Republican Party Radical Party Union for French Democracy Liberal Democracy Union for a Popular Movement
Union for a Popular Movement Radical Party Union for French Democracy
action filter_type
action find
entity Renaud Dutreil
relation member of political party
type political organization
['Renaud Dutreil', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_organization . resource:Renaud_Dutreil property:member_of_political_party ?u }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q173152 Q1542710 Q827415
P488
Q502895
USER
Who were the chairpersons of Union for a Popular Movement, Radical Party and Union for French Democracy ?
(Q173152,P488,c(Q502895)) (Q1542710,P488,c(Q502895)) (Q827415,P488,c(Q502895))
action union
action filter_type
action find
entity Q173152
relation P488
type Q502895
action filter_type
action find
entity Q1542710
relation P488
type Q502895
action filter_type
action find
entity Q827415
relation P488
type Q502895
['Q173152', 'P488', {'concept': 'Q502895'}] ['Q1542710', 'P488', {'concept': 'Q502895'}] ['Q827415', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?l property:P488 ?u . VALUES ( ?l ) { ( resource:Q1542710 ) ( resource:Q173152 ) } }
Union for a Popular Movement Radical Party Union for French Democracy
action union
action filter_type
action find
entity Union for a Popular Movement
relation chairperson
type common name
action filter_type
action find
entity Radical Party
relation chairperson
type common name
action filter_type
action find
entity Union for French Democracy
relation chairperson
type common name
['Union for a Popular Movement', 'chairperson', {'concept': 'common name'}] ['Radical Party', 'chairperson', {'concept': 'common name'}] ['Union for French Democracy', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?l property:chairperson ?u . VALUES ( ?l ) { ( resource:Radical_Party ) ( resource:Union_for_a_Popular_Movement ) } }
[]
common name
Q329 Q467781 Q12963
SYSTEM
Nicolas Sarkozy, Jean-Louis Borloo, François Bayrou
Q62354 Q329 Q467781 Q431565 Q12963
(Q173152,P488,c(Q502895)) (Q1542710,P488,c(Q502895)) (Q827415,P488,c(Q502895))
action union
action filter_type
action find
entity Q173152
relation P488
type Q502895
action filter_type
action find
entity Q1542710
relation P488
type Q502895
action filter_type
action find
entity Q827415
relation P488
type Q502895
The chairpersons of Union for a Popular Movement , Radical Party and Union for French Democracy were [ANSWERS]
['Q173152', 'P488', {'concept': 'Q502895'}] ['Q1542710', 'P488', {'concept': 'Q502895'}] ['Q827415', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?l property:P488 ?u . VALUES ( ?l ) { ( resource:Q1542710 ) ( resource:Q173152 ) } }
Jean-François Copé Nicolas Sarkozy Jean-Louis Borloo Jean-Jacques Servan-Schreiber François Bayrou
The chairpersons of Union for a Popular Movement , Radical Party and Union for French Democracy were Nicolas Sarkozy, Jean-Louis Borloo and François Bayrou
Nicolas Sarkozy Jean-Louis Borloo François Bayrou
action union
action filter_type
action find
entity Union for a Popular Movement
relation chairperson
type common name
action filter_type
action find
entity Radical Party
relation chairperson
type common name
action filter_type
action find
entity Union for French Democracy
relation chairperson
type common name
['Union for a Popular Movement', 'chairperson', {'concept': 'common name'}] ['Radical Party', 'chairperson', {'concept': 'common name'}] ['Union for French Democracy', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?l property:chairperson ?u . VALUES ( ?l ) { ( resource:Radical_Party ) ( resource:Union_for_a_Popular_Movement ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q329 Q467781 Q12963
P488
Q7210356
USER
Which political organizations do those people serve as a chairman for ?
(c(Q7210356),P488,Q329) (c(Q7210356),P488,Q467781) (c(Q7210356),P488,Q12963)
action filter_type
action find_reverse
entity prev_answer
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q329'] [{'concept': 'Q7210356'}, 'P488', 'Q467781'] [{'concept': 'Q7210356'}, 'P488', 'Q12963']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . VALUES ( ?n ) { ( resource:Q62354 ) ( resource:Q329 ) ( resource:Q467781 ) } . ?x property:P488 ?n }
Nicolas Sarkozy Jean-Louis Borloo François Bayrou
action filter_type
action find_reverse
entity prev_answer
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Nicolas Sarkozy'] [{'concept': 'political organization'}, 'chairperson', 'Jean-Louis Borloo'] [{'concept': 'political organization'}, 'chairperson', 'François Bayrou']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . VALUES ( ?n ) { ( resource:Jean-François_Copé ) ( resource:Nicolas_Sarkozy ) ( resource:Jean-Louis_Borloo ) } . ?x property:chairperson ?n }
[]
political organization
Q173152 Q587370 Q20012759
SYSTEM
Union for a Popular Movement, Democratic Movement, The Republicans
Q20012759 Q173152 Q82892 Q1542710 Q3076886 Q827415 Q587370
(c(Q7210356),P488,Q329) (c(Q7210356),P488,Q467781) (c(Q7210356),P488,Q12963)
action filter_type
action find_reverse
entity prev_answer
relation P488
type Q7210356
Those people serve as a chairman for the [ANSWERS]
[{'concept': 'Q7210356'}, 'P488', 'Q329'] [{'concept': 'Q7210356'}, 'P488', 'Q467781'] [{'concept': 'Q7210356'}, 'P488', 'Q12963']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . VALUES ( ?n ) { ( resource:Q62354 ) ( resource:Q329 ) ( resource:Q467781 ) } . ?x property:P488 ?n }
The Republicans Union for a Popular Movement Union of Democrats and Independents Radical Party Democratic Force Union for French Democracy Democratic Movement
Those people serve as a chairman for the Union for a Popular Movement, Democratic Movement and The Republicans
Union for a Popular Movement Democratic Movement The Republicans
action filter_type
action find_reverse
entity prev_answer
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Nicolas Sarkozy'] [{'concept': 'political organization'}, 'chairperson', 'Jean-Louis Borloo'] [{'concept': 'political organization'}, 'chairperson', 'François Bayrou']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . VALUES ( ?n ) { ( resource:Jean-François_Copé ) ( resource:Nicolas_Sarkozy ) ( resource:Jean-Louis_Borloo ) } . ?x property:chairperson ?n }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q173152 Q587370 Q20012759
P17
Q15617994
USER
Which administrative territories are Union for a Popular Movement, Democratic Movement and The Republicans situated in ?
(Q173152,P17,c(Q15617994)) (Q587370,P17,c(Q15617994)) (Q20012759,P17,c(Q15617994))
action union
action filter_type
action find
entity Q173152
relation P17
type Q15617994
action filter_type
action find
entity Q587370
relation P17
type Q15617994
action filter_type
action find
entity Q20012759
relation P17
type Q15617994
['Q173152', 'P17', {'concept': 'Q15617994'}] ['Q587370', 'P17', {'concept': 'Q15617994'}] ['Q20012759', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?k ) { ( resource:Q173152 ) ( resource:Q587370 ) } . ?k property:P17 ?n }
Union for a Popular Movement Democratic Movement The Republicans
action union
action filter_type
action find
entity Union for a Popular Movement
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Democratic Movement
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity The Republicans
relation country
type designation for an administrative territorial entity
['Union for a Popular Movement', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Democratic Movement', 'country', {'concept': 'designation for an administrative territorial entity'}] ['The Republicans', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?k ) { ( resource:Union_for_a_Popular_Movement ) ( resource:Democratic_Movement ) } . ?k property:country ?n }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q173152,P17,c(Q15617994)) (Q587370,P17,c(Q15617994)) (Q20012759,P17,c(Q15617994))
action union
action filter_type
action find
entity Q173152
relation P17
type Q15617994
action filter_type
action find
entity Q587370
relation P17
type Q15617994
action filter_type
action find
entity Q20012759
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Union for a Popular Movement, Democratic Movement and The Republicans situated in
['Q173152', 'P17', {'concept': 'Q15617994'}] ['Q587370', 'P17', {'concept': 'Q15617994'}] ['Q20012759', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?k ) { ( resource:Q173152 ) ( resource:Q587370 ) } . ?k property:P17 ?n }
France France France
France, France and France are Union for a Popular Movement, Democratic Movement and The Republicans situated in
France France France
action union
action filter_type
action find
entity Union for a Popular Movement
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Democratic Movement
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity The Republicans
relation country
type designation for an administrative territorial entity
['Union for a Popular Movement', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Democratic Movement', 'country', {'concept': 'designation for an administrative territorial entity'}] ['The Republicans', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?k ) { ( resource:Union_for_a_Popular_Movement ) ( resource:Democratic_Movement ) } . ?k property:country ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329
P26
Q502895
USER
Which people are married to Nicolas Sarkozy ?
(Q329,P26,c(Q502895))
action filter_type
action find
entity Q329
relation P26
type Q502895
['Q329', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q329 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Nicolas Sarkozy
action filter_type
action find
entity Nicolas Sarkozy
relation spouse
type common name
['Nicolas Sarkozy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Nicolas_Sarkozy property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q143945 Q16338091 Q235177
SYSTEM
Carla Bruni, Marie-Dominique Culioli, Cécilia Attias
Q143945 Q16338091 Q235177
(Q329,P26,c(Q502895))
action filter_type
action find
entity Q329
relation P26
type Q502895
[ANSWERS] are married to Nicolas Sarkozy
['Q329', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q329 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Carla Bruni Marie-Dominique Culioli Cécilia Attias
Carla Bruni, Marie-Dominique Culioli and Cécilia Attias are married to Nicolas Sarkozy
Carla Bruni Marie-Dominique Culioli Cécilia Attias
action filter_type
action find
entity Nicolas Sarkozy
relation spouse
type common name
['Nicolas Sarkozy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Nicolas_Sarkozy property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters did atleast 2 people dub for ?
(c(Q95074),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ontology:Q502895 . ?a rdf:type ontology:Q95074 . ?a property:P725 ?t } GROUP BY ?a } . FILTER ( ?e >= 2 ) }
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ontology:common_name . ?a rdf:type ontology:fictional_character . ?a property:voice_actor ?t } GROUP BY ?a } . FILTER ( ?e >= 2 ) }
[]
common name fictional character
Q12400 Q1621656 Q3471289
SYSTEM
Samus Aran, Solid Snake, Samurai Goroh
Q16027672 Q21837832 Q21847058 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q1984009 Q21847105 Q3471289 Q21847103 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 2
Atleast 2 people dubbed [ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ontology:Q502895 . ?a rdf:type ontology:Q95074 . ?a property:P725 ?t } GROUP BY ?a } . FILTER ( ?e >= 2 ) }
Dr. Stewart Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Death Kenta Nakamura Samurai Goroh Shingo Shōji Samus Aran Captain Falcon
Atleast 2 people dubbed Samus Aran, Solid Snake and Samurai Goroh
Samus Aran Solid Snake Samurai Goroh
action atleast
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 2
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?t ) AS ?e ) WHERE { ?t rdf:type ontology:common_name . ?a rdf:type ontology:fictional_character . ?a property:voice_actor ?t } GROUP BY ?a } . FILTER ( ?e >= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3471289
P1441
Q5398426
USER
Which television series features that fictional character ?
(Q3471289,P1441,c(Q5398426))
action filter_type
action find
entity Q3471289
relation P1441
type Q5398426
['Q3471289', 'P1441', {'concept': 'Q5398426'}]
SELECT DISTINCT ?s WHERE { resource:Q3471289 property:P1441 ?s . ?s rdf:type ontology:Q5398426 }
Samurai Goroh
action filter_type
action find
entity Samurai Goroh
relation present in work
type television series
['Samurai Goroh', 'present in work', {'concept': 'television series'}]
SELECT DISTINCT ?s WHERE { resource:Samurai_Goroh property:present_in_work ?s . ?s rdf:type ontology:television_series }
[]
television series
Clarification for simple ques.
Q3471289
SYSTEM
Did you mean Samurai Goroh ?
Q12400 Q1621656 Q3471289
(Q12400,P1441,c(Q5398426)) (Q1621656,P1441,c(Q5398426)) (Q3471289,P1441,c(Q5398426))
[ANSWER]
['Q12400', 'P1441', {'concept': 'Q5398426'}] ['Q1621656', 'P1441', {'concept': 'Q5398426'}] ['Q3471289', 'P1441', {'concept': 'Q5398426'}]
SELECT DISTINCT ?s WHERE { resource:Q3471289 property:P1441 ?s . ?s rdf:type ontology:Q5398426 }
Samus Aran Solid Snake Samurai Goroh
Did you mean Samurai Goroh ?
Samurai Goroh
['Samus Aran', 'present in work', {'concept': 'television series'}] ['Solid Snake', 'present in work', {'concept': 'television series'}] ['Samurai Goroh', 'present in work', {'concept': 'television series'}]
SELECT DISTINCT ?s WHERE { resource:Samurai_Goroh property:present_in_work ?s . ?s rdf:type ontology:television_series }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3471289,P1441,c(Q5398426))
['Q3471289', 'P1441', {'concept': 'Q5398426'}]
['Samurai Goroh', 'present in work', {'concept': 'television series'}]
[]
Q6720878
SYSTEM
F-Zero
Q6720878
(Q3471289,P1441,c(Q5398426))
action filter_type
action find
entity Q3471289
relation P1441
type Q5398426
Game [ANSWER] features that fictional character
['Q3471289', 'P1441', {'concept': 'Q5398426'}]
SELECT DISTINCT ?s WHERE { resource:Q3471289 property:P1441 ?s . ?s rdf:type ontology:Q5398426 }
F-Zero
Game F-Zero features that fictional character
F-Zero
action filter_type
action find
entity Samurai Goroh
relation present in work
type television series
['Samurai Goroh', 'present in work', {'concept': 'television series'}]
SELECT DISTINCT ?s WHERE { resource:Samurai_Goroh property:present_in_work ?s . ?s rdf:type ontology:television_series }
[]