Simple Question (Direct)
Simple Question
Q92765
P19
Q5119
USER
Which capital was Seymour Cray born in ?
(Q92765,P19,c(Q5119))
action filter_type
action find
entity Q92765
relation P19
type Q5119
['Q92765', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?d WHERE { resource:Q92765 property:P19 ?d . ?d rdf:type ontology:Q5119 }
Seymour Cray
action filter_type
action find
entity Seymour Cray
relation place of birth
type capital
['Seymour Cray', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?d WHERE { resource:Seymour_Cray property:place_of_birth ?d . ?d rdf:type ontology:capital }
[]
capital
Q940349
SYSTEM
Chippewa Falls
Q940349
(Q92765,P19,c(Q5119))
action filter_type
action find
entity Q92765
relation P19
type Q5119
Seymour Cray was born in [ANSWER]
['Q92765', 'P19', {'concept': 'Q5119'}]
SELECT DISTINCT ?d WHERE { resource:Q92765 property:P19 ?d . ?d rdf:type ontology:Q5119 }
Chippewa Falls
Seymour Cray was born in Chippewa Falls
Chippewa Falls
action filter_type
action find
entity Seymour Cray
relation place of birth
type capital
['Seymour Cray', 'place of birth', {'concept': 'capital'}]
SELECT DISTINCT ?d WHERE { resource:Seymour_Cray property:place_of_birth ?d . ?d rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q92765
P138
Q1269299
USER
Which business organization has that person as its toponym ?
(c(Q1269299),P138,Q940349)
action filter_type
action find_reverse
entity Q92765
relation P138
type Q1269299
[{'concept': 'Q1269299'}, 'P138', 'Q940349']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q92765 . ?p rdf:type ontology:Q1269299 }
Seymour Cray
action filter_type
action find_reverse
entity Seymour Cray
relation named after
type type of business entity
[{'concept': 'type of business entity'}, 'named after', 'Chippewa Falls']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Seymour_Cray . ?p rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q144060
SYSTEM
Cray
Q144060
(c(Q1269299),P138,Q940349)
action filter_type
action find_reverse
entity Q92765
relation P138
type Q1269299
[ANSWER] has that person as its toponym
[{'concept': 'Q1269299'}, 'P138', 'Q940349']
SELECT DISTINCT ?p WHERE { ?p property:P138 resource:Q92765 . ?p rdf:type ontology:Q1269299 }
Cray
Cray has that person as its toponym
Cray
action filter_type
action find_reverse
entity Seymour Cray
relation named after
type type of business entity
[{'concept': 'type of business entity'}, 'named after', 'Chippewa Falls']
SELECT DISTINCT ?p WHERE { ?p property:named_after resource:Seymour_Cray . ?p rdf:type ontology:type_of_business_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q940349
P159
Q43229 Q4830453
USER
How many organizations or business enterprises have HQ at Chippewa Falls ?
(c(Q43229),P159,Q940349) (c(Q4830453),P159,Q940349)
action count
action union
action filter_type
action find_reverse
entity Q940349
relation P159
type Q43229
action filter_type
action find_reverse
entity Q940349
relation P159
type Q4830453
[{'concept': 'Q43229'}, 'P159', 'Q940349'] [{'concept': 'Q4830453'}, 'P159', 'Q940349']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { ?c rdf:type ontology:Q43229 . ?c property:P159 resource:Q940349 } UNION { ?c rdf:type ontology:Q4830453 . ?c property:P159 resource:Q940349 } }
Chippewa Falls
action count
action union
action filter_type
action find_reverse
entity Chippewa Falls
relation headquarters location
type organization
action filter_type
action find_reverse
entity Chippewa Falls
relation headquarters location
type business enterprise
[{'concept': 'organization'}, 'headquarters location', 'Chippewa Falls'] [{'concept': 'business enterprise'}, 'headquarters location', 'Chippewa Falls']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { ?c rdf:type ontology:organization . ?c property:headquarters_location resource:Chippewa_Falls } UNION { ?c rdf:type ontology:business_enterprise . ?c property:headquarters_location resource:Chippewa_Falls } }
[]
organization business enterprise
SYSTEM
3
Q14714485 Q7500041 Q5101658
(c(Q43229),P159,Q940349) (c(Q4830453),P159,Q940349)
action count
action union
action filter_type
action find_reverse
entity Q940349
relation P159
type Q43229
action filter_type
action find_reverse
entity Q940349
relation P159
type Q4830453
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q940349'] [{'concept': 'Q4830453'}, 'P159', 'Q940349']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { ?c rdf:type ontology:Q43229 . ?c property:P159 resource:Q940349 } UNION { ?c rdf:type ontology:Q4830453 . ?c property:P159 resource:Q940349 } }
Jacob Leinenkugel Brewing Company Shoemall Chippewa Boots
3
action count
action union
action filter_type
action find_reverse
entity Chippewa Falls
relation headquarters location
type organization
action filter_type
action find_reverse
entity Chippewa Falls
relation headquarters location
type business enterprise
[{'concept': 'organization'}, 'headquarters location', 'Chippewa Falls'] [{'concept': 'business enterprise'}, 'headquarters location', 'Chippewa Falls']
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { { ?c rdf:type ontology:organization . ?c property:headquarters_location resource:Chippewa_Falls } UNION { ?c rdf:type ontology:business_enterprise . ?c property:headquarters_location resource:Chippewa_Falls } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q940349
P17
Q15617994
USER
Which administrative territory is that capital a part of ?
action filter_type
action find
entity Q940349
relation P17
type Q15617994
SELECT DISTINCT ?q WHERE { resource:Q940349 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Chippewa Falls
action filter_type
action find
entity Chippewa Falls
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?q WHERE { resource:Chippewa_Falls property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find
entity Q940349
relation P17
type Q15617994
The [ANSWER] is that capital a part of
SELECT DISTINCT ?q WHERE { resource:Q940349 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
The United States of America is that capital a part of
United States of America
action filter_type
action find
entity Chippewa Falls
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?q WHERE { resource:Chippewa_Falls property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q940349
P1408
Q4830453
USER
Which business enterprise has license to broadcast to that capital ?
(c(Q4830453),P1408,Q30)
action filter_type
action find_reverse
entity Q940349
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P1408 resource:Q940349 . ?j rdf:type ontology:Q4830453 }
Chippewa Falls
action filter_type
action find_reverse
entity Chippewa Falls
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:licensed_to_broadcast_to resource:Chippewa_Falls . ?j rdf:type ontology:business_enterprise }
[]
business enterprise
Q7948699
SYSTEM
WEAQ
Q7948699
(c(Q4830453),P1408,Q30)
action filter_type
action find_reverse
entity Q940349
relation P1408
type Q4830453
[ANSWER] has license to broadcast to that capital
[{'concept': 'Q4830453'}, 'P1408', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P1408 resource:Q940349 . ?j rdf:type ontology:Q4830453 }
WEAQ
WEAQ has license to broadcast to that capital
WEAQ
action filter_type
action find_reverse
entity Chippewa Falls
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:licensed_to_broadcast_to resource:Chippewa_Falls . ?j rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q940349
P20
Q502895
USER
Which people have that capital as the location of death ?
(c(Q502895),P20,Q7948699)
action filter_type
action find_reverse
entity Q940349
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q7948699']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q940349 . ?x rdf:type ontology:Q502895 }
Chippewa Falls
action filter_type
action find_reverse
entity Chippewa Falls
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'WEAQ']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Chippewa_Falls . ?x rdf:type ontology:common_name }
[]
common name
Q2150045 Q1250070 Q7326140
SYSTEM
Richard L. Murphy, John J. Jenkins, Richard H. Cosgriff
Q8008818 Q7326140 Q2150045 Q12788883 Q1250070
(c(Q502895),P20,Q7948699)
action filter_type
action find_reverse
entity Q940349
relation P20
type Q502895
[ANSWERS] have that capital as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q7948699']
SELECT DISTINCT ?x WHERE { ?x property:P20 resource:Q940349 . ?x rdf:type ontology:Q502895 }
William Frederick Kirk Richard H. Cosgriff Richard L. Murphy Filip Jakob Erlah John J. Jenkins
Richard L. Murphy, John J. Jenkins and Richard H. Cosgriff have that capital as the location of death
Richard L. Murphy John J. Jenkins Richard H. Cosgriff
action filter_type
action find_reverse
entity Chippewa Falls
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'WEAQ']
SELECT DISTINCT ?x WHERE { ?x property:place_of_death resource:Chippewa_Falls . ?x rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7326140
P21
Q290
USER
Which sex does that person belong to ?
(Q7326140,P21,c(Q290))
action filter_type
action find
entity Q7326140
relation P21
type Q290
['Q7326140', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7326140 property:P21 ?i . ?i rdf:type ontology:Q290 }
Richard H. Cosgriff
action filter_type
action find
entity Richard H. Cosgriff
relation gender
type sex
['Richard H. Cosgriff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Richard_H._Cosgriff property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q1250070
SYSTEM
Did you mean John J. Jenkins ?
Q2150045 Q1250070 Q7326140
(Q2150045,P21,c(Q290)) (Q1250070,P21,c(Q290)) (Q7326140,P21,c(Q290))
[ANSWER]
['Q2150045', 'P21', {'concept': 'Q290'}] ['Q1250070', 'P21', {'concept': 'Q290'}] ['Q7326140', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7326140 property:P21 ?i . ?i rdf:type ontology:Q290 }
Richard L. Murphy John J. Jenkins Richard H. Cosgriff
Did you mean John J. Jenkins ?
John J. Jenkins
['Richard L. Murphy', 'gender', {'concept': 'sex'}] ['John J. Jenkins', 'gender', {'concept': 'sex'}] ['Richard H. Cosgriff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Richard_H._Cosgriff property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Richard H. Cosgriff. Could you tell me the answer for that?
(Q7326140,P21,c(Q290))
Q7326140
['Q7326140', 'P21', {'concept': 'Q290'}]
['Richard H. Cosgriff', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q7326140,P21,c(Q290))
action filter_type
action find
entity Q7326140
relation P21
type Q290
That person belongs to [ANSWER]
['Q7326140', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7326140 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Richard H. Cosgriff
relation gender
type sex
['Richard H. Cosgriff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Richard_H._Cosgriff property:gender ?i . ?i rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q18761576
P21
Q502895
USER
Does Louis Appia have the gender as that sex ?
(Q18761576,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18761576
relation P21
['Q18761576', 'P21', 'Q6581097']
ASK WHERE { resource:Q18761576 property:P21 resource:Q6581097 }
male Louis Appia
action is_in
entity male
action find
entity Louis Appia
relation gender
['Louis Appia', 'gender', 'male']
ASK WHERE { resource:Louis_Appia property:gender resource:male }
[]
common name
SYSTEM
YES
(Q18761576,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18761576
relation P21
[ANSWER]
['Q18761576', 'P21', 'Q6581097']
ASK WHERE { resource:Q18761576 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Louis Appia
relation gender
['Louis Appia', 'gender', 'male']
ASK WHERE { resource:Louis_Appia property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q92765 Q62034 Q17835
P27
Q15617994
USER
Is Seymour Cray a civilian of Binzen and Montegrosso d'Asti ?
(Q92765,P27,Q62034) (Q92765,P27,Q17835)
action is_in
entity Q92765
action intersection
action find_reverse
entity Q62034
relation P27
action find_reverse
entity Q17835
relation P27
['Q92765', 'P27', 'Q62034'] ['Q92765', 'P27', 'Q17835']
ASK WHERE { resource:Q92765 property:P27 resource:Q62034 . resource:Q92765 property:P27 resource:Q17835 }
Seymour Cray Binzen Montegrosso d'Asti
action is_in
entity Seymour Cray
action intersection
action find_reverse
entity Binzen
relation country of citizenship
action find_reverse
entity Montegrosso d'Asti
relation country of citizenship
['Seymour Cray', 'country of citizenship', 'Binzen'] ['Seymour Cray', 'country of citizenship', "Montegrosso d'Asti"]
ASK WHERE { resource:Seymour_Cray property:country_of_citizenship resource:Binzen . resource:Seymour_Cray property:country_of_citizenship resource:Montegrosso_d'Asti }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q92765,P27,Q62034) (Q92765,P27,Q17835)
action is_in
entity Q92765
action intersection
action find_reverse
entity Q62034
relation P27
action find_reverse
entity Q17835
relation P27
[ANSWER]
['Q92765', 'P27', 'Q62034'] ['Q92765', 'P27', 'Q17835']
ASK WHERE { resource:Q92765 property:P27 resource:Q62034 . resource:Q92765 property:P27 resource:Q17835 }
No
action is_in
entity Seymour Cray
action intersection
action find_reverse
entity Binzen
relation country of citizenship
action find_reverse
entity Montegrosso d'Asti
relation country of citizenship
['Seymour Cray', 'country of citizenship', 'Binzen'] ['Seymour Cray', 'country of citizenship', "Montegrosso d'Asti"]
ASK WHERE { resource:Seymour_Cray property:country_of_citizenship resource:Binzen . resource:Seymour_Cray property:country_of_citizenship resource:Montegrosso_d'Asti }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q1269299 Q874405 Q740752
USER
Which business organizations are subsidiaries of atleast 1 social groups and transport companies ?
(c(Q874405)|c(Q740752),P355,c(Q1269299))
action atleast
action union
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q874405
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q740752
value 1
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } . ?b rdf:type ?o } GROUP BY ?k } . FILTER ( ?j >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type social group
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type transport company
value 1
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { VALUES ( ?o ) { ( ontology:social_group ) ( ontology:transport_company ) } . ?b rdf:type ?o } GROUP BY ?k } . FILTER ( ?j >= 1 ) }
[]
type of business entity social group transport company
Q680991 Q848336 Q11471181
SYSTEM
Arriva, Eutelsat, Sanyo Department Store
Q11471181 Q848336 Q680991 Q17193081
(c(Q874405)|c(Q740752),P355,c(Q1269299))
action atleast
action union
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q874405
action find_reverse_tuple_counts
relation P355
type Q1269299
type Q740752
value 1
[ANSWERS] are subsidiaries of atleast 1 social groups and transport companies
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q1269299'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { VALUES ( ?o ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } . ?b rdf:type ?o } GROUP BY ?k } . FILTER ( ?j >= 1 ) }
Sanyo Department Store Eutelsat Arriva Izukyu Holdings
Arriva, Eutelsat and Sanyo Department Store are subsidiaries of atleast 1 social groups and transport companies
Arriva Eutelsat Sanyo Department Store
action atleast
action union
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type social group
action find_reverse_tuple_counts
relation subsidiary
type type of business entity
type transport company
value 1
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'type of business entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?k WHERE { VALUES ( ?o ) { ( ontology:social_group ) ( ontology:transport_company ) } . ?b rdf:type ?o } GROUP BY ?k } . FILTER ( ?j >= 1 ) }
[]