Simple Question (Direct)
Simple Question
Q15451422
P19
Q56061
USER
Which administrative territory was Andreas Reichenberger born at ?
(Q15451422,P19,c(Q56061))
action filter_type
action find
entity Q15451422
relation P19
type Q56061
['Q15451422', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q15451422 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Andreas Reichenberger
action filter_type
action find
entity Andreas Reichenberger
relation place of birth
type administrative territorial entity
['Andreas Reichenberger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Andreas_Reichenberger property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q15451422,P19,c(Q56061))
action filter_type
action find
entity Q15451422
relation P19
type Q56061
Andreas Reichenberger was born in [ANSWER]
['Q15451422', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q15451422 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Vienna
Andreas Reichenberger was born in Vienna
Vienna
action filter_type
action find
entity Andreas Reichenberger
relation place of birth
type administrative territorial entity
['Andreas Reichenberger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Andreas_Reichenberger property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15451422
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q1741,P20,c(Q56061))
action filter_type
action find
entity Q15451422
relation P20
type Q56061
['Q1741', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q15451422 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Andreas Reichenberger
action filter_type
action find
entity Andreas Reichenberger
relation place of death
type administrative territorial entity
['Vienna', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Andreas_Reichenberger property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41329
SYSTEM
Linz
Q41329
(Q1741,P20,c(Q56061))
action filter_type
action find
entity Q15451422
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q1741', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q15451422 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Linz
The expiration of that person occurred in Linz
Linz
action filter_type
action find
entity Andreas Reichenberger
relation place of death
type administrative territorial entity
['Vienna', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Andreas_Reichenberger property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15451422
P140
Q879146
USER
Which Christian denomination is the religion of Andreas Reichenberger ?
(Q15451422,P140,c(Q879146))
action filter_type
action find
entity Q15451422
relation P140
type Q879146
['Q15451422', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?b WHERE { resource:Q15451422 property:P140 ?b . ?b rdf:type ontology:Q879146 }
Andreas Reichenberger
action filter_type
action find
entity Andreas Reichenberger
relation religion
type Christian denomination
['Andreas Reichenberger', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?b WHERE { resource:Andreas_Reichenberger property:religion ?b . ?b rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q15451422,P140,c(Q879146))
action filter_type
action find
entity Q15451422
relation P140
type Q879146
The [ANSWER] is the religion of Andreas Reichenberger
['Q15451422', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?b WHERE { resource:Q15451422 property:P140 ?b . ?b rdf:type ontology:Q879146 }
Roman Catholic Church
The Roman Catholic Church is the religion of Andreas Reichenberger
Roman Catholic Church
action filter_type
action find
entity Andreas Reichenberger
relation religion
type Christian denomination
['Andreas Reichenberger', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?b WHERE { resource:Andreas_Reichenberger property:religion ?b . ?b rdf:type ontology:Christian_denomination }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15729393 Q15451422
P140
Q879146
USER
And also John Keenan
AND((Q15451422,P140,c(Q879146)), (Q15729393,P140,c(Q879146)))
action filter_type
action intersection
action find
entity Q15451422
relation P140
action find
entity Q15729393
relation P140
type Q879146
{'AND': [['Q15451422', 'P140', {'concept': 'Q879146'}], ['Q15729393', 'P140', {'concept': 'Q879146'}]]}
SELECT DISTINCT ?x WHERE { resource:Q15451422 property:P140 ?x . resource:Q15729393 property:P140 ?x . ?x rdf:type ontology:Q879146 }
John Keenan Andreas Reichenberger
action filter_type
action intersection
action find
entity Andreas Reichenberger
relation religion
action find
entity John Keenan
relation religion
type Christian denomination
{'AND': [['Andreas Reichenberger', 'religion', {'concept': 'Christian denomination'}], ['John Keenan', 'religion', {'concept': 'Christian denomination'}]]}
SELECT DISTINCT ?x WHERE { resource:Andreas_Reichenberger property:religion ?x . resource:John_Keenan property:religion ?x . ?x rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
AND((Q15451422,P140,c(Q879146)), (Q15729393,P140,c(Q879146)))
action filter_type
action intersection
action find
entity Q15451422
relation P140
action find
entity Q15729393
relation P140
type Q879146
[ANSWER]
{'AND': [['Q15451422', 'P140', {'concept': 'Q879146'}], ['Q15729393', 'P140', {'concept': 'Q879146'}]]}
SELECT DISTINCT ?x WHERE { resource:Q15451422 property:P140 ?x . resource:Q15729393 property:P140 ?x . ?x rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church
action filter_type
action intersection
action find
entity Andreas Reichenberger
relation religion
action find
entity John Keenan
relation religion
type Christian denomination
{'AND': [['Andreas Reichenberger', 'religion', {'concept': 'Christian denomination'}], ['John Keenan', 'religion', {'concept': 'Christian denomination'}]]}
SELECT DISTINCT ?x WHERE { resource:Andreas_Reichenberger property:religion ?x . resource:John_Keenan property:religion ?x . ?x rdf:type ontology:Christian_denomination }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P361
Q879146 Q44539 Q56061
USER
Which Christian denominations are more number of temples or administrative territories a part of than that Christian denomination ?
(c(Q44539)|c(Q56061),P361,c(Q879146))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q44539
type Q56061
[[{'concept': 'Q44539'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?t WHERE { { ?b property:P361 ?t . ?t rdf:type ontology:Q879146 . ?b rdf:type ontology:Q44539 } UNION { ?b property:P361 ?t . ?t rdf:type ontology:Q879146 . ?b rdf:type ontology:Q56061 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P361 resource:Q9592 . { { ?q rdf:type ontology:Q56061 } UNION { ?q rdf:type ontology:Q44539 } } } } . FILTER ( ?a > ?j ) }
action greater
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type temple
type administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?t WHERE { { ?b property:part_of ?t . ?t rdf:type ontology:Christian_denomination . ?b rdf:type ontology:temple } UNION { ?b property:part_of ?t . ?t rdf:type ontology:Christian_denomination . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:part_of resource:Roman_Catholic_Church . { { ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q rdf:type ontology:temple } } } } . FILTER ( ?a > ?j ) }
[]
Christian denomination temple administrative territorial entity
Q82708
SYSTEM
Church of England
Q82708
(c(Q44539)|c(Q56061),P361,c(Q879146))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q44539
action find_reverse_tuple_counts
relation P361
type Q879146
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q9592
relation P361
type Q44539
type Q56061
[ANSWER] is more number of temples or administrative territories a part of than that Christian denomination
[[{'concept': 'Q44539'}, {'concept': 'Q56061'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?t WHERE { { ?b property:P361 ?t . ?t rdf:type ontology:Q879146 . ?b rdf:type ontology:Q44539 } UNION { ?b property:P361 ?t . ?t rdf:type ontology:Q879146 . ?b rdf:type ontology:Q56061 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:P361 resource:Q9592 . { { ?q rdf:type ontology:Q56061 } UNION { ?q rdf:type ontology:Q44539 } } } } . FILTER ( ?a > ?j ) }
Church of England
Church of England is more number of temples or administrative territories a part of than that Christian denomination
Church of England
action greater
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type temple
action find_reverse_tuple_counts
relation part of
type Christian denomination
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Roman Catholic Church
relation part of
type temple
type administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'administrative territorial entity'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?t WHERE { { ?b property:part_of ?t . ?t rdf:type ontology:Christian_denomination . ?b rdf:type ontology:temple } UNION { ?b property:part_of ?t . ?t rdf:type ontology:Christian_denomination . ?b rdf:type ontology:administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { ?q property:part_of resource:Roman_Catholic_Church . { { ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q rdf:type ontology:temple } } } } . FILTER ( ?a > ?j ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q879146 Q12737077 Q2342494
USER
Which Christian denominations are max number of occupations and collectables a component of ?
(c(Q12737077)|c(Q2342494),P361,c(Q879146))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q879146
type Q2342494
[[{'concept': 'Q12737077'}, {'concept': 'Q2342494'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?i property:P361 ?v . ?v rdf:type ontology:Q879146 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P361 ?v . ?v rdf:type ontology:Q879146 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?y WHERE { { ?m property:P361 ?y . ?y rdf:type ontology:Q879146 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P361 ?y . ?y rdf:type ontology:Q879146 . ?m rdf:type ontology:Q12737077 } } GROUP BY ?y } . FILTER ( ?e = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
action find_reverse_tuple_counts
relation part of
type Christian denomination
type collectable
[[{'concept': 'occupation'}, {'concept': 'collectable'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?i property:part_of ?v . ?v rdf:type ontology:Christian_denomination . ?i rdf:type ontology:occupation } UNION { ?i property:part_of ?v . ?v rdf:type ontology:Christian_denomination . ?i rdf:type ontology:collectable } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?y WHERE { { ?m property:part_of ?y . ?y rdf:type ontology:Christian_denomination . ?m rdf:type ontology:collectable } UNION { ?m property:part_of ?y . ?y rdf:type ontology:Christian_denomination . ?m rdf:type ontology:occupation } } GROUP BY ?y } . FILTER ( ?e = ?c ) }
[]
Christian denomination occupation collectable
Q82708
SYSTEM
Church of England
Q82708
(c(Q12737077)|c(Q2342494),P361,c(Q879146))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q879146
type Q12737077
action find_reverse_tuple_counts
relation P361
type Q879146
type Q2342494
[ANSWER] is max number of occupations and collectables a component of
[[{'concept': 'Q12737077'}, {'concept': 'Q2342494'}], 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?i property:P361 ?v . ?v rdf:type ontology:Q879146 . ?i rdf:type ontology:Q12737077 } UNION { ?i property:P361 ?v . ?v rdf:type ontology:Q879146 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?y WHERE { { ?m property:P361 ?y . ?y rdf:type ontology:Q879146 . ?m rdf:type ontology:Q2342494 } UNION { ?m property:P361 ?y . ?y rdf:type ontology:Q879146 . ?m rdf:type ontology:Q12737077 } } GROUP BY ?y } . FILTER ( ?e = ?c ) }
Church of England
Church of England is max number of occupations and collectables a component of
Church of England
action argmax
action union
action find_reverse_tuple_counts
relation part of
type Christian denomination
type occupation
action find_reverse_tuple_counts
relation part of
type Christian denomination
type collectable
[[{'concept': 'occupation'}, {'concept': 'collectable'}], 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?i property:part_of ?v . ?v rdf:type ontology:Christian_denomination . ?i rdf:type ontology:occupation } UNION { ?i property:part_of ?v . ?v rdf:type ontology:Christian_denomination . ?i rdf:type ontology:collectable } } GROUP BY ?v } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) ?y WHERE { { ?m property:part_of ?y . ?y rdf:type ontology:Christian_denomination . ?m rdf:type ontology:collectable } UNION { ?m property:part_of ?y . ?y rdf:type ontology:Christian_denomination . ?m rdf:type ontology:occupation } } GROUP BY ?y } . FILTER ( ?e = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41329
P6
Q502895
USER
What people are Linz the head of goverment of ?
(Q41329,P6,c(Q502895))
action filter_type
action find
entity Q41329
relation P6
type Q502895
['Q41329', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q41329 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Linz
action filter_type
action find
entity Linz
relation head of government
type common name
['Linz', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Linz property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1446553 Q17194395
SYSTEM
Franz Dobusch, Klaus Luger
Q1446553 Q17194395
(Q41329,P6,c(Q502895))
action filter_type
action find
entity Q41329
relation P6
type Q502895
[ANSWERS] are Linz the head of goverment of
['Q41329', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q41329 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Franz Dobusch Klaus Luger
Franz Dobusch and Klaus Luger are Linz the head of goverment of
Franz Dobusch Klaus Luger
action filter_type
action find
entity Linz
relation head of government
type common name
['Linz', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Linz property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41329
P937
Q502895
USER
Who works at Linz ?
(c(Q502895),P937,Q41329)
action filter_type
action find_reverse
entity Q41329
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q41329']
SELECT DISTINCT ?b WHERE { ?b property:P937 resource:Q41329 . ?b rdf:type ontology:Q502895 }
Linz
action filter_type
action find_reverse
entity Linz
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Linz']
SELECT DISTINCT ?b WHERE { ?b property:work_location resource:Linz . ?b rdf:type ontology:common_name }
[]
common name
Q352 Q8963 Q6054936
SYSTEM
Adolf Hitler, Johannes Kepler, Johan Nikolaus Pouget
Q79117 Q1715101 Q87357 Q1280092 Q1819895 Q1635646 Q1929064 Q87331 Q8963 Q1582701 Q2773474 Q99378 Q1446553 Q85195 Q751264 Q1447361 Q1389011 Q85735 Q825357 Q1762895 Q916122 Q15429203 Q1733836 Q2158224 Q1417222 Q1504231 Q1363222 Q1931218 Q697055 Q875881 Q706138 Q1407705 Q1508650 Q1587385 Q1265697 Q1476300 Q15437197 Q15441021 Q1895255 Q1611416 Q15445921 Q2157693 Q1449511 Q1576002 Q112413 Q2645476 Q2158468 Q1354740 Q824728 Q16457185 Q2141502 Q1359032 Q1800459 Q2075984 Q877406 Q1360092 Q1874952 Q1415943 Q2573717 Q352 Q101864 Q18222466 Q2427088 Q88375 Q6054936 Q1293469 Q91843 Q2040754 Q78978 Q1539213 Q1889466 Q1692478 Q2645109 Q1603152 Q1312309
(c(Q502895),P937,Q41329)
action filter_type
action find_reverse
entity Q41329
relation P937
type Q502895
[ANSWERS] work at Linz
[{'concept': 'Q502895'}, 'P937', 'Q41329']
SELECT DISTINCT ?b WHERE { ?b property:P937 resource:Q41329 . ?b rdf:type ontology:Q502895 }
Caspar Erasmus Duftschmid Józef Niewiadomski Gerhard Chroust Michael Pammer Leopold Zinnögger Hugo Schanovsky Michael Rosenberger Henry Boernstein Johannes Kepler Hans Stumbauer Ludwig Daxsperger Wolfgang von Wersin Franz Dobusch Eduard Pant Peter Johann Nepomuk Geiger Franz Höbarth Alois Birklbauer Hans Pizka Bernhard Jakoby Walter Pilar Brigitte Aulenbacher Albert Ritzberger Karlheinz Schwuchow Robert Mehr Herbert Altrichter Matthias Anomaeus Erwin M. Ruprechtsberger Michi Gaigg Arnolt Bronnen Gregorius Thomas Ziegler Franz Anton Hoffmeister Michael Langer George Wozasek Hartmut Bremer Nicolas Raschauer Johanna Tschautscher Franz Anton Obojes Jörg Krenmayr Margherita Spiluttini Hermann Haslinger Franz Derichs Robert Jelinek Franz Winkler Hannes Haslecker Thomas von Trattner Alfred Melichar Robert Pfaller Franz Seifert Bernhard Barta Franz Xaver von Hartmann Reinhold Rabenstein Ernst Koref Ludwig Schwarzer Peter Jabornegg Franz-Josef Rudigier Ernst Schmid Ludwig Scharinger Gustav Eder Wilhelm Kohler Adolf Hitler Joseph Anton Gall Thomas A. Klar Thomas Schlager-Weidinger Thomas Feichtner Johan Nikolaus Pouget Edward Samhaber Georg Ludwig Jochum Otto Stöber Bruno Buchberger Gottfried Hemetsberger Manfred Helm Johann Bacher Alfred Havlicek Helma Seitz Robert Keldorfer
Adolf Hitler, Johannes Kepler and Johan Nikolaus Pouget work at Linz
Adolf Hitler Johannes Kepler Johan Nikolaus Pouget
action filter_type
action find_reverse
entity Linz
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Linz']
SELECT DISTINCT ?b WHERE { ?b property:work_location resource:Linz . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q352
P1050
Q2057971
USER
Which health problems are that person affected by ?
(Q352,P1050,c(Q2057971))
action filter_type
action find
entity Q352
relation P1050
type Q2057971
['Q352', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q352 property:P1050 ?y . ?y rdf:type ontology:Q2057971 }
Adolf Hitler
action filter_type
action find
entity Adolf Hitler
relation medical condition
type health problem
['Adolf Hitler', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:Adolf_Hitler property:medical_condition ?y . ?y rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q352
SYSTEM
Did you mean Adolf Hitler ?
Q352 Q8963 Q6054936
(Q352,P1050,c(Q2057971)) (Q8963,P1050,c(Q2057971)) (Q6054936,P1050,c(Q2057971))
[ANSWER]
['Q352', 'P1050', {'concept': 'Q2057971'}] ['Q8963', 'P1050', {'concept': 'Q2057971'}] ['Q6054936', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q352 property:P1050 ?y . ?y rdf:type ontology:Q2057971 }
Adolf Hitler Johannes Kepler Johan Nikolaus Pouget
Did you mean Adolf Hitler ?
Adolf Hitler
['Adolf Hitler', 'medical condition', {'concept': 'health problem'}] ['Johannes Kepler', 'medical condition', {'concept': 'health problem'}] ['Johan Nikolaus Pouget', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:Adolf_Hitler property:medical_condition ?y . ?y rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
Yes
(Q352,P1050,c(Q2057971))
['Q352', 'P1050', {'concept': 'Q2057971'}]
['Adolf Hitler', 'medical condition', {'concept': 'health problem'}]
[]
Q41083 Q11085
SYSTEM
syphilis, Parkinson's disease
Q41083 Q11085
(Q352,P1050,c(Q2057971))
action filter_type
action find
entity Q352
relation P1050
type Q2057971
That person are affected by [ANSWERS]
['Q352', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?y WHERE { resource:Q352 property:P1050 ?y . ?y rdf:type ontology:Q2057971 }
syphilis Parkinson's disease
That person are affected by syphilis and Parkinson's disease
syphilis Parkinson's disease
action filter_type
action find
entity Adolf Hitler
relation medical condition
type health problem
['Adolf Hitler', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?y WHERE { resource:Adolf_Hitler property:medical_condition ?y . ?y rdf:type ontology:health_problem }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16165897
P1050
Q502895
USER
Do Janusz Beksiak have the disease those health problems ?
(Q16165897,P1050,Q41083) (Q16165897,P1050,Q11085)
action is_in
entity prev_answer
action find
entity Q16165897
relation P1050
['Q16165897', 'P1050', 'Q41083'] ['Q16165897', 'P1050', 'Q11085']
ASK WHERE { resource:Q16165897 property:P1050 ?q . VALUES ( ?q ) { ( resource:Q41083 ) ( resource:Q11085 ) } }
Janusz Beksiak
action is_in
entity prev_answer
action find
entity Janusz Beksiak
relation medical condition
['Janusz Beksiak', 'medical condition', 'syphilis'] ['Janusz Beksiak', 'medical condition', "Parkinson's disease"]
ASK WHERE { resource:Janusz_Beksiak property:medical_condition ?q . VALUES ( ?q ) { ( resource:syphilis ) ( resource:Parkinson's_disease ) } }
[]
common name
SYSTEM
NO
(Q16165897,P1050,Q41083) (Q16165897,P1050,Q11085)
action is_in
entity prev_answer
action find
entity Q16165897
relation P1050
[ANSWER]
['Q16165897', 'P1050', 'Q41083'] ['Q16165897', 'P1050', 'Q11085']
ASK WHERE { resource:Q16165897 property:P1050 ?q . VALUES ( ?q ) { ( resource:Q41083 ) ( resource:Q11085 ) } }
No
action is_in
entity prev_answer
action find
entity Janusz Beksiak
relation medical condition
['Janusz Beksiak', 'medical condition', 'syphilis'] ['Janusz Beksiak', 'medical condition', "Parkinson's disease"]
ASK WHERE { resource:Janusz_Beksiak property:medical_condition ?q . VALUES ( ?q ) { ( resource:syphilis ) ( resource:Parkinson's_disease ) } }
[]