Simple Question (Direct)
Simple Question
Q1844549
P40
Q502895
USER
Which person is a successor of Émile Boeswillwald ?
(Q1844549,P40,c(Q502895))
action filter_type
action find
entity Q1844549
relation P40
type Q502895
['Q1844549', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1844549 property:P40 ?s }
Émile Boeswillwald
action filter_type
action find
entity Émile Boeswillwald
relation child
type common name
['Émile Boeswillwald', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Émile_Boeswillwald property:child ?s }
[]
common name
Q3370673
SYSTEM
Paul Boeswillwald
Q3370673
(Q1844549,P40,c(Q502895))
action filter_type
action find
entity Q1844549
relation P40
type Q502895
[ANSWER] is a successor of Émile Boeswillwald
['Q1844549', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1844549 property:P40 ?s }
Paul Boeswillwald
Paul Boeswillwald is a successor of Émile Boeswillwald
Paul Boeswillwald
action filter_type
action find
entity Émile Boeswillwald
relation child
type common name
['Émile Boeswillwald', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Émile_Boeswillwald property:child ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3370673
P22
Q502895
USER
Which person was the father of that one ?
(Q3370673,P22,c(Q502895))
action filter_type
action find
entity Q3370673
relation P22
type Q502895
['Q3370673', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3370673 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Paul Boeswillwald
action filter_type
action find
entity Paul Boeswillwald
relation father
type common name
['Paul Boeswillwald', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Paul_Boeswillwald property:father ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1844549
SYSTEM
Émile Boeswillwald
Q1844549
(Q3370673,P22,c(Q502895))
action filter_type
action find
entity Q3370673
relation P22
type Q502895
[ANSWER] was the father of that one
['Q3370673', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q3370673 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Émile Boeswillwald
Émile Boeswillwald was the father of that one
Émile Boeswillwald
action filter_type
action find
entity Paul Boeswillwald
relation father
type common name
['Paul Boeswillwald', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Paul_Boeswillwald property:father ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3370673
P40
Q502895
USER
How many people have Paul Boeswillwald as a child ?
(c(Q502895),P40,Q3370673)
action count
action filter_type
action find_reverse
entity Q3370673
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3370673']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P40 resource:Q3370673 . ?a rdf:type ontology:Q502895 }
Paul Boeswillwald
action count
action filter_type
action find_reverse
entity Paul Boeswillwald
relation child
type common name
[{'concept': 'common name'}, 'child', 'Paul Boeswillwald']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:child resource:Paul_Boeswillwald . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q1844549
(c(Q502895),P40,Q3370673)
action count
action filter_type
action find_reverse
entity Q3370673
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q3370673']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:P40 resource:Q3370673 . ?a rdf:type ontology:Q502895 }
Émile Boeswillwald
1
action count
action filter_type
action find_reverse
entity Paul Boeswillwald
relation child
type common name
[{'concept': 'common name'}, 'child', 'Paul Boeswillwald']
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { ?a property:child resource:Paul_Boeswillwald . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q272682
P40
Q502895
USER
And also tell me about Countess Amalie Elisabeth of Hanau-Münzenberg?
(c(Q502895),P40,Q272682)
action count
action filter_type
action find_reverse
entity Q272682
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q272682']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P40 resource:Q272682 . ?g rdf:type ontology:Q502895 }
Countess Amalie Elisabeth of Hanau-Münzenberg
action count
action filter_type
action find_reverse
entity Countess Amalie Elisabeth of Hanau-Münzenberg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Countess Amalie Elisabeth of Hanau-Münzenberg']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:child resource:Countess_Amalie_Elisabeth_of_Hanau-Münzenberg . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q447766 Q71172
(c(Q502895),P40,Q272682)
action count
action filter_type
action find_reverse
entity Q272682
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q272682']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P40 resource:Q272682 . ?g rdf:type ontology:Q502895 }
Countess Catharina Belgica of Nassau Philip Louis II, Count of Hanau-Münzenberg
2
action count
action filter_type
action find_reverse
entity Countess Amalie Elisabeth of Hanau-Münzenberg
relation child
type common name
[{'concept': 'common name'}, 'child', 'Countess Amalie Elisabeth of Hanau-Münzenberg']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:child resource:Countess_Amalie_Elisabeth_of_Hanau-Münzenberg . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q120585
P1303
Q34379 Q502895
USER
Which musical instruments do greater number of people know to play than Tsuzumi ?
(c(Q502895),P1303,c(Q34379))
action greater
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?m . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q120585 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } . FILTER ( ?x > ?c ) }
Tsuzumi
action greater
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?m . ?d rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Tsuzumi property:instrument ?o . ?o rdf:type ontology:musical_instrument } } . FILTER ( ?x > ?c ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q120585
relation P1303
type Q34379
[ANSWERS] greater number of people know to play than Tsuzumi
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?m . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q120585 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } . FILTER ( ?x > ?c ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot greater number of people know to play than Tsuzumi
piano harpsichord ondes Martenot
action greater
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?m . ?d rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Tsuzumi property:instrument ?o . ?o rdf:type ontology:musical_instrument } } . FILTER ( ?x > ?c ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q862501
P425
Q12737077
USER
Which occupation does that musical instrument belong to ?
(c(Q12737077),P425,Q862501)
action filter_type
action find_reverse
entity Q862501
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q862501']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?f property:P425 resource:Q862501 }
ondes Martenot
action filter_type
action find_reverse
entity ondes Martenot
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'ondes Martenot']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?f property:field_of_this_occupation resource:ondes_Martenot }
[]
occupation
Clarification for simple ques.
Q5994
SYSTEM
Did you mean piano ?
Q5994 Q81982 Q862501
(c(Q12737077),P425,Q5994) (c(Q12737077),P425,Q81982) (c(Q12737077),P425,Q862501)
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q5994'] [{'concept': 'Q12737077'}, 'P425', 'Q81982'] [{'concept': 'Q12737077'}, 'P425', 'Q862501']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?f property:P425 resource:Q862501 }
piano harpsichord ondes Martenot
Did you mean piano ?
piano
[{'concept': 'occupation'}, 'field of this occupation', 'piano'] [{'concept': 'occupation'}, 'field of this occupation', 'harpsichord'] [{'concept': 'occupation'}, 'field of this occupation', 'ondes Martenot']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?f property:field_of_this_occupation resource:ondes_Martenot }
[]
Simple Question (Coreferenced)
USER
No, I meant ondes Martenot. Could you tell me the answer for that?
(c(Q12737077),P425,Q862501)
Q862501
[{'concept': 'Q12737077'}, 'P425', 'Q862501']
[{'concept': 'occupation'}, 'field of this occupation', 'ondes Martenot']
[]
Q20198734
SYSTEM
ondist
Q20198734
(c(Q12737077),P425,Q862501)
action filter_type
action find_reverse
entity Q862501
relation P425
type Q12737077
That musical instrument belongs to the [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q862501']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . ?f property:P425 resource:Q862501 }
ondist
That musical instrument belongs to the ondist
ondist
action filter_type
action find_reverse
entity ondes Martenot
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'ondes Martenot']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . ?f property:field_of_this_occupation resource:ondes_Martenot }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20198734 Q1153170
P106
Q502895
USER
Does Karel Goeyvaerts have the profession of that occupation ?
(Q1153170,P106,Q20198734)
action is_in
entity Q20198734
action find
entity Q1153170
relation P106
['Q1153170', 'P106', 'Q20198734']
ASK WHERE { resource:Q1153170 property:P106 resource:Q20198734 }
ondist Karel Goeyvaerts
action is_in
entity ondist
action find
entity Karel Goeyvaerts
relation occupation
['Karel Goeyvaerts', 'occupation', 'ondist']
ASK WHERE { resource:Karel_Goeyvaerts property:occupation resource:ondist }
[]
common name
SYSTEM
YES
(Q1153170,P106,Q20198734)
action is_in
entity Q20198734
action find
entity Q1153170
relation P106
[ANSWER]
['Q1153170', 'P106', 'Q20198734']
ASK WHERE { resource:Q1153170 property:P106 resource:Q20198734 }
Yes
action is_in
entity ondist
action find
entity Karel Goeyvaerts
relation occupation
['Karel Goeyvaerts', 'occupation', 'ondist']
ASK WHERE { resource:Karel_Goeyvaerts property:occupation resource:ondist }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q862501 Q3314710 Q6451444
P61
Q502895
USER
Was ondes Martenot invented or discoverd by Minamoto no Kanemasa and Kyle Smith ?
(Q862501,P61,Q3314710) (Q862501,P61,Q6451444)
action is_in
entity Q862501
action intersection
action find_reverse
entity Q3314710
relation P61
action find_reverse
entity Q6451444
relation P61
['Q862501', 'P61', 'Q3314710'] ['Q862501', 'P61', 'Q6451444']
ASK WHERE { resource:Q862501 property:P61 resource:Q6451444 . resource:Q862501 property:P61 resource:Q3314710 }
ondes Martenot Minamoto no Kanemasa Kyle Smith
action is_in
entity ondes Martenot
action intersection
action find_reverse
entity Minamoto no Kanemasa
relation discoverer or inventor
action find_reverse
entity Kyle Smith
relation discoverer or inventor
['ondes Martenot', 'discoverer or inventor', 'Minamoto no Kanemasa'] ['ondes Martenot', 'discoverer or inventor', 'Kyle Smith']
ASK WHERE { resource:ondes_Martenot property:discoverer_or_inventor resource:Kyle_Smith . resource:ondes_Martenot property:discoverer_or_inventor resource:Minamoto_no_Kanemasa }
[]
common name
SYSTEM
NO
(Q862501,P61,Q3314710) (Q862501,P61,Q6451444)
action is_in
entity Q862501
action intersection
action find_reverse
entity Q3314710
relation P61
action find_reverse
entity Q6451444
relation P61
[ANSWER]
['Q862501', 'P61', 'Q3314710'] ['Q862501', 'P61', 'Q6451444']
ASK WHERE { resource:Q862501 property:P61 resource:Q6451444 . resource:Q862501 property:P61 resource:Q3314710 }
No
action is_in
entity ondes Martenot
action intersection
action find_reverse
entity Minamoto no Kanemasa
relation discoverer or inventor
action find_reverse
entity Kyle Smith
relation discoverer or inventor
['ondes Martenot', 'discoverer or inventor', 'Minamoto no Kanemasa'] ['ondes Martenot', 'discoverer or inventor', 'Kyle Smith']
ASK WHERE { resource:ondes_Martenot property:discoverer_or_inventor resource:Kyle_Smith . resource:ondes_Martenot property:discoverer_or_inventor resource:Minamoto_no_Kanemasa }
[]