Simple Question (Direct)
Simple Question
Q5298498
P102
Q7210356
USER
Which party does Dorothy L. Hukill belong to ?
(Q5298498,P102,c(Q7210356))
action filter_type
action find
entity Q5298498
relation P102
type Q7210356
['Q5298498', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q5298498 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Dorothy L. Hukill
action filter_type
action find
entity Dorothy L. Hukill
relation member of political party
type political organization
['Dorothy L. Hukill', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Dorothy_L._Hukill property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5298498,P102,c(Q7210356))
action filter_type
action find
entity Q5298498
relation P102
type Q7210356
Dorothy L. Hukill belongs to [ANSWER]
['Q5298498', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q5298498 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Republican Party
Dorothy L. Hukill belongs to Republican Party
Republican Party
action filter_type
action find
entity Dorothy L. Hukill
relation member of political party
type political organization
['Dorothy L. Hukill', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Dorothy_L._Hukill property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5298498
P39
Q12737077
USER
Which occupation was a position for which Dorothy L. Hukill was appointed ?
(Q5298498,P39,c(Q12737077))
action filter_type
action find
entity Q5298498
relation P39
type Q12737077
['Q5298498', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5298498 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Dorothy L. Hukill
action filter_type
action find
entity Dorothy L. Hukill
relation position held
type occupation
['Dorothy L. Hukill', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Dorothy_L._Hukill property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q19961062
SYSTEM
member of the State Senate of Florida
Q19961062
(Q5298498,P39,c(Q12737077))
action filter_type
action find
entity Q5298498
relation P39
type Q12737077
A [ANSWER] was a position for which Dorothy L. Hukill was appointed
['Q5298498', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5298498 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the State Senate of Florida
A member of the State Senate of Florida was a position for which Dorothy L. Hukill was appointed
member of the State Senate of Florida
action filter_type
action find
entity Dorothy L. Hukill
relation position held
type occupation
['Dorothy L. Hukill', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Dorothy_L._Hukill property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q19961062 Q30 Q17782648
P17
Q15617994
USER
Is that occupation situated in United States of America and Dubravni (Krasnodar) ?
(Q19961062,P17,Q30) (Q19961062,P17,Q17782648)
action is_in
entity Q19961062
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q17782648
relation P17
['Q19961062', 'P17', 'Q30'] ['Q19961062', 'P17', 'Q17782648']
ASK WHERE { resource:Q19961062 property:P17 resource:Q17782648 . resource:Q19961062 property:P17 resource:Q30 }
member of the State Senate of Florida United States of America Dubravni (Krasnodar)
action is_in
entity member of the State Senate of Florida
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Dubravni (Krasnodar)
relation country
['member of the State Senate of Florida', 'country', 'United States of America'] ['member of the State Senate of Florida', 'country', 'Dubravni (Krasnodar)']
ASK WHERE { resource:member_of_the_State_Senate_of_Florida property:country resource:Dubravni_(Krasnodar) . resource:member_of_the_State_Senate_of_Florida property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q19961062,P17,Q30) (Q19961062,P17,Q17782648)
action is_in
entity Q19961062
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q17782648
relation P17
[ANSWER]
['Q19961062', 'P17', 'Q30'] ['Q19961062', 'P17', 'Q17782648']
ASK WHERE { resource:Q19961062 property:P17 resource:Q17782648 . resource:Q19961062 property:P17 resource:Q30 }
YES and NO respectively
action is_in
entity member of the State Senate of Florida
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Dubravni (Krasnodar)
relation country
['member of the State Senate of Florida', 'country', 'United States of America'] ['member of the State Senate of Florida', 'country', 'Dubravni (Krasnodar)']
ASK WHERE { resource:member_of_the_State_Senate_of_Florida property:country resource:Dubravni_(Krasnodar) . resource:member_of_the_State_Senate_of_Florida property:country resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q61620
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of greater number of occupations than Cunigunde of Luxembourg ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q61620
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P417 ?j . ?j rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q61620 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?c > ?e ) }
Cunigunde of Luxembourg
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Cunigunde of Luxembourg
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:patron_saint ?j . ?j rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Cunigunde_of_Luxembourg property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?c > ?e ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q61620
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P417 ?j . ?j rdf:type ontology:Q502895 . ?b rdf:type ontology:Q12737077 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q61620 property:P417 ?k . ?k rdf:type ontology:Q502895 } } . FILTER ( ?c > ?e ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Cunigunde of Luxembourg
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:patron_saint ?j . ?j rdf:type ontology:common_name . ?b rdf:type ontology:occupation } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Cunigunde_of_Luxembourg property:patron_saint ?k . ?k rdf:type ontology:common_name } } . FILTER ( ?c > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1050218
P417
Q502895 Q12737077
USER
And also tell me about Catald?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1050218
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P417 ?q . ?b rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q1050218 property:P417 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?z > ?a ) }
Catald
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Catald
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:patron_saint ?q . ?b rdf:type ontology:occupation . ?q rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Catald property:patron_saint ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?z > ?a ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1050218
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P417 ?q . ?b rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Q1050218 property:P417 ?r . ?r rdf:type ontology:Q502895 } } . FILTER ( ?z > ?a ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Catald
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:patron_saint ?q . ?b rdf:type ontology:occupation . ?q rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { resource:Catald property:patron_saint ?r . ?r rdf:type ontology:common_name } } . FILTER ( ?z > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P361
Q7210356
USER
What are a component of Republican Party ?
(c(Q7210356),P361,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q29468']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q29468 . ?b rdf:type ontology:Q7210356 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Republican Party']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Republican_Party . ?b rdf:type ontology:political_organization }
[]
political organization
Q3366683 Q7314631 Q1359302
SYSTEM
Illinois Republican Party, Republican Party, Half-Breed
Q7314655 Q1359302 Q7314640 Q1558808 Q7314652 Q11833539 Q3174289 Q6023387 Q7314631 Q3366683 Q5684363 Q7055038
(c(Q7210356),P361,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P361
type Q7210356
A component of Republican Party are the [ANSWERS]
[{'concept': 'Q7210356'}, 'P361', 'Q29468']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q29468 . ?b rdf:type ontology:Q7210356 }
Republican Party of Iowa Half-Breed Republican Party of Arkansas Stalwarts Republican Party of Guam Radical Republican Vermont Republican Party Indiana Republican Party Republican Party Illinois Republican Party Hawaiʻi Republican Party North Dakota Republican Party
A component of Republican Party are the Illinois Republican Party, Republican Party and Half-Breed
Illinois Republican Party Republican Party Half-Breed
action filter_type
action find_reverse
entity Republican Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Republican Party']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Republican_Party . ?b rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3366683
P159
Q852446
USER
Where is the headquarter of that political organization located ?
(Q3366683,P159,c(Q852446))
action filter_type
action find
entity Q3366683
relation P159
type Q852446
['Q3366683', 'P159', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { resource:Q3366683 property:P159 ?s . ?s rdf:type ontology:Q852446 }
Illinois Republican Party
action filter_type
action find
entity Illinois Republican Party
relation headquarters location
type administrative territorial entity of the United States
['Illinois Republican Party', 'headquarters location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { resource:Illinois_Republican_Party property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Clarification for simple ques.
Q7314631
SYSTEM
Did you mean Republican Party ?
Q3366683 Q7314631 Q1359302
(Q3366683,P159,c(Q852446)) (Q7314631,P159,c(Q852446)) (Q1359302,P159,c(Q852446))
[ANSWER]
['Q3366683', 'P159', {'concept': 'Q852446'}] ['Q7314631', 'P159', {'concept': 'Q852446'}] ['Q1359302', 'P159', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { resource:Q3366683 property:P159 ?s . ?s rdf:type ontology:Q852446 }
Illinois Republican Party Republican Party Half-Breed
Did you mean Republican Party ?
Republican Party
['Illinois Republican Party', 'headquarters location', {'concept': 'administrative territorial entity of the United States'}] ['Republican Party', 'headquarters location', {'concept': 'administrative territorial entity of the United States'}] ['Half-Breed', 'headquarters location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { resource:Illinois_Republican_Party property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
USER
No, I meant Illinois Republican Party. Could you tell me the answer for that?
(Q3366683,P159,c(Q852446))
Q3366683
['Q3366683', 'P159', {'concept': 'Q852446'}]
['Illinois Republican Party', 'headquarters location', {'concept': 'administrative territorial entity of the United States'}]
[]
Q28515
SYSTEM
Springfield
Q28515
(Q3366683,P159,c(Q852446))
action filter_type
action find
entity Q3366683
relation P159
type Q852446
Is the headquarter of that political organization located in [ANSWER]
['Q3366683', 'P159', {'concept': 'Q852446'}]
SELECT DISTINCT ?s WHERE { resource:Q3366683 property:P159 ?s . ?s rdf:type ontology:Q852446 }
Springfield
Is the headquarter of that political organization located in Springfield
Springfield
action filter_type
action find
entity Illinois Republican Party
relation headquarters location
type administrative territorial entity of the United States
['Illinois Republican Party', 'headquarters location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?s WHERE { resource:Illinois_Republican_Party property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q852446 Q2342494 Q166142
USER
How many US administrative territories are the narrative locations of exactly 1 collectables or applications ?
(c(Q2342494)|c(Q166142),P840,c(Q852446))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { { ?w rdf:type ontology:Q852446 . ?s rdf:type ontology:Q2342494 . ?s property:P840 ?w } UNION { ?s property:P840 ?w . ?w rdf:type ontology:Q852446 . ?s rdf:type ontology:Q166142 } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
value 1
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { { ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?s rdf:type ontology:collectable . ?s property:narrative_location ?w } UNION { ?s property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?s rdf:type ontology:application } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
[]
administrative territorial entity of the United States collectable application
SYSTEM
11
Q43421 Q1391 Q5000330 Q724 Q1581 Q1454 Q1384 Q3474463 Q782 Q1527 Q1212
(c(Q2342494)|c(Q166142),P840,c(Q852446))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { { ?w rdf:type ontology:Q852446 . ?s rdf:type ontology:Q2342494 . ?s property:P840 ?w } UNION { ?s property:P840 ?w . ?w rdf:type ontology:Q852446 . ?s rdf:type ontology:Q166142 } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
Richmond Maryland Burr Oak, Iowa Maine Missouri North Carolina New York South Troy Hawaii Minnesota Montana
11
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
value 1
[[{'concept': 'collectable'}, {'concept': 'application'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?e ) WHERE { { ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?s rdf:type ontology:collectable . ?s property:narrative_location ?w } UNION { ?s property:narrative_location ?w . ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?s rdf:type ontology:application } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3366683
P361
Q7210356
USER
How many political organizations are Illinois Republican Party a component of ?
(Q3366683,P361,c(Q7210356))
action count
action filter_type
action find
entity Q3366683
relation P361
type Q7210356
['Q3366683', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q3366683 property:P361 ?w . ?w rdf:type ontology:Q7210356 }
Illinois Republican Party
action count
action filter_type
action find
entity Illinois Republican Party
relation part of
type political organization
['Illinois Republican Party', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Illinois_Republican_Party property:part_of ?w . ?w rdf:type ontology:political_organization }
[]
political organization
SYSTEM
1
Q29468
(Q3366683,P361,c(Q7210356))
action count
action filter_type
action find
entity Q3366683
relation P361
type Q7210356
[ANSWER]
['Q3366683', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Q3366683 property:P361 ?w . ?w rdf:type ontology:Q7210356 }
Republican Party
1
action count
action filter_type
action find
entity Illinois Republican Party
relation part of
type political organization
['Illinois Republican Party', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { resource:Illinois_Republican_Party property:part_of ?w . ?w rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7551709
Q7210356
USER
And how about Socialist Party of Texas?
(Q7551709,P361,c(Q7210356))
action count
action filter_type
action find
entity Q7551709
relation P361
type Q7210356
['Q7551709', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q7551709 property:P361 ?x . ?x rdf:type ontology:Q7210356 }
Socialist Party of Texas
action count
action filter_type
action find
entity Socialist Party of Texas
relation part of
type political organization
['Socialist Party of Texas', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Socialist_Party_of_Texas property:part_of ?x . ?x rdf:type ontology:political_organization }
[]
political organization
SYSTEM
1
(Q7551709,P361,c(Q7210356))
action count
action filter_type
action find
entity Q7551709
relation P361
type Q7210356
[ANSWER]
['Q7551709', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q7551709 property:P361 ?x . ?x rdf:type ontology:Q7210356 }
1
action count
action filter_type
action find
entity Socialist Party of Texas
relation part of
type political organization
['Socialist Party of Texas', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Socialist_Party_of_Texas property:part_of ?x . ?x rdf:type ontology:political_organization }
[]