Simple Question (Direct)
Simple Question
Q5073163
P21
Q290
USER
Which sex does Chapin Hall belong to ?
(Q5073163,P21,c(Q290))
action filter_type
action find
entity Q5073163
relation P21
type Q290
['Q5073163', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5073163 property:P21 ?i . ?i rdf:type ontology:Q290 }
Chapin Hall
action filter_type
action find
entity Chapin Hall
relation gender
type sex
['Chapin Hall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Chapin_Hall property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5073163,P21,c(Q290))
action filter_type
action find
entity Q5073163
relation P21
type Q290
[ANSWER] does Chapin Hall belong to
['Q5073163', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5073163 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Male does Chapin Hall belong to
male
action filter_type
action find
entity Chapin Hall
relation gender
type sex
['Chapin Hall', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Chapin_Hall property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5073163
P102
Q7210356
USER
Which party is Chapin Hall affiliated with ?
(Q5073163,P102,c(Q7210356))
action filter_type
action find
entity Q5073163
relation P102
type Q7210356
['Q5073163', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q5073163 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Chapin Hall
action filter_type
action find
entity Chapin Hall
relation member of political party
type political organization
['Chapin Hall', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Chapin_Hall property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5073163,P102,c(Q7210356))
action filter_type
action find
entity Q5073163
relation P102
type Q7210356
Chapin Hall is affiliated with [ANSWER]
['Q5073163', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?v WHERE { resource:Q5073163 property:P102 ?v . ?v rdf:type ontology:Q7210356 }
Republican Party
Chapin Hall is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Chapin Hall
relation member of political party
type political organization
['Chapin Hall', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?v WHERE { resource:Chapin_Hall property:member_of_political_party ?v . ?v rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5850440
Q7210356
USER
And also tell me about Eugenio Bauer?
(Q5850440,P102,c(Q7210356))
action filter_type
action find
entity Q5850440
relation P102
type Q7210356
['Q5850440', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q5850440 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Eugenio Bauer
action filter_type
action find
entity Eugenio Bauer
relation member of political party
type political organization
['Eugenio Bauer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Eugenio_Bauer property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q602131
SYSTEM
Independent Democratic Union
Q602131
(Q5850440,P102,c(Q7210356))
action filter_type
action find
entity Q5850440
relation P102
type Q7210356
[ANSWER]
['Q5850440', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q5850440 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Independent Democratic Union
Independent Democratic Union
action filter_type
action find
entity Eugenio Bauer
relation member of political party
type political organization
['Eugenio Bauer', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Eugenio_Bauer property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q602131 Q7857938
P17
Q15617994
USER
Is that political organization a part of Twiggs County School District ?
(Q602131,P17,Q7857938)
action is_in
entity Q7857938
action find
entity Q602131
relation P17
['Q602131', 'P17', 'Q7857938']
ASK WHERE { resource:Q602131 property:P17 resource:Q7857938 }
Independent Democratic Union Twiggs County School District
action is_in
entity Twiggs County School District
action find
entity Independent Democratic Union
relation country
['Independent Democratic Union', 'country', 'Twiggs County School District']
ASK WHERE { resource:Independent_Democratic_Union property:country resource:Twiggs_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q602131,P17,Q7857938)
action is_in
entity Q7857938
action find
entity Q602131
relation P17
[ANSWER]
['Q602131', 'P17', 'Q7857938']
ASK WHERE { resource:Q602131 property:P17 resource:Q7857938 }
No
action is_in
entity Twiggs County School District
action find
entity Independent Democratic Union
relation country
['Independent Democratic Union', 'country', 'Twiggs County School District']
ASK WHERE { resource:Independent_Democratic_Union property:country resource:Twiggs_County_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q602131 Q918390
P488
Q502895
USER
How many people were the chairpersons of Independent Democratic Union or Sky plc ?
(Q602131,P488,c(Q502895)) (Q918390,P488,c(Q502895))
action count
action union
action filter_type
action find
entity Q602131
relation P488
type Q502895
action filter_type
action find
entity Q918390
relation P488
type Q502895
['Q602131', 'P488', {'concept': 'Q502895'}] ['Q918390', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:P488 ?k . VALUES ( ?v ) { ( resource:Q918390 ) ( resource:Q602131 ) } }
Independent Democratic Union Sky plc
action count
action union
action filter_type
action find
entity Independent Democratic Union
relation chairperson
type common name
action filter_type
action find
entity Sky plc
relation chairperson
type common name
['Independent Democratic Union', 'chairperson', {'concept': 'common name'}] ['Sky plc', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:chairperson ?k . VALUES ( ?v ) { ( resource:Sky_plc ) ( resource:Independent_Democratic_Union ) } }
[]
common name
SYSTEM
2
Q14948718 Q6066731
(Q602131,P488,c(Q502895)) (Q918390,P488,c(Q502895))
action count
action union
action filter_type
action find
entity Q602131
relation P488
type Q502895
action filter_type
action find
entity Q918390
relation P488
type Q502895
[ANSWER]
['Q602131', 'P488', {'concept': 'Q502895'}] ['Q918390', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:P488 ?k . VALUES ( ?v ) { ( resource:Q918390 ) ( resource:Q602131 ) } }
Nicholas Ferguson Patricio Melero
2
action count
action union
action filter_type
action find
entity Independent Democratic Union
relation chairperson
type common name
action filter_type
action find
entity Sky plc
relation chairperson
type common name
['Independent Democratic Union', 'chairperson', {'concept': 'common name'}] ['Sky plc', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?v property:chairperson ?k . VALUES ( ?v ) { ( resource:Sky_plc ) ( resource:Independent_Democratic_Union ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q602131
P463
Q7210356
USER
Which organization was that one a member of ?
action filter_type
action find
entity Q602131
relation P463
type Q7210356
SELECT DISTINCT ?g WHERE { resource:Q602131 property:P463 ?g . ?g rdf:type ontology:Q7210356 }
Independent Democratic Union
action filter_type
action find
entity Independent Democratic Union
relation member of
type political organization
SELECT DISTINCT ?g WHERE { resource:Independent_Democratic_Union property:member_of ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q862603
SYSTEM
International Democrat Union
Q862603
action filter_type
action find
entity Q602131
relation P463
type Q7210356
[ANSWER] was that one a member of
SELECT DISTINCT ?g WHERE { resource:Q602131 property:P463 ?g . ?g rdf:type ontology:Q7210356 }
International Democrat Union
International Democrat Union was that one a member of
International Democrat Union
action filter_type
action find
entity Independent Democratic Union
relation member of
type political organization
SELECT DISTINCT ?g WHERE { resource:Independent_Democratic_Union property:member_of ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q862603
P1142
Q1047113
USER
Which special field is the ideology of that political organization ?
(Q862603,P1142,c(Q1047113))
action filter_type
action find
entity Q862603
relation P1142
type Q1047113
['Q862603', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { resource:Q862603 property:P1142 ?g . ?g rdf:type ontology:Q1047113 }
International Democrat Union
action filter_type
action find
entity International Democrat Union
relation political ideology
type special field
['International Democrat Union', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { resource:International_Democrat_Union property:political_ideology ?g . ?g rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
(Q862603,P1142,c(Q1047113))
action filter_type
action find
entity Q862603
relation P1142
type Q1047113
[ANSWER] is the ideology of that political organization
['Q862603', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?g WHERE { resource:Q862603 property:P1142 ?g . ?g rdf:type ontology:Q1047113 }
conservatism
Conservatism is the ideology of that political organization
conservatism
action filter_type
action find
entity International Democrat Union
relation political ideology
type special field
['International Democrat Union', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?g WHERE { resource:International_Democrat_Union property:political_ideology ?g . ?g rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q862603
P159
Q56061
USER
Where is the head office for that political organization located ?
(Q7169,P159,c(Q56061))
action filter_type
action find
entity Q862603
relation P159
type Q56061
['Q7169', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q862603 property:P159 ?s . ?s rdf:type ontology:Q56061 }
International Democrat Union
action filter_type
action find
entity International Democrat Union
relation headquarters location
type administrative territorial entity
['conservatism', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:International_Democrat_Union property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q7169,P159,c(Q56061))
action filter_type
action find
entity Q862603
relation P159
type Q56061
The head office for that political organization is located in [ANSWER]
['Q7169', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q862603 property:P159 ?s . ?s rdf:type ontology:Q56061 }
London
The head office for that political organization is located in London
London
action filter_type
action find
entity International Democrat Union
relation headquarters location
type administrative territorial entity
['conservatism', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:International_Democrat_Union property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q84 Q4994076
P20
Q502895
USER
Does Scott Paxson have that administrative territory as place of death ?
(Q4994076,P20,Q84)
action is_in
entity Q4994076
action find
entity Q84
relation P20
['Q4994076', 'P20', 'Q84']
ASK WHERE { resource:Q84 property:P20 resource:Q4994076 }
London Scott Paxson
action is_in
entity Scott Paxson
action find
entity London
relation place of death
['Scott Paxson', 'place of death', 'London']
ASK WHERE { resource:London property:place_of_death resource:Scott_Paxson }
[]
common name
SYSTEM
NO
(Q4994076,P20,Q84)
action is_in
entity Q4994076
action find
entity Q84
relation P20
[ANSWER]
['Q4994076', 'P20', 'Q84']
ASK WHERE { resource:Q84 property:P20 resource:Q4994076 }
No
action is_in
entity Scott Paxson
action find
entity London
relation place of death
['Scott Paxson', 'place of death', 'London']
ASK WHERE { resource:London property:place_of_death resource:Scott_Paxson }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15619164 Q39546 Q56061
USER
Which administrative territories have max number of abstract beings and tools as their namesake ?
(c(Q56061),P138,c(Q15619164)|c(Q39546))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q15619164
action find_tuple_counts
relation P138
type Q56061
type Q39546
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q39546'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?t WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15619164 ) ( ontology:Q39546 ) } } GROUP BY ?t } } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?j WHERE { VALUES ( ?l ) { ( ontology:Q15619164 ) ( ontology:Q39546 ) } . ?r rdf:type ?l } GROUP BY ?j } }
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'tool'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?t WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:abstract_being ) ( ontology:tool ) } } GROUP BY ?t } } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?j WHERE { VALUES ( ?l ) { ( ontology:abstract_being ) ( ontology:tool ) } . ?r rdf:type ?l } GROUP BY ?j } }
[]
abstract being tool administrative territorial entity
Q13652348 Q194067
SYSTEM
Nebo, Serpukhov
Q13652348 Q194067
(c(Q56061),P138,c(Q15619164)|c(Q39546))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q15619164
action find_tuple_counts
relation P138
type Q56061
type Q39546
[ANSWERS] have max number of abstract beings and tools as their namesake
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q39546'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?t WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:Q15619164 ) ( ontology:Q39546 ) } } GROUP BY ?t } } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?j WHERE { VALUES ( ?l ) { ( ontology:Q15619164 ) ( ontology:Q39546 ) } . ?r rdf:type ?l } GROUP BY ?j } }
Nebo Serpukhov
Nebo and Serpukhov have max number of abstract beings and tools as their namesake
Nebo Serpukhov
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type abstract being
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'tool'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?t WHERE { ?b rdf:type ?u . VALUES ( ?u ) { ( ontology:abstract_being ) ( ontology:tool ) } } GROUP BY ?t } } . FILTER ( ?m = ?c ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) ?j WHERE { VALUES ( ?l ) { ( ontology:abstract_being ) ( ontology:tool ) } . ?r rdf:type ?l } GROUP BY ?j } }
[]