Simple Question (Direct)
Simple Question
Q7640009
P344
Q502895
USER
Who is the cinematographer of Sunflower ?
(Q7640009,P344,c(Q502895))
action filter_type
action find
entity Q7640009
relation P344
type Q502895
['Q7640009', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q7640009 property:P344 ?n . ?n rdf:type ontology:Q502895 }
Sunflower
action filter_type
action find
entity Sunflower
relation director of photography
type common name
['Sunflower', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Sunflower property:director_of_photography ?n . ?n rdf:type ontology:common_name }
[]
common name
Q6550056
SYSTEM
Lin Jong
Q6550056
(Q7640009,P344,c(Q502895))
action filter_type
action find
entity Q7640009
relation P344
type Q502895
The cinematographer of Sunflower is Kim [ANSWER]
['Q7640009', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q7640009 property:P344 ?n . ?n rdf:type ontology:Q502895 }
Lin Jong
The cinematographer of Sunflower is Kim Lin Jong
Lin Jong
action filter_type
action find
entity Sunflower
relation director of photography
type common name
['Sunflower', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Sunflower property:director_of_photography ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7640009
P58
Q502895
USER
Who wrote the script for Sunflower ?
(Q7640009,P58,c(Q502895))
action filter_type
action find
entity Q7640009
relation P58
type Q502895
['Q7640009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q7640009 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Sunflower
action filter_type
action find
entity Sunflower
relation screenwriter
type common name
['Sunflower', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Sunflower property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
common name
Q197311 Q2933176
SYSTEM
Zhang Yang, Cai Shangjun
Q197311 Q2933176
(Q7640009,P58,c(Q502895))
action filter_type
action find
entity Q7640009
relation P58
type Q502895
The [ANSWERS] wrote the script for Sunflower
['Q7640009', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q7640009 property:P58 ?h . ?h rdf:type ontology:Q502895 }
Zhang Yang Cai Shangjun
The Zhang Yang and Cai Shangjun wrote the script for Sunflower
Zhang Yang Cai Shangjun
action filter_type
action find
entity Sunflower
relation screenwriter
type common name
['Sunflower', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Sunflower property:screenwriter ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4901976
Q502895
USER
And how about Bhoomiyude Avakashikal?
(Q4901976,P58,c(Q502895))
action filter_type
action find
entity Q4901976
relation P58
type Q502895
['Q4901976', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q4901976 property:P58 ?d }
Bhoomiyude Avakashikal
action filter_type
action find
entity Bhoomiyude Avakashikal
relation screenwriter
type common name
['Bhoomiyude Avakashikal', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Bhoomiyude_Avakashikal property:screenwriter ?d }
[]
common name
Q3595285
SYSTEM
T. V. Chandran
Q3595285
(Q4901976,P58,c(Q502895))
action filter_type
action find
entity Q4901976
relation P58
type Q502895
[ANSWER]
['Q4901976', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q4901976 property:P58 ?d }
T. V. Chandran
T. V. Chandran
action filter_type
action find
entity Bhoomiyude Avakashikal
relation screenwriter
type common name
['Bhoomiyude Avakashikal', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Bhoomiyude_Avakashikal property:screenwriter ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
How many works of art have been dubbed by exactly 20 people ?
(c(Q838948),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 20
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?q property:P725 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q838948 } GROUP BY ?q } . FILTER ( ?i = 20 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 20
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?q property:voice_actor ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:work_of_art } GROUP BY ?q } . FILTER ( ?i = 20 ) }
[]
common name work of art
SYSTEM
1
Q1058469
(c(Q838948),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 20
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?q property:P725 ?x . ?x rdf:type ontology:Q502895 . ?q rdf:type ontology:Q838948 } GROUP BY ?q } . FILTER ( ?i = 20 ) }
Ghost in the Shell 2: Innocence
1
action count
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 20
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?i ) WHERE { ?q property:voice_actor ?x . ?x rdf:type ontology:common_name . ?q rdf:type ontology:work_of_art } GROUP BY ?q } . FILTER ( ?i = 20 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q11424
USER
Which films did min number of people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q11424
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?v ) WHERE { ?l rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 . ?l property:P725 ?b } GROUP BY ?l } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?j property:P725 ?f . ?f rdf:type ontology:Q502895 . ?j rdf:type ontology:Q11424 } GROUP BY ?j } }
action argmin
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?v ) WHERE { ?l rdf:type ontology:film . ?b rdf:type ontology:common_name . ?l property:voice_actor ?b } GROUP BY ?l } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?j property:voice_actor ?f . ?f rdf:type ontology:common_name . ?j rdf:type ontology:film } GROUP BY ?j } }
[]
common name film
Q943192
SYSTEM
Fantasia
Q943192
(c(Q11424),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q11424
type Q502895
Min number of people did the dubbing of [ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?v ) WHERE { ?l rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 . ?l property:P725 ?b } GROUP BY ?l } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?j property:P725 ?f . ?f rdf:type ontology:Q502895 . ?j rdf:type ontology:Q11424 } GROUP BY ?j } }
Fantasia
Min number of people did the dubbing of Fantasia
Fantasia
action argmin
action find_tuple_counts
relation voice actor
type film
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?v ) WHERE { ?l rdf:type ontology:film . ?b rdf:type ontology:common_name . ?l property:voice_actor ?b } GROUP BY ?l } } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?q ) WHERE { ?j property:voice_actor ?f . ?f rdf:type ontology:common_name . ?j rdf:type ontology:film } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q943192 Q15140801
P1441
Q15619164
USER
Is Chernabog seen in that film ?
(Q15140801,P1441,Q943192)
action is_in
entity Q943192
action find
entity Q15140801
relation P1441
['Q15140801', 'P1441', 'Q943192']
ASK WHERE { resource:Q15140801 property:P1441 resource:Q943192 }
Fantasia Chernabog
action is_in
entity Fantasia
action find
entity Chernabog
relation present in work
['Chernabog', 'present in work', 'Fantasia']
ASK WHERE { resource:Chernabog property:present_in_work resource:Fantasia }
[]
abstract being
SYSTEM
YES
(Q15140801,P1441,Q943192)
action is_in
entity Q943192
action find
entity Q15140801
relation P1441
[ANSWER]
['Q15140801', 'P1441', 'Q943192']
ASK WHERE { resource:Q15140801 property:P1441 resource:Q943192 }
Yes
action is_in
entity Fantasia
action find
entity Chernabog
relation present in work
['Chernabog', 'present in work', 'Fantasia']
ASK WHERE { resource:Chernabog property:present_in_work resource:Fantasia }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q386724 Q277759 Q11424
USER
Which films build on atleast 1 works or book series ?
(c(Q11424),P144,c(Q386724)|c(Q277759))
action atleast
action union
action find_tuple_counts
relation P144
type Q11424
type Q386724
action find_tuple_counts
relation P144
type Q11424
type Q277759
value 1
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q386724'}, {'concept': 'Q277759'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?v ) WHERE { { ?y property:P144 ?g . ?y rdf:type ontology:Q11424 . ?g rdf:type ontology:Q277759 } UNION { ?y rdf:type ontology:Q11424 . ?g rdf:type ontology:Q386724 . ?y property:P144 ?g } } GROUP BY ?y } . FILTER ( ?v >= 1 ) }
action atleast
action union
action find_tuple_counts
relation based on
type film
type work
action find_tuple_counts
relation based on
type film
type book series
value 1
[{'concept': 'film'}, 'based on', [{'concept': 'work'}, {'concept': 'book series'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?v ) WHERE { { ?y property:based_on ?g . ?y rdf:type ontology:film . ?g rdf:type ontology:book_series } UNION { ?y rdf:type ontology:film . ?g rdf:type ontology:work . ?y property:based_on ?g } } GROUP BY ?y } . FILTER ( ?v >= 1 ) }
[]
work book series film
Q250378 Q980041
SYSTEM
The Transformers: The Movie, The Adventures of Tintin
Q250378 Q980041
(c(Q11424),P144,c(Q386724)|c(Q277759))
action atleast
action union
action find_tuple_counts
relation P144
type Q11424
type Q386724
action find_tuple_counts
relation P144
type Q11424
type Q277759
value 1
[ANSWERS] build on atleast 1 works or book series
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q386724'}, {'concept': 'Q277759'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?v ) WHERE { { ?y property:P144 ?g . ?y rdf:type ontology:Q11424 . ?g rdf:type ontology:Q277759 } UNION { ?y rdf:type ontology:Q11424 . ?g rdf:type ontology:Q386724 . ?y property:P144 ?g } } GROUP BY ?y } . FILTER ( ?v >= 1 ) }
The Transformers: The Movie The Adventures of Tintin
The Transformers: The Movie and The Adventures of Tintin build on atleast 1 works or book series
The Transformers: The Movie The Adventures of Tintin
action atleast
action union
action find_tuple_counts
relation based on
type film
type work
action find_tuple_counts
relation based on
type film
type book series
value 1
[{'concept': 'film'}, 'based on', [{'concept': 'work'}, {'concept': 'book series'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?v ) WHERE { { ?y property:based_on ?g . ?y rdf:type ontology:film . ?g rdf:type ontology:book_series } UNION { ?y rdf:type ontology:film . ?g rdf:type ontology:work . ?y property:based_on ?g } } GROUP BY ?y } . FILTER ( ?v >= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q250378
P161
Q502895
USER
Which people were casted in that film ?
(Q250378,P161,c(Q502895))
action filter_type
action find
entity Q250378
relation P161
type Q502895
['Q250378', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q250378 property:P161 ?h }
The Transformers: The Movie
action filter_type
action find
entity The Transformers: The Movie
relation cast member
type common name
['The Transformers: The Movie', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:The_Transformers:_The_Movie property:cast_member ?h }
[]
common name
Clarification for simple ques.
Q250378
SYSTEM
Did you mean The Transformers: The Movie ?
Q250378 Q980041
(Q250378,P161,c(Q502895)) (Q980041,P161,c(Q502895))
[ANSWER]
['Q250378', 'P161', {'concept': 'Q502895'}] ['Q980041', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q250378 property:P161 ?h }
The Transformers: The Movie The Adventures of Tintin
Did you mean The Transformers: The Movie ?
The Transformers: The Movie
['The Transformers: The Movie', 'cast member', {'concept': 'common name'}] ['The Adventures of Tintin', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:The_Transformers:_The_Movie property:cast_member ?h }
[]
Simple Question (Coreferenced)
USER
Yes
(Q250378,P161,c(Q502895))
['Q250378', 'P161', {'concept': 'Q502895'}]
['The Transformers: The Movie', 'cast member', {'concept': 'common name'}]
[]
Q24829 Q16345 Q210741
SYSTEM
Orson Welles, Leonard Nimoy, Eric Idle
Q16345 Q210741 Q445302 Q589753 Q12745112 Q24829 Q355153
(Q250378,P161,c(Q502895))
action filter_type
action find
entity Q250378
relation P161
type Q502895
[ANSWERS] were casted in that film
['Q250378', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q250378 property:P161 ?h }
Leonard Nimoy Eric Idle Judd Nelson Lionel Stander John Moschitta, Jr. Orson Welles Robert Stack
Orson Welles, Leonard Nimoy and Eric Idle were casted in that film
Orson Welles Leonard Nimoy Eric Idle
action filter_type
action find
entity The Transformers: The Movie
relation cast member
type common name
['The Transformers: The Movie', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:The_Transformers:_The_Movie property:cast_member ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q785294
P161
Q11424
USER
Do those people star in Captain of the Forest ?
(Q785294,P161,Q24829) (Q785294,P161,Q16345) (Q785294,P161,Q210741)
action is_in
entity prev_answer
action find
entity Q785294
relation P161
['Q785294', 'P161', 'Q24829'] ['Q785294', 'P161', 'Q16345'] ['Q785294', 'P161', 'Q210741']
ASK WHERE { resource:Q785294 property:P161 ?g . VALUES ( ?g ) { ( resource:Q16345 ) ( resource:Q210741 ) ( resource:Q445302 ) } }
Captain of the Forest
action is_in
entity prev_answer
action find
entity Captain of the Forest
relation cast member
['Captain of the Forest', 'cast member', 'Orson Welles'] ['Captain of the Forest', 'cast member', 'Leonard Nimoy'] ['Captain of the Forest', 'cast member', 'Eric Idle']
ASK WHERE { resource:Captain_of_the_Forest property:cast_member ?g . VALUES ( ?g ) { ( resource:Leonard_Nimoy ) ( resource:Eric_Idle ) ( resource:Judd_Nelson ) } }
[]
film
SYSTEM
NO
(Q785294,P161,Q24829) (Q785294,P161,Q16345) (Q785294,P161,Q210741)
action is_in
entity prev_answer
action find
entity Q785294
relation P161
[ANSWER]
['Q785294', 'P161', 'Q24829'] ['Q785294', 'P161', 'Q16345'] ['Q785294', 'P161', 'Q210741']
ASK WHERE { resource:Q785294 property:P161 ?g . VALUES ( ?g ) { ( resource:Q16345 ) ( resource:Q210741 ) ( resource:Q445302 ) } }
No
action is_in
entity prev_answer
action find
entity Captain of the Forest
relation cast member
['Captain of the Forest', 'cast member', 'Orson Welles'] ['Captain of the Forest', 'cast member', 'Leonard Nimoy'] ['Captain of the Forest', 'cast member', 'Eric Idle']
ASK WHERE { resource:Captain_of_the_Forest property:cast_member ?g . VALUES ( ?g ) { ( resource:Leonard_Nimoy ) ( resource:Eric_Idle ) ( resource:Judd_Nelson ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213100
P1303
Q34379 Q502895
USER
Which musical instruments do less number of people know to play than tabla ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q213100
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P1303 ?g . ?o rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1303 resource:Q213100 . ?k rdf:type ontology:Q502895 } } . FILTER ( ?b < ?i ) }
tabla
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity tabla
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:instrument ?g . ?o rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:instrument resource:tabla . ?k rdf:type ontology:common_name } } . FILTER ( ?b < ?i ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q862501 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q213100
relation P1303
type Q502895
Less number of people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P1303 ?g . ?o rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1303 resource:Q213100 . ?k rdf:type ontology:Q502895 } } . FILTER ( ?b < ?i ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir ondes Martenot bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Less number of people know about davul, Wurlitzer electric piano and Bendir
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity tabla
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:instrument ?g . ?o rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:instrument resource:tabla . ?k rdf:type ontology:common_name } } . FILTER ( ?b < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3623688
P1303
Q34379 Q502895
USER
And what about Paraguayan harp?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3623688
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P1303 resource:Q3623688 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?c < ?a ) }
Paraguayan harp
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Paraguayan harp
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:instrument resource:Paraguayan_harp . ?q rdf:type ontology:common_name } } . FILTER ( ?c < ?a ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3623688
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P1303 resource:Q3623688 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?c < ?a ) }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Paraguayan harp
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:instrument resource:Paraguayan_harp . ?q rdf:type ontology:common_name } } . FILTER ( ?c < ?a ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q19663803 Q1759986
P27 P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano situated in and are the countries of citizenship of Elsie Augustave ?
AND((Q1759986,P17,c(Q15617994)), (Q19663803,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1759986
relation P17
action find
entity Q19663803
relation P27
type Q15617994
{'AND': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q19663803', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q1759986 property:P17 ?t . resource:Q19663803 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Elsie Augustave Wurlitzer electric piano
action filter_type
action intersection
action find
entity Wurlitzer electric piano
relation country
action find
entity Elsie Augustave
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Elsie Augustave', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Wurlitzer_electric_piano property:country ?t . resource:Elsie_Augustave property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q1759986,P17,c(Q15617994)), (Q19663803,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1759986
relation P17
action find
entity Q19663803
relation P27
type Q15617994
Which administrative territories is Wurlitzer electric piano situated in and is the countries of citizenship of Elsie Augustave
{'AND': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q19663803', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { resource:Q1759986 property:P17 ?t . resource:Q19663803 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
Which administrative territories is Wurlitzer electric piano situated in and is the countries of citizenship of Elsie Augustave
United States of America
action filter_type
action intersection
action find
entity Wurlitzer electric piano
relation country
action find
entity Elsie Augustave
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Elsie Augustave', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { resource:Wurlitzer_electric_piano property:country ?t . resource:Elsie_Augustave property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]