Simple Question (Direct)
Simple Question
Q2549641
P102
Q7210356
USER
Which political organization is Warren A. Haggott a member of ?
(Q2549641,P102,c(Q7210356))
action filter_type
action find
entity Q2549641
relation P102
type Q7210356
['Q2549641', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q2549641 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Warren A. Haggott
action filter_type
action find
entity Warren A. Haggott
relation member of political party
type political organization
['Warren A. Haggott', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Warren_A._Haggott property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q2549641,P102,c(Q7210356))
action filter_type
action find
entity Q2549641
relation P102
type Q7210356
The [ANSWER] is Warren A. Haggott a member of
['Q2549641', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q2549641 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Republican Party
The Republican Party is Warren A. Haggott a member of
Republican Party
action filter_type
action find
entity Warren A. Haggott
relation member of political party
type political organization
['Warren A. Haggott', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Warren_A._Haggott property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2549641
P39
Q12737077
USER
What was the position held by Warren A. Haggott ?
(Q2549641,P39,c(Q12737077))
action filter_type
action find
entity Q2549641
relation P39
type Q12737077
['Q2549641', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2549641 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Warren A. Haggott
action filter_type
action find
entity Warren A. Haggott
relation position held
type occupation
['Warren A. Haggott', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Warren_A._Haggott property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q2549641,P39,c(Q12737077))
action filter_type
action find
entity Q2549641
relation P39
type Q12737077
The position held by Warren A. Haggott was the [ANSWER]
['Q2549641', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2549641 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
United States representative
The position held by Warren A. Haggott was the United States representative
United States representative
action filter_type
action find
entity Warren A. Haggott
relation position held
type occupation
['Warren A. Haggott', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Warren_A._Haggott property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2549641
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q13218630,P27,c(Q15617994))
action filter_type
action find
entity Q2549641
relation P27
type Q15617994
['Q13218630', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q2549641 property:P27 ?k }
Warren A. Haggott
action filter_type
action find
entity Warren A. Haggott
relation country of citizenship
type designation for an administrative territorial entity
['United States representative', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Warren_A._Haggott property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q13218630,P27,c(Q15617994))
action filter_type
action find
entity Q2549641
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q13218630', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q2549641 property:P27 ?k }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Warren A. Haggott
relation country of citizenship
type designation for an administrative territorial entity
['United States representative', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Warren_A._Haggott property:country_of_citizenship ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1071
Q386724 Q11460
USER
How many works and clothings have that administrative territory as their location of final assembly ?
(c(Q386724),P1071,Q30) (c(Q11460),P1071,Q30) (c(Q386724),P1071,Q30) (c(Q11460),P1071,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1071
type Q386724
action filter_type
action find_reverse
entity Q30
relation P1071
type Q11460
[{'concept': 'Q386724'}, 'P1071', 'Q30'] [{'concept': 'Q11460'}, 'P1071', 'Q30'] [{'concept': 'Q386724'}, 'P1071', 'Q30'] [{'concept': 'Q11460'}, 'P1071', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P1071 resource:Q30 . ?z rdf:type ontology:Q386724 } UNION { ?z rdf:type ontology:Q11460 . ?z property:P1071 resource:Q30 } }
action count
action union
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type work
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type clothing
[{'concept': 'work'}, 'location of final assembly', 'United States of America'] [{'concept': 'clothing'}, 'location of final assembly', 'United States of America'] [{'concept': 'work'}, 'location of final assembly', 'United States of America'] [{'concept': 'clothing'}, 'location of final assembly', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:location_of_final_assembly resource:United_States_of_America . ?z rdf:type ontology:work } UNION { ?z rdf:type ontology:clothing . ?z property:location_of_final_assembly resource:United_States_of_America } }
[]
work clothing
SYSTEM
1 works and 1 clothings
Q18669758 Q18600774
(c(Q386724),P1071,Q30) (c(Q11460),P1071,Q30) (c(Q386724),P1071,Q30) (c(Q11460),P1071,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P1071
type Q386724
action filter_type
action find_reverse
entity Q30
relation P1071
type Q11460
[ANSWER]
[{'concept': 'Q386724'}, 'P1071', 'Q30'] [{'concept': 'Q11460'}, 'P1071', 'Q30'] [{'concept': 'Q386724'}, 'P1071', 'Q30'] [{'concept': 'Q11460'}, 'P1071', 'Q30']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P1071 resource:Q30 . ?z rdf:type ontology:Q386724 } UNION { ?z rdf:type ontology:Q11460 . ?z property:P1071 resource:Q30 } }
Red and Yellow, Black and White Aida
1 works and 1 clothings
action count
action union
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type work
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type clothing
[{'concept': 'work'}, 'location of final assembly', 'United States of America'] [{'concept': 'clothing'}, 'location of final assembly', 'United States of America'] [{'concept': 'work'}, 'location of final assembly', 'United States of America'] [{'concept': 'clothing'}, 'location of final assembly', 'United States of America']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:location_of_final_assembly resource:United_States_of_America . ?z rdf:type ontology:work } UNION { ?z rdf:type ontology:clothing . ?z property:location_of_final_assembly resource:United_States_of_America } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q43229 Q386724
USER
Which people were approximately 1 organizations or works commissioned by ?
(c(Q43229)|c(Q386724),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
value 1
[[{'concept': 'Q43229'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?x WHERE { { ?j property:P88 ?x . ?x rdf:type ontology:Q502895 . ?j rdf:type ontology:Q43229 } UNION { ?j property:P88 ?x . ?x rdf:type ontology:Q502895 . ?j rdf:type ontology:Q386724 } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type organization
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
value 1
[[{'concept': 'organization'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?x WHERE { { ?j property:commissioned_by ?x . ?x rdf:type ontology:common_name . ?j rdf:type ontology:organization } UNION { ?j property:commissioned_by ?x . ?x rdf:type ontology:common_name . ?j rdf:type ontology:work } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
[]
common name organization work
Q7771 Q7758 Q213533
SYSTEM
Louis Philippe I, Charles X of France, Karl August, Grand Duke of Saxe-Weimar-Eisenach
Q7758 Q7771 Q213533 Q149062 Q196055
(c(Q43229)|c(Q386724),P88,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q43229
action find_reverse_tuple_counts
relation P88
type Q502895
type Q386724
value 1
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q386724'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?x WHERE { { ?j property:P88 ?x . ?x rdf:type ontology:Q502895 . ?j rdf:type ontology:Q43229 } UNION { ?j property:P88 ?x . ?x rdf:type ontology:Q502895 . ?j rdf:type ontology:Q386724 } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
Charles X of France Louis Philippe I Karl August, Grand Duke of Saxe-Weimar-Eisenach Samuel Morton Peto Edward James
Louis Philippe I, Charles X of France and Karl August, Grand Duke of Saxe-Weimar-Eisenach were approximately 1 organizations or works commissioned by
Louis Philippe I Charles X of France Karl August, Grand Duke of Saxe-Weimar-Eisenach
action approx
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type organization
action find_reverse_tuple_counts
relation commissioned by
type common name
type work
value 1
[[{'concept': 'organization'}, {'concept': 'work'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) ?x WHERE { { ?j property:commissioned_by ?x . ?x rdf:type ontology:common_name . ?j rdf:type ontology:organization } UNION { ?j property:commissioned_by ?x . ?x rdf:type ontology:common_name . ?j rdf:type ontology:work } } GROUP BY ?x } . FILTER ( ?w = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2549641
P20
Q56061
USER
How many administrative territories did the expiration of Warren A. Haggott occur ?
(Q2549641,P20,c(Q56061))
action count
action filter_type
action find
entity Q2549641
relation P20
type Q56061
['Q2549641', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Q2549641 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Warren A. Haggott
action count
action filter_type
action find
entity Warren A. Haggott
relation place of death
type administrative territorial entity
['Warren A. Haggott', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Warren_A._Haggott property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q16554
(Q2549641,P20,c(Q56061))
action count
action filter_type
action find
entity Q2549641
relation P20
type Q56061
[ANSWER]
['Q2549641', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Q2549641 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Denver
1
action count
action filter_type
action find
entity Warren A. Haggott
relation place of death
type administrative territorial entity
['Warren A. Haggott', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { resource:Warren_A._Haggott property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2549641
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
action filter_type
action find
entity Q2549641
relation P20
type Q56061
SELECT DISTINCT ?g WHERE { resource:Q2549641 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Warren A. Haggott
action filter_type
action find
entity Warren A. Haggott
relation place of death
type administrative territorial entity
SELECT DISTINCT ?g WHERE { resource:Warren_A._Haggott property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16554
SYSTEM
Denver
Q16554
action filter_type
action find
entity Q2549641
relation P20
type Q56061
[ANSWER] is the place of death of that person
SELECT DISTINCT ?g WHERE { resource:Q2549641 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Denver
Denver is the place of death of that person
Denver
action filter_type
action find
entity Warren A. Haggott
relation place of death
type administrative territorial entity
SELECT DISTINCT ?g WHERE { resource:Warren_A._Haggott property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16554 Q12193 Q838852
P190
Q20667921
USER
Is that administrative territory twin town of Brest and Charnay ?
(Q16554,P190,Q12193) (Q16554,P190,Q838852)
action is_in
entity Q16554
action intersection
action find_reverse
entity Q12193
relation P190
action find_reverse
entity Q838852
relation P190
['Q16554', 'P190', 'Q12193'] ['Q16554', 'P190', 'Q838852']
ASK WHERE { resource:Q16554 property:P190 resource:Q12193 . resource:Q16554 property:P190 resource:Q838852 }
Denver Brest Charnay
action is_in
entity Denver
action intersection
action find_reverse
entity Brest
relation sister city
action find_reverse
entity Charnay
relation sister city
['Denver', 'sister city', 'Brest'] ['Denver', 'sister city', 'Charnay']
ASK WHERE { resource:Denver property:sister_city resource:Brest . resource:Denver property:sister_city resource:Charnay }
[]
type of french administrative division
SYSTEM
YES and NO respectively
(Q16554,P190,Q12193) (Q16554,P190,Q838852)
action is_in
entity Q16554
action intersection
action find_reverse
entity Q12193
relation P190
action find_reverse
entity Q838852
relation P190
[ANSWER]
['Q16554', 'P190', 'Q12193'] ['Q16554', 'P190', 'Q838852']
ASK WHERE { resource:Q16554 property:P190 resource:Q12193 . resource:Q16554 property:P190 resource:Q838852 }
YES and NO respectively
action is_in
entity Denver
action intersection
action find_reverse
entity Brest
relation sister city
action find_reverse
entity Charnay
relation sister city
['Denver', 'sister city', 'Brest'] ['Denver', 'sister city', 'Charnay']
ASK WHERE { resource:Denver property:sister_city resource:Brest . resource:Denver property:sister_city resource:Charnay }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16554
P127
Q811979
USER
Which architectural structures are owned by that administrative territory ?
action filter_type
action find_reverse
entity Q16554
relation P127
type Q811979
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q16554 . ?e rdf:type ontology:Q811979 }
Denver
action filter_type
action find_reverse
entity Denver
relation owned by
type architectural structure
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Denver . ?e rdf:type ontology:architectural_structure }
[]
architectural structure
Q2081796 Q5259672
SYSTEM
McNichols Sports Arena, Denver Auditorium Arena
Q2081796 Q5259672
action filter_type
action find_reverse
entity Q16554
relation P127
type Q811979
[ANSWERS] are owned by that administrative territory
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q16554 . ?e rdf:type ontology:Q811979 }
McNichols Sports Arena Denver Auditorium Arena
McNichols Sports Arena and Denver Auditorium Arena are owned by that administrative territory
McNichols Sports Arena Denver Auditorium Arena
action filter_type
action find_reverse
entity Denver
relation owned by
type architectural structure
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Denver . ?e rdf:type ontology:architectural_structure }
[]