Simple Question (Direct)
Simple Question
Q1385987
P7
Q502895
USER
Who have Odo, Count of Nevers as their brother ?
(Q1385987,P7,c(Q502895))
action filter_type
action find
entity Q1385987
relation P7
type Q502895
['Q1385987', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1385987 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Odo, Count of Nevers
action filter_type
action find
entity Odo, Count of Nevers
relation brother
type common name
['Odo, Count of Nevers', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Odo,_Count_of_Nevers property:brother ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1395633 Q503063
SYSTEM
John of Burgundy, Robert II, Duke of Burgundy
Q1395633 Q503063
(Q1385987,P7,c(Q502895))
action filter_type
action find
entity Q1385987
relation P7
type Q502895
[ANSWERS]
['Q1385987', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1385987 property:P7 ?x . ?x rdf:type ontology:Q502895 }
John of Burgundy Robert II, Duke of Burgundy
John of Burgundy and Robert II, Duke of Burgundy have Odo, Count of Nevers as their brother
John of Burgundy Robert II, Duke of Burgundy
action filter_type
action find
entity Odo, Count of Nevers
relation brother
type common name
['Odo, Count of Nevers', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Odo,_Count_of_Nevers property:brother ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1395633 Q503063
P40
Q502895
USER
Who have John of Burgundy and Robert II, Duke of Burgundy as a child ?
(c(Q502895),P40,Q1395633) (c(Q502895),P40,Q503063)
action union
action filter_type
action find_reverse
entity Q1395633
relation P40
type Q502895
action filter_type
action find_reverse
entity Q503063
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1395633'] [{'concept': 'Q502895'}, 'P40', 'Q503063']
SELECT DISTINCT ?t WHERE { { ?t property:P40 resource:Q1395633 . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . ?t property:P40 resource:Q503063 } }
John of Burgundy Robert II, Duke of Burgundy
action union
action filter_type
action find_reverse
entity John of Burgundy
relation child
type common name
action filter_type
action find_reverse
entity Robert II, Duke of Burgundy
relation child
type common name
[{'concept': 'common name'}, 'child', 'John of Burgundy'] [{'concept': 'common name'}, 'child', 'Robert II, Duke of Burgundy']
SELECT DISTINCT ?t WHERE { { ?t property:child resource:John_of_Burgundy . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . ?t property:child resource:Robert_II,_Duke_of_Burgundy } }
[]
common name
Q536174 Q536174 Q551752
SYSTEM
Yolande of Dreux, Duchess of Burgundy for 3rd, Hugh IV, Duke of Burgundy for 1st, 2nd
Q536174 Q551752 Q536174 Q551752
(c(Q502895),P40,Q1395633) (c(Q502895),P40,Q503063)
action union
action filter_type
action find_reverse
entity Q1395633
relation P40
type Q502895
action filter_type
action find_reverse
entity Q503063
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q1395633'] [{'concept': 'Q502895'}, 'P40', 'Q503063']
SELECT DISTINCT ?t WHERE { { ?t property:P40 resource:Q1395633 . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . ?t property:P40 resource:Q503063 } }
Hugh IV, Duke of Burgundy Yolande of Dreux, Duchess of Burgundy Hugh IV, Duke of Burgundy Yolande of Dreux, Duchess of Burgundy
Hugh IV, Duke of Burgundy, Hugh IV, Duke of Burgundy and Yolande of Dreux, Duchess of Burgundy have John of Burgundy and Robert II, Duke of Burgundy as a child
Hugh IV, Duke of Burgundy Hugh IV, Duke of Burgundy Yolande of Dreux, Duchess of Burgundy
action union
action filter_type
action find_reverse
entity John of Burgundy
relation child
type common name
action filter_type
action find_reverse
entity Robert II, Duke of Burgundy
relation child
type common name
[{'concept': 'common name'}, 'child', 'John of Burgundy'] [{'concept': 'common name'}, 'child', 'Robert II, Duke of Burgundy']
SELECT DISTINCT ?t WHERE { { ?t property:child resource:John_of_Burgundy . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . ?t property:child resource:Robert_II,_Duke_of_Burgundy } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q551752
P26
Q502895
USER
Which person has Yolande of Dreux, Duchess of Burgundy as spouse ?
(c(Q502895),P26,Q551752)
action filter_type
action find
entity Q551752
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q551752']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q551752 property:P26 ?e }
Yolande of Dreux, Duchess of Burgundy
action filter_type
action find
entity Yolande of Dreux, Duchess of Burgundy
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Yolande of Dreux, Duchess of Burgundy']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Yolande_of_Dreux,_Duchess_of_Burgundy property:spouse ?e }
[]
common name
Q536174
SYSTEM
Hugh IV, Duke of Burgundy
Q536174
(c(Q502895),P26,Q551752)
action filter_type
action find
entity Q551752
relation P26
type Q502895
[ANSWER] has Yolande of Dreux, Duchess of Burgundy as spouse
[{'concept': 'Q502895'}, 'P26', 'Q551752']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . resource:Q551752 property:P26 ?e }
Hugh IV, Duke of Burgundy
Hugh IV, Duke of Burgundy has Yolande of Dreux, Duchess of Burgundy as spouse
Hugh IV, Duke of Burgundy
action filter_type
action find
entity Yolande of Dreux, Duchess of Burgundy
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Yolande of Dreux, Duchess of Burgundy']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . resource:Yolande_of_Dreux,_Duchess_of_Burgundy property:spouse ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q536174
P22
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P22,Q536174)
action filter_type
action find_reverse
entity Q536174
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q536174']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q536174 . ?d rdf:type ontology:Q502895 }
Hugh IV, Duke of Burgundy
action filter_type
action find_reverse
entity Hugh IV, Duke of Burgundy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Hugh IV, Duke of Burgundy']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Hugh_IV,_Duke_of_Burgundy . ?d rdf:type ontology:common_name }
[]
common name
Q503063 Q1385987 Q377613
SYSTEM
Robert II, Duke of Burgundy, Odo, Count of Nevers, Adelaide of Burgundy, Duchess of Brabant
Q503063 Q1385987 Q377613 Q394709 Q1395633 Q3290761 Q2929497
(c(Q502895),P22,Q536174)
action filter_type
action find_reverse
entity Q536174
relation P22
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q536174']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q536174 . ?d rdf:type ontology:Q502895 }
Robert II, Duke of Burgundy Odo, Count of Nevers Adelaide of Burgundy, Duchess of Brabant Isabella of Burgundy, Queen of Germany John of Burgundy Margaret of Burgundy Béatrice de Bourgogne
The offspring of that one are Robert II, Duke of Burgundy, Odo, Count of Nevers and Adelaide of Burgundy, Duchess of Brabant
Robert II, Duke of Burgundy Odo, Count of Nevers Adelaide of Burgundy, Duchess of Brabant
action filter_type
action find_reverse
entity Hugh IV, Duke of Burgundy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Hugh IV, Duke of Burgundy']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Hugh_IV,_Duke_of_Burgundy . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q536174
P27 P22
Q502895
USER
Which people have Hugh IV, Duke of Burgundy as a father and are a native of France ?
AND((c(Q502895),P22,Q536174), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q536174
relation P22
action find_reverse
entity Q142
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q536174'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q536174 . ?q property:P27 resource:Q142 }
France Hugh IV, Duke of Burgundy
action filter_type
action intersection
action find_reverse
entity Hugh IV, Duke of Burgundy
relation father
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Hugh IV, Duke of Burgundy'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Hugh_IV,_Duke_of_Burgundy . ?q property:country_of_citizenship resource:France }
[]
common name
Q1395633 Q1385987
SYSTEM
John of Burgundy, Odo, Count of Nevers
Q1395633 Q1385987
AND((c(Q502895),P22,Q536174), (c(Q502895),P27,Q142))
action filter_type
action intersection
action find_reverse
entity Q536174
relation P22
action find_reverse
entity Q142
relation P27
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q536174'], [{'concept': 'Q502895'}, 'P27', 'Q142']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q536174 . ?q property:P27 resource:Q142 }
John of Burgundy Odo, Count of Nevers
John of Burgundy and Odo, Count of Nevers have Hugh IV, Duke of Burgundy as a father and are a native of France
John of Burgundy Odo, Count of Nevers
action filter_type
action intersection
action find_reverse
entity Hugh IV, Duke of Burgundy
relation father
action find_reverse
entity France
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Hugh IV, Duke of Burgundy'], [{'concept': 'common name'}, 'country of citizenship', 'France']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Hugh_IV,_Duke_of_Burgundy . ?q property:country_of_citizenship resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2057461 Q1385987
P22
Q502895
USER
Which people have Odo, Count of Nevers or Patrick Brontë as a father ?
OR((c(Q502895),P22,Q1385987), (c(Q502895),P22,Q2057461))
action filter_type
action union
action find_reverse
entity Q1385987
relation P22
action find_reverse
entity Q2057461
relation P22
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q1385987'], [{'concept': 'Q502895'}, 'P22', 'Q2057461']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P22 resource:Q1385987 } UNION { ?m property:P22 resource:Q2057461 } } . ?m rdf:type ontology:Q502895 }
Patrick Brontë Odo, Count of Nevers
action filter_type
action union
action find_reverse
entity Odo, Count of Nevers
relation father
action find_reverse
entity Patrick Brontë
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Odo, Count of Nevers'], [{'concept': 'common name'}, 'father', 'Patrick Brontë']]}
SELECT DISTINCT ?m WHERE { { { ?m property:father resource:Odo,_Count_of_Nevers } UNION { ?m property:father resource:Patrick_Brontë } } . ?m rdf:type ontology:common_name }
[]
common name
Q783535 Q287614 Q44520 Q258027 Q80137 Q3051193 Q3290903 Q127332 Q454616
SYSTEM
Adelaide, Countess of Auxerre, Yolande II, Countess of Nevers, Anne Brontë, Margaret of Burgundy, Queen of Sicily, Emily Brontë, Elizabeth Brontë, Maria Brontë, Charlotte Brontë, Branwell Brontë
Q783535 Q287614 Q44520 Q258027 Q80137 Q3051193 Q3290903 Q127332 Q454616
OR((c(Q502895),P22,Q1385987), (c(Q502895),P22,Q2057461))
action filter_type
action union
action find_reverse
entity Q1385987
relation P22
action find_reverse
entity Q2057461
relation P22
type Q502895
[ANSWERS] have Odo, Count of Nevers or Patrick Brontë as a father
{'OR': [[{'concept': 'Q502895'}, 'P22', 'Q1385987'], [{'concept': 'Q502895'}, 'P22', 'Q2057461']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P22 resource:Q1385987 } UNION { ?m property:P22 resource:Q2057461 } } . ?m rdf:type ontology:Q502895 }
Adelaide, Countess of Auxerre Yolande II, Countess of Nevers Anne Brontë Margaret of Burgundy, Queen of Sicily Emily Brontë Elizabeth Brontë Maria Brontë Charlotte Brontë Branwell Brontë
Adelaide, Countess of Auxerre, Yolande II, Countess of Nevers, Anne Brontë, Margaret of Burgundy, Queen of Sicily, Emily Brontë, Elizabeth Brontë, Maria Brontë, Charlotte Brontë and Branwell Brontë have Odo, Count of Nevers or Patrick Brontë as a father
Adelaide, Countess of Auxerre Yolande II, Countess of Nevers Anne Brontë Margaret of Burgundy, Queen of Sicily Emily Brontë Elizabeth Brontë Maria Brontë Charlotte Brontë Branwell Brontë
action filter_type
action union
action find_reverse
entity Odo, Count of Nevers
relation father
action find_reverse
entity Patrick Brontë
relation father
type common name
{'OR': [[{'concept': 'common name'}, 'father', 'Odo, Count of Nevers'], [{'concept': 'common name'}, 'father', 'Patrick Brontë']]}
SELECT DISTINCT ?m WHERE { { { ?m property:father resource:Odo,_Count_of_Nevers } UNION { ?m property:father resource:Patrick_Brontë } } . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q454616
P509
Q2057971
USER
What was the cause of death of that person ?
(Q454616,P509,c(Q2057971))
action filter_type
action find
entity Q454616
relation P509
type Q2057971
['Q454616', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q454616 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
Branwell Brontë
action filter_type
action find
entity Branwell Brontë
relation cause of death
type health problem
['Branwell Brontë', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Branwell_Brontë property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q3290903
SYSTEM
Did you mean Maria Brontë ?
Q783535 Q287614 Q44520 Q258027 Q80137 Q3051193 Q3290903 Q127332 Q454616
(Q783535,P509,c(Q2057971)) (Q287614,P509,c(Q2057971)) (Q44520,P509,c(Q2057971)) (Q258027,P509,c(Q2057971)) (Q80137,P509,c(Q2057971)) (Q3051193,P509,c(Q2057971)) (Q3290903,P509,c(Q2057971)) (Q127332,P509,c(Q2057971)) (Q454616,P509,c(Q2057971))
[ANSWER]
['Q783535', 'P509', {'concept': 'Q2057971'}] ['Q287614', 'P509', {'concept': 'Q2057971'}] ['Q44520', 'P509', {'concept': 'Q2057971'}] ['Q258027', 'P509', {'concept': 'Q2057971'}] ['Q80137', 'P509', {'concept': 'Q2057971'}] ['Q3051193', 'P509', {'concept': 'Q2057971'}] ['Q3290903', 'P509', {'concept': 'Q2057971'}] ['Q127332', 'P509', {'concept': 'Q2057971'}] ['Q454616', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q454616 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
Adelaide, Countess of Auxerre Yolande II, Countess of Nevers Anne Brontë Margaret of Burgundy, Queen of Sicily Emily Brontë Elizabeth Brontë Maria Brontë Charlotte Brontë Branwell Brontë
Did you mean Maria Brontë ?
Maria Brontë
['Adelaide, Countess of Auxerre', 'cause of death', {'concept': 'health problem'}] ['Yolande II, Countess of Nevers', 'cause of death', {'concept': 'health problem'}] ['Anne Brontë', 'cause of death', {'concept': 'health problem'}] ['Margaret of Burgundy, Queen of Sicily', 'cause of death', {'concept': 'health problem'}] ['Emily Brontë', 'cause of death', {'concept': 'health problem'}] ['Elizabeth Brontë', 'cause of death', {'concept': 'health problem'}] ['Maria Brontë', 'cause of death', {'concept': 'health problem'}] ['Charlotte Brontë', 'cause of death', {'concept': 'health problem'}] ['Branwell Brontë', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Branwell_Brontë property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
No, I meant Branwell Brontë. Could you tell me the answer for that?
(Q454616,P509,c(Q2057971))
Q454616
['Q454616', 'P509', {'concept': 'Q2057971'}]
['Branwell Brontë', 'cause of death', {'concept': 'health problem'}]
[]
Q12204
SYSTEM
tuberculosis
Q12204
(Q454616,P509,c(Q2057971))
action filter_type
action find
entity Q454616
relation P509
type Q2057971
The cause of death of that person was of [ANSWER]
['Q454616', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q454616 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
tuberculosis
The cause of death of that person was of tuberculosis
tuberculosis
action filter_type
action find
entity Branwell Brontë
relation cause of death
type health problem
['Branwell Brontë', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Branwell_Brontë property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q80137
P737
Q502895
USER
How many people did Emily Brontë influence ?
(c(Q502895),P737,Q80137)
action count
action filter_type
action find_reverse
entity Q80137
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q80137']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P737 resource:Q80137 . ?p rdf:type ontology:Q502895 }
Emily Brontë
action count
action filter_type
action find_reverse
entity Emily Brontë
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Emily Brontë']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:influenced_by resource:Emily_Brontë . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q34660 Q217557 Q187019
(c(Q502895),P737,Q80137)
action count
action filter_type
action find_reverse
entity Q80137
relation P737
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q80137']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P737 resource:Q80137 . ?p rdf:type ontology:Q502895 }
J. K. Rowling Joyce Carol Oates Philip Roth
3
action count
action filter_type
action find_reverse
entity Emily Brontë
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Emily Brontë']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:influenced_by resource:Emily_Brontë . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q746284
P828
Q2996394 Q2057971
USER
How many biological processes are the underlying cause of less number of health problems than Gene duplication ?
(c(Q2057971),P828,c(Q2996394))
action count
action less
action find_reverse_tuple_counts
relation P828
type Q2996394
type Q2057971
action count
action filter_type
action find_reverse
entity Q746284
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2996394'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P828 ?l . ?l rdf:type ontology:Q2996394 . ?e rdf:type ontology:Q2057971 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P828 resource:Q746284 . ?m rdf:type ontology:Q2057971 } } . FILTER ( ?i < ?v ) }
Gene duplication
action count
action less
action find_reverse_tuple_counts
relation has cause
type biological process
type health problem
action count
action filter_type
action find_reverse
entity Gene duplication
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'biological process'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:has_cause ?l . ?l rdf:type ontology:biological_process . ?e rdf:type ontology:health_problem } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:has_cause resource:Gene_duplication . ?m rdf:type ontology:health_problem } } . FILTER ( ?i < ?v ) }
[]
biological process health problem
SYSTEM
3
Q486420 Q11995 Q1331926
(c(Q2057971),P828,c(Q2996394))
action count
action less
action find_reverse_tuple_counts
relation P828
type Q2996394
type Q2057971
action count
action filter_type
action find_reverse
entity Q746284
relation P828
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2996394'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:P828 ?l . ?l rdf:type ontology:Q2996394 . ?e rdf:type ontology:Q2057971 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P828 resource:Q746284 . ?m rdf:type ontology:Q2057971 } } . FILTER ( ?i < ?v ) }
genetic drift pregnancy decision making
3
action count
action less
action find_reverse_tuple_counts
relation has cause
type biological process
type health problem
action count
action filter_type
action find_reverse
entity Gene duplication
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'biological process'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?i ) WHERE { ?e property:has_cause ?l . ?l rdf:type ontology:biological_process . ?e rdf:type ontology:health_problem } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:has_cause resource:Gene_duplication . ?m rdf:type ontology:health_problem } } . FILTER ( ?i < ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5552256
P828
Q2996394 Q2057971
USER
And what about germline mutation?
(c(Q2057971),P828,c(Q2996394))
action count
action less
action find_reverse_tuple_counts
relation P828
type Q2996394
type Q2057971
action count
action filter_type
action find_reverse
entity Q5552256
relation P828
type Q2057971
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2996394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P828 ?j . ?j rdf:type ontology:Q2996394 . ?c rdf:type ontology:Q2057971 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P828 resource:Q5552256 . ?h rdf:type ontology:Q2057971 } } . FILTER ( ?o < ?r ) }
germline mutation
action count
action less
action find_reverse_tuple_counts
relation has cause
type biological process
type health problem
action count
action filter_type
action find_reverse
entity germline mutation
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'biological process'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:has_cause ?j . ?j rdf:type ontology:biological_process . ?c rdf:type ontology:health_problem } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:has_cause resource:germline_mutation . ?h rdf:type ontology:health_problem } } . FILTER ( ?o < ?r ) }
[]
biological process health problem
SYSTEM
3
Q486420 Q11995 Q1331926
(c(Q2057971),P828,c(Q2996394))
action count
action less
action find_reverse_tuple_counts
relation P828
type Q2996394
type Q2057971
action count
action filter_type
action find_reverse
entity Q5552256
relation P828
type Q2057971
[ANSWER]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q2996394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:P828 ?j . ?j rdf:type ontology:Q2996394 . ?c rdf:type ontology:Q2057971 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P828 resource:Q5552256 . ?h rdf:type ontology:Q2057971 } } . FILTER ( ?o < ?r ) }
genetic drift pregnancy decision making
3
action count
action less
action find_reverse_tuple_counts
relation has cause
type biological process
type health problem
action count
action filter_type
action find_reverse
entity germline mutation
relation has cause
type health problem
[{'concept': 'health problem'}, 'has cause', {'concept': 'biological process'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?o ) WHERE { ?c property:has_cause ?j . ?j rdf:type ontology:biological_process . ?c rdf:type ontology:health_problem } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:has_cause resource:germline_mutation . ?h rdf:type ontology:health_problem } } . FILTER ( ?o < ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q454616
P7
Q502895
USER
How many people have Branwell Brontë as their brother ?
(c(Q502895),P7,Q454616)
action count
action filter_type
action find_reverse
entity Q454616
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q454616']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P7 resource:Q454616 }
Branwell Brontë
action count
action filter_type
action find_reverse
entity Branwell Brontë
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Branwell Brontë']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:common_name . ?i property:brother resource:Branwell_Brontë }
[]
common name
SYSTEM
5
Q44520 Q127332 Q80137 Q3290903 Q3051193
(c(Q502895),P7,Q454616)
action count
action filter_type
action find_reverse
entity Q454616
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q454616']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:Q502895 . ?i property:P7 resource:Q454616 }
Anne Brontë Charlotte Brontë Emily Brontë Maria Brontë Elizabeth Brontë
5
action count
action filter_type
action find_reverse
entity Branwell Brontë
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Branwell Brontë']
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { ?i rdf:type ontology:common_name . ?i property:brother resource:Branwell_Brontë }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16075403
P9
Q502895
USER
Who have Zhao Chun as thier sibling ?
(Q16075403,P9,c(Q502895))
action filter_type
action find
entity Q16075403
relation P9
type Q502895
['Q16075403', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16075403 property:P9 ?h . ?h rdf:type ontology:Q502895 }
Zhao Chun
action filter_type
action find
entity Zhao Chun
relation sister
type common name
['Zhao Chun', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Zhao_Chun property:sister ?h . ?h rdf:type ontology:common_name }
[]
common name
Q10887681 Q16603589 Q11052908
SYSTEM
Baoshu Diji, Princess Fujin, Chongde Diji
Q16603589 Q11052908 Q10946739 Q8253491 Q10884517 Q24897866 Q10887681 Q10883878 Q8253462 Q10921640 Q10931691 Q16603509 Q10946964 Q11063955
(Q16075403,P9,c(Q502895))
action filter_type
action find
entity Q16075403
relation P9
type Q502895
[ANSWERS] have Zhao Chun as thier sibling
['Q16075403', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q16075403 property:P9 ?h . ?h rdf:type ontology:Q502895 }
Princess Fujin Chongde Diji Ande Diji Rongde Diji Yifu Diji Baofu Diji Baoshu Diji Renfu Diji Jiade-diji Hefu Diji Shoushu Diji Xishu Diji Anshu Diji Kangshu Diji
Baoshu Diji, Princess Fujin and Chongde Diji have Zhao Chun as thier sibling
Baoshu Diji Princess Fujin Chongde Diji
action filter_type
action find
entity Zhao Chun
relation sister
type common name
['Zhao Chun', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Zhao_Chun property:sister ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13134230
P9
Q502895
USER
Did Vladislav Frantsevna Lutsevich have those ones as their sibling ?
(Q13134230,P9,Q10887681) (Q13134230,P9,Q16603589) (Q13134230,P9,Q11052908)
action is_in
entity prev_answer
action find
entity Q13134230
relation P9
['Q13134230', 'P9', 'Q10887681'] ['Q13134230', 'P9', 'Q16603589'] ['Q13134230', 'P9', 'Q11052908']
ASK WHERE { resource:Q13134230 property:P9 ?e . VALUES ( ?e ) { ( resource:Q16603589 ) ( resource:Q11052908 ) ( resource:Q10946739 ) } }
Vladislav Frantsevna Lutsevich
action is_in
entity prev_answer
action find
entity Vladislav Frantsevna Lutsevich
relation sister
['Vladislav Frantsevna Lutsevich', 'sister', 'Baoshu Diji'] ['Vladislav Frantsevna Lutsevich', 'sister', 'Princess Fujin'] ['Vladislav Frantsevna Lutsevich', 'sister', 'Chongde Diji']
ASK WHERE { resource:Vladislav_Frantsevna_Lutsevich property:sister ?e . VALUES ( ?e ) { ( resource:Princess_Fujin ) ( resource:Chongde_Diji ) ( resource:Ande_Diji ) } }
[]
common name
SYSTEM
NO
(Q13134230,P9,Q10887681) (Q13134230,P9,Q16603589) (Q13134230,P9,Q11052908)
action is_in
entity prev_answer
action find
entity Q13134230
relation P9
[ANSWER]
['Q13134230', 'P9', 'Q10887681'] ['Q13134230', 'P9', 'Q16603589'] ['Q13134230', 'P9', 'Q11052908']
ASK WHERE { resource:Q13134230 property:P9 ?e . VALUES ( ?e ) { ( resource:Q16603589 ) ( resource:Q11052908 ) ( resource:Q10946739 ) } }
No
action is_in
entity prev_answer
action find
entity Vladislav Frantsevna Lutsevich
relation sister
['Vladislav Frantsevna Lutsevich', 'sister', 'Baoshu Diji'] ['Vladislav Frantsevna Lutsevich', 'sister', 'Princess Fujin'] ['Vladislav Frantsevna Lutsevich', 'sister', 'Chongde Diji']
ASK WHERE { resource:Vladislav_Frantsevna_Lutsevich property:sister ?e . VALUES ( ?e ) { ( resource:Princess_Fujin ) ( resource:Chongde_Diji ) ( resource:Ande_Diji ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q536174 Q734619 Q377613
P40
Q502895
USER
Does Hugh IV, Duke of Burgundy have Steve Stoll and Adelaide of Burgundy, Duchess of Brabant as a child ?
(Q536174,P40,Q734619) (Q536174,P40,Q377613)
action is_in
entity Q536174
action intersection
action find_reverse
entity Q734619
relation P40
action find_reverse
entity Q377613
relation P40
['Q536174', 'P40', 'Q734619'] ['Q536174', 'P40', 'Q377613']
ASK WHERE { resource:Q536174 property:P40 resource:Q734619 . resource:Q536174 property:P40 resource:Q377613 }
Hugh IV, Duke of Burgundy Steve Stoll Adelaide of Burgundy, Duchess of Brabant
action is_in
entity Hugh IV, Duke of Burgundy
action intersection
action find_reverse
entity Steve Stoll
relation child
action find_reverse
entity Adelaide of Burgundy, Duchess of Brabant
relation child
['Hugh IV, Duke of Burgundy', 'child', 'Steve Stoll'] ['Hugh IV, Duke of Burgundy', 'child', 'Adelaide of Burgundy, Duchess of Brabant']
ASK WHERE { resource:Hugh_IV,_Duke_of_Burgundy property:child resource:Steve_Stoll . resource:Hugh_IV,_Duke_of_Burgundy property:child resource:Adelaide_of_Burgundy,_Duchess_of_Brabant }
[]
common name
SYSTEM
NO and YES respectively
(Q536174,P40,Q734619) (Q536174,P40,Q377613)
action is_in
entity Q536174
action intersection
action find_reverse
entity Q734619
relation P40
action find_reverse
entity Q377613
relation P40
[ANSWER]
['Q536174', 'P40', 'Q734619'] ['Q536174', 'P40', 'Q377613']
ASK WHERE { resource:Q536174 property:P40 resource:Q734619 . resource:Q536174 property:P40 resource:Q377613 }
NO and YES respectively
action is_in
entity Hugh IV, Duke of Burgundy
action intersection
action find_reverse
entity Steve Stoll
relation child
action find_reverse
entity Adelaide of Burgundy, Duchess of Brabant
relation child
['Hugh IV, Duke of Burgundy', 'child', 'Steve Stoll'] ['Hugh IV, Duke of Burgundy', 'child', 'Adelaide of Burgundy, Duchess of Brabant']
ASK WHERE { resource:Hugh_IV,_Duke_of_Burgundy property:child resource:Steve_Stoll . resource:Hugh_IV,_Duke_of_Burgundy property:child resource:Adelaide_of_Burgundy,_Duchess_of_Brabant }
[]