Simple Question (Direct)
Simple Question
Q269037
P26
Q502895
USER
Which people are married to Movita Castaneda ?
(Q269037,P26,c(Q502895))
action filter_type
action find
entity Q269037
relation P26
type Q502895
['Q269037', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q269037 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Movita Castaneda
action filter_type
action find
entity Movita Castaneda
relation spouse
type common name
['Movita Castaneda', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Movita_Castaneda property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q6112175 Q34012
SYSTEM
Jack Doyle, Marlon Brando
Q6112175 Q34012
(Q269037,P26,c(Q502895))
action filter_type
action find
entity Q269037
relation P26
type Q502895
[ANSWERS] are married to Movita Castaneda
['Q269037', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q269037 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Jack Doyle Marlon Brando
Jack Doyle and Marlon Brando are married to Movita Castaneda
Jack Doyle Marlon Brando
action filter_type
action find
entity Movita Castaneda
relation spouse
type common name
['Movita Castaneda', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Movita_Castaneda property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6112175 Q34012
P26
Q502895
USER
Which people have Jack Doyle and Marlon Brando as spouse ?
(c(Q502895),P26,Q6112175) (c(Q502895),P26,Q34012)
action union
action filter_type
action find
entity Q6112175
relation P26
type Q502895
action filter_type
action find
entity Q34012
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6112175'] [{'concept': 'Q502895'}, 'P26', 'Q34012']
SELECT DISTINCT ?r WHERE { { resource:Q6112175 property:P26 ?r . ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q502895 . resource:Q34012 property:P26 ?r } }
Jack Doyle Marlon Brando
action union
action filter_type
action find
entity Jack Doyle
relation spouse
type common name
action filter_type
action find
entity Marlon Brando
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jack Doyle'] [{'concept': 'common name'}, 'spouse', 'Marlon Brando']
SELECT DISTINCT ?r WHERE { { resource:Jack_Doyle property:spouse ?r . ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:common_name . resource:Marlon_Brando property:spouse ?r } }
[]
common name
Q534436 Q508628 Q269037
SYSTEM
Anna Kashfi, Tarita Teriipaia, Movita Castaneda
Q269037 Q269037 Q508628 Q534436
(c(Q502895),P26,Q6112175) (c(Q502895),P26,Q34012)
action union
action filter_type
action find
entity Q6112175
relation P26
type Q502895
action filter_type
action find
entity Q34012
relation P26
type Q502895
[ANSWERS] have Jack Doyle and Marlon Brando as spouse
[{'concept': 'Q502895'}, 'P26', 'Q6112175'] [{'concept': 'Q502895'}, 'P26', 'Q34012']
SELECT DISTINCT ?r WHERE { { resource:Q6112175 property:P26 ?r . ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q502895 . resource:Q34012 property:P26 ?r } }
Movita Castaneda Movita Castaneda Tarita Teriipaia Anna Kashfi
Anna Kashfi, Tarita Teriipaia and Movita Castaneda have Jack Doyle and Marlon Brando as spouse
Anna Kashfi Tarita Teriipaia Movita Castaneda
action union
action filter_type
action find
entity Jack Doyle
relation spouse
type common name
action filter_type
action find
entity Marlon Brando
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jack Doyle'] [{'concept': 'common name'}, 'spouse', 'Marlon Brando']
SELECT DISTINCT ?r WHERE { { resource:Jack_Doyle property:spouse ?r . ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:common_name . resource:Marlon_Brando property:spouse ?r } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q534436 Q508628 Q269037
P161
Q838948
USER
Which works of art have Anna Kashfi, Tarita Teriipaia and Movita Castaneda as actor ?
(c(Q838948),P161,Q534436) (c(Q838948),P161,Q508628) (c(Q838948),P161,Q269037)
action union
action filter_type
action find_reverse
entity Q534436
relation P161
type Q838948
action filter_type
action find_reverse
entity Q508628
relation P161
type Q838948
action filter_type
action find_reverse
entity Q269037
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q534436'] [{'concept': 'Q838948'}, 'P161', 'Q508628'] [{'concept': 'Q838948'}, 'P161', 'Q269037']
SELECT DISTINCT ?f WHERE { { ?f property:P161 resource:Q508628 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P161 resource:Q534436 . ?f rdf:type ontology:Q838948 } }
Anna Kashfi Tarita Teriipaia Movita Castaneda
action union
action filter_type
action find_reverse
entity Anna Kashfi
relation cast member
type work of art
action filter_type
action find_reverse
entity Tarita Teriipaia
relation cast member
type work of art
action filter_type
action find_reverse
entity Movita Castaneda
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Anna Kashfi'] [{'concept': 'work of art'}, 'cast member', 'Tarita Teriipaia'] [{'concept': 'work of art'}, 'cast member', 'Movita Castaneda']
SELECT DISTINCT ?f WHERE { { ?f property:cast_member resource:Tarita_Teriipaia . ?f rdf:type ontology:work_of_art } UNION { ?f property:cast_member resource:Anna_Kashfi . ?f rdf:type ontology:work_of_art } }
[]
work of art
Q329709 Q59084 Q773276
SYSTEM
Mutiny on the Bounty, Mutiny on the Bounty, Fort Apache
Q1859229 Q910112 Q1747719 Q16253633 Q59084 Q661949 Q2250146 Q992813 Q426272 Q329709 Q1233030 Q977899 Q21528004 Q1434597 Q773276 Q3070966
(c(Q838948),P161,Q534436) (c(Q838948),P161,Q508628) (c(Q838948),P161,Q269037)
action union
action filter_type
action find_reverse
entity Q534436
relation P161
type Q838948
action filter_type
action find_reverse
entity Q508628
relation P161
type Q838948
action filter_type
action find_reverse
entity Q269037
relation P161
type Q838948
[ANSWERS] have Anna Kashfi, Tarita Teriipaia and Movita Castaneda as actor
[{'concept': 'Q838948'}, 'P161', 'Q534436'] [{'concept': 'Q838948'}, 'P161', 'Q508628'] [{'concept': 'Q838948'}, 'P161', 'Q269037']
SELECT DISTINCT ?f WHERE { { ?f property:P161 resource:Q508628 . ?f rdf:type ontology:Q838948 } UNION { ?f property:P161 resource:Q534436 . ?f rdf:type ontology:Q838948 } }
Battle Hymn The Mountain Cowboy Night of the Quarter Moon Mutiny on the Bounty Dream Wife The Furies Ride, Vaquero! The Hurricane Mutiny on the Bounty Kim Wagon Master Rose of the Rio Grande Flying Down to Rio Fort Apache Red Light
Mutiny on the Bounty, Mutiny on the Bounty and Fort Apache have Anna Kashfi, Tarita Teriipaia and Movita Castaneda as actor
Mutiny on the Bounty Mutiny on the Bounty Fort Apache
action union
action filter_type
action find_reverse
entity Anna Kashfi
relation cast member
type work of art
action filter_type
action find_reverse
entity Tarita Teriipaia
relation cast member
type work of art
action filter_type
action find_reverse
entity Movita Castaneda
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Anna Kashfi'] [{'concept': 'work of art'}, 'cast member', 'Tarita Teriipaia'] [{'concept': 'work of art'}, 'cast member', 'Movita Castaneda']
SELECT DISTINCT ?f WHERE { { ?f property:cast_member resource:Tarita_Teriipaia . ?f rdf:type ontology:work_of_art } UNION { ?f property:cast_member resource:Anna_Kashfi . ?f rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q329709 Q59084 Q773276
P57
Q502895
USER
Which people served as the directed of those works of art ?
(Q329709,P57,c(Q502895)) (Q59084,P57,c(Q502895)) (Q773276,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q329709', 'P57', {'concept': 'Q502895'}] ['Q59084', 'P57', {'concept': 'Q502895'}] ['Q773276', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?w property:P57 ?k . VALUES ( ?w ) { ( resource:Q1859229 ) ( resource:Q910112 ) ( resource:Q1747719 ) } . ?k rdf:type ontology:Q502895 }
Mutiny on the Bounty Mutiny on the Bounty Fort Apache
action filter_type
action find
entity prev_answer
relation director
type common name
['Mutiny on the Bounty', 'director', {'concept': 'common name'}] ['Mutiny on the Bounty', 'director', {'concept': 'common name'}] ['Fort Apache', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?w property:director ?k . VALUES ( ?w ) { ( resource:Battle_Hymn ) ( resource:The_Mountain ) ( resource:Cowboy ) } . ?k rdf:type ontology:common_name }
[]
common name
Q51114 Q95143 Q28941
SYSTEM
John Ford, Carol Reed, Frank Lloyd
Q28941 Q285928 Q95143 Q51114
(Q329709,P57,c(Q502895)) (Q59084,P57,c(Q502895)) (Q773276,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
[ANSWERS] served as the directed of those works of art
['Q329709', 'P57', {'concept': 'Q502895'}] ['Q59084', 'P57', {'concept': 'Q502895'}] ['Q773276', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?w property:P57 ?k . VALUES ( ?w ) { ( resource:Q1859229 ) ( resource:Q910112 ) ( resource:Q1747719 ) } . ?k rdf:type ontology:Q502895 }
Frank Lloyd Lewis Milestone Carol Reed John Ford
John Ford, Carol Reed and Frank Lloyd served as the directed of those works of art
John Ford Carol Reed Frank Lloyd
action filter_type
action find
entity prev_answer
relation director
type common name
['Mutiny on the Bounty', 'director', {'concept': 'common name'}] ['Mutiny on the Bounty', 'director', {'concept': 'common name'}] ['Fort Apache', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?w property:director ?k . VALUES ( ?w ) { ( resource:Battle_Hymn ) ( resource:The_Mountain ) ( resource:Cowboy ) } . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q51114
P344
Q201658
USER
Which film genre has John Ford as cinematographer ?
(c(Q201658),P344,Q51114)
action filter_type
action find_reverse
entity Q51114
relation P344
type Q201658
[{'concept': 'Q201658'}, 'P344', 'Q51114']
SELECT DISTINCT ?j WHERE { ?j property:P344 resource:Q51114 . ?j rdf:type ontology:Q201658 }
John Ford
action filter_type
action find_reverse
entity John Ford
relation director of photography
type film genre
[{'concept': 'film genre'}, 'director of photography', 'John Ford']
SELECT DISTINCT ?j WHERE { ?j property:director_of_photography resource:John_Ford . ?j rdf:type ontology:film_genre }
[]
film genre
Q1795389
SYSTEM
The Battle of Midway
Q1795389
(c(Q201658),P344,Q51114)
action filter_type
action find_reverse
entity Q51114
relation P344
type Q201658
[ANSWER] has John Ford as cinematographer
[{'concept': 'Q201658'}, 'P344', 'Q51114']
SELECT DISTINCT ?j WHERE { ?j property:P344 resource:Q51114 . ?j rdf:type ontology:Q201658 }
The Battle of Midway
The Battle of Midway has John Ford as cinematographer
The Battle of Midway
action filter_type
action find_reverse
entity John Ford
relation director of photography
type film genre
[{'concept': 'film genre'}, 'director of photography', 'John Ford']
SELECT DISTINCT ?j WHERE { ?j property:director_of_photography resource:John_Ford . ?j rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34012
P25
Q502895
USER
Which female person was the parent of Marlon Brando ?
(Q34012,P25,c(Q502895))
action filter_type
action find
entity Q34012
relation P25
type Q502895
['Q34012', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q34012 property:P25 ?h . ?h rdf:type ontology:Q502895 }
Marlon Brando
action filter_type
action find
entity Marlon Brando
relation mother
type common name
['Marlon Brando', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Marlon_Brando property:mother ?h . ?h rdf:type ontology:common_name }
[]
common name
Q3033660
SYSTEM
Dodie Brando
Q3033660
(Q34012,P25,c(Q502895))
action filter_type
action find
entity Q34012
relation P25
type Q502895
[ANSWER] was the parent of Marlon Brando
['Q34012', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q34012 property:P25 ?h . ?h rdf:type ontology:Q502895 }
Dodie Brando
Dodie Brando was the parent of Marlon Brando
Dodie Brando
action filter_type
action find
entity Marlon Brando
relation mother
type common name
['Marlon Brando', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Marlon_Brando property:mother ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3033660 Q30
P27
Q15617994
USER
Is that person an inhabitant of United States of America ?
(Q3033660,P27,Q30)
action is_in
entity Q30
action find
entity Q3033660
relation P27
['Q3033660', 'P27', 'Q30']
ASK WHERE { resource:Q3033660 property:P27 resource:Q30 }
Dodie Brando United States of America
action is_in
entity United States of America
action find
entity Dodie Brando
relation country of citizenship
['Dodie Brando', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Dodie_Brando property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3033660,P27,Q30)
action is_in
entity Q30
action find
entity Q3033660
relation P27
[ANSWER]
['Q3033660', 'P27', 'Q30']
ASK WHERE { resource:Q3033660 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Dodie Brando
relation country of citizenship
['Dodie Brando', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Dodie_Brando property:country_of_citizenship resource:United_States_of_America }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q873588
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as Jinghu ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q873588
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P1303 ?u . ?a rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q873588 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } }
Jinghu
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Jinghu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:instrument ?u . ?a rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Jinghu property:instrument ?p . ?p rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q873588
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as Jinghu
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P1303 ?u . ?a rdf:type ontology:Q502895 . ?u rdf:type ontology:Q34379 } GROUP BY ?u } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q873588 property:P1303 ?p . ?p rdf:type ontology:Q34379 } } }
viola 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 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
Davul, harpsichord and Wurlitzer electric piano can approximately the same number of people perform with as Jinghu
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Jinghu
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:instrument ?u . ?a rdf:type ontology:common_name . ?u rdf:type ontology:musical_instrument } GROUP BY ?u } . FILTER ( ?z = ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Jinghu property:instrument ?p . ?p rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1759986
P1303
Q34379 Q502895
USER
And how about Wurlitzer electric piano?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?u property:P1303 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q1759986 property:P1303 ?p } } . FILTER ( ?b = ?f ) }
Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?u property:instrument ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p rdf:type ontology:musical_instrument . resource:Wurlitzer_electric_piano property:instrument ?p } } . FILTER ( ?b = ?f ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1759986
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ontology:Q502895 . ?i rdf:type ontology:Q34379 . ?u property:P1303 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p rdf:type ontology:Q34379 . resource:Q1759986 property:P1303 ?p } } . FILTER ( ?b = ?f ) }
viola 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 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
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Wurlitzer electric piano
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?b ) WHERE { ?u rdf:type ontology:common_name . ?i rdf:type ontology:musical_instrument . ?u property:instrument ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p rdf:type ontology:musical_instrument . resource:Wurlitzer_electric_piano property:instrument ?p } } . FILTER ( ?b = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1509644 Q329709
P161 P58
Q502895
USER
Which people served as the screenwriter for Mutiny on the Bounty or were casted in Itty Bitty Titty Committee ?
OR((Q329709,P58,c(Q502895)), (Q1509644,P161,c(Q502895)))
action filter_type
action union
action find
entity Q329709
relation P58
action find
entity Q1509644
relation P161
type Q502895
{'OR': [['Q329709', 'P58', {'concept': 'Q502895'}], ['Q1509644', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1509644 property:P161 ?s } UNION { resource:Q329709 property:P58 ?s } } . ?s rdf:type ontology:Q502895 }
Itty Bitty Titty Committee Mutiny on the Bounty
action filter_type
action union
action find
entity Mutiny on the Bounty
relation screenwriter
action find
entity Itty Bitty Titty Committee
relation cast member
type common name
{'OR': [['Mutiny on the Bounty', 'screenwriter', {'concept': 'common name'}], ['Itty Bitty Titty Committee', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Itty_Bitty_Titty_Committee property:cast_member ?s } UNION { resource:Mutiny_on_the_Bounty property:screenwriter ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q432710 Q2389962 Q704053 Q449626 Q461082 Q5245814 Q267243 Q469579 Q447289 Q447584
SYSTEM
Some of them are Jenny Shimizu, Talbot Jennings, Jules Furthman, Melonie Diaz, Leslie Grossman, Deak Evgenikos, Melanie Mayron, Mircea Monroe, Daniela Sea, Guinevere Turner
Q1189470 Q461082 Q447289 Q267243 Q432710 Q1035958 Q260241 Q2389962 Q5245814 Q469579 Q447584 Q704053 Q449626
OR((Q329709,P58,c(Q502895)), (Q1509644,P161,c(Q502895)))
action filter_type
action union
action find
entity Q329709
relation P58
action find
entity Q1509644
relation P161
type Q502895
[ANSWERS] served as the screenwriter for Mutiny on the Bounty or were casted in Itty Bitty Titty Committee
{'OR': [['Q329709', 'P58', {'concept': 'Q502895'}], ['Q1509644', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q1509644 property:P161 ?s } UNION { resource:Q329709 property:P58 ?s } } . ?s rdf:type ontology:Q502895 }
Jimmi Simpson Leslie Grossman Daniela Sea Melanie Mayron Jenny Shimizu Carey Wilson Carly Pope Talbot Jennings Deak Evgenikos Mircea Monroe Guinevere Turner Jules Furthman Melonie Diaz
Jenny Shimizu, Talbot Jennings, Jules Furthman, Melonie Diaz, Leslie Grossman, Deak Evgenikos, Melanie Mayron, Mircea Monroe, Daniela Sea and Guinevere Turner served as the screenwriter for Mutiny on the Bounty or were casted in Itty Bitty Titty Committee
Jenny Shimizu Talbot Jennings Jules Furthman Melonie Diaz Leslie Grossman Deak Evgenikos Melanie Mayron Mircea Monroe Daniela Sea Guinevere Turner
action filter_type
action union
action find
entity Mutiny on the Bounty
relation screenwriter
action find
entity Itty Bitty Titty Committee
relation cast member
type common name
{'OR': [['Mutiny on the Bounty', 'screenwriter', {'concept': 'common name'}], ['Itty Bitty Titty Committee', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Itty_Bitty_Titty_Committee property:cast_member ?s } UNION { resource:Mutiny_on_the_Bounty property:screenwriter ?s } } . ?s rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q467722
P725
Q502895 Q15416
USER
How many television programs had their voice dubbing done by lesser number of people than The Puppy's Further Adventures ?
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q467722
relation P725
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q467722 property:P725 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?n < ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?n ) WHERE { ?l property:P725 ?j . ?l rdf:type ontology:Q15416 . ?j rdf:type ontology:Q502895 } GROUP BY ?l } }
The Puppy's Further Adventures
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity The Puppy's Further Adventures
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:The_Puppy's_Further_Adventures property:voice_actor ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?n < ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?n ) WHERE { ?l property:voice_actor ?j . ?l rdf:type ontology:television_program . ?j rdf:type ontology:common_name } GROUP BY ?l } }
[]
common name television program
SYSTEM
66
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q20669175 Q699760 Q1146803 Q2140751 Q4033639 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q2339582 Q15039539 Q5976198 Q1353486 Q45035
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q467722
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:Q467722 property:P725 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?n < ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?n ) WHERE { ?l property:P725 ?j . ?l rdf:type ontology:Q15416 . ?j rdf:type ontology:Q502895 } GROUP BY ?l } }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Hana Yori Dango Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trapp Family Story The Steamboat Adventures of Riverboat Bill I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Renkin 3-kyū Magical? Pokān
66
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity The Puppy's Further Adventures
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { resource:The_Puppy's_Further_Adventures property:voice_actor ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?n < ?i ) . { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?n ) WHERE { ?l property:voice_actor ?j . ?l rdf:type ontology:television_program . ?j rdf:type ontology:common_name } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q626035
P1303
Q34379 Q502895
USER
Which musical instruments can greater number of people perform with than glockenspiel ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?l ) WHERE { ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 . ?s property:P1303 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q626035 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?l > ?b ) }
glockenspiel
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?l ) WHERE { ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name . ?s property:instrument ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:glockenspiel property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?l > ?b ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q742180 Q1444 Q220971 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[ANSWERS] can greater number of people perform with than glockenspiel
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?l ) WHERE { ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 . ?s property:P1303 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q626035 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?l > ?b ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla viola d'amore organ marimba drum kit electronic keyboard drum
Piano, harpsichord and viola can greater number of people perform with than glockenspiel
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?l ) WHERE { ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name . ?s property:instrument ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:glockenspiel property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?l > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q483994
P1303
Q34379 Q502895
USER
And what about Kazoo?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q483994 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?t > ?y ) }
Kazoo
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Kazoo property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?t > ?y ) }
[]
musical instrument common name
Q5994 Q81982 Q80284
SYSTEM
piano, harpsichord, viola
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Q483994 property:P1303 ?b . ?b rdf:type ontology:Q34379 } } . FILTER ( ?t > ?y ) }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
piano harpsichord viola
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?t ) WHERE { ?e property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { resource:Kazoo property:instrument ?b . ?b rdf:type ontology:musical_instrument } } . FILTER ( ?t > ?y ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q254
P1303
Q502895
USER
Does Wolfgang Amadeus Mozart can play those musical instruments ?
(Q254,P1303,Q5994) (Q254,P1303,Q81982) (Q254,P1303,Q80284)
action is_in
entity prev_answer
action find
entity Q254
relation P1303
['Q254', 'P1303', 'Q5994'] ['Q254', 'P1303', 'Q81982'] ['Q254', 'P1303', 'Q80284']
ASK WHERE { resource:Q254 property:P1303 ?j . VALUES ( ?j ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q80019 ) } }
Wolfgang Amadeus Mozart
action is_in
entity prev_answer
action find
entity Wolfgang Amadeus Mozart
relation instrument
['Wolfgang Amadeus Mozart', 'instrument', 'piano'] ['Wolfgang Amadeus Mozart', 'instrument', 'harpsichord'] ['Wolfgang Amadeus Mozart', 'instrument', 'viola']
ASK WHERE { resource:Wolfgang_Amadeus_Mozart property:instrument ?j . VALUES ( ?j ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:double_bass ) } }
[]
common name
SYSTEM
YES
(Q254,P1303,Q5994) (Q254,P1303,Q81982) (Q254,P1303,Q80284)
action is_in
entity prev_answer
action find
entity Q254
relation P1303
[ANSWER]
['Q254', 'P1303', 'Q5994'] ['Q254', 'P1303', 'Q81982'] ['Q254', 'P1303', 'Q80284']
ASK WHERE { resource:Q254 property:P1303 ?j . VALUES ( ?j ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q80019 ) } }
Yes
action is_in
entity prev_answer
action find
entity Wolfgang Amadeus Mozart
relation instrument
['Wolfgang Amadeus Mozart', 'instrument', 'piano'] ['Wolfgang Amadeus Mozart', 'instrument', 'harpsichord'] ['Wolfgang Amadeus Mozart', 'instrument', 'viola']
ASK WHERE { resource:Wolfgang_Amadeus_Mozart property:instrument ?j . VALUES ( ?j ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:double_bass ) } }
[]