Simple Question (Direct)
Simple Question
Q16736679
P106
Q12737077
USER
What does José Guillermo Aréchiga do for a living ?
(Q16736679,P106,c(Q12737077))
action filter_type
action find
entity Q16736679
relation P106
type Q12737077
['Q16736679', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16736679 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
José Guillermo Aréchiga
action filter_type
action find
entity José Guillermo Aréchiga
relation occupation
type occupation
['José Guillermo Aréchiga', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:José_Guillermo_Aréchiga property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16736679,P106,c(Q12737077))
action filter_type
action find
entity Q16736679
relation P106
type Q12737077
José Guillermo Aréchiga does a [ANSWER] for a living
['Q16736679', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q16736679 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
José Guillermo Aréchiga does a politician for a living
politician
action filter_type
action find
entity José Guillermo Aréchiga
relation occupation
type occupation
['José Guillermo Aréchiga', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:José_Guillermo_Aréchiga property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16736679
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q16736679
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q16736679 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
José Guillermo Aréchiga
action filter_type
action find
entity José Guillermo Aréchiga
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:José_Guillermo_Aréchiga property:position_held ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q18534310
SYSTEM
Member of the Chamber of Deputies of Mexico
Q18534310
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q16736679
relation P39
type Q12737077
[ANSWER] was a position for which that person was appointed
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q16736679 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Member of the Chamber of Deputies of Mexico
Member of the Chamber of Deputies of Mexico was a position for which that person was appointed
Member of the Chamber of Deputies of Mexico
action filter_type
action find
entity José Guillermo Aréchiga
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:José_Guillermo_Aréchiga property:position_held ?r . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18534310 Q7196811
P1001
Q15617994
USER
Does Pioneer Union Elementary School District apply to jurisdiction of Member of the Chamber of Deputies of Mexico ?
(Q18534310,P1001,Q7196811)
action is_in
entity Q7196811
action find
entity Q18534310
relation P1001
['Q18534310', 'P1001', 'Q7196811']
ASK WHERE { resource:Q18534310 property:P1001 resource:Q7196811 }
Member of the Chamber of Deputies of Mexico Pioneer Union Elementary School District
action is_in
entity Pioneer Union Elementary School District
action find
entity Member of the Chamber of Deputies of Mexico
relation applies to jurisdiction
['Member of the Chamber of Deputies of Mexico', 'applies to jurisdiction', 'Pioneer Union Elementary School District']
ASK WHERE { resource:Member_of_the_Chamber_of_Deputies_of_Mexico property:applies_to_jurisdiction resource:Pioneer_Union_Elementary_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18534310,P1001,Q7196811)
action is_in
entity Q7196811
action find
entity Q18534310
relation P1001
[ANSWER]
['Q18534310', 'P1001', 'Q7196811']
ASK WHERE { resource:Q18534310 property:P1001 resource:Q7196811 }
No
action is_in
entity Pioneer Union Elementary School District
action find
entity Member of the Chamber of Deputies of Mexico
relation applies to jurisdiction
['Member of the Chamber of Deputies of Mexico', 'applies to jurisdiction', 'Pioneer Union Elementary School District']
ASK WHERE { resource:Member_of_the_Chamber_of_Deputies_of_Mexico property:applies_to_jurisdiction resource:Pioneer_Union_Elementary_School_District }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of atleast 5 occupations ?
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P417 ?j . ?r rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?s >= 5 ) }
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:patron_saint ?j . ?r rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?s >= 5 ) }
[]
common name occupation
Q43982 Q179718
SYSTEM
Bartholomew the Apostle, Catherine of Alexandria
Q43982 Q179718
(c(Q12737077),P417,c(Q502895))
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 5
[ANSWERS] are the names of the patron saint of atleast 5 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P417 ?j . ?r rdf:type ontology:Q12737077 . ?j rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?s >= 5 ) }
Bartholomew the Apostle Catherine of Alexandria
Bartholomew the Apostle and Catherine of Alexandria are the names of the patron saint of atleast 5 occupations
Bartholomew the Apostle Catherine of Alexandria
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 5
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:patron_saint ?j . ?r rdf:type ontology:occupation . ?j rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?s >= 5 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15710873
P725
Q502895 Q95074
USER
How many fictional characters did approximately the same number of people do the dubbing for as Princess Celestia ?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { ?n property:P725 ?w . ?n rdf:type ontology:Q95074 . ?w rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q15710873 property:P725 ?h . ?h rdf:type ontology:Q95074 } } . FILTER ( ?i = ?m ) }
Princess Celestia
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { ?n property:voice_actor ?w . ?n rdf:type ontology:fictional_character . ?w rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Princess_Celestia property:voice_actor ?h . ?h rdf:type ontology:fictional_character } } . FILTER ( ?i = ?m ) }
[]
common name fictional character
SYSTEM
17
Q16027672 Q21837832 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q1984009 Q21847105 Q21847103
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { ?n property:P725 ?w . ?n rdf:type ontology:Q95074 . ?w rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q15710873 property:P725 ?h . ?h rdf:type ontology:Q95074 } } . FILTER ( ?i = ?m ) }
Dr. Stewart Kyōichi Sudō Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Death Kenta Nakamura Shingo Shōji
17
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { ?n property:voice_actor ?w . ?n rdf:type ontology:fictional_character . ?w rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Princess_Celestia property:voice_actor ?h . ?h rdf:type ontology:fictional_character } } . FILTER ( ?i = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16736679
P102
Q7210356
USER
Which party does José Guillermo Aréchiga belong to ?
(Q16736679,P102,c(Q7210356))
action filter_type
action find
entity Q16736679
relation P102
type Q7210356
['Q16736679', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q16736679 property:P102 ?x }
José Guillermo Aréchiga
action filter_type
action find
entity José Guillermo Aréchiga
relation member of political party
type political organization
['José Guillermo Aréchiga', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:José_Guillermo_Aréchiga property:member_of_political_party ?x }
[]
political organization
Q682969
SYSTEM
Institutional Revolutionary Party
Q682969
(Q16736679,P102,c(Q7210356))
action filter_type
action find
entity Q16736679
relation P102
type Q7210356
José Guillermo Aréchiga belongs to [ANSWER]
['Q16736679', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q7210356 . resource:Q16736679 property:P102 ?x }
Institutional Revolutionary Party
José Guillermo Aréchiga belongs to Institutional Revolutionary Party
Institutional Revolutionary Party
action filter_type
action find
entity José Guillermo Aréchiga
relation member of political party
type political organization
['José Guillermo Aréchiga', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_organization . resource:José_Guillermo_Aréchiga property:member_of_political_party ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3336250
Q7210356
USER
And how about Nasser Yeganeh?
(Q3336250,P102,c(Q7210356))
action filter_type
action find
entity Q3336250
relation P102
type Q7210356
['Q3336250', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q3336250 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Nasser Yeganeh
action filter_type
action find
entity Nasser Yeganeh
relation member of political party
type political organization
['Nasser Yeganeh', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Nasser_Yeganeh property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q10292318
SYSTEM
New Iran Party
Q10292318
(Q3336250,P102,c(Q7210356))
action filter_type
action find
entity Q3336250
relation P102
type Q7210356
[ANSWER]
['Q3336250', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q3336250 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
New Iran Party
New Iran Party
action filter_type
action find
entity Nasser Yeganeh
relation member of political party
type political organization
['Nasser Yeganeh', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Nasser_Yeganeh property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]