Simple Question (Direct)
Simple Question
Q6281457
P39
Q12737077
USER
Which occupation was a position held by Joseph Benton Donley ?
(Q6281457,P39,c(Q12737077))
action filter_type
action find
entity Q6281457
relation P39
type Q12737077
['Q6281457', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6281457 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Joseph Benton Donley
action filter_type
action find
entity Joseph Benton Donley
relation position held
type occupation
['Joseph Benton Donley', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Joseph_Benton_Donley property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q6281457,P39,c(Q12737077))
action filter_type
action find
entity Q6281457
relation P39
type Q12737077
The [ANSWER] was a position held by Joseph Benton Donley
['Q6281457', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6281457 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position held by Joseph Benton Donley
United States representative
action filter_type
action find
entity Joseph Benton Donley
relation position held
type occupation
['Joseph Benton Donley', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Joseph_Benton_Donley property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6281457
P102
Q7210356
USER
Which party does Joseph Benton Donley belong to ?
(Q6281457,P102,c(Q7210356))
action filter_type
action find
entity Q6281457
relation P102
type Q7210356
['Q6281457', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q6281457 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Joseph Benton Donley
action filter_type
action find
entity Joseph Benton Donley
relation member of political party
type political organization
['Joseph Benton Donley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Joseph_Benton_Donley property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q6281457,P102,c(Q7210356))
action filter_type
action find
entity Q6281457
relation P102
type Q7210356
Joseph Benton Donley belongs to [ANSWER]
['Q6281457', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q6281457 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Republican Party
Joseph Benton Donley belongs to Republican Party
Republican Party
action filter_type
action find
entity Joseph Benton Donley
relation member of political party
type political organization
['Joseph Benton Donley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Joseph_Benton_Donley property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6281457
P69
Q163740
USER
What is the nonprofit organization where Joseph Benton Donley was educated ?
(Q6281457,P69,c(Q163740))
action filter_type
action find
entity Q6281457
relation P69
type Q163740
['Q6281457', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q6281457 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Joseph Benton Donley
action filter_type
action find
entity Joseph Benton Donley
relation educated at
type nonprofit organization
['Joseph Benton Donley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_Benton_Donley property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q4709336
SYSTEM
Albany Law School
Q4709336
(Q6281457,P69,c(Q163740))
action filter_type
action find
entity Q6281457
relation P69
type Q163740
The nonprofit organization Joseph Benton Donley was educated is [ANSWER]
['Q6281457', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q6281457 property:P69 ?q . ?q rdf:type ontology:Q163740 }
Albany Law School
The nonprofit organization Joseph Benton Donley was educated is Albany Law School
Albany Law School
action filter_type
action find
entity Joseph Benton Donley
relation educated at
type nonprofit organization
['Joseph Benton Donley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Joseph_Benton_Donley property:educated_at ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q592834
Q163740
USER
And also tell me about William Ely?
(Q592834,P69,c(Q163740))
action filter_type
action find
entity Q592834
relation P69
type Q163740
['Q592834', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q163740 . resource:Q592834 property:P69 ?c }
William Ely
action filter_type
action find
entity William Ely
relation educated at
type nonprofit organization
['William Ely', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nonprofit_organization . resource:William_Ely property:educated_at ?c }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q592834,P69,c(Q163740))
action filter_type
action find
entity Q592834
relation P69
type Q163740
[ANSWER]
['Q592834', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q163740 . resource:Q592834 property:P69 ?c }
Yale University
Yale University
action filter_type
action find
entity William Ely
relation educated at
type nonprofit organization
['William Ely', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:nonprofit_organization . resource:William_Ely property:educated_at ?c }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q49112 Q4797192 Q7662556
P463
Q874405
USER
Does that nonprofit organization have a membership of Art for All Foundation and Synod of the Trinity ?
(Q49112,P463,Q4797192) (Q49112,P463,Q7662556)
action is_in
entity Q49112
action intersection
action find_reverse
entity Q4797192
relation P463
action find_reverse
entity Q7662556
relation P463
['Q49112', 'P463', 'Q4797192'] ['Q49112', 'P463', 'Q7662556']
ASK WHERE { resource:Q49112 property:P463 resource:Q7662556 . resource:Q49112 property:P463 resource:Q4797192 }
Yale University Art for All Foundation Synod of the Trinity
action is_in
entity Yale University
action intersection
action find_reverse
entity Art for All Foundation
relation member of
action find_reverse
entity Synod of the Trinity
relation member of
['Yale University', 'member of', 'Art for All Foundation'] ['Yale University', 'member of', 'Synod of the Trinity']
ASK WHERE { resource:Yale_University property:member_of resource:Synod_of_the_Trinity . resource:Yale_University property:member_of resource:Art_for_All_Foundation }
[]
social group
SYSTEM
NO
(Q49112,P463,Q4797192) (Q49112,P463,Q7662556)
action is_in
entity Q49112
action intersection
action find_reverse
entity Q4797192
relation P463
action find_reverse
entity Q7662556
relation P463
[ANSWER]
['Q49112', 'P463', 'Q4797192'] ['Q49112', 'P463', 'Q7662556']
ASK WHERE { resource:Q49112 property:P463 resource:Q7662556 . resource:Q49112 property:P463 resource:Q4797192 }
No
action is_in
entity Yale University
action intersection
action find_reverse
entity Art for All Foundation
relation member of
action find_reverse
entity Synod of the Trinity
relation member of
['Yale University', 'member of', 'Art for All Foundation'] ['Yale University', 'member of', 'Synod of the Trinity']
ASK WHERE { resource:Yale_University property:member_of resource:Synod_of_the_Trinity . resource:Yale_University property:member_of resource:Art_for_All_Foundation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49112
P248
Q502895
USER
Which person has been referred in that nonprofit organization ?
action filter_type
action find_reverse
entity Q49112
relation P248
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P248 resource:Q49112 . ?q rdf:type ontology:Q502895 }
Yale University
action filter_type
action find_reverse
entity Yale University
relation stated in
type common name
SELECT DISTINCT ?q WHERE { ?q property:stated_in resource:Yale_University . ?q rdf:type ontology:common_name }
[]
common name
Q5233453
SYSTEM
David Evans
Q5233453
action filter_type
action find_reverse
entity Q49112
relation P248
type Q502895
[ANSWER] has been referred in that nonprofit organization
SELECT DISTINCT ?q WHERE { ?q property:P248 resource:Q49112 . ?q rdf:type ontology:Q502895 }
David Evans
David Evans has been referred in that nonprofit organization
David Evans
action filter_type
action find_reverse
entity Yale University
relation stated in
type common name
SELECT DISTINCT ?q WHERE { ?q property:stated_in resource:Yale_University . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5233453 Q49112
P248
Q163740
USER
Is that person acknowledged in Yale University ?
(Q5233453,P248,Q49112)
action is_in
entity Q49112
action find
entity Q5233453
relation P248
['Q5233453', 'P248', 'Q49112']
ASK WHERE { resource:Q5233453 property:P248 resource:Q49112 }
David Evans Yale University
action is_in
entity Yale University
action find
entity David Evans
relation stated in
['David Evans', 'stated in', 'Yale University']
ASK WHERE { resource:David_Evans property:stated_in resource:Yale_University }
[]
nonprofit organization
SYSTEM
YES
(Q5233453,P248,Q49112)
action is_in
entity Q49112
action find
entity Q5233453
relation P248
[ANSWER]
['Q5233453', 'P248', 'Q49112']
ASK WHERE { resource:Q5233453 property:P248 resource:Q49112 }
Yes
action is_in
entity Yale University
action find
entity David Evans
relation stated in
['David Evans', 'stated in', 'Yale University']
ASK WHERE { resource:David_Evans property:stated_in resource:Yale_University }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5233453
P101
Q5962346
USER
Which classification scheme is the field of work of that person ?
action filter_type
action find
entity Q5233453
relation P101
type Q5962346
SELECT DISTINCT ?p WHERE { resource:Q5233453 property:P101 ?p . ?p rdf:type ontology:Q5962346 }
David Evans
action filter_type
action find
entity David Evans
relation field of work
type classification scheme
SELECT DISTINCT ?p WHERE { resource:David_Evans property:field_of_work ?p . ?p rdf:type ontology:classification_scheme }
[]
classification scheme
Q853422
SYSTEM
Paleomagnetism
Q853422
action filter_type
action find
entity Q5233453
relation P101
type Q5962346
[ANSWER] is the field of work of that person
SELECT DISTINCT ?p WHERE { resource:Q5233453 property:P101 ?p . ?p rdf:type ontology:Q5962346 }
Paleomagnetism
Paleomagnetism is the field of work of that person
Paleomagnetism
action filter_type
action find
entity David Evans
relation field of work
type classification scheme
SELECT DISTINCT ?p WHERE { resource:David_Evans property:field_of_work ?p . ?p rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5233453
P19
Q5119
USER
Which capital was that person born in ?
(Q853422,P19,c(Q5119))
action filter_type
action find
entity Q5233453
relation P19
type Q5119
['Q853422', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?r WHERE { resource:Q5233453 property:P19 ?r . ?r rdf:type ontology:Q5119 }
David Evans
action filter_type
action find
entity David Evans
relation place of birth
type capital
['Paleomagnetism', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?r WHERE { resource:David_Evans property:place_of_birth ?r . ?r rdf:type ontology:capital }
[]
capital
Q37836
SYSTEM
Milwaukee
Q37836
(Q853422,P19,c(Q5119))
action filter_type
action find
entity Q5233453
relation P19
type Q5119
That person was born in [ANSWER]
['Q853422', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?r WHERE { resource:Q5233453 property:P19 ?r . ?r rdf:type ontology:Q5119 }
Milwaukee
That person was born in Milwaukee
Milwaukee
action filter_type
action find
entity David Evans
relation place of birth
type capital
['Paleomagnetism', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?r WHERE { resource:David_Evans property:place_of_birth ?r . ?r rdf:type ontology:capital }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P1408
Q5119 Q4830453
USER
Which capitals are less number of business enterprises licensed to broadcast to than that capital ?
(c(Q4830453),P1408,c(Q5119))
action less
action find_reverse_tuple_counts
relation P1408
type Q5119
type Q4830453
action count
action filter_type
action find_reverse
entity Q37836
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q5119'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P1408 ?u . ?u rdf:type ontology:Q5119 . ?i rdf:type ontology:Q4830453 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1408 resource:Q37836 . ?l rdf:type ontology:Q4830453 } } . FILTER ( ?s < ?h ) }
action less
action find_reverse_tuple_counts
relation licensed to broadcast to
type capital
type business enterprise
action count
action filter_type
action find_reverse
entity Milwaukee
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'capital'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:licensed_to_broadcast_to ?u . ?u rdf:type ontology:capital . ?i rdf:type ontology:business_enterprise } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:licensed_to_broadcast_to resource:Milwaukee . ?l rdf:type ontology:business_enterprise } } . FILTER ( ?s < ?h ) }
[]
capital business enterprise
Q36091 Q1016131 Q940349
SYSTEM
Minneapolis, Port Washington, Chippewa Falls
Q940349 Q388503 Q75183 Q67796 Q567530 Q1002631 Q938699 Q1016131 Q36091 Q1010225 Q1013953 Q1023544 Q964529
(c(Q4830453),P1408,c(Q5119))
action less
action find_reverse_tuple_counts
relation P1408
type Q5119
type Q4830453
action count
action filter_type
action find_reverse
entity Q37836
relation P1408
type Q4830453
[ANSWERS] are less number of business enterprises licensed to broadcast to than that capital
[{'concept': 'Q4830453'}, 'P1408', {'concept': 'Q5119'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P1408 ?u . ?u rdf:type ontology:Q5119 . ?i rdf:type ontology:Q4830453 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1408 resource:Q37836 . ?l rdf:type ontology:Q4830453 } } . FILTER ( ?s < ?h ) }
Chippewa Falls Houma Butler Ashland Anoka Greeneville Yorktown Port Washington Minneapolis Meadville Lancaster Baraboo Alliance
Minneapolis, Port Washington and Chippewa Falls are less number of business enterprises licensed to broadcast to than that capital
Minneapolis Port Washington Chippewa Falls
action less
action find_reverse_tuple_counts
relation licensed to broadcast to
type capital
type business enterprise
action count
action filter_type
action find_reverse
entity Milwaukee
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', {'concept': 'capital'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:licensed_to_broadcast_to ?u . ?u rdf:type ontology:capital . ?i rdf:type ontology:business_enterprise } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:licensed_to_broadcast_to resource:Milwaukee . ?l rdf:type ontology:business_enterprise } } . FILTER ( ?s < ?h ) }
[]