Simple Question (Direct)
Simple Question
Q6178549
P22
Q502895
USER
Who was the dad of Ivar Sjögren ?
(Q6178549,P22,c(Q502895))
action filter_type
action find
entity Q6178549
relation P22
type Q502895
['Q6178549', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q6178549 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Ivar Sjögren
action filter_type
action find
entity Ivar Sjögren
relation father
type common name
['Ivar Sjögren', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ivar_Sjögren property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
Q10428096
SYSTEM
Bengt Sjögren
Q10428096
(Q6178549,P22,c(Q502895))
action filter_type
action find
entity Q6178549
relation P22
type Q502895
[ANSWER]
['Q6178549', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q6178549 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Bengt Sjögren
Bengt Sjögren
action filter_type
action find
entity Ivar Sjögren
relation father
type common name
['Ivar Sjögren', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ivar_Sjögren property:father ?r . ?r rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q6178549
P21 P40
Q502895
USER
Which people have Ivar Sjögren as an offspring and have male as the sex ?
AND((c(Q502895),P40,Q6178549), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6178549
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q6178549'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q6178549 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Ivar Sjögren
action filter_type
action intersection
action find_reverse
entity Ivar Sjögren
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Ivar Sjögren'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:child resource:Ivar_Sjögren . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q10428096
SYSTEM
Bengt Sjögren
Q10428096
AND((c(Q502895),P40,Q6178549), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6178549
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER]
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q6178549'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P40 resource:Q6178549 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Bengt Sjögren
Bengt Sjögren
action filter_type
action intersection
action find_reverse
entity Ivar Sjögren
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Ivar Sjögren'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:child resource:Ivar_Sjögren . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10428096
P734
Q82799
USER
Which name is associated with that person ?
(Q10428096,P734,c(Q82799))
action filter_type
action find
entity Q10428096
relation P734
type Q82799
['Q10428096', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q10428096 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Bengt Sjögren
action filter_type
action find
entity Bengt Sjögren
relation family name
type name
['Bengt Sjögren', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Bengt_Sjögren property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q21449896
SYSTEM
Sjögren
Q21449896
(Q10428096,P734,c(Q82799))
action filter_type
action find
entity Q10428096
relation P734
type Q82799
[ANSWER]
['Q10428096', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q10428096 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Sjögren
Sjögren
action filter_type
action find
entity Bengt Sjögren
relation family name
type name
['Bengt Sjögren', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Bengt_Sjögren property:family_name ?o . ?o rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21449896 Q5425445
P734
Q502895
USER
Does FF Groen have that one as family name ?
(Q5425445,P734,Q21449896)
action is_in
entity Q5425445
action find
entity Q21449896
relation P734
['Q5425445', 'P734', 'Q21449896']
ASK WHERE { resource:Q21449896 property:P734 resource:Q5425445 }
Sjögren FF Groen
action is_in
entity FF Groen
action find
entity Sjögren
relation family name
['FF Groen', 'family name', 'Sjögren']
ASK WHERE { resource:Sjögren property:family_name resource:FF_Groen }
[]
common name
SYSTEM
NO
(Q5425445,P734,Q21449896)
action is_in
entity Q5425445
action find
entity Q21449896
relation P734
[ANSWER]
['Q5425445', 'P734', 'Q21449896']
ASK WHERE { resource:Q21449896 property:P734 resource:Q5425445 }
No
action is_in
entity FF Groen
action find
entity Sjögren
relation family name
['FF Groen', 'family name', 'Sjögren']
ASK WHERE { resource:Sjögren property:family_name resource:FF_Groen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q10428096 Q5881352
P27
Q15617994
USER
Does Bengt Sjögren belong to Hollidaysburg Area School District ?
(Q10428096,P27,Q5881352)
action is_in
entity Q5881352
action find
entity Q10428096
relation P27
['Q10428096', 'P27', 'Q5881352']
ASK WHERE { resource:Q10428096 property:P27 resource:Q5881352 }
Bengt Sjögren Hollidaysburg Area School District
action is_in
entity Hollidaysburg Area School District
action find
entity Bengt Sjögren
relation country of citizenship
['Bengt Sjögren', 'country of citizenship', 'Hollidaysburg Area School District']
ASK WHERE { resource:Bengt_Sjögren property:country_of_citizenship resource:Hollidaysburg_Area_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q10428096,P27,Q5881352)
action is_in
entity Q5881352
action find
entity Q10428096
relation P27
[ANSWER]
['Q10428096', 'P27', 'Q5881352']
ASK WHERE { resource:Q10428096 property:P27 resource:Q5881352 }
No
action is_in
entity Hollidaysburg Area School District
action find
entity Bengt Sjögren
relation country of citizenship
['Bengt Sjögren', 'country of citizenship', 'Hollidaysburg Area School District']
ASK WHERE { resource:Bengt_Sjögren property:country_of_citizenship resource:Hollidaysburg_Area_School_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10428096
P119
Q43229
USER
Which organization is the tomb of that person ?
action filter_type
action find
entity Q10428096
relation P119
type Q43229
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . resource:Q10428096 property:P119 ?s }
Bengt Sjögren
action filter_type
action find
entity Bengt Sjögren
relation place of burial
type organization
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . resource:Bengt_Sjögren property:place_of_burial ?s }
[]
organization
Q10602635
SYSTEM
Norra cemetery
Q10602635
action filter_type
action find
entity Q10428096
relation P119
type Q43229
[ANSWER]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . resource:Q10428096 property:P119 ?s }
Norra cemetery
Norra cemetery
action filter_type
action find
entity Bengt Sjögren
relation place of burial
type organization
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . resource:Bengt_Sjögren property:place_of_burial ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10428096
P106
Q12737077
USER
What are the job of Bengt Sjögren ?
(Q10428096,P106,c(Q12737077))
action filter_type
action find
entity Q10428096
relation P106
type Q12737077
['Q10428096', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q10428096 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Bengt Sjögren
action filter_type
action find
entity Bengt Sjögren
relation occupation
type occupation
['Bengt Sjögren', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Bengt_Sjögren property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q10428096,P106,c(Q12737077))
action filter_type
action find
entity Q10428096
relation P106
type Q12737077
[ANSWERS]
['Q10428096', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q10428096 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
journalist writer
journalist writer
action filter_type
action find
entity Bengt Sjögren
relation occupation
type occupation
['Bengt Sjögren', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Bengt_Sjögren property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7076977
P106
Q502895
USER
Do Dzidra Rinkule-Zemzare have career as those occupations ?
(Q7076977,P106,Q1930187) (Q7076977,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q7076977
relation P106
['Q7076977', 'P106', 'Q1930187'] ['Q7076977', 'P106', 'Q36180']
ASK WHERE { resource:Q7076977 property:P106 ?p . VALUES ( ?p ) { ( resource:Q1930187 ) ( resource:Q36180 ) } }
Dzidra Rinkule-Zemzare
action is_in
entity prev_answer
action find
entity Dzidra Rinkule-Zemzare
relation occupation
['Dzidra Rinkule-Zemzare', 'occupation', 'journalist'] ['Dzidra Rinkule-Zemzare', 'occupation', 'writer']
ASK WHERE { resource:Dzidra_Rinkule-Zemzare property:occupation ?p . VALUES ( ?p ) { ( resource:journalist ) ( resource:writer ) } }
[]
common name
SYSTEM
YES
(Q7076977,P106,Q1930187) (Q7076977,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q7076977
relation P106
[ANSWER]
['Q7076977', 'P106', 'Q1930187'] ['Q7076977', 'P106', 'Q36180']
ASK WHERE { resource:Q7076977 property:P106 ?p . VALUES ( ?p ) { ( resource:Q1930187 ) ( resource:Q36180 ) } }
Yes
action is_in
entity prev_answer
action find
entity Dzidra Rinkule-Zemzare
relation occupation
['Dzidra Rinkule-Zemzare', 'occupation', 'journalist'] ['Dzidra Rinkule-Zemzare', 'occupation', 'writer']
ASK WHERE { resource:Dzidra_Rinkule-Zemzare property:occupation ?p . VALUES ( ?p ) { ( resource:journalist ) ( resource:writer ) } }
[]