Simple Question (Direct)
Simple Question
Q4665542
P641
Q349
USER
Which sport was Abdul Malik Mat Ariff a part of ?
(Q4665542,P641,c(Q349))
action filter_type
action find
entity Q4665542
relation P641
type Q349
['Q4665542', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q4665542 property:P641 ?i }
Abdul Malik Mat Ariff
action filter_type
action find
entity Abdul Malik Mat Ariff
relation sport
type sport
['Abdul Malik Mat Ariff', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Abdul_Malik_Mat_Ariff property:sport ?i }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4665542,P641,c(Q349))
action filter_type
action find
entity Q4665542
relation P641
type Q349
The [ANSWER] was Abdul Malik Mat Ariff a part of
['Q4665542', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q4665542 property:P641 ?i }
association football
The association football was Abdul Malik Mat Ariff a part of
association football
action filter_type
action find
entity Abdul Malik Mat Ariff
relation sport
type sport
['Abdul Malik Mat Ariff', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Abdul_Malik_Mat_Ariff property:sport ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4665542
P21
Q290
USER
What is the sex of Abdul Malik Mat Ariff ?
(Q4665542,P21,c(Q290))
action filter_type
action find
entity Q4665542
relation P21
type Q290
['Q4665542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4665542 property:P21 ?n . ?n rdf:type ontology:Q290 }
Abdul Malik Mat Ariff
action filter_type
action find
entity Abdul Malik Mat Ariff
relation gender
type sex
['Abdul Malik Mat Ariff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Abdul_Malik_Mat_Ariff property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4665542,P21,c(Q290))
action filter_type
action find
entity Q4665542
relation P21
type Q290
The sex of Abdul Malik Mat Ariff is a [ANSWER]
['Q4665542', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4665542 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Abdul Malik Mat Ariff is a male
male
action filter_type
action find
entity Abdul Malik Mat Ariff
relation gender
type sex
['Abdul Malik Mat Ariff', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Abdul_Malik_Mat_Ariff property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2665049
Q290
USER
And what about Eustachy Erazm Sanguszko?
(Q2665049,P21,c(Q290))
action filter_type
action find
entity Q2665049
relation P21
type Q290
['Q2665049', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q2665049 property:P21 ?w . ?w rdf:type ontology:Q290 }
Eustachy Erazm Sanguszko
action filter_type
action find
entity Eustachy Erazm Sanguszko
relation gender
type sex
['Eustachy Erazm Sanguszko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Eustachy_Erazm_Sanguszko property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2665049,P21,c(Q290))
action filter_type
action find
entity Q2665049
relation P21
type Q290
[ANSWER]
['Q2665049', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q2665049 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Eustachy Erazm Sanguszko
relation gender
type sex
['Eustachy Erazm Sanguszko', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Eustachy_Erazm_Sanguszko property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2665049
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q6581097)
action filter_type
action find_reverse
entity Q2665049
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q2665049 . ?x rdf:type ontology:Q502895 }
Eustachy Erazm Sanguszko
action filter_type
action find_reverse
entity Eustachy Erazm Sanguszko
relation child
type common name
[{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Eustachy_Erazm_Sanguszko . ?x rdf:type ontology:common_name }
[]
common name
Q10566295
SYSTEM
Hieronim Janusz Sanguszko
Q10566295
(c(Q502895),P40,Q6581097)
action filter_type
action find_reverse
entity Q2665049
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q2665049 . ?x rdf:type ontology:Q502895 }
Hieronim Janusz Sanguszko
Hieronim Janusz Sanguszko has that one as a child
Hieronim Janusz Sanguszko
action filter_type
action find_reverse
entity Eustachy Erazm Sanguszko
relation child
type common name
[{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Eustachy_Erazm_Sanguszko . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P40
Q502895
USER
How many people are an offsprings of that person ?
(Q10566295,P40,c(Q502895))
action count
action filter_type
action find
entity Q10566295
relation P40
type Q502895
['Q10566295', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q10566295 property:P40 ?i . ?i rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Hieronim Janusz Sanguszko
relation child
type common name
['Hieronim Janusz Sanguszko', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Hieronim_Janusz_Sanguszko property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2665049
(Q10566295,P40,c(Q502895))
action count
action filter_type
action find
entity Q10566295
relation P40
type Q502895
[ANSWER]
['Q10566295', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q10566295 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Eustachy Erazm Sanguszko
1
action count
action filter_type
action find
entity Hieronim Janusz Sanguszko
relation child
type common name
['Hieronim Janusz Sanguszko', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Hieronim_Janusz_Sanguszko property:child ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 6333 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6333
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?u <= 6333 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?d } GROUP BY ?d } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6333
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?u <= 6333 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?d } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
65
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 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6333
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?u <= 6333 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?d } GROUP BY ?d } }
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 violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6333
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { FILTER ( ?u <= 6333 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?u ) WHERE { ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?d } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10566295
P53
Q8436
USER
What is the family that Hieronim Janusz Sanguszko belongs to ?
(Q10566295,P53,c(Q8436))
action filter_type
action find
entity Q10566295
relation P53
type Q8436
['Q10566295', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q10566295 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Hieronim Janusz Sanguszko
action filter_type
action find
entity Hieronim Janusz Sanguszko
relation noble family
type family
['Hieronim Janusz Sanguszko', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Hieronim_Janusz_Sanguszko property:noble_family ?t . ?t rdf:type ontology:family }
[]
family
Q676677
SYSTEM
Sanguszko family
Q676677
(Q10566295,P53,c(Q8436))
action filter_type
action find
entity Q10566295
relation P53
type Q8436
The family that Hieronim Janusz Sanguszko belongs to is the [ANSWER]
['Q10566295', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q10566295 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Sanguszko family
The family that Hieronim Janusz Sanguszko belongs to is the Sanguszko family
Sanguszko family
action filter_type
action find
entity Hieronim Janusz Sanguszko
relation noble family
type family
['Hieronim Janusz Sanguszko', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Hieronim_Janusz_Sanguszko property:noble_family ?t . ?t rdf:type ontology:family }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19943
Q8436
USER
And also tell me about Juan Carlos I?
(Q19943,P53,c(Q8436))
action filter_type
action find
entity Q19943
relation P53
type Q8436
['Q19943', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q19943 property:P53 ?b . ?b rdf:type ontology:Q8436 }
Juan Carlos I
action filter_type
action find
entity Juan Carlos I
relation noble family
type family
['Juan Carlos I', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Juan_Carlos_I property:noble_family ?b . ?b rdf:type ontology:family }
[]
family
Q895180
SYSTEM
House of Bourbon (Spain)‎
Q895180
(Q19943,P53,c(Q8436))
action filter_type
action find
entity Q19943
relation P53
type Q8436
[ANSWER]
['Q19943', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?b WHERE { resource:Q19943 property:P53 ?b . ?b rdf:type ontology:Q8436 }
House of Bourbon (Spain)‎
House of Bourbon (Spain)‎
action filter_type
action find
entity Juan Carlos I
relation noble family
type family
['Juan Carlos I', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?b WHERE { resource:Juan_Carlos_I property:noble_family ?b . ?b rdf:type ontology:family }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q895180 Q16214086
P53
Q502895
USER
Does David Meeks belong to that family ?
(Q16214086,P53,Q895180)
action is_in
entity Q16214086
action find
entity Q895180
relation P53
['Q16214086', 'P53', 'Q895180']
ASK WHERE { resource:Q895180 property:P53 resource:Q16214086 }
House of Bourbon (Spain)‎ David Meeks
action is_in
entity David Meeks
action find
entity House of Bourbon (Spain)‎
relation noble family
['David Meeks', 'noble family', 'House of Bourbon (Spain)\u200e']
ASK WHERE { resource:House_of_Bourbon_(Spain)‎ property:noble_family resource:David_Meeks }
[]
common name
SYSTEM
NO
(Q16214086,P53,Q895180)
action is_in
entity Q16214086
action find
entity Q895180
relation P53
[ANSWER]
['Q16214086', 'P53', 'Q895180']
ASK WHERE { resource:Q895180 property:P53 resource:Q16214086 }
No
action is_in
entity David Meeks
action find
entity House of Bourbon (Spain)‎
relation noble family
['David Meeks', 'noble family', 'House of Bourbon (Spain)\u200e']
ASK WHERE { resource:House_of_Bourbon_(Spain)‎ property:noble_family resource:David_Meeks }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q895180
P17
Q15617994
USER
Which administrative territory does that family belong to ?
action filter_type
action find
entity Q895180
relation P17
type Q15617994
SELECT DISTINCT ?j WHERE { resource:Q895180 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
House of Bourbon (Spain)‎
action filter_type
action find
entity House of Bourbon (Spain)‎
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:House_of_Bourbon_(Spain)‎ property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
action filter_type
action find
entity Q895180
relation P17
type Q15617994
That family belongs to [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q895180 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Spain
That family belongs to Spain
Spain
action filter_type
action find
entity House of Bourbon (Spain)‎
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:House_of_Bourbon_(Spain)‎ property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]