Simple Question (Direct)
Simple Question
Q604419
P25
Q502895
USER
Which person was the mother of Infanta Maria Josefa of Spain ?
(Q604419,P25,c(Q502895))
action filter_type
action find
entity Q604419
relation P25
type Q502895
['Q604419', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q604419 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Infanta Maria Josefa of Spain
action filter_type
action find
entity Infanta Maria Josefa of Spain
relation mother
type common name
['Infanta Maria Josefa of Spain', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Infanta_Maria_Josefa_of_Spain property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Q169512
SYSTEM
Maria Amalia of Saxony
Q169512
(Q604419,P25,c(Q502895))
action filter_type
action find
entity Q604419
relation P25
type Q502895
[ANSWER] was the mother of Infanta Maria Josefa of Spain
['Q604419', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q604419 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Maria Amalia of Saxony
Maria Amalia of Saxony was the mother of Infanta Maria Josefa of Spain
Maria Amalia of Saxony
action filter_type
action find
entity Infanta Maria Josefa of Spain
relation mother
type common name
['Infanta Maria Josefa of Spain', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Infanta_Maria_Josefa_of_Spain property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q169512
P9
Q502895
USER
Who have that one as thier sibling ?
(Q169512,P9,c(Q502895))
action filter_type
action find
entity Q169512
relation P9
type Q502895
['Q169512', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q169512 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Maria Amalia of Saxony
action filter_type
action find
entity Maria Amalia of Saxony
relation sister
type common name
['Maria Amalia of Saxony', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Maria_Amalia_of_Saxony property:sister ?o . ?o rdf:type ontology:common_name }
[]
common name
Q163043 Q446240 Q70244
SYSTEM
Princess Maria Josepha of Saxony, Maria Kunigunde of Saxony, Princess Maria Christina of Saxony
Q70244 Q163043 Q446240 Q16859543 Q237706 Q15439085
(Q169512,P9,c(Q502895))
action filter_type
action find
entity Q169512
relation P9
type Q502895
[ANSWERS] have that one as thier sibling
['Q169512', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q169512 property:P9 ?o . ?o rdf:type ontology:Q502895 }
Princess Maria Christina of Saxony Princess Maria Josepha of Saxony Maria Kunigunde of Saxony Maria Margaretha of Saxony Maria Anna Sophia of Saxony Maria Elisabeth of Saxony
Princess Maria Josepha of Saxony, Maria Kunigunde of Saxony and Princess Maria Christina of Saxony have that one as thier sibling
Princess Maria Josepha of Saxony Maria Kunigunde of Saxony Princess Maria Christina of Saxony
action filter_type
action find
entity Maria Amalia of Saxony
relation sister
type common name
['Maria Amalia of Saxony', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Maria_Amalia_of_Saxony property:sister ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16859543
P9
Q502895
USER
Did Maria Margaretha of Saxony have those ones as their sibling ?
(Q16859543,P9,Q163043) (Q16859543,P9,Q446240) (Q16859543,P9,Q70244)
action is_in
entity prev_answer
action find
entity Q16859543
relation P9
['Q16859543', 'P9', 'Q163043'] ['Q16859543', 'P9', 'Q446240'] ['Q16859543', 'P9', 'Q70244']
ASK WHERE { VALUES ( ?p ) { ( resource:Q70244 ) ( resource:Q163043 ) ( resource:Q446240 ) } . resource:Q16859543 property:P9 ?p }
Maria Margaretha of Saxony
action is_in
entity prev_answer
action find
entity Maria Margaretha of Saxony
relation sister
['Maria Margaretha of Saxony', 'sister', 'Princess Maria Josepha of Saxony'] ['Maria Margaretha of Saxony', 'sister', 'Maria Kunigunde of Saxony'] ['Maria Margaretha of Saxony', 'sister', 'Princess Maria Christina of Saxony']
ASK WHERE { VALUES ( ?p ) { ( resource:Princess_Maria_Christina_of_Saxony ) ( resource:Princess_Maria_Josepha_of_Saxony ) ( resource:Maria_Kunigunde_of_Saxony ) } . resource:Maria_Margaretha_of_Saxony property:sister ?p }
[]
common name
SYSTEM
YES
(Q16859543,P9,Q163043) (Q16859543,P9,Q446240) (Q16859543,P9,Q70244)
action is_in
entity prev_answer
action find
entity Q16859543
relation P9
[ANSWER]
['Q16859543', 'P9', 'Q163043'] ['Q16859543', 'P9', 'Q446240'] ['Q16859543', 'P9', 'Q70244']
ASK WHERE { VALUES ( ?p ) { ( resource:Q70244 ) ( resource:Q163043 ) ( resource:Q446240 ) } . resource:Q16859543 property:P9 ?p }
Yes
action is_in
entity prev_answer
action find
entity Maria Margaretha of Saxony
relation sister
['Maria Margaretha of Saxony', 'sister', 'Princess Maria Josepha of Saxony'] ['Maria Margaretha of Saxony', 'sister', 'Maria Kunigunde of Saxony'] ['Maria Margaretha of Saxony', 'sister', 'Princess Maria Christina of Saxony']
ASK WHERE { VALUES ( ?p ) { ( resource:Princess_Maria_Christina_of_Saxony ) ( resource:Princess_Maria_Josepha_of_Saxony ) ( resource:Maria_Kunigunde_of_Saxony ) } . resource:Maria_Margaretha_of_Saxony property:sister ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q163043 Q237706
P9
Q502895
USER
Is Princess Maria Josepha of Saxony a sibling of Maria Anna Sophia of Saxony ?
(Q163043,P9,Q237706)
action is_in
entity Q237706
action find
entity Q163043
relation P9
['Q163043', 'P9', 'Q237706']
ASK WHERE { resource:Q163043 property:P9 resource:Q237706 }
Princess Maria Josepha of Saxony Maria Anna Sophia of Saxony
action is_in
entity Maria Anna Sophia of Saxony
action find
entity Princess Maria Josepha of Saxony
relation sister
['Princess Maria Josepha of Saxony', 'sister', 'Maria Anna Sophia of Saxony']
ASK WHERE { resource:Princess_Maria_Josepha_of_Saxony property:sister resource:Maria_Anna_Sophia_of_Saxony }
[]
common name
SYSTEM
YES
(Q163043,P9,Q237706)
action is_in
entity Q237706
action find
entity Q163043
relation P9
[ANSWER]
['Q163043', 'P9', 'Q237706']
ASK WHERE { resource:Q163043 property:P9 resource:Q237706 }
Yes
action is_in
entity Maria Anna Sophia of Saxony
action find
entity Princess Maria Josepha of Saxony
relation sister
['Princess Maria Josepha of Saxony', 'sister', 'Maria Anna Sophia of Saxony']
ASK WHERE { resource:Princess_Maria_Josepha_of_Saxony property:sister resource:Maria_Anna_Sophia_of_Saxony }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q604419 Q2807
P20
Q56061
USER
Did the demise of that person occur Madrid ?
(Q604419,P20,Q2807)
action is_in
entity Q2807
action find
entity Q604419
relation P20
['Q604419', 'P20', 'Q2807']
ASK WHERE { resource:Q604419 property:P20 resource:Q2807 }
Infanta Maria Josefa of Spain Madrid
action is_in
entity Madrid
action find
entity Infanta Maria Josefa of Spain
relation place of death
['Infanta Maria Josefa of Spain', 'place of death', 'Madrid']
ASK WHERE { resource:Infanta_Maria_Josefa_of_Spain property:place_of_death resource:Madrid }
[]
administrative territorial entity
SYSTEM
YES
(Q604419,P20,Q2807)
action is_in
entity Q2807
action find
entity Q604419
relation P20
[ANSWER]
['Q604419', 'P20', 'Q2807']
ASK WHERE { resource:Q604419 property:P20 resource:Q2807 }
Yes
action is_in
entity Madrid
action find
entity Infanta Maria Josefa of Spain
relation place of death
['Infanta Maria Josefa of Spain', 'place of death', 'Madrid']
ASK WHERE { resource:Infanta_Maria_Josefa_of_Spain property:place_of_death resource:Madrid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163043
P119
Q16970
USER
Where is the place of burial for Princess Maria Josepha of Saxony located ?
(Q163043,P119,c(Q16970))
action filter_type
action find
entity Q163043
relation P119
type Q16970
['Q163043', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?t WHERE { resource:Q163043 property:P119 ?t . ?t rdf:type ontology:Q16970 }
Princess Maria Josepha of Saxony
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation place of burial
type church
['Princess Maria Josepha of Saxony', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?t WHERE { resource:Princess_Maria_Josepha_of_Saxony property:place_of_burial ?t . ?t rdf:type ontology:church }
[]
church
Q184407
SYSTEM
Saint Denis Basilica
Q184407
(Q163043,P119,c(Q16970))
action filter_type
action find
entity Q163043
relation P119
type Q16970
[ANSWER] is the place of burial for Princess Maria Josepha of Saxony located
['Q163043', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?t WHERE { resource:Q163043 property:P119 ?t . ?t rdf:type ontology:Q16970 }
Saint Denis Basilica
Saint Denis Basilica is the place of burial for Princess Maria Josepha of Saxony located
Saint Denis Basilica
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation place of burial
type church
['Princess Maria Josepha of Saxony', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?t WHERE { resource:Princess_Maria_Josepha_of_Saxony property:place_of_burial ?t . ?t rdf:type ontology:church }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163043
P26
Q502895
USER
Which person is the spouse of Princess Maria Josepha of Saxony ?
(Q163043,P26,c(Q502895))
action filter_type
action find
entity Q163043
relation P26
type Q502895
['Q163043', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q163043 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Princess Maria Josepha of Saxony
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation spouse
type common name
['Princess Maria Josepha of Saxony', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Princess_Maria_Josepha_of_Saxony property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1127464
SYSTEM
Louis, Dauphin of France
Q1127464
(Q163043,P26,c(Q502895))
action filter_type
action find
entity Q163043
relation P26
type Q502895
[ANSWER] is the spouse of Princess Maria Josepha of Saxony
['Q163043', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q163043 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Louis, Dauphin of France
Louis, Dauphin of France is the spouse of Princess Maria Josepha of Saxony
Louis, Dauphin of France
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation spouse
type common name
['Princess Maria Josepha of Saxony', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Princess_Maria_Josepha_of_Saxony property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q163043 Q1000908
P26
Q502895
USER
How many people are married to Princess Maria Josepha of Saxony or Geva ?
(c(Q502895),P26,Q163043) (c(Q502895),P26,Q1000908)
action count
action union
action filter_type
action find_reverse
entity Q163043
relation P26
type Q502895
action filter_type
action find_reverse
entity Q1000908
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q163043'] [{'concept': 'Q502895'}, 'P26', 'Q1000908']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P26 resource:Q163043 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P26 resource:Q1000908 . ?b rdf:type ontology:Q502895 } }
Princess Maria Josepha of Saxony Geva
action count
action union
action filter_type
action find_reverse
entity Princess Maria Josepha of Saxony
relation spouse
type common name
action filter_type
action find_reverse
entity Geva
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Princess Maria Josepha of Saxony'] [{'concept': 'common name'}, 'spouse', 'Geva']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:spouse resource:Princess_Maria_Josepha_of_Saxony . ?b rdf:type ontology:common_name } UNION { ?b property:spouse resource:Geva . ?b rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q983079 Q1127464
(c(Q502895),P26,Q163043) (c(Q502895),P26,Q1000908)
action count
action union
action filter_type
action find_reverse
entity Q163043
relation P26
type Q502895
action filter_type
action find_reverse
entity Q1000908
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q163043'] [{'concept': 'Q502895'}, 'P26', 'Q1000908']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P26 resource:Q163043 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P26 resource:Q1000908 . ?b rdf:type ontology:Q502895 } }
Dirk I, Count of Holland Louis, Dauphin of France
2
action count
action union
action filter_type
action find_reverse
entity Princess Maria Josepha of Saxony
relation spouse
type common name
action filter_type
action find_reverse
entity Geva
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Princess Maria Josepha of Saxony'] [{'concept': 'common name'}, 'spouse', 'Geva']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:spouse resource:Princess_Maria_Josepha_of_Saxony . ?b rdf:type ontology:common_name } UNION { ?b property:spouse resource:Geva . ?b rdf:type ontology:common_name } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q163043
P40
Q502895
USER
How many people are an offsprings of Princess Maria Josepha of Saxony ?
(Q163043,P40,c(Q502895))
action count
action filter_type
action find
entity Q163043
relation P40
type Q502895
['Q163043', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q163043 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Princess Maria Josepha of Saxony
action count
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation child
type common name
['Princess Maria Josepha of Saxony', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Princess_Maria_Josepha_of_Saxony property:child ?c . ?c rdf:type ontology:common_name }
[]
common name
SYSTEM
8
Q2527822 Q7758 Q274709 Q2556465 Q7732 Q668220 Q607599 Q7750
(Q163043,P40,c(Q502895))
action count
action filter_type
action find
entity Q163043
relation P40
type Q502895
[ANSWER]
['Q163043', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Q163043 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Xavier, Duke of Aquitaine Charles X of France Princess Élisabeth of France Princess Marie Zéphyrine of France Louis XVI of France Marie Clotilde of France Louis, Duke of Burgundy Louis XVIII of France
8
action count
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation child
type common name
['Princess Maria Josepha of Saxony', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { resource:Princess_Maria_Josepha_of_Saxony property:child ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q48900
Q502895
USER
And what about Ludovico Ariosto?
(Q48900,P40,c(Q502895))
action count
action filter_type
action find
entity Q48900
relation P40
type Q502895
['Q48900', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q48900 property:P40 ?k }
Ludovico Ariosto
action count
action filter_type
action find
entity Ludovico Ariosto
relation child
type common name
['Ludovico Ariosto', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:common_name . resource:Ludovico_Ariosto property:child ?k }
[]
common name
SYSTEM
1
(Q48900,P40,c(Q502895))
action count
action filter_type
action find
entity Q48900
relation P40
type Q502895
[ANSWER]
['Q48900', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q48900 property:P40 ?k }
1
action count
action filter_type
action find
entity Ludovico Ariosto
relation child
type common name
['Ludovico Ariosto', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { ?k rdf:type ontology:common_name . resource:Ludovico_Ariosto property:child ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163043
P53
Q8436
USER
Which family did Princess Maria Josepha of Saxony belong to ?
(Q163043,P53,c(Q8436))
action filter_type
action find
entity Q163043
relation P53
type Q8436
['Q163043', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q8436 . resource:Q163043 property:P53 ?v }
Princess Maria Josepha of Saxony
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation noble family
type family
['Princess Maria Josepha of Saxony', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:family . resource:Princess_Maria_Josepha_of_Saxony property:noble_family ?v }
[]
family
Q152909
SYSTEM
House of Wettin
Q152909
(Q163043,P53,c(Q8436))
action filter_type
action find
entity Q163043
relation P53
type Q8436
Princess Maria Josepha of Saxony belonged to [ANSWER]
['Q163043', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q8436 . resource:Q163043 property:P53 ?v }
House of Wettin
Princess Maria Josepha of Saxony belonged to House of Wettin
House of Wettin
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation noble family
type family
['Princess Maria Josepha of Saxony', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:family . resource:Princess_Maria_Josepha_of_Saxony property:noble_family ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q163043
P509
Q2057971
USER
How did Princess Maria Josepha of Saxony die ?
(Q163043,P509,c(Q2057971))
action filter_type
action find
entity Q163043
relation P509
type Q2057971
['Q163043', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q163043 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
Princess Maria Josepha of Saxony
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation cause of death
type health problem
['Princess Maria Josepha of Saxony', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Princess_Maria_Josepha_of_Saxony property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q163043,P509,c(Q2057971))
action filter_type
action find
entity Q163043
relation P509
type Q2057971
Princess Maria Josepha of Saxony died of [ANSWER]
['Q163043', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?m WHERE { resource:Q163043 property:P509 ?m . ?m rdf:type ontology:Q2057971 }
tuberculosis
Princess Maria Josepha of Saxony died of tuberculosis
tuberculosis
action filter_type
action find
entity Princess Maria Josepha of Saxony
relation cause of death
type health problem
['Princess Maria Josepha of Saxony', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?m WHERE { resource:Princess_Maria_Josepha_of_Saxony property:cause_of_death ?m . ?m rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12204
P101
Q502895
USER
Which people have specialisation in that health problem ?
(c(Q502895),P101,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q12204']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q12204 . ?o rdf:type ontology:Q502895 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'tuberculosis']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:tuberculosis . ?o rdf:type ontology:common_name }
[]
common name
Q19043546 Q21062285
SYSTEM
Robert Philip, Soumya Swaminathan
Q19043546 Q21062285
(c(Q502895),P101,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P101
type Q502895
[ANSWERS] have specialisation in that health problem
[{'concept': 'Q502895'}, 'P101', 'Q12204']
SELECT DISTINCT ?o WHERE { ?o property:P101 resource:Q12204 . ?o rdf:type ontology:Q502895 }
Robert Philip Soumya Swaminathan
Robert Philip and Soumya Swaminathan have specialisation in that health problem
Robert Philip Soumya Swaminathan
action filter_type
action find_reverse
entity tuberculosis
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'tuberculosis']
SELECT DISTINCT ?o WHERE { ?o property:field_of_work resource:tuberculosis . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q19043546 Q21062285
P101
Q2057971
USER
Which disciplinse do those people belong to ?
(Q19043546,P101,c(Q2057971)) (Q21062285,P101,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P101
type Q2057971
['Q19043546', 'P101', {'concept': 'Q2057971'}] ['Q21062285', 'P101', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2057971 . ?w property:P101 ?x . VALUES ( ?w ) { ( resource:Q19043546 ) ( resource:Q21062285 ) } }
Robert Philip Soumya Swaminathan
action filter_type
action find
entity prev_answer
relation field of work
type health problem
['Robert Philip', 'field of work', {'concept': 'health problem'}] ['Soumya Swaminathan', 'field of work', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:health_problem . ?w property:field_of_work ?x . VALUES ( ?w ) { ( resource:Robert_Philip ) ( resource:Soumya_Swaminathan ) } }
[]
health problem
Q12204 Q12204
SYSTEM
tuberculosis
Q12204 Q12204
(Q19043546,P101,c(Q2057971)) (Q21062285,P101,c(Q2057971))
action filter_type
action find
entity prev_answer
relation P101
type Q2057971
Those people belong to [ANSWER] and [ANSWER]
['Q19043546', 'P101', {'concept': 'Q2057971'}] ['Q21062285', 'P101', {'concept': 'Q2057971'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2057971 . ?w property:P101 ?x . VALUES ( ?w ) { ( resource:Q19043546 ) ( resource:Q21062285 ) } }
tuberculosis tuberculosis
Those people belong to tuberculosis and tuberculosis
tuberculosis tuberculosis
action filter_type
action find
entity prev_answer
relation field of work
type health problem
['Robert Philip', 'field of work', {'concept': 'health problem'}] ['Soumya Swaminathan', 'field of work', {'concept': 'health problem'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:health_problem . ?w property:field_of_work ?x . VALUES ( ?w ) { ( resource:Robert_Philip ) ( resource:Soumya_Swaminathan ) } }
[]