Simple Question (Direct)
Simple Question
Q7364005
P2416
Q31629
USER
Which type of sport was Ron Jourdan a contestant of ?
(Q7364005,P2416,c(Q31629))
action filter_type
action find
entity Q7364005
relation P2416
type Q31629
['Q7364005', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q7364005 property:P2416 ?q }
Ron Jourdan
action filter_type
action find
entity Ron Jourdan
relation sports discipline competed in
type type of sport
['Ron Jourdan', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Ron_Jourdan property:sports_discipline_competed_in ?q }
[]
type of sport
Q165704
SYSTEM
high jump
Q165704
(Q7364005,P2416,c(Q31629))
action filter_type
action find
entity Q7364005
relation P2416
type Q31629
The [ANSWER] was Ron Jourdan a contestant of
['Q7364005', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q31629 . resource:Q7364005 property:P2416 ?q }
high jump
The high jump was Ron Jourdan a contestant of
high jump
action filter_type
action find
entity Ron Jourdan
relation sports discipline competed in
type type of sport
['Ron Jourdan', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_sport . resource:Ron_Jourdan property:sports_discipline_competed_in ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7364005
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q165704,P27,c(Q15617994))
action filter_type
action find
entity Q7364005
relation P27
type Q15617994
['Q165704', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q7364005 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Ron Jourdan
action filter_type
action find
entity Ron Jourdan
relation country of citizenship
type designation for an administrative territorial entity
['high jump', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ron_Jourdan 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
(Q165704,P27,c(Q15617994))
action filter_type
action find
entity Q7364005
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q165704', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q7364005 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
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 Ron Jourdan
relation country of citizenship
type designation for an administrative territorial entity
['high jump', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ron_Jourdan property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7364005
P20
Q56061
USER
Where did that person expire ?
(Q30,P20,c(Q56061))
action filter_type
action find
entity Q7364005
relation P20
type Q56061
['Q30', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7364005 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Ron Jourdan
action filter_type
action find
entity Ron Jourdan
relation place of death
type administrative territorial entity
['United States of America', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ron_Jourdan property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2190653
SYSTEM
Baldwyn
Q2190653
(Q30,P20,c(Q56061))
action filter_type
action find
entity Q7364005
relation P20
type Q56061
That person expired [ANSWER]
['Q30', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q7364005 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Baldwyn
That person expired Baldwyn
Baldwyn
action filter_type
action find
entity Ron Jourdan
relation place of death
type administrative territorial entity
['United States of America', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ron_Jourdan property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2190653 Q797610
P19
Q502895
USER
Was Babe McCarthy born at that administrative territory ?
(Q797610,P19,Q2190653)
action is_in
entity Q2190653
action find
entity Q797610
relation P19
['Q797610', 'P19', 'Q2190653']
ASK WHERE { resource:Q797610 property:P19 resource:Q2190653 }
Baldwyn Babe McCarthy
action is_in
entity Baldwyn
action find
entity Babe McCarthy
relation place of birth
['Babe McCarthy', 'place of birth', 'Baldwyn']
ASK WHERE { resource:Babe_McCarthy property:place_of_birth resource:Baldwyn }
[]
common name
SYSTEM
YES
(Q797610,P19,Q2190653)
action is_in
entity Q2190653
action find
entity Q797610
relation P19
[ANSWER]
['Q797610', 'P19', 'Q2190653']
ASK WHERE { resource:Q797610 property:P19 resource:Q2190653 }
Yes
action is_in
entity Baldwyn
action find
entity Babe McCarthy
relation place of birth
['Babe McCarthy', 'place of birth', 'Baldwyn']
ASK WHERE { resource:Babe_McCarthy property:place_of_birth resource:Baldwyn }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2190653
P159
Q43229
USER
Which organization has HQ at that administrative territory ?
action filter_type
action find_reverse
entity Q2190653
relation P159
type Q43229
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q2190653 . ?h rdf:type ontology:Q43229 }
Baldwyn
action filter_type
action find_reverse
entity Baldwyn
relation headquarters location
type organization
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Baldwyn . ?h rdf:type ontology:organization }
[]
organization
Q5647032
SYSTEM
Hancock Fabrics
Q5647032
action filter_type
action find_reverse
entity Q2190653
relation P159
type Q43229
[ANSWER] has HQ at that administrative territory
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q2190653 . ?h rdf:type ontology:Q43229 }
Hancock Fabrics
Hancock Fabrics has HQ at that administrative territory
Hancock Fabrics
action filter_type
action find_reverse
entity Baldwyn
relation headquarters location
type organization
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Baldwyn . ?h rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1659338 Q2190653
P159
Q43229
USER
Or Lyons?
OR((c(Q43229),P159,Q2190653), (c(Q43229),P159,Q1659338))
action filter_type
action union
action find_reverse
entity Q2190653
relation P159
action find_reverse
entity Q1659338
relation P159
type Q43229
{'OR': [[{'concept': 'Q43229'}, 'P159', 'Q2190653'], [{'concept': 'Q43229'}, 'P159', 'Q1659338']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q43229 . { ?h property:P159 ?v . VALUES ( ?v ) { ( resource:Q1659338 ) ( resource:Q2190653 ) } } }
Lyons Baldwyn
action filter_type
action union
action find_reverse
entity Baldwyn
relation headquarters location
action find_reverse
entity Lyons
relation headquarters location
type organization
{'OR': [[{'concept': 'organization'}, 'headquarters location', 'Baldwyn'], [{'concept': 'organization'}, 'headquarters location', 'Lyons']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:organization . { ?h property:headquarters_location ?v . VALUES ( ?v ) { ( resource:Lyons ) ( resource:Baldwyn ) } } }
[]
organization
Q19876641 Q19878543 Q5647032
SYSTEM
Leading Edge Air Foils, Wag-Aero, Hancock Fabrics
Q19876641 Q19878543 Q5647032
OR((c(Q43229),P159,Q2190653), (c(Q43229),P159,Q1659338))
action filter_type
action union
action find_reverse
entity Q2190653
relation P159
action find_reverse
entity Q1659338
relation P159
type Q43229
[ANSWERS]
{'OR': [[{'concept': 'Q43229'}, 'P159', 'Q2190653'], [{'concept': 'Q43229'}, 'P159', 'Q1659338']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q43229 . { ?h property:P159 ?v . VALUES ( ?v ) { ( resource:Q1659338 ) ( resource:Q2190653 ) } } }
Leading Edge Air Foils Wag-Aero Hancock Fabrics
Leading Edge Air Foils Wag-Aero Hancock Fabrics
action filter_type
action union
action find_reverse
entity Baldwyn
relation headquarters location
action find_reverse
entity Lyons
relation headquarters location
type organization
{'OR': [[{'concept': 'organization'}, 'headquarters location', 'Baldwyn'], [{'concept': 'organization'}, 'headquarters location', 'Lyons']]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:organization . { ?h property:headquarters_location ?v . VALUES ( ?v ) { ( resource:Lyons ) ( resource:Baldwyn ) } } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q2190653
P19 P21
Q502895
USER
Which people have birthplace at Baldwyn and do not have gender of male ?
AND((c(Q502895),P19,Q2190653), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q2190653
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q2190653'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q2190653 . MINUS { ?o property:P21 resource:Q6581097 } . ?o rdf:type ontology:Q502895 }
male Baldwyn
action filter_type
action difference
action find_reverse
entity Baldwyn
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Baldwyn'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Baldwyn . MINUS { ?o property:gender resource:male } . ?o rdf:type ontology:common_name }
[]
common name
Q6499307
SYSTEM
Laura Pendergest-Holt
Q6499307
AND((c(Q502895),P19,Q2190653), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q2190653
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have birthplace at Baldwyn and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q2190653'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?o WHERE { ?o property:P19 resource:Q2190653 . MINUS { ?o property:P21 resource:Q6581097 } . ?o rdf:type ontology:Q502895 }
Laura Pendergest-Holt
Laura Pendergest-Holt have birthplace at Baldwyn and do not have gender of male
Laura Pendergest-Holt
action filter_type
action difference
action find_reverse
entity Baldwyn
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Baldwyn'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?o WHERE { ?o property:place_of_birth resource:Baldwyn . MINUS { ?o property:gender resource:male } . ?o rdf:type ontology:common_name }
[]