Simple Question (Direct)
Simple Question
Q4585759
P22
Q502895
USER
Which male person has a child named Bergfrid Fjose ?
(Q4585759,P22,c(Q502895))
action filter_type
action find
entity Q4585759
relation P22
type Q502895
['Q4585759', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q4585759 property:P22 ?x . ?x rdf:type ontology:Q502895 }
Bergfrid Fjose
action filter_type
action find
entity Bergfrid Fjose
relation father
type common name
['Bergfrid Fjose', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Bergfrid_Fjose property:father ?x . ?x rdf:type ontology:common_name }
[]
common name
Q6271007
SYSTEM
Jon Jørundson Mannsåker
Q6271007
(Q4585759,P22,c(Q502895))
action filter_type
action find
entity Q4585759
relation P22
type Q502895
[ANSWER] has a child named Bergfrid Fjose
['Q4585759', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q4585759 property:P22 ?x . ?x rdf:type ontology:Q502895 }
Jon Jørundson Mannsåker
Jon Jørundson Mannsåker has a child named Bergfrid Fjose
Jon Jørundson Mannsåker
action filter_type
action find
entity Bergfrid Fjose
relation father
type common name
['Bergfrid Fjose', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Bergfrid_Fjose property:father ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4585759
P7
Q502895
USER
Who have Bergfrid Fjose as their brother ?
(Q4585759,P7,c(Q502895))
action filter_type
action find
entity Q4585759
relation P7
type Q502895
['Q4585759', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4585759 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Bergfrid Fjose
action filter_type
action find
entity Bergfrid Fjose
relation brother
type common name
['Bergfrid Fjose', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Bergfrid_Fjose property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q3435981 Q11979762
SYSTEM
Dagfinn Mannsåker, Jørund Mannsåker
Q3435981 Q11979762
(Q4585759,P7,c(Q502895))
action filter_type
action find
entity Q4585759
relation P7
type Q502895
[ANSWERS] have Bergfrid Fjose as their brother
['Q4585759', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4585759 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Dagfinn Mannsåker Jørund Mannsåker
Dagfinn Mannsåker and Jørund Mannsåker have Bergfrid Fjose as their brother
Dagfinn Mannsåker Jørund Mannsåker
action filter_type
action find
entity Bergfrid Fjose
relation brother
type common name
['Bergfrid Fjose', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Bergfrid_Fjose property:brother ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11979762
P735
Q82799
USER
What is forename of that person ?
(Q11979762,P735,c(Q82799))
action filter_type
action find
entity Q11979762
relation P735
type Q82799
['Q11979762', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q11979762 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Jørund Mannsåker
action filter_type
action find
entity Jørund Mannsåker
relation given name
type name
['Jørund Mannsåker', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Jørund_Mannsåker property:given_name ?b . ?b rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q3435981
SYSTEM
Did you mean Dagfinn Mannsåker ?
Q3435981 Q11979762
(Q3435981,P735,c(Q82799)) (Q11979762,P735,c(Q82799))
[ANSWER]
['Q3435981', 'P735', {'concept': 'Q82799'}] ['Q11979762', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q11979762 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Dagfinn Mannsåker Jørund Mannsåker
Did you mean Dagfinn Mannsåker ?
Dagfinn Mannsåker
['Dagfinn Mannsåker', 'given name', {'concept': 'name'}] ['Jørund Mannsåker', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Jørund_Mannsåker property:given_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Jørund Mannsåker. Could you tell me the answer for that?
(Q11979762,P735,c(Q82799))
Q11979762
['Q11979762', 'P735', {'concept': 'Q82799'}]
['Jørund Mannsåker', 'given name', {'concept': 'name'}]
[]
Q21608948
SYSTEM
Jørund
Q21608948
(Q11979762,P735,c(Q82799))
action filter_type
action find
entity Q11979762
relation P735
type Q82799
Forename of that person is [ANSWER]
['Q11979762', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q11979762 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Jørund
Forename of that person is Jørund
Jørund
action filter_type
action find
entity Jørund Mannsåker
relation given name
type name
['Jørund Mannsåker', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Jørund_Mannsåker property:given_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3435981
P40
Q502895
USER
Who has Dagfinn Mannsåker as an offspring ?
(c(Q502895),P40,Q3435981)
action filter_type
action find_reverse
entity Q3435981
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3435981']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q3435981 . ?v rdf:type ontology:Q502895 }
Dagfinn Mannsåker
action filter_type
action find_reverse
entity Dagfinn Mannsåker
relation child
type common name
[{'concept': 'common name'}, 'child', 'Dagfinn Mannsåker']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Dagfinn_Mannsåker . ?v rdf:type ontology:common_name }
[]
common name
Q6271007
SYSTEM
Jon Jørundson Mannsåker
Q6271007
(c(Q502895),P40,Q3435981)
action filter_type
action find_reverse
entity Q3435981
relation P40
type Q502895
[ANSWER] has Dagfinn Mannsåker as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q3435981']
SELECT DISTINCT ?v WHERE { ?v property:P40 resource:Q3435981 . ?v rdf:type ontology:Q502895 }
Jon Jørundson Mannsåker
Jon Jørundson Mannsåker has Dagfinn Mannsåker as an offspring
Jon Jørundson Mannsåker
action filter_type
action find_reverse
entity Dagfinn Mannsåker
relation child
type common name
[{'concept': 'common name'}, 'child', 'Dagfinn Mannsåker']
SELECT DISTINCT ?v WHERE { ?v property:child resource:Dagfinn_Mannsåker . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7987563 Q3435981
P991 P22
Q502895
USER
Which people were the father of Dagfinn Mannsåker or were the elected candidates from Western Australian state election, 1911 ?
OR((Q3435981,P22,c(Q502895)), (Q7987563,P991,c(Q502895)))
action filter_type
action union
action find
entity Q3435981
relation P22
action find
entity Q7987563
relation P991
type Q502895
{'OR': [['Q3435981', 'P22', {'concept': 'Q502895'}], ['Q7987563', 'P991', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . { { resource:Q3435981 property:P22 ?q } UNION { resource:Q7987563 property:P991 ?q } } }
Western Australian state election, 1911 Dagfinn Mannsåker
action filter_type
action union
action find
entity Dagfinn Mannsåker
relation father
action find
entity Western Australian state election, 1911
relation successful candidate
type common name
{'OR': [['Dagfinn Mannsåker', 'father', {'concept': 'common name'}], ['Western Australian state election, 1911', 'successful candidate', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . { { resource:Dagfinn_Mannsåker property:father ?q } UNION { resource:Western_Australian_state_election,_1911 property:successful_candidate ?q } } }
[]
common name
Q6271007 Q6256817
SYSTEM
Jon Jørundson Mannsåker, John Scaddan
Q6271007 Q6256817
OR((Q3435981,P22,c(Q502895)), (Q7987563,P991,c(Q502895)))
action filter_type
action union
action find
entity Q3435981
relation P22
action find
entity Q7987563
relation P991
type Q502895
And [ANSWERS] were the father of Dagfinn Mannsåker or were the elected candidates from Western Australian state election, 1911
{'OR': [['Q3435981', 'P22', {'concept': 'Q502895'}], ['Q7987563', 'P991', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . { { resource:Q3435981 property:P22 ?q } UNION { resource:Q7987563 property:P991 ?q } } }
Jon Jørundson Mannsåker John Scaddan
And Jon Jørundson Mannsåker and John Scaddan were the father of Dagfinn Mannsåker or were the elected candidates from Western Australian state election, 1911
Jon Jørundson Mannsåker John Scaddan
action filter_type
action union
action find
entity Dagfinn Mannsåker
relation father
action find
entity Western Australian state election, 1911
relation successful candidate
type common name
{'OR': [['Dagfinn Mannsåker', 'father', {'concept': 'common name'}], ['Western Australian state election, 1911', 'successful candidate', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . { { resource:Dagfinn_Mannsåker property:father ?q } UNION { resource:Western_Australian_state_election,_1911 property:successful_candidate ?q } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16005762 Q6256817
P27
Q1048835
USER
Which political territories are John Scaddan or Henry Bate a civilian of ?
OR((Q6256817,P27,c(Q1048835)), (Q16005762,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q6256817
relation P27
action find
entity Q16005762
relation P27
type Q1048835
{'OR': [['Q6256817', 'P27', {'concept': 'Q1048835'}], ['Q16005762', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q6256817 property:P27 ?c } UNION { resource:Q16005762 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Henry Bate John Scaddan
action filter_type
action union
action find
entity John Scaddan
relation country of citizenship
action find
entity Henry Bate
relation country of citizenship
type political territorial entity
{'OR': [['John Scaddan', 'country of citizenship', {'concept': 'political territorial entity'}], ['Henry Bate', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:John_Scaddan property:country_of_citizenship ?c } UNION { resource:Henry_Bate property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
OR((Q6256817,P27,c(Q1048835)), (Q16005762,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q6256817
relation P27
action find
entity Q16005762
relation P27
type Q1048835
[ANSWER] is John Scaddan or Henry Bate a civilian of
{'OR': [['Q6256817', 'P27', {'concept': 'Q1048835'}], ['Q16005762', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q6256817 property:P27 ?c } UNION { resource:Q16005762 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Australia
Australia is John Scaddan or Henry Bate a civilian of
Australia
action filter_type
action union
action find
entity John Scaddan
relation country of citizenship
action find
entity Henry Bate
relation country of citizenship
type political territorial entity
{'OR': [['John Scaddan', 'country of citizenship', {'concept': 'political territorial entity'}], ['Henry Bate', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:John_Scaddan property:country_of_citizenship ?c } UNION { resource:Henry_Bate property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16005762
P27
Q1048835
USER
How many political territories are Henry Bate a civilian of ?
(Q16005762,P27,c(Q1048835))
action count
action filter_type
action find
entity Q16005762
relation P27
type Q1048835
['Q16005762', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:Q1048835 . resource:Q16005762 property:P27 ?j }
Henry Bate
action count
action filter_type
action find
entity Henry Bate
relation country of citizenship
type political territorial entity
['Henry Bate', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Henry_Bate property:country_of_citizenship ?j }
[]
political territorial entity
SYSTEM
1
Q408
(Q16005762,P27,c(Q1048835))
action count
action filter_type
action find
entity Q16005762
relation P27
type Q1048835
[ANSWER]
['Q16005762', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:Q1048835 . resource:Q16005762 property:P27 ?j }
Australia
1
action count
action filter_type
action find
entity Henry Bate
relation country of citizenship
type political territorial entity
['Henry Bate', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Henry_Bate property:country_of_citizenship ?j }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1600443
Q1048835
USER
And what about Heinz Kautzleben?
(Q1600443,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1600443
relation P27
type Q1048835
['Q1600443', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q1048835 . resource:Q1600443 property:P27 ?g }
Heinz Kautzleben
action count
action filter_type
action find
entity Heinz Kautzleben
relation country of citizenship
type political territorial entity
['Heinz Kautzleben', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Heinz_Kautzleben property:country_of_citizenship ?g }
[]
political territorial entity
SYSTEM
1
(Q1600443,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1600443
relation P27
type Q1048835
[ANSWER]
['Q1600443', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q1048835 . resource:Q1600443 property:P27 ?g }
1
action count
action filter_type
action find
entity Heinz Kautzleben
relation country of citizenship
type political territorial entity
['Heinz Kautzleben', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Heinz_Kautzleben property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1600443
P21
Q290
USER
Which sex does that person belong to ?
action filter_type
action find
entity Q1600443
relation P21
type Q290
SELECT DISTINCT ?e WHERE { resource:Q1600443 property:P21 ?e . ?e rdf:type ontology:Q290 }
Heinz Kautzleben
action filter_type
action find
entity Heinz Kautzleben
relation gender
type sex
SELECT DISTINCT ?e WHERE { resource:Heinz_Kautzleben property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q1600443
relation P21
type Q290
That person belongs to [ANSWER]
SELECT DISTINCT ?e WHERE { resource:Q1600443 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Heinz Kautzleben
relation gender
type sex
SELECT DISTINCT ?e WHERE { resource:Heinz_Kautzleben property:gender ?e . ?e rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5933932
P21
Q502895
USER
Does Martin Landquist have that sex as the sex ?
(Q5933932,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5933932
relation P21
['Q5933932', 'P21', 'Q6581097']
ASK WHERE { resource:Q5933932 property:P21 resource:Q6581097 }
male Martin Landquist
action is_in
entity male
action find
entity Martin Landquist
relation gender
['Martin Landquist', 'gender', 'male']
ASK WHERE { resource:Martin_Landquist property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5933932,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5933932
relation P21
[ANSWER]
['Q5933932', 'P21', 'Q6581097']
ASK WHERE { resource:Q5933932 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Martin Landquist
relation gender
['Martin Landquist', 'gender', 'male']
ASK WHERE { resource:Martin_Landquist property:gender resource:male }
[]