Simple Question (Direct)
Simple Question
Q1067321
P509
Q2057971
USER
Which health problem was the cause of death of Nils Poppe ?
(Q1067321,P509,c(Q2057971))
action filter_type
action find
entity Q1067321
relation P509
type Q2057971
['Q1067321', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q1067321 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
Nils Poppe
action filter_type
action find
entity Nils Poppe
relation cause of death
type health problem
['Nils Poppe', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Nils_Poppe property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
health problem
Q12202
SYSTEM
stroke
Q12202
(Q1067321,P509,c(Q2057971))
action filter_type
action find
entity Q1067321
relation P509
type Q2057971
[ANSWER]
['Q1067321', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { resource:Q1067321 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
stroke
stroke
action filter_type
action find
entity Nils Poppe
relation cause of death
type health problem
['Nils Poppe', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { resource:Nils_Poppe property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1067321
P21
Q290
USER
What is the sex of Nils Poppe ?
(Q1067321,P21,c(Q290))
action filter_type
action find
entity Q1067321
relation P21
type Q290
['Q1067321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1067321 property:P21 ?b . ?b rdf:type ontology:Q290 }
Nils Poppe
action filter_type
action find
entity Nils Poppe
relation gender
type sex
['Nils Poppe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Nils_Poppe property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1067321,P21,c(Q290))
action filter_type
action find
entity Q1067321
relation P21
type Q290
[ANSWER]
['Q1067321', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q1067321 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Nils Poppe
relation gender
type sex
['Nils Poppe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Nils_Poppe property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1067321
P26
Q502895
USER
Which people are married to that one ?
(c(Q502895),P26,Q6581097)
action filter_type
action find
entity Q1067321
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1067321 property:P26 ?m }
Nils Poppe
action filter_type
action find
entity Nils Poppe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Nils_Poppe property:spouse ?m }
[]
common name
Q4973279 Q756765
SYSTEM
Gunilla Poppe, Inga Landgré
Q4973279 Q756765
(c(Q502895),P26,Q6581097)
action filter_type
action find
entity Q1067321
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1067321 property:P26 ?m }
Gunilla Poppe Inga Landgré
Gunilla Poppe Inga Landgré
action filter_type
action find
entity Nils Poppe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'male']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Nils_Poppe property:spouse ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1067321
P22
Q502895
USER
How many people have Nils Poppe as dad ?
(c(Q502895),P22,Q1067321)
action count
action filter_type
action find_reverse
entity Q1067321
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1067321']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P22 resource:Q1067321 . ?p rdf:type ontology:Q502895 }
Nils Poppe
action count
action filter_type
action find_reverse
entity Nils Poppe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Nils Poppe']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:father resource:Nils_Poppe . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q4960715 Q24265167 Q4973281
(c(Q502895),P22,Q1067321)
action count
action filter_type
action find_reverse
entity Q1067321
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1067321']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P22 resource:Q1067321 . ?p rdf:type ontology:Q502895 }
Anja Landgré Dan Landgré Mia Poppe
3
action count
action filter_type
action find_reverse
entity Nils Poppe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Nils Poppe']
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:father resource:Nils_Poppe . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 1810 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1810
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P1303 ?g . ?p rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?w <= 1810 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1810
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:instrument ?g . ?p rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?w <= 1810 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1810
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P1303 ?g . ?p rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?w <= 1810 ) }
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 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 atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1810
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:instrument ?g . ?p rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?w <= 1810 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1067321
P40
Q502895
USER
How many people are an offsprings of Nils Poppe ?
(Q1067321,P40,c(Q502895))
action count
action filter_type
action find
entity Q1067321
relation P40
type Q502895
['Q1067321', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q1067321 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Nils Poppe
action count
action filter_type
action find
entity Nils Poppe
relation child
type common name
['Nils Poppe', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Nils_Poppe property:child ?i . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q6053758 Q24265167 Q4973281 Q4960715
(Q1067321,P40,c(Q502895))
action count
action filter_type
action find
entity Q1067321
relation P40
type Q502895
[ANSWER]
['Q1067321', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Q1067321 property:P40 ?i . ?i rdf:type ontology:Q502895 }
Thomas Poppe Dan Landgré Mia Poppe Anja Landgré
4
action count
action filter_type
action find
entity Nils Poppe
relation child
type common name
['Nils Poppe', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { resource:Nils_Poppe property:child ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1067321
P119
Q44539
USER
Which temple is the place of burial of that person ?
action filter_type
action find
entity Q1067321
relation P119
type Q44539
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44539 . resource:Q1067321 property:P119 ?k }
Nils Poppe
action filter_type
action find
entity Nils Poppe
relation place of burial
type temple
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:temple . resource:Nils_Poppe property:place_of_burial ?k }
[]
temple
Q10405600
SYSTEM
Allerum Church
Q10405600
action filter_type
action find
entity Q1067321
relation P119
type Q44539
[ANSWER]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q44539 . resource:Q1067321 property:P119 ?k }
Allerum Church
Allerum Church
action filter_type
action find
entity Nils Poppe
relation place of burial
type temple
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:temple . resource:Nils_Poppe property:place_of_burial ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q587
P417
Q1445650 Q44539
USER
How many holidays are the names of person who are the patron saints of more number of temples than All Saints ?
(c(Q44539),P417,c(Q1445650))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
action count
action filter_type
action find
entity Q587
relation P417
type Q1445650
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P417 ?o . ?o rdf:type ontology:Q1445650 . ?q rdf:type ontology:Q44539 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q587 property:P417 ?t . ?t rdf:type ontology:Q1445650 } } . FILTER ( ?g > ?z ) }
All Saints
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
action count
action filter_type
action find
entity All Saints
relation patron saint
type holiday
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:patron_saint ?o . ?o rdf:type ontology:holiday . ?q rdf:type ontology:temple } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:All_Saints property:patron_saint ?t . ?t rdf:type ontology:holiday } } . FILTER ( ?g > ?z ) }
[]
holiday temple
SYSTEM
2
Q154326 Q162691
(c(Q44539),P417,c(Q1445650))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
action count
action filter_type
action find
entity Q587
relation P417
type Q1445650
[ANSWER]
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P417 ?o . ?o rdf:type ontology:Q1445650 . ?q rdf:type ontology:Q44539 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:Q587 property:P417 ?t . ?t rdf:type ontology:Q1445650 } } . FILTER ( ?g > ?z ) }
Annunciation Assumption of Mary
2
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
action count
action filter_type
action find
entity All Saints
relation patron saint
type holiday
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:patron_saint ?o . ?o rdf:type ontology:holiday . ?q rdf:type ontology:temple } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { resource:All_Saints property:patron_saint ?t . ?t rdf:type ontology:holiday } } . FILTER ( ?g > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q152771
P417
Q1445650 Q44539
USER
And what about Presentation of Jesus at the Temple?
(c(Q44539),P417,c(Q1445650))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
action count
action filter_type
action find
entity Q152771
relation P417
type Q1445650
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { ?j rdf:type ontology:Q1445650 . ?a rdf:type ontology:Q44539 . ?a property:P417 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q152771 property:P417 ?s . ?s rdf:type ontology:Q1445650 } } . FILTER ( ?g > ?w ) }
Presentation of Jesus at the Temple
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
action count
action filter_type
action find
entity Presentation of Jesus at the Temple
relation patron saint
type holiday
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { ?j rdf:type ontology:holiday . ?a rdf:type ontology:temple . ?a property:patron_saint ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Presentation_of_Jesus_at_the_Temple property:patron_saint ?s . ?s rdf:type ontology:holiday } } . FILTER ( ?g > ?w ) }
[]
holiday temple
SYSTEM
3
Q154326 Q587 Q162691
(c(Q44539),P417,c(Q1445650))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
action count
action filter_type
action find
entity Q152771
relation P417
type Q1445650
[ANSWER]
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { ?j rdf:type ontology:Q1445650 . ?a rdf:type ontology:Q44539 . ?a property:P417 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q152771 property:P417 ?s . ?s rdf:type ontology:Q1445650 } } . FILTER ( ?g > ?w ) }
Annunciation All Saints Assumption of Mary
3
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
action count
action filter_type
action find
entity Presentation of Jesus at the Temple
relation patron saint
type holiday
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?g ) WHERE { ?j rdf:type ontology:holiday . ?a rdf:type ontology:temple . ?a property:patron_saint ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Presentation_of_Jesus_at_the_Temple property:patron_saint ?s . ?s rdf:type ontology:holiday } } . FILTER ( ?g > ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q756765
P25
Q502895
USER
Which people have Inga Landgré as a parent ?
(c(Q502895),P25,Q756765)
action filter_type
action find_reverse
entity Q756765
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q756765']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P25 resource:Q756765 }
Inga Landgré
action filter_type
action find_reverse
entity Inga Landgré
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Inga Landgré']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:mother resource:Inga_Landgré }
[]
common name
Q24265167 Q4960715
SYSTEM
Dan Landgré, Anja Landgré
Q24265167 Q4960715
(c(Q502895),P25,Q756765)
action filter_type
action find_reverse
entity Q756765
relation P25
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q756765']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P25 resource:Q756765 }
Dan Landgré Anja Landgré
Dan Landgré Anja Landgré
action filter_type
action find_reverse
entity Inga Landgré
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Inga Landgré']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:mother resource:Inga_Landgré }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q24265167 Q4960715
P40
Q502895
USER
Who have those ones as an offspring ?
(c(Q502895),P40,Q24265167) (c(Q502895),P40,Q4960715)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q24265167'] [{'concept': 'Q502895'}, 'P40', 'Q4960715']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P40 ?v . VALUES ( ?v ) { ( resource:Q24265167 ) ( resource:Q4960715 ) } }
Dan Landgré Anja Landgré
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Dan Landgré'] [{'concept': 'common name'}, 'child', 'Anja Landgré']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:child ?v . VALUES ( ?v ) { ( resource:Dan_Landgré ) ( resource:Anja_Landgré ) } }
[]
common name
Q1067321 Q1067321 Q756765
SYSTEM
Inga Landgré for 3rd, Nils Poppe for 1st, 2nd
Q1067321 Q1067321 Q756765
(c(Q502895),P40,Q24265167) (c(Q502895),P40,Q4960715)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q24265167'] [{'concept': 'Q502895'}, 'P40', 'Q4960715']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P40 ?v . VALUES ( ?v ) { ( resource:Q24265167 ) ( resource:Q4960715 ) } }
Nils Poppe Nils Poppe Inga Landgré
Nils Poppe Nils Poppe Inga Landgré
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Dan Landgré'] [{'concept': 'common name'}, 'child', 'Anja Landgré']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:child ?v . VALUES ( ?v ) { ( resource:Dan_Landgré ) ( resource:Anja_Landgré ) } }
[]