Simple Question (Direct)
Simple Question
Q11840441
P7
Q502895
USER
Who is Émile Deutsch de la Meurthe a sibling of ?
(Q11840441,P7,c(Q502895))
action filter_type
action find
entity Q11840441
relation P7
type Q502895
['Q11840441', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q11840441 property:P7 ?v . ?v rdf:type ontology:Q502895 }
Émile Deutsch de la Meurthe
action filter_type
action find
entity Émile Deutsch de la Meurthe
relation brother
type common name
['Émile Deutsch de la Meurthe', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Émile_Deutsch_de_la_Meurthe property:brother ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1345595
SYSTEM
Henri Deutsch de la Meurthe
Q1345595
(Q11840441,P7,c(Q502895))
action filter_type
action find
entity Q11840441
relation P7
type Q502895
De [ANSWER] is Émile Deutsch de la Meurthe a sibling of
['Q11840441', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q11840441 property:P7 ?v . ?v rdf:type ontology:Q502895 }
Henri Deutsch de la Meurthe
De Henri Deutsch de la Meurthe is Émile Deutsch de la Meurthe a sibling of
Henri Deutsch de la Meurthe
action filter_type
action find
entity Émile Deutsch de la Meurthe
relation brother
type common name
['Émile Deutsch de la Meurthe', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Émile_Deutsch_de_la_Meurthe property:brother ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1345595
P22
Q502895
USER
Who has that one as a father ?
(c(Q502895),P22,Q1345595)
action filter_type
action find_reverse
entity Q1345595
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1345595']
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q1345595 . ?u rdf:type ontology:Q502895 }
Henri Deutsch de la Meurthe
action filter_type
action find_reverse
entity Henri Deutsch de la Meurthe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Henri Deutsch de la Meurthe']
SELECT DISTINCT ?u WHERE { ?u property:father resource:Henri_Deutsch_de_la_Meurthe . ?u rdf:type ontology:common_name }
[]
common name
Q15970982
SYSTEM
Suzanne Deutsch de La Meurthe
Q15970982
(c(Q502895),P22,Q1345595)
action filter_type
action find_reverse
entity Q1345595
relation P22
type Q502895
[ANSWER] has that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q1345595']
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q1345595 . ?u rdf:type ontology:Q502895 }
Suzanne Deutsch de La Meurthe
Suzanne Deutsch de La Meurthe has that one as a father
Suzanne Deutsch de La Meurthe
action filter_type
action find_reverse
entity Henri Deutsch de la Meurthe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Henri Deutsch de la Meurthe']
SELECT DISTINCT ?u WHERE { ?u property:father resource:Henri_Deutsch_de_la_Meurthe . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1345595
P21
Q290
USER
What is the sex of Henri Deutsch de la Meurthe ?
(Q1345595,P21,c(Q290))
action filter_type
action find
entity Q1345595
relation P21
type Q290
['Q1345595', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1345595 property:P21 ?r . ?r rdf:type ontology:Q290 }
Henri Deutsch de la Meurthe
action filter_type
action find
entity Henri Deutsch de la Meurthe
relation gender
type sex
['Henri Deutsch de la Meurthe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Henri_Deutsch_de_la_Meurthe property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1345595,P21,c(Q290))
action filter_type
action find
entity Q1345595
relation P21
type Q290
The sex of Henri Deutsch de la Meurthe is a [ANSWER]
['Q1345595', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1345595 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Henri Deutsch de la Meurthe is a male
male
action filter_type
action find
entity Henri Deutsch de la Meurthe
relation gender
type sex
['Henri Deutsch de la Meurthe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Henri_Deutsch_de_la_Meurthe property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7437367
Q290
USER
And what about Scott Tercero?
(Q7437367,P21,c(Q290))
action filter_type
action find
entity Q7437367
relation P21
type Q290
['Q7437367', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7437367 property:P21 ?j . ?j rdf:type ontology:Q290 }
Scott Tercero
action filter_type
action find
entity Scott Tercero
relation gender
type sex
['Scott Tercero', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Scott_Tercero property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7437367,P21,c(Q290))
action filter_type
action find
entity Q7437367
relation P21
type Q290
[ANSWER]
['Q7437367', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7437367 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Scott Tercero
relation gender
type sex
['Scott Tercero', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Scott_Tercero property:gender ?j . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q16300412
P21
Q502895
USER
Does Ernesto Faxas have that sex as the sex ?
(Q16300412,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q16300412
relation P21
['Q16300412', 'P21', 'Q6581097']
ASK WHERE { resource:Q16300412 property:P21 resource:Q6581097 }
male Ernesto Faxas
action is_in
entity male
action find
entity Ernesto Faxas
relation gender
['Ernesto Faxas', 'gender', 'male']
ASK WHERE { resource:Ernesto_Faxas property:gender resource:male }
[]
common name
SYSTEM
YES
(Q16300412,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q16300412
relation P21
[ANSWER]
['Q16300412', 'P21', 'Q6581097']
ASK WHERE { resource:Q16300412 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Ernesto Faxas
relation gender
['Ernesto Faxas', 'gender', 'male']
ASK WHERE { resource:Ernesto_Faxas property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has career as that sex ?
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has career as that sex
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has career as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:male . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q290
USER
How many occupations or sexes are the job of that person ?
(Q24877298,P106,c(Q12737077)) (Q24877298,P106,c(Q290)) (Q24877298,P106,c(Q12737077)) (Q24877298,P106,c(Q290))
action count
action union
action filter_type
action find
entity Q24877298
relation P106
type Q12737077
action filter_type
action find
entity Q24877298
relation P106
type Q290
['Q24877298', 'P106', {'concept': 'Q12737077'}] ['Q24877298', 'P106', {'concept': 'Q290'}] ['Q24877298', 'P106', {'concept': 'Q12737077'}] ['Q24877298', 'P106', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { resource:Q24877298 property:P106 ?n . ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q290 . resource:Q24877298 property:P106 ?n } }
action count
action union
action filter_type
action find
entity Antonín Straka
relation occupation
type occupation
action filter_type
action find
entity Antonín Straka
relation occupation
type sex
['Antonín Straka', 'occupation', {'concept': 'occupation'}] ['Antonín Straka', 'occupation', {'concept': 'sex'}] ['Antonín Straka', 'occupation', {'concept': 'occupation'}] ['Antonín Straka', 'occupation', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { resource:Antonín_Straka property:occupation ?n . ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:sex . resource:Antonín_Straka property:occupation ?n } }
[]
occupation sex
SYSTEM
2
Q486839 Q6581097
(Q24877298,P106,c(Q12737077)) (Q24877298,P106,c(Q290)) (Q24877298,P106,c(Q12737077)) (Q24877298,P106,c(Q290))
action count
action union
action filter_type
action find
entity Q24877298
relation P106
type Q12737077
action filter_type
action find
entity Q24877298
relation P106
type Q290
[ANSWER]
['Q24877298', 'P106', {'concept': 'Q12737077'}] ['Q24877298', 'P106', {'concept': 'Q290'}] ['Q24877298', 'P106', {'concept': 'Q12737077'}] ['Q24877298', 'P106', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { resource:Q24877298 property:P106 ?n . ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q290 . resource:Q24877298 property:P106 ?n } }
member of parliament male
2
action count
action union
action filter_type
action find
entity Antonín Straka
relation occupation
type occupation
action filter_type
action find
entity Antonín Straka
relation occupation
type sex
['Antonín Straka', 'occupation', {'concept': 'occupation'}] ['Antonín Straka', 'occupation', {'concept': 'sex'}] ['Antonín Straka', 'occupation', {'concept': 'occupation'}] ['Antonín Straka', 'occupation', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { resource:Antonín_Straka property:occupation ?n . ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:sex . resource:Antonín_Straka property:occupation ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11840441
P20
Q56061
USER
Which administrative territory is the place of death of Émile Deutsch de la Meurthe ?
(Q11840441,P20,c(Q56061))
action filter_type
action find
entity Q11840441
relation P20
type Q56061
['Q11840441', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q11840441 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Émile Deutsch de la Meurthe
action filter_type
action find
entity Émile Deutsch de la Meurthe
relation place of death
type administrative territorial entity
['Émile Deutsch de la Meurthe', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Émile_Deutsch_de_la_Meurthe property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q342
SYSTEM
Quimper
Q342
(Q11840441,P20,c(Q56061))
action filter_type
action find
entity Q11840441
relation P20
type Q56061
[ANSWER] is the place of death of Émile Deutsch de la Meurthe
['Q11840441', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q11840441 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Quimper
Quimper is the place of death of Émile Deutsch de la Meurthe
Quimper
action filter_type
action find
entity Émile Deutsch de la Meurthe
relation place of death
type administrative territorial entity
['Émile Deutsch de la Meurthe', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Émile_Deutsch_de_la_Meurthe property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q342
P190
Q56061
USER
Which administrative territories are twin cities of that one ?
(Q342,P190,c(Q56061))
action filter_type
action find
entity Q342
relation P190
type Q56061
['Q342', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q342 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Quimper
action filter_type
action find
entity Quimper
relation sister city
type administrative territorial entity
['Quimper', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Quimper property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13464 Q99151 Q133315
SYSTEM
Foggia, Ourense, Limerick
Q623687 Q99151 Q133315 Q13464
(Q342,P190,c(Q56061))
action filter_type
action find
entity Q342
relation P190
type Q56061
[ANSWERS] are twin cities of that one
['Q342', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q342 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Falkirk Ourense Limerick Foggia
Foggia, Ourense and Limerick are twin cities of that one
Foggia Ourense Limerick
action filter_type
action find
entity Quimper
relation sister city
type administrative territorial entity
['Quimper', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Quimper property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q342
P6
Q502895
USER
Who are the heads of the government of Quimper ?
(Q342,P6,c(Q502895))
action filter_type
action find
entity Q342
relation P6
type Q502895
['Q342', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q342 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Quimper
action filter_type
action find
entity Quimper
relation head of government
type common name
['Quimper', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Quimper property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q959482 Q3287865 Q2829903
SYSTEM
Bernard Poignant, Marc Bécam, Alain Gérard
Q21782671 Q3287865 Q959482 Q3271009 Q2829903 Q16661511
(Q342,P6,c(Q502895))
action filter_type
action find
entity Q342
relation P6
type Q502895
The heads of the government of Quimper are [ANSWERS]
['Q342', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q342 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Jean Lemeunier Marc Bécam Bernard Poignant Léon Goraguer Alain Gérard Ludovic Jolivet
The heads of the government of Quimper are Bernard Poignant, Marc Bécam and Alain Gérard
Bernard Poignant Marc Bécam Alain Gérard
action filter_type
action find
entity Quimper
relation head of government
type common name
['Quimper', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Quimper property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]