Simple Question (Direct)
Simple Question
Q3128713
P53
Q13417114
USER
What dynasty does Hawise of Normandy belong to ?
(Q3128713,P53,c(Q13417114))
action filter_type
action find
entity Q3128713
relation P53
type Q13417114
['Q3128713', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q13417114 . resource:Q3128713 property:P53 ?f }
Hawise of Normandy
action filter_type
action find
entity Hawise of Normandy
relation noble family
type noble family
['Hawise of Normandy', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:noble_family . resource:Hawise_of_Normandy property:noble_family ?f }
[]
noble family
Q516569
SYSTEM
House of Normandy
Q516569
(Q3128713,P53,c(Q13417114))
action filter_type
action find
entity Q3128713
relation P53
type Q13417114
Hawise of Normandy belongs to [ANSWER]
['Q3128713', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q13417114 . resource:Q3128713 property:P53 ?f }
House of Normandy
Hawise of Normandy belongs to House of Normandy
House of Normandy
action filter_type
action find
entity Hawise of Normandy
relation noble family
type noble family
['Hawise of Normandy', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:noble_family . resource:Hawise_of_Normandy property:noble_family ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q516569
P112
Q502895
USER
Which person was the founder of that noble family ?
(Q516569,P112,c(Q502895))
action filter_type
action find
entity Q516569
relation P112
type Q502895
['Q516569', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q516569 property:P112 ?q . ?q rdf:type ontology:Q502895 }
House of Normandy
action filter_type
action find
entity House of Normandy
relation founder
type common name
['House of Normandy', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:House_of_Normandy property:founder ?q . ?q rdf:type ontology:common_name }
[]
common name
Q273773
SYSTEM
Rollo
Q273773
(Q516569,P112,c(Q502895))
action filter_type
action find
entity Q516569
relation P112
type Q502895
[ANSWER] was the founder of that noble family
['Q516569', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q516569 property:P112 ?q . ?q rdf:type ontology:Q502895 }
Rollo
Rollo was the founder of that noble family
Rollo
action filter_type
action find
entity House of Normandy
relation founder
type common name
['House of Normandy', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:House_of_Normandy property:founder ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P7
Q502895
USER
How many people have that person as their brother ?
(c(Q502895),P7,Q273773)
action count
action filter_type
action find_reverse
entity Q273773
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q273773']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P7 resource:Q273773 . ?z rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Rollo
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Rollo']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:brother resource:Rollo . ?z rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q3049451 Q720262 Q3126041
(c(Q502895),P7,Q273773)
action count
action filter_type
action find_reverse
entity Q273773
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q273773']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P7 resource:Q273773 . ?z rdf:type ontology:Q502895 }
Torf-Einarr Thorir Rögnvaldarson Hallad Rognvaldsson
3
action count
action filter_type
action find_reverse
entity Rollo
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Rollo']
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:brother resource:Rollo . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q273773
P40
Q502895
USER
Who has Rollo as an offspring ?
(c(Q502895),P40,Q273773)
action filter_type
action find_reverse
entity Q273773
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q273773']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q273773 . ?f rdf:type ontology:Q502895 }
Rollo
action filter_type
action find_reverse
entity Rollo
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rollo']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Rollo . ?f rdf:type ontology:common_name }
[]
common name
Q1367604
SYSTEM
Rognvald Eysteinsson
Q1367604
(c(Q502895),P40,Q273773)
action filter_type
action find_reverse
entity Q273773
relation P40
type Q502895
[ANSWER] has Rollo as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q273773']
SELECT DISTINCT ?f WHERE { ?f property:P40 resource:Q273773 . ?f rdf:type ontology:Q502895 }
Rognvald Eysteinsson
Rognvald Eysteinsson has Rollo as an offspring
Rognvald Eysteinsson
action filter_type
action find_reverse
entity Rollo
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rollo']
SELECT DISTINCT ?f WHERE { ?f property:child resource:Rollo . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q273773
P21
Q290
USER
What is the sex of Rollo ?
(Q273773,P21,c(Q290))
action filter_type
action find
entity Q273773
relation P21
type Q290
['Q273773', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q273773 property:P21 ?g }
Rollo
action filter_type
action find
entity Rollo
relation gender
type sex
['Rollo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Rollo property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q273773,P21,c(Q290))
action filter_type
action find
entity Q273773
relation P21
type Q290
The sex of Rollo is the [ANSWER]
['Q273773', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q273773 property:P21 ?g }
male
The sex of Rollo is the male
male
action filter_type
action find
entity Rollo
relation gender
type sex
['Rollo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Rollo property:gender ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1367604
P22
Q502895
USER
Which people have Rognvald Eysteinsson as a parent ?
(c(Q502895),P22,Q1367604)
action filter_type
action find_reverse
entity Q1367604
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1367604']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q1367604 }
Rognvald Eysteinsson
action filter_type
action find_reverse
entity Rognvald Eysteinsson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rognvald Eysteinsson']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Rognvald_Eysteinsson }
[]
common name
Q273773 Q3049451 Q720262
SYSTEM
Rollo, Torf-Einarr, Thorir Rögnvaldarson
Q3126041 Q16428399 Q720262 Q3049451 Q273773
(c(Q502895),P22,Q1367604)
action filter_type
action find_reverse
entity Q1367604
relation P22
type Q502895
[ANSWERS] have Rognvald Eysteinsson as a parent
[{'concept': 'Q502895'}, 'P22', 'Q1367604']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q1367604 }
Hallad Rognvaldsson Hrollaugur Rögnvaldsson Thorir Rögnvaldarson Torf-Einarr Rollo
Rollo, Torf-Einarr and Thorir Rögnvaldarson have Rognvald Eysteinsson as a parent
Rollo Torf-Einarr Thorir Rögnvaldarson
action filter_type
action find_reverse
entity Rognvald Eysteinsson
relation father
type common name
[{'concept': 'common name'}, 'father', 'Rognvald Eysteinsson']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Rognvald_Eysteinsson }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q273773 Q3049451 Q720262
P7
Q502895
USER
Who are siblings of those ones ?
(c(Q502895),P7,Q273773) (c(Q502895),P7,Q3049451) (c(Q502895),P7,Q720262)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q273773'] [{'concept': 'Q502895'}, 'P7', 'Q3049451'] [{'concept': 'Q502895'}, 'P7', 'Q720262']
SELECT DISTINCT ?m WHERE { ?b property:P7 ?m . VALUES ( ?b ) { ( resource:Q3126041 ) ( resource:Q16428399 ) ( resource:Q720262 ) } . ?m rdf:type ontology:Q502895 }
Rollo Torf-Einarr Thorir Rögnvaldarson
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Rollo'] [{'concept': 'common name'}, 'brother', 'Torf-Einarr'] [{'concept': 'common name'}, 'brother', 'Thorir Rögnvaldarson']
SELECT DISTINCT ?m WHERE { ?b property:brother ?m . VALUES ( ?b ) { ( resource:Hallad_Rognvaldsson ) ( resource:Hrollaugur_Rögnvaldsson ) ( resource:Thorir_Rögnvaldarson ) } . ?m rdf:type ontology:common_name }
[]
common name
Q273773 Q273773 Q3049451
SYSTEM
Torf-Einarr for 3rd, Rollo for 1st, 2nd
Q3049451 Q720262 Q3126041 Q273773 Q720262 Q3126041 Q273773 Q3049451 Q3126041
(c(Q502895),P7,Q273773) (c(Q502895),P7,Q3049451) (c(Q502895),P7,Q720262)
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q273773'] [{'concept': 'Q502895'}, 'P7', 'Q3049451'] [{'concept': 'Q502895'}, 'P7', 'Q720262']
SELECT DISTINCT ?m WHERE { ?b property:P7 ?m . VALUES ( ?b ) { ( resource:Q3126041 ) ( resource:Q16428399 ) ( resource:Q720262 ) } . ?m rdf:type ontology:Q502895 }
Torf-Einarr Thorir Rögnvaldarson Hallad Rognvaldsson Rollo Thorir Rögnvaldarson Hallad Rognvaldsson Rollo Torf-Einarr Hallad Rognvaldsson
Siblings of those ones are Rollo, Rollo and Torf-Einarr
Rollo Rollo Torf-Einarr
action filter_type
action find
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Rollo'] [{'concept': 'common name'}, 'brother', 'Torf-Einarr'] [{'concept': 'common name'}, 'brother', 'Thorir Rögnvaldarson']
SELECT DISTINCT ?m WHERE { ?b property:brother ?m . VALUES ( ?b ) { ( resource:Hallad_Rognvaldsson ) ( resource:Hrollaugur_Rögnvaldsson ) ( resource:Thorir_Rögnvaldarson ) } . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q273773
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q273773)
action filter_type
action find
entity Q273773
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q273773']
SELECT DISTINCT ?v WHERE { resource:Q273773 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Rollo
action filter_type
action find
entity Rollo
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Rollo']
SELECT DISTINCT ?v WHERE { resource:Rollo property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q273773
SYSTEM
Did you mean Rollo ?
Q273773 Q273773 Q3049451
(c(Q502895),P26,Q273773) (c(Q502895),P26,Q273773) (c(Q502895),P26,Q3049451)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q273773'] [{'concept': 'Q502895'}, 'P26', 'Q273773'] [{'concept': 'Q502895'}, 'P26', 'Q3049451']
SELECT DISTINCT ?v WHERE { resource:Q273773 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Rollo Rollo Torf-Einarr
Did you mean Rollo ?
Rollo
[{'concept': 'common name'}, 'spouse', 'Rollo'] [{'concept': 'common name'}, 'spouse', 'Rollo'] [{'concept': 'common name'}, 'spouse', 'Torf-Einarr']
SELECT DISTINCT ?v WHERE { resource:Rollo property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P26,Q273773)
[{'concept': 'Q502895'}, 'P26', 'Q273773']
[{'concept': 'common name'}, 'spouse', 'Rollo']
[]
Q463626
SYSTEM
Poppa of Bayeux
Q463626
(c(Q502895),P26,Q273773)
action filter_type
action find
entity Q273773
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q273773']
SELECT DISTINCT ?v WHERE { resource:Q273773 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Poppa of Bayeux
Poppa of Bayeux has that one as spouse
Poppa of Bayeux
action filter_type
action find
entity Rollo
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Rollo']
SELECT DISTINCT ?v WHERE { resource:Rollo property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P26
Q502895
USER
How many people are the spouse of that person ?
(c(Q502895),P26,Q463626)
action count
action filter_type
action find_reverse
entity Q463626
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q463626']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P26 resource:Q463626 . ?d rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Poppa of Bayeux
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Poppa of Bayeux']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:spouse resource:Poppa_of_Bayeux . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q273773
(c(Q502895),P26,Q463626)
action count
action filter_type
action find_reverse
entity Q463626
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q463626']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:P26 resource:Q463626 . ?d rdf:type ontology:Q502895 }
Rollo
1
action count
action filter_type
action find_reverse
entity Poppa of Bayeux
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Poppa of Bayeux']
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d property:spouse resource:Poppa_of_Bayeux . ?d rdf:type ontology:common_name }
[]