Simple Question (Direct)
Simple Question
Q78643
P734
Q82799
USER
Who are associated with Angela Hitler ?
(Q78643,P734,c(Q82799))
action filter_type
action find
entity Q78643
relation P734
type Q82799
['Q78643', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q78643 property:P734 ?q }
Angela Hitler
action filter_type
action find
entity Angela Hitler
relation family name
type name
['Angela Hitler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Angela_Hitler property:family_name ?q }
[]
name
Q22085301 Q22086923 Q1621139
SYSTEM
Raubal, Hammitzsch, Hitler
Q22085301 Q22086923 Q1621139
(Q78643,P734,c(Q82799))
action filter_type
action find
entity Q78643
relation P734
type Q82799
[ANSWERS] are associated with Angela Hitler
['Q78643', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q78643 property:P734 ?q }
Raubal Hammitzsch Hitler
Raubal, Hammitzsch and Hitler are associated with Angela Hitler
Raubal Hammitzsch Hitler
action filter_type
action find
entity Angela Hitler
relation family name
type name
['Angela Hitler', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Angela_Hitler property:family_name ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78643
P9
Q502895
USER
Who are the sisters of that one ?
(Q22085301,P9,c(Q502895)) (Q22086923,P9,c(Q502895)) (Q1621139,P9,c(Q502895))
action filter_type
action find
entity Q78643
relation P9
type Q502895
['Q22085301', 'P9', {'concept': 'Q502895'}] ['Q22086923', 'P9', {'concept': 'Q502895'}] ['Q1621139', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q78643 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Angela Hitler
action filter_type
action find
entity Angela Hitler
relation sister
type common name
['Raubal', 'sister', {'concept': 'common name'}] ['Hammitzsch', 'sister', {'concept': 'common name'}] ['Hitler', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Angela_Hitler property:sister ?t . ?t rdf:type ontology:common_name }
[]
common name
Q84328 Q22084764
SYSTEM
Paula Hitler, Ida Hitler
Q84328 Q22084764
(Q22085301,P9,c(Q502895)) (Q22086923,P9,c(Q502895)) (Q1621139,P9,c(Q502895))
action filter_type
action find
entity Q78643
relation P9
type Q502895
The sisters of that one are sisters [ANSWERS]
['Q22085301', 'P9', {'concept': 'Q502895'}] ['Q22086923', 'P9', {'concept': 'Q502895'}] ['Q1621139', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q78643 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Paula Hitler Ida Hitler
The sisters of that one are sisters Paula Hitler and Ida Hitler
Paula Hitler Ida Hitler
action filter_type
action find
entity Angela Hitler
relation sister
type common name
['Raubal', 'sister', {'concept': 'common name'}] ['Hammitzsch', 'sister', {'concept': 'common name'}] ['Hitler', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Angela_Hitler property:sister ?t . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22084764
P1038
Q502895
USER
Which people are relatives of that one ?
(c(Q502895),P1038,Q22084764)
action filter_type
action find
entity Q22084764
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q22084764']
SELECT DISTINCT ?k WHERE { resource:Q22084764 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Ida Hitler
action filter_type
action find
entity Ida Hitler
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Ida Hitler']
SELECT DISTINCT ?k WHERE { resource:Ida_Hitler property:relative ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q22084764
SYSTEM
Did you mean Ida Hitler ?
Q84328 Q22084764
(c(Q502895),P1038,Q84328) (c(Q502895),P1038,Q22084764)
[ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q84328'] [{'concept': 'Q502895'}, 'P1038', 'Q22084764']
SELECT DISTINCT ?k WHERE { resource:Q22084764 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Paula Hitler Ida Hitler
Did you mean Ida Hitler ?
Ida Hitler
[{'concept': 'common name'}, 'relative', 'Paula Hitler'] [{'concept': 'common name'}, 'relative', 'Ida Hitler']
SELECT DISTINCT ?k WHERE { resource:Ida_Hitler property:relative ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P1038,Q22084764)
[{'concept': 'Q502895'}, 'P1038', 'Q22084764']
[{'concept': 'common name'}, 'relative', 'Ida Hitler']
[]
Q76433 Q2779550 Q6216378
SYSTEM
Eva Braun, Maria Schicklgruber, Johanna Hiedler
Q76433 Q385804 Q1903961 Q22121831 Q6216378 Q22116733 Q22572343 Q454576 Q22132490 Q22090133 Q22132157 Q22132150 Q22121817 Q2779550 Q22085545
(c(Q502895),P1038,Q22084764)
action filter_type
action find
entity Q22084764
relation P1038
type Q502895
[ANSWERS] are relatives of that one
[{'concept': 'Q502895'}, 'P1038', 'Q22084764']
SELECT DISTINCT ?k WHERE { resource:Q22084764 property:P1038 ?k . ?k rdf:type ontology:Q502895 }
Eva Braun Johann Georg Hiedler Martin Heinrich Hammitzsch Theresia Pfeisinger Johanna Hiedler Josepha Schicklgruber Hedwig Mickley Bridget Dowling Johann Baptist Pölzl Johanna Pölzl Anna Maria Göschl Martin Hiedler Johann Schicklgruber Maria Schicklgruber Therese Schmidt
Eva Braun, Maria Schicklgruber and Johanna Hiedler are relatives of that one
Eva Braun Maria Schicklgruber Johanna Hiedler
action filter_type
action find
entity Ida Hitler
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Ida Hitler']
SELECT DISTINCT ?k WHERE { resource:Ida_Hitler property:relative ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22084744
P1038
Q502895
USER
Are Gustav Hitler kins of those ones ?
(Q22084744,P1038,Q76433) (Q22084744,P1038,Q2779550) (Q22084744,P1038,Q6216378)
action is_in
entity prev_answer
action find
entity Q22084744
relation P1038
['Q22084744', 'P1038', 'Q76433'] ['Q22084744', 'P1038', 'Q2779550'] ['Q22084744', 'P1038', 'Q6216378']
ASK WHERE { resource:Q22084744 property:P1038 ?w . VALUES ( ?w ) { ( resource:Q76433 ) ( resource:Q385804 ) ( resource:Q1903961 ) } }
Gustav Hitler
action is_in
entity prev_answer
action find
entity Gustav Hitler
relation relative
['Gustav Hitler', 'relative', 'Eva Braun'] ['Gustav Hitler', 'relative', 'Maria Schicklgruber'] ['Gustav Hitler', 'relative', 'Johanna Hiedler']
ASK WHERE { resource:Gustav_Hitler property:relative ?w . VALUES ( ?w ) { ( resource:Eva_Braun ) ( resource:Johann_Georg_Hiedler ) ( resource:Martin_Heinrich_Hammitzsch ) } }
[]
common name
SYSTEM
YES
(Q22084744,P1038,Q76433) (Q22084744,P1038,Q2779550) (Q22084744,P1038,Q6216378)
action is_in
entity prev_answer
action find
entity Q22084744
relation P1038
[ANSWER]
['Q22084744', 'P1038', 'Q76433'] ['Q22084744', 'P1038', 'Q2779550'] ['Q22084744', 'P1038', 'Q6216378']
ASK WHERE { resource:Q22084744 property:P1038 ?w . VALUES ( ?w ) { ( resource:Q76433 ) ( resource:Q385804 ) ( resource:Q1903961 ) } }
Yes
action is_in
entity prev_answer
action find
entity Gustav Hitler
relation relative
['Gustav Hitler', 'relative', 'Eva Braun'] ['Gustav Hitler', 'relative', 'Maria Schicklgruber'] ['Gustav Hitler', 'relative', 'Johanna Hiedler']
ASK WHERE { resource:Gustav_Hitler property:relative ?w . VALUES ( ?w ) { ( resource:Eva_Braun ) ( resource:Johann_Georg_Hiedler ) ( resource:Martin_Heinrich_Hammitzsch ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did exactly 25 people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 25
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?d = 25 ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?d ) WHERE { ?g property:P725 ?o . ?g rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 } GROUP BY ?g } }
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 25
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?d = 25 ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?d ) WHERE { ?g property:voice_actor ?o . ?g rdf:type ontology:film . ?o rdf:type ontology:common_name } GROUP BY ?g } }
[]
common name film
Q15270775
SYSTEM
Hotel Transylvania 2
Q15270775
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 25
Exactly 25 people did the dubbing of [ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?d = 25 ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?d ) WHERE { ?g property:P725 ?o . ?g rdf:type ontology:Q11424 . ?o rdf:type ontology:Q502895 } GROUP BY ?g } }
Hotel Transylvania 2
Exactly 25 people did the dubbing of Hotel Transylvania 2
Hotel Transylvania 2
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 25
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?d = 25 ) . { SELECT DISTINCT ?g ( COUNT ( ?o ) AS ?d ) WHERE { ?g property:voice_actor ?o . ?g rdf:type ontology:film . ?o rdf:type ontology:common_name } GROUP BY ?g } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q84328
P9 P21
Q502895
USER
Which people are Paula Hitler a sister of and have male as the sex ?
AND((c(Q502895),P9,Q84328), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q84328
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q84328'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P9 resource:Q84328 . ?q property:P21 resource:Q6581097 }
male Paula Hitler
action filter_type
action intersection
action find_reverse
entity Paula Hitler
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Paula Hitler'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:sister resource:Paula_Hitler . ?q property:gender resource:male }
[]
common name
Q66225 Q352 Q22084744 Q22084776 Q22084775
SYSTEM
Alois Hitler, Jr., Adolf Hitler, Gustav Hitler, Edmund Hitler, Otto Hitler
Q66225 Q352 Q22084744 Q22084776 Q22084775
AND((c(Q502895),P9,Q84328), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q84328
relation P9
action find_reverse
entity Q6581097
relation P21
type Q502895
Are [ANSWERS] are Paula Hitler a sister of and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q84328'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P9 resource:Q84328 . ?q property:P21 resource:Q6581097 }
Alois Hitler, Jr. Adolf Hitler Gustav Hitler Edmund Hitler Otto Hitler
Are Alois Hitler, Jr., Adolf Hitler, Gustav Hitler, Edmund Hitler and Otto Hitler are Paula Hitler a sister of and have male as the sex
Alois Hitler, Jr. Adolf Hitler Gustav Hitler Edmund Hitler Otto Hitler
action filter_type
action intersection
action find_reverse
entity Paula Hitler
relation sister
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Paula Hitler'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:sister resource:Paula_Hitler . ?q property:gender resource:male }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22084744
P119
Q56061
USER
Which administrative territory is the tomb of that person ?
(Q22084744,P119,c(Q56061))
action filter_type
action find
entity Q22084744
relation P119
type Q56061
['Q22084744', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q22084744 property:P119 ?c . ?c rdf:type ontology:Q56061 }
Gustav Hitler
action filter_type
action find
entity Gustav Hitler
relation place of burial
type administrative territorial entity
['Gustav Hitler', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gustav_Hitler property:place_of_burial ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q66225
SYSTEM
Did you mean Alois Hitler, Jr. ?
Q66225 Q352 Q22084744 Q22084776 Q22084775
(Q66225,P119,c(Q56061)) (Q352,P119,c(Q56061)) (Q22084744,P119,c(Q56061)) (Q22084776,P119,c(Q56061)) (Q22084775,P119,c(Q56061))
[ANSWER]
['Q66225', 'P119', {'concept': 'Q56061'}] ['Q352', 'P119', {'concept': 'Q56061'}] ['Q22084744', 'P119', {'concept': 'Q56061'}] ['Q22084776', 'P119', {'concept': 'Q56061'}] ['Q22084775', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q22084744 property:P119 ?c . ?c rdf:type ontology:Q56061 }
Alois Hitler, Jr. Adolf Hitler Gustav Hitler Edmund Hitler Otto Hitler
Did you mean Alois Hitler, Jr. ?
Alois Hitler, Jr.
['Alois Hitler, Jr.', 'place of burial', {'concept': 'administrative territorial entity'}] ['Adolf Hitler', 'place of burial', {'concept': 'administrative territorial entity'}] ['Gustav Hitler', 'place of burial', {'concept': 'administrative territorial entity'}] ['Edmund Hitler', 'place of burial', {'concept': 'administrative territorial entity'}] ['Otto Hitler', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gustav_Hitler property:place_of_burial ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Gustav Hitler. Could you tell me the answer for that?
(Q22084744,P119,c(Q56061))
Q22084744
['Q22084744', 'P119', {'concept': 'Q56061'}]
['Gustav Hitler', 'place of burial', {'concept': 'administrative territorial entity'}]
[]
Q131128
SYSTEM
Braunau am Inn
Q131128
(Q22084744,P119,c(Q56061))
action filter_type
action find
entity Q22084744
relation P119
type Q56061
[ANSWER] is the tomb of that person
['Q22084744', 'P119', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q22084744 property:P119 ?c . ?c rdf:type ontology:Q56061 }
Braunau am Inn
Braunau am Inn is the tomb of that person
Braunau am Inn
action filter_type
action find
entity Gustav Hitler
relation place of burial
type administrative territorial entity
['Gustav Hitler', 'place of burial', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Gustav_Hitler property:place_of_burial ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]