Simple Question (Direct)
Simple Question
Q759148
P102
Q7210356
USER
Which party does Herman Stump belong to ?
(Q759148,P102,c(Q7210356))
action filter_type
action find
entity Q759148
relation P102
type Q7210356
['Q759148', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q759148 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Herman Stump
action filter_type
action find
entity Herman Stump
relation member of political party
type political organization
['Herman Stump', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Herman_Stump property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q759148,P102,c(Q7210356))
action filter_type
action find
entity Q759148
relation P102
type Q7210356
Herman Stump belongs to [ANSWER]
['Q759148', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q759148 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Democratic Party
Herman Stump belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Herman Stump
relation member of political party
type political organization
['Herman Stump', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:Herman_Stump property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P749
Q7210356
USER
Which political organizations are owned by that one ?
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?u WHERE { ?u property:P749 resource:Q29552 . ?u rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?u WHERE { ?u property:parent_organization resource:Democratic_Party . ?u rdf:type ontology:political_organization }
[]
political organization
Q7008134 Q5020399
SYSTEM
New Hampshire Democratic Party, California Democratic Party
Q7008134 Q5020399
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
And [ANSWERS] are owned by that one
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?u WHERE { ?u property:P749 resource:Q29552 . ?u rdf:type ontology:Q7210356 }
New Hampshire Democratic Party California Democratic Party
And New Hampshire Democratic Party and California Democratic Party are owned by that one
New Hampshire Democratic Party California Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?u WHERE { ?u property:parent_organization resource:Democratic_Party . ?u rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q29552
P355
Q7210356
USER
Are Democratic Party the parent company of those ones ?
(Q29552,P355,Q7008134) (Q29552,P355,Q5020399)
action is_in
entity prev_answer
action find
entity Q29552
relation P355
['Q29552', 'P355', 'Q7008134'] ['Q29552', 'P355', 'Q5020399']
ASK WHERE { resource:Q29552 property:P355 ?j . VALUES ( ?j ) { ( resource:Q7008134 ) ( resource:Q5020399 ) } }
Democratic Party
action is_in
entity prev_answer
action find
entity Democratic Party
relation subsidiary
['Democratic Party', 'subsidiary', 'New Hampshire Democratic Party'] ['Democratic Party', 'subsidiary', 'California Democratic Party']
ASK WHERE { resource:Democratic_Party property:subsidiary ?j . VALUES ( ?j ) { ( resource:New_Hampshire_Democratic_Party ) ( resource:California_Democratic_Party ) } }
[]
political organization
SYSTEM
YES
(Q29552,P355,Q7008134) (Q29552,P355,Q5020399)
action is_in
entity prev_answer
action find
entity Q29552
relation P355
[ANSWER]
['Q29552', 'P355', 'Q7008134'] ['Q29552', 'P355', 'Q5020399']
ASK WHERE { resource:Q29552 property:P355 ?j . VALUES ( ?j ) { ( resource:Q7008134 ) ( resource:Q5020399 ) } }
Yes
action is_in
entity prev_answer
action find
entity Democratic Party
relation subsidiary
['Democratic Party', 'subsidiary', 'New Hampshire Democratic Party'] ['Democratic Party', 'subsidiary', 'California Democratic Party']
ASK WHERE { resource:Democratic_Party property:subsidiary ?j . VALUES ( ?j ) { ( resource:New_Hampshire_Democratic_Party ) ( resource:California_Democratic_Party ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29552
P17
Q15617994
USER
How many administrative territories are Democratic Party a part of ?
(Q29552,P17,c(Q15617994))
action count
action filter_type
action find
entity Q29552
relation P17
type Q15617994
['Q29552', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q29552 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Democratic Party
action count
action filter_type
action find
entity Democratic Party
relation country
type designation for an administrative territorial entity
['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Democratic_Party property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q29552,P17,c(Q15617994))
action count
action filter_type
action find
entity Q29552
relation P17
type Q15617994
[ANSWER]
['Q29552', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Q29552 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Democratic Party
relation country
type designation for an administrative territorial entity
['Democratic Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { resource:Democratic_Party property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29552
P361
Q7210356
USER
Which political organizations are a part of Democratic Party ?
(c(Q7210356),P361,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q29552']
SELECT DISTINCT ?e WHERE { ?e property:P361 resource:Q29552 . ?e rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Democratic Party']
SELECT DISTINCT ?e WHERE { ?e property:part_of resource:Democratic_Party . ?e rdf:type ontology:political_organization }
[]
political organization
Q3345101 Q7163696 Q1937395
SYSTEM
New Democrats, Pennsylvania Democratic Party, Minnesota Democratic–Farmer–Labor Party
Q5461304 Q6736346 Q7972236 Q7921703 Q6837512 Q7163696 Q5253276 Q5255714 Q7902341 Q7080791 Q895181 Q5987342 Q6904239 Q7054469 Q1937395 Q6879122 Q6064351 Q6984707 Q4708523 Q6784247 Q7700059 Q7707623 Q7008134 Q5255722 Q5255720 Q5255727 Q5255726 Q7055001 Q3345101 Q7003402 Q4791288
(c(Q7210356),P361,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P361
type Q7210356
[ANSWERS] are a part of Democratic Party
[{'concept': 'Q7210356'}, 'P361', 'Q29552']
SELECT DISTINCT ?e WHERE { ?e property:P361 resource:Q29552 . ?e rdf:type ontology:Q7210356 }
Florida Democratic Party Maine Democratic Party Washington State Democratic Party Vermont Democratic Party Michigan Democratic Party Pennsylvania Democratic Party Delaware Democratic Party Democratic Party of Georgia Utah Democratic Party Ohio Democratic Party Bourbon Democrat Idaho Democratic Party Montana Democratic Party North Carolina Democratic Party Minnesota Democratic–Farmer–Labor Party Mississippi Democratic Party Iowa Democratic Party Nebraska Democratic Party Alaska Democratic Party Massachusetts Democratic Party Tennessee Democratic Party Texas Democratic Party New Hampshire Democratic Party Democratic Party of Oregon Democratic Party of New Mexico Democratic Party of Wisconsin Democratic Party of Virginia North Dakota Democratic-Nonpartisan League Party New Democrats Nevada Democratic Party Arizona Democratic Party
New Democrats, Pennsylvania Democratic Party and Minnesota Democratic–Farmer–Labor Party are a part of Democratic Party
New Democrats Pennsylvania Democratic Party Minnesota Democratic–Farmer–Labor Party
action filter_type
action find_reverse
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Democratic Party']
SELECT DISTINCT ?e WHERE { ?e property:part_of resource:Democratic_Party . ?e rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q759148
P27
Q15617994
USER
Which administrative territory is Herman Stump a civilian of ?
(Q759148,P27,c(Q15617994))
action filter_type
action find
entity Q759148
relation P27
type Q15617994
['Q759148', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q759148 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Herman Stump
action filter_type
action find
entity Herman Stump
relation country of citizenship
type designation for an administrative territorial entity
['Herman Stump', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Herman_Stump property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q759148,P27,c(Q15617994))
action filter_type
action find
entity Q759148
relation P27
type Q15617994
Which administrative territory is Herman Stump a civilian of
['Q759148', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q759148 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Herman Stump a civilian of
United States of America
action filter_type
action find
entity Herman Stump
relation country of citizenship
type designation for an administrative territorial entity
['Herman Stump', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Herman_Stump property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { resource:Q30 property:P85 ?l . ?l rdf:type ontology:Q484692 }
United States of America
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:anthem ?l . ?l rdf:type ontology:hymn }
[]
hymn
Q44696
SYSTEM
The Star-Spangled Banner
Q44696
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
Banner [ANSWER] is the anthem for that administrative territory
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?l WHERE { resource:Q30 property:P85 ?l . ?l rdf:type ontology:Q484692 }
The Star-Spangled Banner
Banner The Star-Spangled Banner is the anthem for that administrative territory
The Star-Spangled Banner
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?l WHERE { resource:United_States_of_America property:anthem ?l . ?l rdf:type ontology:hymn }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q44696 Q30
P85
Q15617994
USER
Does United States of America have that hymn as its anthem ?
(Q30,P85,Q44696)
action is_in
entity Q44696
action find
entity Q30
relation P85
['Q30', 'P85', 'Q44696']
ASK WHERE { resource:Q30 property:P85 resource:Q44696 }
The Star-Spangled Banner United States of America
action is_in
entity The Star-Spangled Banner
action find
entity United States of America
relation anthem
['United States of America', 'anthem', 'The Star-Spangled Banner']
ASK WHERE { resource:United_States_of_America property:anthem resource:The_Star-Spangled_Banner }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P85,Q44696)
action is_in
entity Q44696
action find
entity Q30
relation P85
[ANSWER]
['Q30', 'P85', 'Q44696']
ASK WHERE { resource:Q30 property:P85 resource:Q44696 }
Yes
action is_in
entity The Star-Spangled Banner
action find
entity United States of America
relation anthem
['United States of America', 'anthem', 'The Star-Spangled Banner']
ASK WHERE { resource:United_States_of_America property:anthem resource:The_Star-Spangled_Banner }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29552
P159
Q56061
USER
How many administrative territories are the headquarter locations of Democratic Party ?
(Q29552,P159,c(Q56061))
action count
action filter_type
action find
entity Q29552
relation P159
type Q56061
['Q29552', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:Q56061 . resource:Q29552 property:P159 ?y }
Democratic Party
action count
action filter_type
action find
entity Democratic Party
relation headquarters location
type administrative territorial entity
['Democratic Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Democratic_Party property:headquarters_location ?y }
[]
administrative territorial entity
SYSTEM
1
Q61
(Q29552,P159,c(Q56061))
action count
action filter_type
action find
entity Q29552
relation P159
type Q56061
[ANSWER]
['Q29552', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:Q56061 . resource:Q29552 property:P159 ?y }
Washington, D.C.
1
action count
action filter_type
action find
entity Democratic Party
relation headquarters location
type administrative territorial entity
['Democratic Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Democratic_Party property:headquarters_location ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P106
Q502895
USER
Which person has that political organization as his/her means of employment ?
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q29552 . ?h rdf:type ontology:Q502895 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:Democratic_Party . ?h rdf:type ontology:common_name }
[]
common name
Q361146
SYSTEM
Ruby Laffoon
Q361146
action filter_type
action find_reverse
entity Q29552
relation P106
type Q502895
[ANSWER] has that political organization as his/her means of employment
SELECT DISTINCT ?h WHERE { ?h property:P106 resource:Q29552 . ?h rdf:type ontology:Q502895 }
Ruby Laffoon
Ruby Laffoon has that political organization as his/her means of employment
Ruby Laffoon
action filter_type
action find_reverse
entity Democratic Party
relation occupation
type common name
SELECT DISTINCT ?h WHERE { ?h property:occupation resource:Democratic_Party . ?h rdf:type ontology:common_name }
[]