Simple Question (Direct)
Simple Question
Q5715821
P9
Q502895
USER
Which people are the sisters of Johannes Erikson ?
(Q5715821,P9,c(Q502895))
action filter_type
action find
entity Q5715821
relation P9
type Q502895
['Q5715821', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q5715821 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Johannes Erikson
action filter_type
action find
entity Johannes Erikson
relation sister
type common name
['Johannes Erikson', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Johannes_Erikson property:sister ?y . ?y rdf:type ontology:common_name }
[]
common name
Q19280487 Q19280498
SYSTEM
Edla Erikson, Anna Erikson
Q19280487 Q19280498
(Q5715821,P9,c(Q502895))
action filter_type
action find
entity Q5715821
relation P9
type Q502895
[ANSWERS] are the sisters of Johannes Erikson
['Q5715821', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q5715821 property:P9 ?y . ?y rdf:type ontology:Q502895 }
Edla Erikson Anna Erikson
Edla Erikson and Anna Erikson are the sisters of Johannes Erikson
Edla Erikson Anna Erikson
action filter_type
action find
entity Johannes Erikson
relation sister
type common name
['Johannes Erikson', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Johannes_Erikson property:sister ?y . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19280487
P40
Q502895
USER
Which person is a successor of that one ?
(Q19280487,P40,c(Q502895))
action filter_type
action find
entity Q19280487
relation P40
type Q502895
['Q19280487', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q19280487 property:P40 ?v }
Edla Erikson
action filter_type
action find
entity Edla Erikson
relation child
type common name
['Edla Erikson', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Edla_Erikson property:child ?v }
[]
common name
Clarification for simple ques.
Q19280487
SYSTEM
Did you mean Edla Erikson ?
Q19280487 Q19280498
(Q19280487,P40,c(Q502895)) (Q19280498,P40,c(Q502895))
[ANSWER]
['Q19280487', 'P40', {'concept': 'Q502895'}] ['Q19280498', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q19280487 property:P40 ?v }
Edla Erikson Anna Erikson
Did you mean Edla Erikson ?
Edla Erikson
['Edla Erikson', 'child', {'concept': 'common name'}] ['Anna Erikson', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Edla_Erikson property:child ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q19280487,P40,c(Q502895))
['Q19280487', 'P40', {'concept': 'Q502895'}]
['Edla Erikson', 'child', {'concept': 'common name'}]
[]
Q5820037
SYSTEM
Edvin Håkanson
Q5820037
(Q19280487,P40,c(Q502895))
action filter_type
action find
entity Q19280487
relation P40
type Q502895
[ANSWER] is a successor of that one
['Q19280487', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q19280487 property:P40 ?v }
Edvin Håkanson
Edvin Håkanson is a successor of that one
Edvin Håkanson
action filter_type
action find
entity Edla Erikson
relation child
type common name
['Edla Erikson', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Edla_Erikson property:child ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5820037
P40
Q502895
USER
Which person has that one as a child ?
(c(Q502895),P40,Q5820037)
action filter_type
action find_reverse
entity Q5820037
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5820037']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q5820037 . ?z rdf:type ontology:Q502895 }
Edvin Håkanson
action filter_type
action find_reverse
entity Edvin Håkanson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Edvin Håkanson']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Edvin_Håkanson . ?z rdf:type ontology:common_name }
[]
common name
Q19280487
SYSTEM
Edla Erikson
Q19280487
(c(Q502895),P40,Q5820037)
action filter_type
action find_reverse
entity Q5820037
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q5820037']
SELECT DISTINCT ?z WHERE { ?z property:P40 resource:Q5820037 . ?z rdf:type ontology:Q502895 }
Edla Erikson
Edla Erikson has that one as a child
Edla Erikson
action filter_type
action find_reverse
entity Edvin Håkanson
relation child
type common name
[{'concept': 'common name'}, 'child', 'Edvin Håkanson']
SELECT DISTINCT ?z WHERE { ?z property:child resource:Edvin_Håkanson . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q5715821
P21 P40
Q502895
USER
Which people have Johannes Erikson as a child and are a male ?
AND((c(Q502895),P40,Q5715821), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5715821
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q5715821'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P21 resource:Q6581097 . ?v property:P40 resource:Q5715821 . ?v rdf:type ontology:Q502895 }
male Johannes Erikson
action filter_type
action intersection
action find_reverse
entity Johannes Erikson
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Johannes Erikson'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:gender resource:male . ?v property:child resource:Johannes_Erikson . ?v rdf:type ontology:common_name }
[]
common name
Q5715874
SYSTEM
Sven Erikson
Q5715874
AND((c(Q502895),P40,Q5715821), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q5715821
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Johannes Erikson as a child and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q5715821'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?v WHERE { ?v property:P21 resource:Q6581097 . ?v property:P40 resource:Q5715821 . ?v rdf:type ontology:Q502895 }
Sven Erikson
Sven Erikson have Johannes Erikson as a child and are a male
Sven Erikson
action filter_type
action intersection
action find_reverse
entity Johannes Erikson
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Johannes Erikson'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?v WHERE { ?v property:gender resource:male . ?v property:child resource:Johannes_Erikson . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19280498
P22
Q502895
USER
Which male person has a child named Anna Erikson ?
(Q19280498,P22,c(Q502895))
action filter_type
action find
entity Q19280498
relation P22
type Q502895
['Q19280498', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q19280498 property:P22 ?i }
Anna Erikson
action filter_type
action find
entity Anna Erikson
relation father
type common name
['Anna Erikson', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Anna_Erikson property:father ?i }
[]
common name
Q5715874
SYSTEM
Sven Erikson
Q5715874
(Q19280498,P22,c(Q502895))
action filter_type
action find
entity Q19280498
relation P22
type Q502895
[ANSWER] has a child named Anna Erikson
['Q19280498', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q19280498 property:P22 ?i }
Sven Erikson
Sven Erikson has a child named Anna Erikson
Sven Erikson
action filter_type
action find
entity Anna Erikson
relation father
type common name
['Anna Erikson', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Anna_Erikson property:father ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19280498
P7
Q502895
USER
Who has Anna Erikson as their brother ?
(Q19280498,P7,c(Q502895))
action filter_type
action find
entity Q19280498
relation P7
type Q502895
['Q19280498', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19280498 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Anna Erikson
action filter_type
action find
entity Anna Erikson
relation brother
type common name
['Anna Erikson', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Anna_Erikson property:brother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q5715821
SYSTEM
Johannes Erikson
Q5715821
(Q19280498,P7,c(Q502895))
action filter_type
action find
entity Q19280498
relation P7
type Q502895
[ANSWER] has Anna Erikson as their brother
['Q19280498', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19280498 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Johannes Erikson
Johannes Erikson has Anna Erikson as their brother
Johannes Erikson
action filter_type
action find
entity Anna Erikson
relation brother
type common name
['Anna Erikson', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Anna_Erikson property:brother ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5715821
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q5715821,P27,c(Q15617994))
action filter_type
action find
entity Q5715821
relation P27
type Q15617994
['Q5715821', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5715821 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Johannes Erikson
action filter_type
action find
entity Johannes Erikson
relation country of citizenship
type designation for an administrative territorial entity
['Johannes Erikson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Johannes_Erikson property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q5715821,P27,c(Q15617994))
action filter_type
action find
entity Q5715821
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q5715821', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5715821 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of that person
Sweden
action filter_type
action find
entity Johannes Erikson
relation country of citizenship
type designation for an administrative territorial entity
['Johannes Erikson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Johannes_Erikson property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q34 Q1191707 Q146165
P463
Q484652
USER
Is Sweden a part of Depositary and Nordic Council ?
(Q34,P463,Q1191707) (Q34,P463,Q146165)
action is_in
entity Q34
action intersection
action find_reverse
entity Q1191707
relation P463
action find_reverse
entity Q146165
relation P463
['Q34', 'P463', 'Q1191707'] ['Q34', 'P463', 'Q146165']
ASK WHERE { resource:Q34 property:P463 resource:Q146165 . resource:Q34 property:P463 resource:Q1191707 }
Sweden Depositary Nordic Council
action is_in
entity Sweden
action intersection
action find_reverse
entity Depositary
relation member of
action find_reverse
entity Nordic Council
relation member of
['Sweden', 'member of', 'Depositary'] ['Sweden', 'member of', 'Nordic Council']
ASK WHERE { resource:Sweden property:member_of resource:Nordic_Council . resource:Sweden property:member_of resource:Depositary }
[]
international organization
SYSTEM
NO and YES respectively
(Q34,P463,Q1191707) (Q34,P463,Q146165)
action is_in
entity Q34
action intersection
action find_reverse
entity Q1191707
relation P463
action find_reverse
entity Q146165
relation P463
[ANSWER]
['Q34', 'P463', 'Q1191707'] ['Q34', 'P463', 'Q146165']
ASK WHERE { resource:Q34 property:P463 resource:Q146165 . resource:Q34 property:P463 resource:Q1191707 }
NO and YES respectively
action is_in
entity Sweden
action intersection
action find_reverse
entity Depositary
relation member of
action find_reverse
entity Nordic Council
relation member of
['Sweden', 'member of', 'Depositary'] ['Sweden', 'member of', 'Nordic Council']
ASK WHERE { resource:Sweden property:member_of resource:Nordic_Council . resource:Sweden property:member_of resource:Depositary }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q954
P530
Q1048835
USER
How many political territories are known to have diplomatic connections with Sweden and Zimbabwe ?
(c(Q1048835),P530,Q34) (c(Q1048835),P530,Q954)
action count
action intersection
action filter_type
action find_reverse
entity Q34
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q954
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q1048835'}, 'P530', 'Q954']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 resource:Q954 . ?o rdf:type ontology:Q1048835 . ?o property:P530 resource:Q34 . ?o rdf:type ontology:Q1048835 }
Sweden Zimbabwe
action count
action intersection
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Zimbabwe
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zimbabwe']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation resource:Zimbabwe . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation resource:Sweden . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q34) (c(Q1048835),P530,Q954)
action count
action intersection
action filter_type
action find_reverse
entity Q34
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q954
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q34'] [{'concept': 'Q1048835'}, 'P530', 'Q954']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 resource:Q954 . ?o rdf:type ontology:Q1048835 . ?o property:P530 resource:Q34 . ?o rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Sweden
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Zimbabwe
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Sweden'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zimbabwe']
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation resource:Zimbabwe . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation resource:Sweden . ?o rdf:type ontology:political_territorial_entity }
[]