Simple Question (Direct)
Simple Question
Q1240824
P21
Q290
USER
What is the sex of James Butler Hare ?
(Q1240824,P21,c(Q290))
action filter_type
action find
entity Q1240824
relation P21
type Q290
['Q1240824', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1240824 property:P21 ?d . ?d rdf:type ontology:Q290 }
James Butler Hare
action filter_type
action find
entity James Butler Hare
relation gender
type sex
['James Butler Hare', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:James_Butler_Hare property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1240824,P21,c(Q290))
action filter_type
action find
entity Q1240824
relation P21
type Q290
The sex of James Butler Hare is the [ANSWER]
['Q1240824', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1240824 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of James Butler Hare is the male
male
action filter_type
action find
entity James Butler Hare
relation gender
type sex
['James Butler Hare', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:James_Butler_Hare property:gender ?d . ?d rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3735434
P21
Q502895
USER
Does Everett Case have the gender as that sex ?
(Q3735434,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3735434
relation P21
['Q3735434', 'P21', 'Q6581097']
ASK WHERE { resource:Q3735434 property:P21 resource:Q6581097 }
male Everett Case
action is_in
entity male
action find
entity Everett Case
relation gender
['Everett Case', 'gender', 'male']
ASK WHERE { resource:Everett_Case property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3735434,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3735434
relation P21
[ANSWER]
['Q3735434', 'P21', 'Q6581097']
ASK WHERE { resource:Q3735434 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Everett Case
relation gender
['Everett Case', 'gender', 'male']
ASK WHERE { resource:Everett_Case property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1240824 Q736955
P102
Q7210356
USER
Is James Butler Hare affiliated with Lashkar-e-Taiba ?
(Q1240824,P102,Q736955)
action is_in
entity Q736955
action find
entity Q1240824
relation P102
['Q1240824', 'P102', 'Q736955']
ASK WHERE { resource:Q1240824 property:P102 resource:Q736955 }
James Butler Hare Lashkar-e-Taiba
action is_in
entity Lashkar-e-Taiba
action find
entity James Butler Hare
relation member of political party
['James Butler Hare', 'member of political party', 'Lashkar-e-Taiba']
ASK WHERE { resource:James_Butler_Hare property:member_of_political_party resource:Lashkar-e-Taiba }
[]
political organization
SYSTEM
NO
(Q1240824,P102,Q736955)
action is_in
entity Q736955
action find
entity Q1240824
relation P102
[ANSWER]
['Q1240824', 'P102', 'Q736955']
ASK WHERE { resource:Q1240824 property:P102 resource:Q736955 }
No
action is_in
entity Lashkar-e-Taiba
action find
entity James Butler Hare
relation member of political party
['James Butler Hare', 'member of political party', 'Lashkar-e-Taiba']
ASK WHERE { resource:James_Butler_Hare property:member_of_political_party resource:Lashkar-e-Taiba }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1178361
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as davul ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1178361
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q1178361 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?h = ?g ) }
davul
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity davul
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:davul property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?g ) }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1178361
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q1178361 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } . FILTER ( ?h = ?g ) }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity davul
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:davul property:instrument ?s . ?s rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q120585
P1303
Q34379 Q502895
USER
And also tell me about Tsuzumi?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?t ) WHERE { ?w rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?w } GROUP BY ?w } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:Q34379 . resource:Q120585 property:P1303 ?n } } }
Tsuzumi
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?t ) WHERE { ?w rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?w } GROUP BY ?w } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:musical_instrument . resource:Tsuzumi property:instrument ?n } } }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?t ) WHERE { ?w rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 . ?k property:P1303 ?w } GROUP BY ?w } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:Q34379 . resource:Q120585 property:P1303 ?n } } }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Tsuzumi
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?t ) WHERE { ?w rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name . ?k property:instrument ?w } GROUP BY ?w } . FILTER ( ?t = ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n rdf:type ontology:musical_instrument . resource:Tsuzumi property:instrument ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P1303 ?p . ?x rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } } . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P1303 ?t . ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } . FILTER ( ?j = ?f ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:instrument ?p . ?x rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } } . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:instrument ?t . ?r rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } . FILTER ( ?j = ?f ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P1303 ?p . ?x rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 } GROUP BY ?p } } . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P1303 ?t . ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q34379 } GROUP BY ?t } . FILTER ( ?j = ?f ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:instrument ?p . ?x rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument } GROUP BY ?p } } . { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:instrument ?t . ?r rdf:type ontology:common_name . ?t rdf:type ontology:musical_instrument } GROUP BY ?t } . FILTER ( ?j = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 2063 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2063
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?r ) WHERE { ?w rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?w } GROUP BY ?w } . FILTER ( ?r >= 2063 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2063
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?r ) WHERE { ?w rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?w } GROUP BY ?w } . FILTER ( ?r >= 2063 ) }
[]
musical instrument common name
SYSTEM
4
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2063
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?r ) WHERE { ?w rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 . ?v property:P1303 ?w } GROUP BY ?w } . FILTER ( ?r >= 2063 ) }
piano violin organ drum kit
4
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2063
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?r ) WHERE { ?w rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name . ?v property:instrument ?w } GROUP BY ?w } . FILTER ( ?r >= 2063 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1240824
P19
Q56061
USER
Which administrative territory was James Butler Hare born at ?
(Q1240824,P19,c(Q56061))
action filter_type
action find
entity Q1240824
relation P19
type Q56061
['Q1240824', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1240824 property:P19 ?s . ?s rdf:type ontology:Q56061 }
James Butler Hare
action filter_type
action find
entity James Butler Hare
relation place of birth
type administrative territorial entity
['James Butler Hare', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:James_Butler_Hare property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q671215
SYSTEM
Saluda
Q671215
(Q1240824,P19,c(Q56061))
action filter_type
action find
entity Q1240824
relation P19
type Q56061
[ANSWER] was James Butler Hare born at
['Q1240824', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q1240824 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Saluda
Saluda was James Butler Hare born at
Saluda
action filter_type
action find
entity James Butler Hare
relation place of birth
type administrative territorial entity
['James Butler Hare', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:James_Butler_Hare property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]