Simple Question (Direct)
Simple Question
Q1879404
P21
Q290
USER
Which sex does Léon Didier have ?
(Q1879404,P21,c(Q290))
action filter_type
action find
entity Q1879404
relation P21
type Q290
['Q1879404', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q1879404 property:P21 ?i }
Léon Didier
action filter_type
action find
entity Léon Didier
relation gender
type sex
['Léon Didier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Léon_Didier property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1879404,P21,c(Q290))
action filter_type
action find
entity Q1879404
relation P21
type Q290
Léon Didier has a [ANSWER]
['Q1879404', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q1879404 property:P21 ?i }
male
Léon Didier has a male
male
action filter_type
action find
entity Léon Didier
relation gender
type sex
['Léon Didier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Léon_Didier property:gender ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1879404
P734
Q82799
USER
Who has the surname Léon Didier ?
(Q1879404,P734,c(Q82799))
action filter_type
action find
entity Q1879404
relation P734
type Q82799
['Q1879404', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q1879404 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Léon Didier
action filter_type
action find
entity Léon Didier
relation family name
type name
['Léon Didier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Léon_Didier property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q20643801
SYSTEM
Didier
Q20643801
(Q1879404,P734,c(Q82799))
action filter_type
action find
entity Q1879404
relation P734
type Q82799
[ANSWER] has the surname Léon [ANSWER]
['Q1879404', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q1879404 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Didier
Didier has the surname Léon Didier
Didier
action filter_type
action find
entity Léon Didier
relation family name
type name
['Léon Didier', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Léon_Didier property:family_name ?m . ?m rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8063792
Q82799
USER
And what about Zach Cohen?
(Q8063792,P734,c(Q82799))
action filter_type
action find
entity Q8063792
relation P734
type Q82799
['Q8063792', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q8063792 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Zach Cohen
action filter_type
action find
entity Zach Cohen
relation family name
type name
['Zach Cohen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Zach_Cohen property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q1158586
SYSTEM
Cohen
Q1158586
(Q8063792,P734,c(Q82799))
action filter_type
action find
entity Q8063792
relation P734
type Q82799
[ANSWER]
['Q8063792', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q8063792 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Cohen
Cohen
action filter_type
action find
entity Zach Cohen
relation family name
type name
['Zach Cohen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Zach_Cohen property:family_name ?t . ?t rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1158586 Q1860
P407
Q34770
USER
Is English the language of work for that name ?
(Q1158586,P407,Q1860)
action is_in
entity Q1860
action find
entity Q1158586
relation P407
['Q1158586', 'P407', 'Q1860']
ASK WHERE { resource:Q1158586 property:P407 resource:Q1860 }
Cohen English
action is_in
entity English
action find
entity Cohen
relation language of work or name
['Cohen', 'language of work or name', 'English']
ASK WHERE { resource:Cohen property:language_of_work_or_name resource:English }
[]
language
SYSTEM
YES
(Q1158586,P407,Q1860)
action is_in
entity Q1860
action find
entity Q1158586
relation P407
[ANSWER]
['Q1158586', 'P407', 'Q1860']
ASK WHERE { resource:Q1158586 property:P407 resource:Q1860 }
Yes
action is_in
entity English
action find
entity Cohen
relation language of work or name
['Cohen', 'language of work or name', 'English']
ASK WHERE { resource:Cohen property:language_of_work_or_name resource:English }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q12737077 Q56061 Q82799
USER
Which names are the eponym of atleast 1 occupations and administrative territories ?
(c(Q82799),P138,c(Q12737077)|c(Q56061))
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action find_tuple_counts
relation P138
type Q82799
type Q56061
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q12737077'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?a WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
action atleast
action union
action find_tuple_counts
relation named after
type name
type occupation
action find_tuple_counts
relation named after
type name
type administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?a WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
[]
occupation administrative territorial entity name
Q1158446 Q1158882 Q11231408
SYSTEM
Smith, Fisher, Fischer
Q23688105 Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q15785531 Q5352294 Q813701 Q23783070 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q16860286 Q16865812 Q1755217 Q22922124 Q24689291 Q16877784 Q16148136 Q19899706
(c(Q82799),P138,c(Q12737077)|c(Q56061))
action atleast
action union
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action find_tuple_counts
relation P138
type Q82799
type Q56061
value 1
[ANSWERS] are the eponym of atleast 1 occupations and administrative territories
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q12737077'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?a WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:Q12737077 ) ( ontology:Q56061 ) } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
de Bragança Bouvier Draper Smith Fisher Fischer Saunier Barber Fisichella Becker Potier Mercier Boulanger Métivier Berger Bergmann MacGowan Boucher Couture Magowan von Mecklenburg-Schwerin Vigneron Napoli Archer Sawyer
Smith, Fisher and Fischer are the eponym of atleast 1 occupations and administrative territories
Smith Fisher Fischer
action atleast
action union
action find_tuple_counts
relation named after
type name
type occupation
action find_tuple_counts
relation named after
type name
type administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'occupation'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) ?a WHERE { ?f rdf:type ?z . VALUES ( ?z ) { ( ontology:occupation ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?a } . FILTER ( ?u >= 1 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P138
Q82799 Q12737077 Q82799
USER
Which names are the eponym of greater number of names and occupations than that name ?
(c(Q82799),P138,c(Q82799)|c(Q12737077))
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?d ) { ( ?z ) ( ?y ) } . ?z property:P138 ?d } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q528892 }
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?d ) { ( ?z ) ( ?y ) } . ?z property:named_after ?d } . ?z rdf:type ontology:name . ?y rdf:type ontology:occupation }
[]
name occupation name
Comparative|More/Less|Mult. entity type|Clarification
Q1158446
SYSTEM
Did you mean Smith ?
(c(Q82799),P138,c(Q82799)|c(Q12737077))
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?d ) { ( ?z ) ( ?y ) } . ?z property:P138 ?d } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q528892 }
Did you mean Smith ?
Smith
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?d ) { ( ?z ) ( ?y ) } . ?z property:named_after ?d } . ?z rdf:type ontology:name . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant Fisher. Could you tell me the answer for that?
(c(Q82799),P138,c(Q82799)|c(Q12737077))
Q1158882
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q12737077'}]]
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'occupation'}]]
[]
SYSTEM
27
Q23727105 Q18043344 Q25115046 Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q17747435 Q15785531 Q5352294 Q813701 Q23783070 Q21507928 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q16860286 Q16865812 Q1755217 Q24689291 Q16148136 Q19899706
(c(Q82799),P138,c(Q82799)|c(Q12737077))
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q82799'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P138 ?z } UNION { ?z property:P138 ?y } } . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q528892 }
Poisson Renard Louarn Bouvier Draper Smith Fisher Fischer Saunier Ruzena Barber Fisichella Becker Potier Mouton Mercier Boulanger Métivier Berger Bergmann MacGowan Boucher Couture Magowan Vigneron Archer Sawyer
27
[{'concept': 'name'}, 'named after', [{'concept': 'name'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:named_after ?z } UNION { ?z property:named_after ?y } } . ?z rdf:type ontology:name . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1879404
P106
Q12737077
USER
Which occupation has Léon Didier as his/her 's career ?
(Q1879404,P106,c(Q12737077))
action filter_type
action find
entity Q1879404
relation P106
type Q12737077
['Q1879404', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1879404 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Léon Didier
action filter_type
action find
entity Léon Didier
relation occupation
type occupation
['Léon Didier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Léon_Didier property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q2309784
SYSTEM
sport cyclist
Q2309784
(Q1879404,P106,c(Q12737077))
action filter_type
action find
entity Q1879404
relation P106
type Q12737077
The [ANSWER] has Léon Didier as his/her 's career
['Q1879404', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1879404 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
sport cyclist
The sport cyclist has Léon Didier as his/her 's career
sport cyclist
action filter_type
action find
entity Léon Didier
relation occupation
type occupation
['Léon Didier', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Léon_Didier property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1879404
P20
Q20667921
USER
Which french administrative division is the place of death of Léon Didier ?
(Q1879404,P20,c(Q20667921))
action filter_type
action find
entity Q1879404
relation P20
type Q20667921
['Q1879404', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1879404 property:P20 ?t . ?t rdf:type ontology:Q20667921 }
Léon Didier
action filter_type
action find
entity Léon Didier
relation place of death
type type of french administrative division
['Léon Didier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Léon_Didier property:place_of_death ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q192773
SYSTEM
Aulnay-sous-Bois
Q192773
(Q1879404,P20,c(Q20667921))
action filter_type
action find
entity Q1879404
relation P20
type Q20667921
[ANSWER] is the place of death of Léon Didier
['Q1879404', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1879404 property:P20 ?t . ?t rdf:type ontology:Q20667921 }
Aulnay-sous-Bois
Aulnay-sous-Bois is the place of death of Léon Didier
Aulnay-sous-Bois
action filter_type
action find
entity Léon Didier
relation place of death
type type of french administrative division
['Léon Didier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Léon_Didier property:place_of_death ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q192773 Q3038
P17
Q15617994
USER
Is that french administrative division situated in Helgoland ?
(Q192773,P17,Q3038)
action is_in
entity Q3038
action find
entity Q192773
relation P17
['Q192773', 'P17', 'Q3038']
ASK WHERE { resource:Q192773 property:P17 resource:Q3038 }
Aulnay-sous-Bois Helgoland
action is_in
entity Helgoland
action find
entity Aulnay-sous-Bois
relation country
['Aulnay-sous-Bois', 'country', 'Helgoland']
ASK WHERE { resource:Aulnay-sous-Bois property:country resource:Helgoland }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q192773,P17,Q3038)
action is_in
entity Q3038
action find
entity Q192773
relation P17
[ANSWER]
['Q192773', 'P17', 'Q3038']
ASK WHERE { resource:Q192773 property:P17 resource:Q3038 }
No
action is_in
entity Helgoland
action find
entity Aulnay-sous-Bois
relation country
['Aulnay-sous-Bois', 'country', 'Helgoland']
ASK WHERE { resource:Aulnay-sous-Bois property:country resource:Helgoland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192773
P6
Q502895
USER
Which people have that french administrative division as their heads of government ?
action filter_type
action find
entity Q192773
relation P6
type Q502895
SELECT DISTINCT ?g WHERE { resource:Q192773 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Aulnay-sous-Bois
action filter_type
action find
entity Aulnay-sous-Bois
relation head of government
type common name
SELECT DISTINCT ?g WHERE { resource:Aulnay-sous-Bois property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]
common name
Q1684732 Q3434496 Q3123986
SYSTEM
Jean-Claude Abrioux, Robert Ballanger, Gérard Gaudron
Q3124320 Q3434496 Q1684732 Q2926637 Q3123986
action filter_type
action find
entity Q192773
relation P6
type Q502895
[ANSWERS] have that french administrative division as their heads of government
SELECT DISTINCT ?g WHERE { resource:Q192773 property:P6 ?g . ?g rdf:type ontology:Q502895 }
Gérard Ségura Robert Ballanger Jean-Claude Abrioux Bruno Beschizza Gérard Gaudron
Jean-Claude Abrioux, Robert Ballanger and Gérard Gaudron have that french administrative division as their heads of government
Jean-Claude Abrioux Robert Ballanger Gérard Gaudron
action filter_type
action find
entity Aulnay-sous-Bois
relation head of government
type common name
SELECT DISTINCT ?g WHERE { resource:Aulnay-sous-Bois property:head_of_government ?g . ?g rdf:type ontology:common_name }
[]