Simple Question (Direct)
Simple Question
Q854078
P9
Q502895
USER
Who is the sibling of Itala Békés ?
(Q854078,P9,c(Q502895))
action filter_type
action find
entity Q854078
relation P9
type Q502895
['Q854078', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q854078 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Itala Békés
action filter_type
action find
entity Itala Békés
relation sister
type common name
['Itala Békés', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Itala_Békés property:sister ?t . ?t rdf:type ontology:common_name }
[]
common name
Q854095
SYSTEM
Rita Békés
Q854095
(Q854078,P9,c(Q502895))
action filter_type
action find
entity Q854078
relation P9
type Q502895
The sibling of Itala Békés is pán [ANSWER]
['Q854078', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q854078 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Rita Békés
The sibling of Itala Békés is pán Rita Békés
Rita Békés
action filter_type
action find
entity Itala Békés
relation sister
type common name
['Itala Békés', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Itala_Békés property:sister ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q854095
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q854095)
action filter_type
action find_reverse
entity Q854095
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q854095']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 resource:Q854095 }
Rita Békés
action filter_type
action find_reverse
entity Rita Békés
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rita Békés']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child resource:Rita_Békés }
[]
common name
Q13423404
SYSTEM
István Békés
Q13423404
(c(Q502895),P40,Q854095)
action filter_type
action find_reverse
entity Q854095
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q854095']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 resource:Q854095 }
István Békés
István Békés has that one as an offspring
István Békés
action filter_type
action find_reverse
entity Rita Békés
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rita Békés']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child resource:Rita_Békés }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13423404 Q1353914
P22
Q502895
USER
Does Hans-Jürgen Koch have that one as dad ?
(Q1353914,P22,Q13423404)
action is_in
entity Q1353914
action find
entity Q13423404
relation P22
['Q1353914', 'P22', 'Q13423404']
ASK WHERE { resource:Q13423404 property:P22 resource:Q1353914 }
István Békés Hans-Jürgen Koch
action is_in
entity Hans-Jürgen Koch
action find
entity István Békés
relation father
['Hans-Jürgen Koch', 'father', 'István Békés']
ASK WHERE { resource:István_Békés property:father resource:Hans-Jürgen_Koch }
[]
common name
SYSTEM
NO
(Q1353914,P22,Q13423404)
action is_in
entity Q1353914
action find
entity Q13423404
relation P22
[ANSWER]
['Q1353914', 'P22', 'Q13423404']
ASK WHERE { resource:Q13423404 property:P22 resource:Q1353914 }
No
action is_in
entity Hans-Jürgen Koch
action find
entity István Békés
relation father
['Hans-Jürgen Koch', 'father', 'István Békés']
ASK WHERE { resource:István_Békés property:father resource:Hans-Jürgen_Koch }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q854078 Q28
P27
Q15617994
USER
Is Hungary the native country of Itala Békés ?
(Q854078,P27,Q28)
action is_in
entity Q28
action find
entity Q854078
relation P27
['Q854078', 'P27', 'Q28']
ASK WHERE { resource:Q854078 property:P27 resource:Q28 }
Itala Békés Hungary
action is_in
entity Hungary
action find
entity Itala Békés
relation country of citizenship
['Itala Békés', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Itala_Békés property:country_of_citizenship resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q854078,P27,Q28)
action is_in
entity Q28
action find
entity Q854078
relation P27
[ANSWER]
['Q854078', 'P27', 'Q28']
ASK WHERE { resource:Q854078 property:P27 resource:Q28 }
Yes
action is_in
entity Hungary
action find
entity Itala Békés
relation country of citizenship
['Itala Békés', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Itala_Békés property:country_of_citizenship resource:Hungary }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q13423404
P21 P22
Q502895
USER
Which people have István Békés as a parent and are a male ?
AND((c(Q502895),P22,Q13423404), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q13423404
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q13423404'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q13423404 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
male István Békés
action filter_type
action intersection
action find_reverse
entity István Békés
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'István Békés'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:father resource:István_Békés . ?y property:gender resource:male . ?y rdf:type ontology:common_name }
[]
common name
Q854071
SYSTEM
András Békés
Q854071
AND((c(Q502895),P22,Q13423404), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q13423404
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have István Békés as a parent and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q13423404'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P22 resource:Q13423404 . ?y property:P21 resource:Q6581097 . ?y rdf:type ontology:Q502895 }
András Békés
András Békés have István Békés as a parent and are a male
András Békés
action filter_type
action intersection
action find_reverse
entity István Békés
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'István Békés'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:father resource:István_Békés . ?y property:gender resource:male . ?y 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 6494 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 6494
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?g <= 6494 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 6494
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?g <= 6494 ) }
[]
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 6494
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?g <= 6494 ) }
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 6494
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?g <= 6494 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q854071
P7
Q502895
USER
Who are András Békés a brother of ?
(c(Q502895),P7,Q854071)
action filter_type
action find_reverse
entity Q854071
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q854071']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P7 resource:Q854071 }
András Békés
action filter_type
action find_reverse
entity András Békés
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'András Békés']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:brother resource:András_Békés }
[]
common name
Q854095 Q854078
SYSTEM
Rita Békés, Itala Békés
Q854095 Q854078
(c(Q502895),P7,Q854071)
action filter_type
action find_reverse
entity Q854071
relation P7
type Q502895
András Békés a brother of are also [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q854071']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P7 resource:Q854071 }
Rita Békés Itala Békés
András Békés a brother of are also Rita Békés and Itala Békés
Rita Békés Itala Békés
action filter_type
action find_reverse
entity András Békés
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'András Békés']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:brother resource:András_Békés }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q854095 Q854078
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q854095,P106,c(Q12737077)) (Q854078,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q854095', 'P106', {'concept': 'Q12737077'}] ['Q854078', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . ?n property:P106 ?i . VALUES ( ?n ) { ( resource:Q854095 ) ( resource:Q854078 ) } }
Rita Békés Itala Békés
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Rita Békés', 'occupation', {'concept': 'occupation'}] ['Itala Békés', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . ?n property:occupation ?i . VALUES ( ?n ) { ( resource:Rita_Békés ) ( resource:Itala_Békés ) } }
[]
occupation
Q33999 Q33999
SYSTEM
actor
Q33999 Q33999
(Q854095,P106,c(Q12737077)) (Q854078,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWER] and [ANSWER] have those people as his/her 's career
['Q854095', 'P106', {'concept': 'Q12737077'}] ['Q854078', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . ?n property:P106 ?i . VALUES ( ?n ) { ( resource:Q854095 ) ( resource:Q854078 ) } }
actor actor
Actor and actor have those people as his/her 's career
actor actor
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Rita Békés', 'occupation', {'concept': 'occupation'}] ['Itala Békés', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . ?n property:occupation ?i . VALUES ( ?n ) { ( resource:Rita_Békés ) ( resource:Itala_Békés ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q854095
P119
Q43229
USER
Which organization is the tomb of Rita Békés ?
(Q33999,P119,c(Q43229)) (Q33999,P119,c(Q43229))
action filter_type
action find
entity Q854095
relation P119
type Q43229
['Q33999', 'P119', {'concept': 'Q43229'}] ['Q33999', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . resource:Q854095 property:P119 ?o }
Rita Békés
action filter_type
action find
entity Rita Békés
relation place of burial
type organization
['actor', 'place of burial', {'concept': 'organization'}] ['actor', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . resource:Rita_Békés property:place_of_burial ?o }
[]
organization
Q996499
SYSTEM
Farkasréti Cemetery
Q996499
(Q33999,P119,c(Q43229)) (Q33999,P119,c(Q43229))
action filter_type
action find
entity Q854095
relation P119
type Q43229
G [ANSWER] is the tomb of Rita Békés
['Q33999', 'P119', {'concept': 'Q43229'}] ['Q33999', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q43229 . resource:Q854095 property:P119 ?o }
Farkasréti Cemetery
G Farkasréti Cemetery is the tomb of Rita Békés
Farkasréti Cemetery
action filter_type
action find
entity Rita Békés
relation place of burial
type organization
['actor', 'place of burial', {'concept': 'organization'}] ['actor', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:organization . resource:Rita_Békés property:place_of_burial ?o }
[]