Simple Question (Direct)
Simple Question
Q81145
P144
Q2342494
USER
Which collectable is The Eagle based on ?
(Q81145,P144,c(Q2342494))
action filter_type
action find
entity Q81145
relation P144
type Q2342494
['Q81145', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?s WHERE { resource:Q81145 property:P144 ?s . ?s rdf:type ontology:Q2342494 }
The Eagle
action filter_type
action find
entity The Eagle
relation based on
type collectable
['The Eagle', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?s WHERE { resource:The_Eagle property:based_on ?s . ?s rdf:type ontology:collectable }
[]
collectable
Q2610619
SYSTEM
The Eagle of the Ninth
Q2610619
(Q81145,P144,c(Q2342494))
action filter_type
action find
entity Q81145
relation P144
type Q2342494
[ANSWER]
['Q81145', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?s WHERE { resource:Q81145 property:P144 ?s . ?s rdf:type ontology:Q2342494 }
The Eagle of the Ninth
The Eagle of the Ninth
action filter_type
action find
entity The Eagle
relation based on
type collectable
['The Eagle', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?s WHERE { resource:The_Eagle property:based_on ?s . ?s rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2610619
P110
Q502895
USER
Which person illustrated that collectable ?
(Q2610619,P110,c(Q502895))
action filter_type
action find
entity Q2610619
relation P110
type Q502895
['Q2610619', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q2610619 property:P110 ?w }
The Eagle of the Ninth
action filter_type
action find
entity The Eagle of the Ninth
relation illustrator
type common name
['The Eagle of the Ninth', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Eagle_of_the_Ninth property:illustrator ?w }
[]
common name
Q5006967
SYSTEM
C. Walter Hodges
Q5006967
(Q2610619,P110,c(Q502895))
action filter_type
action find
entity Q2610619
relation P110
type Q502895
[ANSWER]
['Q2610619', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q2610619 property:P110 ?w }
C. Walter Hodges
C. Walter Hodges
action filter_type
action find
entity The Eagle of the Ninth
relation illustrator
type common name
['The Eagle of the Ninth', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Eagle_of_the_Ninth property:illustrator ?w }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5006967 Q1860
P1412
Q34770
USER
Is English spoken by that person ?
(Q5006967,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q5006967
relation P1412
['Q5006967', 'P1412', 'Q1860']
ASK WHERE { resource:Q5006967 property:P1412 resource:Q1860 }
C. Walter Hodges English
action is_in
entity English
action find
entity C. Walter Hodges
relation languages spoken, written or signed
['C. Walter Hodges', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:C._Walter_Hodges property:languages_spoken,_written_or_signed resource:English }
[]
language
SYSTEM
YES
(Q5006967,P1412,Q1860)
action is_in
entity Q1860
action find
entity Q5006967
relation P1412
[ANSWER]
['Q5006967', 'P1412', 'Q1860']
ASK WHERE { resource:Q5006967 property:P1412 resource:Q1860 }
Yes
action is_in
entity English
action find
entity C. Walter Hodges
relation languages spoken, written or signed
['C. Walter Hodges', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:C._Walter_Hodges property:languages_spoken,_written_or_signed resource:English }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q81145 Q629696
P161
Q502895
USER
Did Denis O'Hare star in The Eagle ?
(Q81145,P161,Q629696)
action is_in
entity Q629696
action find
entity Q81145
relation P161
['Q81145', 'P161', 'Q629696']
ASK WHERE { resource:Q81145 property:P161 resource:Q629696 }
The Eagle Denis O'Hare
action is_in
entity Denis O'Hare
action find
entity The Eagle
relation cast member
['The Eagle', 'cast member', "Denis O'Hare"]
ASK WHERE { resource:The_Eagle property:cast_member resource:Denis_O'Hare }
[]
common name
SYSTEM
YES
(Q81145,P161,Q629696)
action is_in
entity Q629696
action find
entity Q81145
relation P161
[ANSWER]
['Q81145', 'P161', 'Q629696']
ASK WHERE { resource:Q81145 property:P161 resource:Q629696 }
Yes
action is_in
entity Denis O'Hare
action find
entity The Eagle
relation cast member
['The Eagle', 'cast member', "Denis O'Hare"]
ASK WHERE { resource:The_Eagle property:cast_member resource:Denis_O'Hare }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2610619 Q508122
P495
Q15617994
USER
Did The Eagle of the Ninth originate Schwaig ?
(Q2610619,P495,Q508122)
action is_in
entity Q508122
action find
entity Q2610619
relation P495
['Q2610619', 'P495', 'Q508122']
ASK WHERE { resource:Q2610619 property:P495 resource:Q508122 }
The Eagle of the Ninth Schwaig
action is_in
entity Schwaig
action find
entity The Eagle of the Ninth
relation country of origin
['The Eagle of the Ninth', 'country of origin', 'Schwaig']
ASK WHERE { resource:The_Eagle_of_the_Ninth property:country_of_origin resource:Schwaig }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2610619,P495,Q508122)
action is_in
entity Q508122
action find
entity Q2610619
relation P495
[ANSWER]
['Q2610619', 'P495', 'Q508122']
ASK WHERE { resource:Q2610619 property:P495 resource:Q508122 }
No
action is_in
entity Schwaig
action find
entity The Eagle of the Ninth
relation country of origin
['The Eagle of the Ninth', 'country of origin', 'Schwaig']
ASK WHERE { resource:The_Eagle_of_the_Ninth property:country_of_origin resource:Schwaig }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 3113 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3113
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?x = 3113 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P1303 ?e . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3113
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?x = 3113 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:instrument ?e . ?y rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3113
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?x = 3113 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P1303 ?e . ?y rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } }
violin organ drum kit
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3113
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?x = 3113 ) . { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:instrument ?e . ?y rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1444
P180
Q838948
USER
Which work of art expressess that musical instrument ?
(c(Q838948),P180,Q1444)
action filter_type
action find_reverse
entity Q1444
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q1444']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P180 resource:Q1444 }
organ
action filter_type
action find_reverse
entity organ
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'organ']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:depicts resource:organ }
[]
work of art
Clarification for simple ques.
Q128309
SYSTEM
Did you mean drum kit ?
Q8355 Q1444 Q128309
(c(Q838948),P180,Q8355) (c(Q838948),P180,Q1444) (c(Q838948),P180,Q128309)
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q8355'] [{'concept': 'Q838948'}, 'P180', 'Q1444'] [{'concept': 'Q838948'}, 'P180', 'Q128309']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P180 resource:Q1444 }
violin organ drum kit
Did you mean drum kit ?
drum kit
[{'concept': 'work of art'}, 'depicts', 'violin'] [{'concept': 'work of art'}, 'depicts', 'organ'] [{'concept': 'work of art'}, 'depicts', 'drum kit']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:depicts resource:organ }
[]
Simple Question (Coreferenced)
USER
No, I meant organ. Could you tell me the answer for that?
(c(Q838948),P180,Q1444)
Q1444
[{'concept': 'Q838948'}, 'P180', 'Q1444']
[{'concept': 'work of art'}, 'depicts', 'organ']
[]
Q18156272
SYSTEM
Hearing
Q18156272
(c(Q838948),P180,Q1444)
action filter_type
action find_reverse
entity Q1444
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q1444']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P180 resource:Q1444 }
Hearing
Hearing
action filter_type
action find_reverse
entity organ
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'organ']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:depicts resource:organ }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18156272 Q20026681 Q1124095
P276
Q33506
USER
Is Hearing located at Michaelis Collection and Musée de Cluny ?
(Q18156272,P276,Q20026681) (Q18156272,P276,Q1124095)
action is_in
entity Q18156272
action intersection
action find_reverse
entity Q20026681
relation P276
action find_reverse
entity Q1124095
relation P276
['Q18156272', 'P276', 'Q20026681'] ['Q18156272', 'P276', 'Q1124095']
ASK WHERE { resource:Q18156272 property:P276 resource:Q20026681 . resource:Q18156272 property:P276 resource:Q1124095 }
Hearing Michaelis Collection Musée de Cluny
action is_in
entity Hearing
action intersection
action find_reverse
entity Michaelis Collection
relation location
action find_reverse
entity Musée de Cluny
relation location
['Hearing', 'location', 'Michaelis Collection'] ['Hearing', 'location', 'Musée de Cluny']
ASK WHERE { resource:Hearing property:location resource:Michaelis_Collection . resource:Hearing property:location resource:Musée_de_Cluny }
[]
museum
SYSTEM
NO and YES respectively
(Q18156272,P276,Q20026681) (Q18156272,P276,Q1124095)
action is_in
entity Q18156272
action intersection
action find_reverse
entity Q20026681
relation P276
action find_reverse
entity Q1124095
relation P276
[ANSWER]
['Q18156272', 'P276', 'Q20026681'] ['Q18156272', 'P276', 'Q1124095']
ASK WHERE { resource:Q18156272 property:P276 resource:Q20026681 . resource:Q18156272 property:P276 resource:Q1124095 }
NO and YES respectively
action is_in
entity Hearing
action intersection
action find_reverse
entity Michaelis Collection
relation location
action find_reverse
entity Musée de Cluny
relation location
['Hearing', 'location', 'Michaelis Collection'] ['Hearing', 'location', 'Musée de Cluny']
ASK WHERE { resource:Hearing property:location resource:Michaelis_Collection . resource:Hearing property:location resource:Musée_de_Cluny }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5006967
P21
Q290
USER
Which sex does C. Walter Hodges have ?
(Q5006967,P21,c(Q290))
action filter_type
action find
entity Q5006967
relation P21
type Q290
['Q5006967', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q5006967 property:P21 ?a . ?a rdf:type ontology:Q290 }
C. Walter Hodges
action filter_type
action find
entity C. Walter Hodges
relation gender
type sex
['C. Walter Hodges', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:C._Walter_Hodges property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5006967,P21,c(Q290))
action filter_type
action find
entity Q5006967
relation P21
type Q290
[ANSWER]
['Q5006967', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q5006967 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity C. Walter Hodges
relation gender
type sex
['C. Walter Hodges', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:C._Walter_Hodges property:gender ?a . ?a rdf:type ontology:sex }
[]