Simple Question (Direct)
Simple Question
Q3568744
P19
Q56061
USER
Which administrative territory was William John Scripps born at ?
(Q3568744,P19,c(Q56061))
action filter_type
action find
entity Q3568744
relation P19
type Q56061
['Q3568744', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3568744 property:P19 ?y . ?y rdf:type ontology:Q56061 }
William John Scripps
action filter_type
action find
entity William John Scripps
relation place of birth
type administrative territorial entity
['William John Scripps', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:William_John_Scripps property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12439
SYSTEM
Detroit
Q12439
(Q3568744,P19,c(Q56061))
action filter_type
action find
entity Q3568744
relation P19
type Q56061
[ANSWER]
['Q3568744', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3568744 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Detroit
Detroit
action filter_type
action find
entity William John Scripps
relation place of birth
type administrative territorial entity
['William John Scripps', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:William_John_Scripps property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3568744
P22
Q502895
USER
Which male people were the parent of William John Scripps ?
(Q3568744,P22,c(Q502895))
action filter_type
action find
entity Q3568744
relation P22
type Q502895
['Q3568744', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3568744 property:P22 ?u . ?u rdf:type ontology:Q502895 }
William John Scripps
action filter_type
action find
entity William John Scripps
relation father
type common name
['William John Scripps', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:William_John_Scripps property:father ?u . ?u rdf:type ontology:common_name }
[]
common name
Q3161050 Q6133204
SYSTEM
James Edmund Scripps, James E. Scripps
Q3161050 Q6133204
(Q3568744,P22,c(Q502895))
action filter_type
action find
entity Q3568744
relation P22
type Q502895
[ANSWERS]
['Q3568744', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3568744 property:P22 ?u . ?u rdf:type ontology:Q502895 }
James Edmund Scripps James E. Scripps
James Edmund Scripps James E. Scripps
action filter_type
action find
entity William John Scripps
relation father
type common name
['William John Scripps', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:William_John_Scripps property:father ?u . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1650216
P22
Q502895
USER
Do Josef Wiesheier have those ones as a parent ?
(Q1650216,P22,Q3161050) (Q1650216,P22,Q6133204)
action is_in
entity prev_answer
action find
entity Q1650216
relation P22
['Q1650216', 'P22', 'Q3161050'] ['Q1650216', 'P22', 'Q6133204']
ASK WHERE { VALUES ( ?j ) { ( resource:Q3161050 ) ( resource:Q6133204 ) } . resource:Q1650216 property:P22 ?j }
Josef Wiesheier
action is_in
entity prev_answer
action find
entity Josef Wiesheier
relation father
['Josef Wiesheier', 'father', 'James Edmund Scripps'] ['Josef Wiesheier', 'father', 'James E. Scripps']
ASK WHERE { VALUES ( ?j ) { ( resource:James_Edmund_Scripps ) ( resource:James_E._Scripps ) } . resource:Josef_Wiesheier property:father ?j }
[]
common name
SYSTEM
NO
(Q1650216,P22,Q3161050) (Q1650216,P22,Q6133204)
action is_in
entity prev_answer
action find
entity Q1650216
relation P22
[ANSWER]
['Q1650216', 'P22', 'Q3161050'] ['Q1650216', 'P22', 'Q6133204']
ASK WHERE { VALUES ( ?j ) { ( resource:Q3161050 ) ( resource:Q6133204 ) } . resource:Q1650216 property:P22 ?j }
No
action is_in
entity prev_answer
action find
entity Josef Wiesheier
relation father
['Josef Wiesheier', 'father', 'James Edmund Scripps'] ['Josef Wiesheier', 'father', 'James E. Scripps']
ASK WHERE { VALUES ( ?j ) { ( resource:James_Edmund_Scripps ) ( resource:James_E._Scripps ) } . resource:Josef_Wiesheier property:father ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3568744 Q1105862 Q3568589
P7
Q502895
USER
Did William John Scripps have Ayumi Takada and William Edmund Scripps as brother ?
(Q3568744,P7,Q1105862) (Q3568744,P7,Q3568589)
action is_in
entity Q3568744
action intersection
action find_reverse
entity Q1105862
relation P7
action find_reverse
entity Q3568589
relation P7
['Q3568744', 'P7', 'Q1105862'] ['Q3568744', 'P7', 'Q3568589']
ASK WHERE { resource:Q3568744 property:P7 resource:Q1105862 . resource:Q3568744 property:P7 resource:Q3568589 }
William John Scripps Ayumi Takada William Edmund Scripps
action is_in
entity William John Scripps
action intersection
action find_reverse
entity Ayumi Takada
relation brother
action find_reverse
entity William Edmund Scripps
relation brother
['William John Scripps', 'brother', 'Ayumi Takada'] ['William John Scripps', 'brother', 'William Edmund Scripps']
ASK WHERE { resource:William_John_Scripps property:brother resource:Ayumi_Takada . resource:William_John_Scripps property:brother resource:William_Edmund_Scripps }
[]
common name
SYSTEM
NO and YES respectively
(Q3568744,P7,Q1105862) (Q3568744,P7,Q3568589)
action is_in
entity Q3568744
action intersection
action find_reverse
entity Q1105862
relation P7
action find_reverse
entity Q3568589
relation P7
[ANSWER]
['Q3568744', 'P7', 'Q1105862'] ['Q3568744', 'P7', 'Q3568589']
ASK WHERE { resource:Q3568744 property:P7 resource:Q1105862 . resource:Q3568744 property:P7 resource:Q3568589 }
NO and YES respectively
action is_in
entity William John Scripps
action intersection
action find_reverse
entity Ayumi Takada
relation brother
action find_reverse
entity William Edmund Scripps
relation brother
['William John Scripps', 'brother', 'Ayumi Takada'] ['William John Scripps', 'brother', 'William Edmund Scripps']
ASK WHERE { resource:William_John_Scripps property:brother resource:Ayumi_Takada . resource:William_John_Scripps property:brother resource:William_Edmund_Scripps }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3161050 Q1930187
P106
Q12737077
USER
Does James Edmund Scripps do for a living journalist ?
(Q3161050,P106,Q1930187)
action is_in
entity Q1930187
action find
entity Q3161050
relation P106
['Q3161050', 'P106', 'Q1930187']
ASK WHERE { resource:Q3161050 property:P106 resource:Q1930187 }
James Edmund Scripps journalist
action is_in
entity journalist
action find
entity James Edmund Scripps
relation occupation
['James Edmund Scripps', 'occupation', 'journalist']
ASK WHERE { resource:James_Edmund_Scripps property:occupation resource:journalist }
[]
occupation
SYSTEM
YES
(Q3161050,P106,Q1930187)
action is_in
entity Q1930187
action find
entity Q3161050
relation P106
[ANSWER]
['Q3161050', 'P106', 'Q1930187']
ASK WHERE { resource:Q3161050 property:P106 resource:Q1930187 }
Yes
action is_in
entity journalist
action find
entity James Edmund Scripps
relation occupation
['James Edmund Scripps', 'occupation', 'journalist']
ASK WHERE { resource:James_Edmund_Scripps property:occupation resource:journalist }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3568744 Q7340234 Q4750301
P9
Q502895
USER
Does William John Scripps have Rob Ickes and Ana as their sibling ?
(Q3568744,P9,Q7340234) (Q3568744,P9,Q4750301)
action is_in
entity Q3568744
action intersection
action find_reverse
entity Q7340234
relation P9
action find_reverse
entity Q4750301
relation P9
['Q3568744', 'P9', 'Q7340234'] ['Q3568744', 'P9', 'Q4750301']
ASK WHERE { resource:Q3568744 property:P9 resource:Q7340234 . resource:Q3568744 property:P9 resource:Q4750301 }
William John Scripps Rob Ickes Ana
action is_in
entity William John Scripps
action intersection
action find_reverse
entity Rob Ickes
relation sister
action find_reverse
entity Ana
relation sister
['William John Scripps', 'sister', 'Rob Ickes'] ['William John Scripps', 'sister', 'Ana']
ASK WHERE { resource:William_John_Scripps property:sister resource:Rob_Ickes . resource:William_John_Scripps property:sister resource:Ana }
[]
common name
SYSTEM
NO
(Q3568744,P9,Q7340234) (Q3568744,P9,Q4750301)
action is_in
entity Q3568744
action intersection
action find_reverse
entity Q7340234
relation P9
action find_reverse
entity Q4750301
relation P9
[ANSWER]
['Q3568744', 'P9', 'Q7340234'] ['Q3568744', 'P9', 'Q4750301']
ASK WHERE { resource:Q3568744 property:P9 resource:Q7340234 . resource:Q3568744 property:P9 resource:Q4750301 }
No
action is_in
entity William John Scripps
action intersection
action find_reverse
entity Rob Ickes
relation sister
action find_reverse
entity Ana
relation sister
['William John Scripps', 'sister', 'Rob Ickes'] ['William John Scripps', 'sister', 'Ana']
ASK WHERE { resource:William_John_Scripps property:sister resource:Rob_Ickes . resource:William_John_Scripps property:sister resource:Ana }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 351 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 351
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?j = 351 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 351
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?j = 351 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 351
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?j = 351 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 351
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?j = 351 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3161050
P27
Q15617994
USER
Which administrative territory does James Edmund Scripps belong to ?
(Q3161050,P27,c(Q15617994))
action filter_type
action find
entity Q3161050
relation P27
type Q15617994
['Q3161050', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3161050 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
James Edmund Scripps
action filter_type
action find
entity James Edmund Scripps
relation country of citizenship
type designation for an administrative territorial entity
['James Edmund Scripps', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:James_Edmund_Scripps property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q3161050,P27,c(Q15617994))
action filter_type
action find
entity Q3161050
relation P27
type Q15617994
[ANSWER]
['Q3161050', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3161050 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity James Edmund Scripps
relation country of citizenship
type designation for an administrative territorial entity
['James Edmund Scripps', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:James_Edmund_Scripps property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12439
P937
Q502895
USER
Who works at Detroit ?
(c(Q502895),P937,Q12439)
action filter_type
action find_reverse
entity Q12439
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q12439']
SELECT DISTINCT ?c WHERE { ?c property:P937 resource:Q12439 . ?c rdf:type ontology:Q502895 }
Detroit
action filter_type
action find_reverse
entity Detroit
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Detroit']
SELECT DISTINCT ?c WHERE { ?c property:work_location resource:Detroit . ?c rdf:type ontology:common_name }
[]
common name
Q311895 Q557 Q5608
SYSTEM
Grant Hill, Patti Smith, Eminem
Q22704554 Q557 Q158175 Q5608 Q1377461 Q378878 Q15807989 Q1608695 Q311895
(c(Q502895),P937,Q12439)
action filter_type
action find_reverse
entity Q12439
relation P937
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q12439']
SELECT DISTINCT ?c WHERE { ?c property:P937 resource:Q12439 . ?c rdf:type ontology:Q502895 }
 Mary McLellan Hamilton Patti Smith Kid Rock Eminem Laura Lee Perkins Mitch Albom Emil Hardrat Herbert Kühn Grant Hill
Grant Hill Patti Smith Eminem
action filter_type
action find_reverse
entity Detroit
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Detroit']
SELECT DISTINCT ?c WHERE { ?c property:work_location resource:Detroit . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5608
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q5608)
action filter_type
action find_reverse
entity Q5608
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q5608']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q5608 . ?w rdf:type ontology:Q838948 }
Eminem
action filter_type
action find_reverse
entity Eminem
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Eminem']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Eminem . ?w rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q557
SYSTEM
Did you mean Patti Smith ?
Q311895 Q557 Q5608
(c(Q838948),P161,Q311895) (c(Q838948),P161,Q557) (c(Q838948),P161,Q5608)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q311895'] [{'concept': 'Q838948'}, 'P161', 'Q557'] [{'concept': 'Q838948'}, 'P161', 'Q5608']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q5608 . ?w rdf:type ontology:Q838948 }
Grant Hill Patti Smith Eminem
Did you mean Patti Smith ?
Patti Smith
[{'concept': 'work of art'}, 'cast member', 'Grant Hill'] [{'concept': 'work of art'}, 'cast member', 'Patti Smith'] [{'concept': 'work of art'}, 'cast member', 'Eminem']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Eminem . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Eminem. Could you tell me the answer for that?
(c(Q838948),P161,Q5608)
Q5608
[{'concept': 'Q838948'}, 'P161', 'Q5608']
[{'concept': 'work of art'}, 'cast member', 'Eminem']
[]
Q15524911 Q196665 Q1137899
SYSTEM
The Interview, 8 Mile, Funny People
Q934629 Q2579201 Q196665 Q651318 Q1137899 Q15524911 Q3985698
(c(Q838948),P161,Q5608)
action filter_type
action find_reverse
entity Q5608
relation P161
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q5608']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q5608 . ?w rdf:type ontology:Q838948 }
50 Cent: The New Breed The Wash 8 Mile Da Hip Hop Witch Funny People The Interview Something from Nothing: The Art of Rap
The Interview 8 Mile Funny People
action filter_type
action find_reverse
entity Eminem
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Eminem']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Eminem . ?w rdf:type ontology:work_of_art }
[]