Simple Question (Direct)
Simple Question
Q3494651
P27
Q15617994
USER
Which administrative territory does Dolora Zajick belong to ?
(Q3494651,P27,c(Q15617994))
action filter_type
action find
entity Q3494651
relation P27
type Q15617994
['Q3494651', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3494651 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Dolora Zajick
action filter_type
action find
entity Dolora Zajick
relation country of citizenship
type designation for an administrative territorial entity
['Dolora Zajick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dolora_Zajick property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3494651,P27,c(Q15617994))
action filter_type
action find
entity Q3494651
relation P27
type Q15617994
Dolora Zajick belongs to [ANSWER]
['Q3494651', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3494651 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
Dolora Zajick belongs to United States of America
United States of America
action filter_type
action find
entity Dolora Zajick
relation country of citizenship
type designation for an administrative territorial entity
['Dolora Zajick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Dolora_Zajick property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3494651
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q3494651
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q3494651 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Dolora Zajick
action filter_type
action find
entity Dolora Zajick
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Dolora_Zajick property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43919
SYSTEM
Salem
Q43919
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q3494651
relation P19
type Q56061
That person was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q3494651 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Salem
That person was born in Salem
Salem
action filter_type
action find
entity Dolora Zajick
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Dolora_Zajick property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q43919 Q687255 Q30
P17
Q15617994
USER
Is that administrative territory present in Weitersfelden and United States of America ?
(Q43919,P17,Q687255) (Q43919,P17,Q30)
action is_in
entity Q43919
action intersection
action find_reverse
entity Q687255
relation P17
action find_reverse
entity Q30
relation P17
['Q43919', 'P17', 'Q687255'] ['Q43919', 'P17', 'Q30']
ASK WHERE { resource:Q43919 property:P17 resource:Q687255 . resource:Q43919 property:P17 resource:Q30 }
Salem Weitersfelden United States of America
action is_in
entity Salem
action intersection
action find_reverse
entity Weitersfelden
relation country
action find_reverse
entity United States of America
relation country
['Salem', 'country', 'Weitersfelden'] ['Salem', 'country', 'United States of America']
ASK WHERE { resource:Salem property:country resource:Weitersfelden . resource:Salem property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q43919,P17,Q687255) (Q43919,P17,Q30)
action is_in
entity Q43919
action intersection
action find_reverse
entity Q687255
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q43919', 'P17', 'Q687255'] ['Q43919', 'P17', 'Q30']
ASK WHERE { resource:Q43919 property:P17 resource:Q687255 . resource:Q43919 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Salem
action intersection
action find_reverse
entity Weitersfelden
relation country
action find_reverse
entity United States of America
relation country
['Salem', 'country', 'Weitersfelden'] ['Salem', 'country', 'United States of America']
ASK WHERE { resource:Salem property:country resource:Weitersfelden . resource:Salem property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q207 Q24034331
P6
Q502895
USER
Does United States of America have a government lead by George W. Bush and Daniel Barnet Lazarus ?
(Q30,P6,Q207) (Q30,P6,Q24034331)
action is_in
entity Q30
action intersection
action find_reverse
entity Q207
relation P6
action find_reverse
entity Q24034331
relation P6
['Q30', 'P6', 'Q207'] ['Q30', 'P6', 'Q24034331']
ASK WHERE { resource:Q30 property:P6 resource:Q207 . resource:Q30 property:P6 resource:Q24034331 }
United States of America George W. Bush Daniel Barnet Lazarus
action is_in
entity United States of America
action intersection
action find_reverse
entity George W. Bush
relation head of government
action find_reverse
entity Daniel Barnet Lazarus
relation head of government
['United States of America', 'head of government', 'George W. Bush'] ['United States of America', 'head of government', 'Daniel Barnet Lazarus']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_W._Bush . resource:United_States_of_America property:head_of_government resource:Daniel_Barnet_Lazarus }
[]
common name
SYSTEM
YES and NO respectively
(Q30,P6,Q207) (Q30,P6,Q24034331)
action is_in
entity Q30
action intersection
action find_reverse
entity Q207
relation P6
action find_reverse
entity Q24034331
relation P6
[ANSWER]
['Q30', 'P6', 'Q207'] ['Q30', 'P6', 'Q24034331']
ASK WHERE { resource:Q30 property:P6 resource:Q207 . resource:Q30 property:P6 resource:Q24034331 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity George W. Bush
relation head of government
action find_reverse
entity Daniel Barnet Lazarus
relation head of government
['United States of America', 'head of government', 'George W. Bush'] ['United States of America', 'head of government', 'Daniel Barnet Lazarus']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:George_W._Bush . resource:United_States_of_America property:head_of_government resource:Daniel_Barnet_Lazarus }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q534419 Q3494651
P69
Q163740
USER
Which nonprofit organizations were Dolora Zajick and Walter Murphy educated at ?
AND((Q3494651,P69,c(Q163740)), (Q534419,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q3494651
relation P69
action find
entity Q534419
relation P69
type Q163740
{'AND': [['Q3494651', 'P69', {'concept': 'Q163740'}], ['Q534419', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3494651 property:P69 ?p . resource:Q534419 property:P69 ?p . ?p rdf:type ontology:Q163740 }
Walter Murphy Dolora Zajick
action filter_type
action intersection
action find
entity Dolora Zajick
relation educated at
action find
entity Walter Murphy
relation educated at
type nonprofit organization
{'AND': [['Dolora Zajick', 'educated at', {'concept': 'nonprofit organization'}], ['Walter Murphy', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?p WHERE { resource:Dolora_Zajick property:educated_at ?p . resource:Walter_Murphy property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1702106
SYSTEM
Manhattan School of Music
Q1702106
AND((Q3494651,P69,c(Q163740)), (Q534419,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q3494651
relation P69
action find
entity Q534419
relation P69
type Q163740
Dolora Zajick and Walter Murphy were educated at [ANSWER]
{'AND': [['Q3494651', 'P69', {'concept': 'Q163740'}], ['Q534419', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?p WHERE { resource:Q3494651 property:P69 ?p . resource:Q534419 property:P69 ?p . ?p rdf:type ontology:Q163740 }
Manhattan School of Music
Dolora Zajick and Walter Murphy were educated at Manhattan School of Music
Manhattan School of Music
action filter_type
action intersection
action find
entity Dolora Zajick
relation educated at
action find
entity Walter Murphy
relation educated at
type nonprofit organization
{'AND': [['Dolora Zajick', 'educated at', {'concept': 'nonprofit organization'}], ['Walter Murphy', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?p WHERE { resource:Dolora_Zajick property:educated_at ?p . resource:Walter_Murphy property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q534419
P21
Q290
USER
What is the sex of Walter Murphy ?
(Q534419,P21,c(Q290))
action filter_type
action find
entity Q534419
relation P21
type Q290
['Q534419', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q534419 property:P21 ?t . ?t rdf:type ontology:Q290 }
Walter Murphy
action filter_type
action find
entity Walter Murphy
relation gender
type sex
['Walter Murphy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Murphy property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q534419,P21,c(Q290))
action filter_type
action find
entity Q534419
relation P21
type Q290
The sex of Walter Murphy is a [ANSWER]
['Q534419', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q534419 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Walter Murphy is a male
male
action filter_type
action find
entity Walter Murphy
relation gender
type sex
['Walter Murphy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Walter_Murphy property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q534419
P86
Q838948
USER
Which works of art have that person as the melodist ?
(c(Q838948),P86,Q6581097)
action filter_type
action find_reverse
entity Q534419
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q838948 . ?i property:P86 resource:Q534419 }
Walter Murphy
action filter_type
action find_reverse
entity Walter Murphy
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'male']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:work_of_art . ?i property:composer resource:Walter_Murphy }
[]
work of art
Q17713411 Q641760 Q3076451
SYSTEM
Ted 2, Ted, Foodfight!
Q20949898 Q17415500 Q641760 Q17713411 Q16251053 Q3076451
(c(Q838948),P86,Q6581097)
action filter_type
action find_reverse
entity Q534419
relation P86
type Q838948
[ANSWERS] have that person as the melodist
[{'concept': 'Q838948'}, 'P86', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q838948 . ?i property:P86 resource:Q534419 }
The Late Bloomer Raw Force Ted Ted 2 Hare and Loathing in Las Vegas Foodfight!
Ted 2, Ted and Foodfight! have that person as the melodist
Ted 2 Ted Foodfight!
action filter_type
action find_reverse
entity Walter Murphy
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'male']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:work_of_art . ?i property:composer resource:Walter_Murphy }
[]
Clarification
Simple Question|Single Entity|Indirect
Q641760
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q641760,P495,c(Q15617994))
action filter_type
action find
entity Q641760
relation P495
type Q15617994
['Q641760', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q641760 property:P495 ?r }
Ted
action filter_type
action find
entity Ted
relation country of origin
type designation for an administrative territorial entity
['Ted', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ted property:country_of_origin ?r }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q641760
SYSTEM
Did you mean Ted ?
Q17713411 Q641760 Q3076451
(Q17713411,P495,c(Q15617994)) (Q641760,P495,c(Q15617994)) (Q3076451,P495,c(Q15617994))
[ANSWER]
['Q17713411', 'P495', {'concept': 'Q15617994'}] ['Q641760', 'P495', {'concept': 'Q15617994'}] ['Q3076451', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q641760 property:P495 ?r }
Ted 2 Ted Foodfight!
Did you mean Ted ?
Ted
['Ted 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Ted', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Foodfight!', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ted property:country_of_origin ?r }
[]
Simple Question (Coreferenced)
USER
Yes
(Q641760,P495,c(Q15617994))
['Q641760', 'P495', {'concept': 'Q15617994'}]
['Ted', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q641760,P495,c(Q15617994))
action filter_type
action find
entity Q641760
relation P495
type Q15617994
The country of origin of that work of art is the [ANSWER]
['Q641760', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q641760 property:P495 ?r }
United States of America
The country of origin of that work of art is the United States of America
United States of America
action filter_type
action find
entity Ted
relation country of origin
type designation for an administrative territorial entity
['Ted', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ted property:country_of_origin ?r }
[]