Simple Question (Direct)
Simple Question
Q3434367
P19
Q20667921
USER
Which french administrative division was Robert-Martin Lesuire born in ?
(Q3434367,P19,c(Q20667921))
action filter_type
action find
entity Q3434367
relation P19
type Q20667921
['Q3434367', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q3434367 property:P19 ?w . ?w rdf:type ontology:Q20667921 }
Robert-Martin Lesuire
action filter_type
action find
entity Robert-Martin Lesuire
relation place of birth
type type of french administrative division
['Robert-Martin Lesuire', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Robert-Martin_Lesuire property:place_of_birth ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q30974
SYSTEM
Rouen
Q30974
(Q3434367,P19,c(Q20667921))
action filter_type
action find
entity Q3434367
relation P19
type Q20667921
Which french administrative division was Robert-Martin Lesuire born in
['Q3434367', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q3434367 property:P19 ?w . ?w rdf:type ontology:Q20667921 }
Rouen
Which french administrative division was Robert-Martin Lesuire born in
Rouen
action filter_type
action find
entity Robert-Martin Lesuire
relation place of birth
type type of french administrative division
['Robert-Martin Lesuire', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:Robert-Martin_Lesuire property:place_of_birth ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30974
P740
Q732577
USER
Which publication was formed at that french administrative division ?
(c(Q732577),P740,Q30974)
action filter_type
action find_reverse
entity Q30974
relation P740
type Q732577
[{'concept': 'Q732577'}, 'P740', 'Q30974']
SELECT DISTINCT ?c WHERE { ?c property:P740 resource:Q30974 . ?c rdf:type ontology:Q732577 }
Rouen
action filter_type
action find_reverse
entity Rouen
relation location of formation
type publication
[{'concept': 'publication'}, 'location of formation', 'Rouen']
SELECT DISTINCT ?c WHERE { ?c property:location_of_formation resource:Rouen . ?c rdf:type ontology:publication }
[]
publication
Q18691634
SYSTEM
Viking
Q18691634
(c(Q732577),P740,Q30974)
action filter_type
action find_reverse
entity Q30974
relation P740
type Q732577
[ANSWER] was formed at that french administrative division
[{'concept': 'Q732577'}, 'P740', 'Q30974']
SELECT DISTINCT ?c WHERE { ?c property:P740 resource:Q30974 . ?c rdf:type ontology:Q732577 }
Viking
Viking was formed at that french administrative division
Viking
action filter_type
action find_reverse
entity Rouen
relation location of formation
type publication
[{'concept': 'publication'}, 'location of formation', 'Rouen']
SELECT DISTINCT ?c WHERE { ?c property:location_of_formation resource:Rouen . ?c rdf:type ontology:publication }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30974
P176
Q2235308
USER
Which ship type was manufactured by Rouen ?
(c(Q2235308),P176,Q30974)
action filter_type
action find_reverse
entity Q30974
relation P176
type Q2235308
[{'concept': 'Q2235308'}, 'P176', 'Q30974']
SELECT DISTINCT ?t WHERE { ?t property:P176 resource:Q30974 . ?t rdf:type ontology:Q2235308 }
Rouen
action filter_type
action find_reverse
entity Rouen
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Rouen']
SELECT DISTINCT ?t WHERE { ?t property:manufacturer resource:Rouen . ?t rdf:type ontology:ship_type }
[]
ship type
Q1752631
SYSTEM
French submarine Favorite
Q1752631
(c(Q2235308),P176,Q30974)
action filter_type
action find_reverse
entity Q30974
relation P176
type Q2235308
[ANSWER] was manufactured by Rouen
[{'concept': 'Q2235308'}, 'P176', 'Q30974']
SELECT DISTINCT ?t WHERE { ?t property:P176 resource:Q30974 . ?t rdf:type ontology:Q2235308 }
French submarine Favorite
French submarine Favorite was manufactured by Rouen
French submarine Favorite
action filter_type
action find_reverse
entity Rouen
relation manufacturer
type ship type
[{'concept': 'ship type'}, 'manufacturer', 'Rouen']
SELECT DISTINCT ?t WHERE { ?t property:manufacturer resource:Rouen . ?t rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3434367
P20
Q56061
USER
Where did Robert-Martin Lesuire die ?
(Q3434367,P20,c(Q56061))
action filter_type
action find
entity Q3434367
relation P20
type Q56061
['Q3434367', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3434367 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Robert-Martin Lesuire
action filter_type
action find
entity Robert-Martin Lesuire
relation place of death
type administrative territorial entity
['Robert-Martin Lesuire', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Robert-Martin_Lesuire property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3434367,P20,c(Q56061))
action filter_type
action find
entity Q3434367
relation P20
type Q56061
Robert-Martin Lesuire died in [ANSWER]
['Q3434367', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q3434367 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Paris
Robert-Martin Lesuire died in Paris
Paris
action filter_type
action find
entity Robert-Martin Lesuire
relation place of death
type administrative territorial entity
['Robert-Martin Lesuire', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Robert-Martin_Lesuire property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1649154
Q56061
USER
And what about Norbert Bosset?
(Q1649154,P20,c(Q56061))
action filter_type
action find
entity Q1649154
relation P20
type Q56061
['Q1649154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1649154 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Norbert Bosset
action filter_type
action find
entity Norbert Bosset
relation place of death
type administrative territorial entity
['Norbert Bosset', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Norbert_Bosset property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q807
SYSTEM
Lausanne
Q807
(Q1649154,P20,c(Q56061))
action filter_type
action find
entity Q1649154
relation P20
type Q56061
[ANSWER]
['Q1649154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1649154 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Lausanne
Lausanne
action filter_type
action find
entity Norbert Bosset
relation place of death
type administrative territorial entity
['Norbert Bosset', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Norbert_Bosset property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1649154
P106
Q12737077
USER
What is the job of Norbert Bosset ?
(Q1649154,P106,c(Q12737077))
action filter_type
action find
entity Q1649154
relation P106
type Q12737077
['Q1649154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q1649154 property:P106 ?i }
Norbert Bosset
action filter_type
action find
entity Norbert Bosset
relation occupation
type occupation
['Norbert Bosset', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Norbert_Bosset property:occupation ?i }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1649154,P106,c(Q12737077))
action filter_type
action find
entity Q1649154
relation P106
type Q12737077
The job of Norbert Bosset is a [ANSWER]
['Q1649154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q1649154 property:P106 ?i }
politician
The job of Norbert Bosset is a politician
politician
action filter_type
action find
entity Norbert Bosset
relation occupation
type occupation
['Norbert Bosset', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Norbert_Bosset property:occupation ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30974 Q605256
P47
Q20667921
USER
How many french administrative divisions have a shared border with Rouen or Shimada ?
(Q30974,P47,c(Q20667921)) (Q605256,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q30974
relation P47
type Q20667921
action filter_type
action find
entity Q605256
relation P47
type Q20667921
['Q30974', 'P47', {'concept': 'Q20667921'}] ['Q605256', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { resource:Q30974 property:P47 ?t . ?t rdf:type ontology:Q20667921 } UNION { resource:Q605256 property:P47 ?t . ?t rdf:type ontology:Q20667921 } }
Rouen Shimada
action count
action union
action filter_type
action find
entity Rouen
relation shares border with
type type of french administrative division
action filter_type
action find
entity Shimada
relation shares border with
type type of french administrative division
['Rouen', 'shares border with', {'concept': 'type of french administrative division'}] ['Shimada', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { resource:Rouen property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division } UNION { resource:Shimada property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division } }
[]
type of french administrative division
SYSTEM
12
Q1113714 Q655572 Q1055925 Q1108133 Q1113442 Q317082 Q4164885 Q744205 Q1110442 Q1164630 Q268362 Q1110688
(Q30974,P47,c(Q20667921)) (Q605256,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q30974
relation P47
type Q20667921
action filter_type
action find
entity Q605256
relation P47
type Q20667921
[ANSWER]
['Q30974', 'P47', {'concept': 'Q20667921'}] ['Q605256', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { resource:Q30974 property:P47 ?t . ?t rdf:type ontology:Q20667921 } UNION { resource:Q605256 property:P47 ?t . ?t rdf:type ontology:Q20667921 } }
Bihorel Le Grand-Quevilly Mont-Saint-Aignan Saint-Martin-du-Vivier Bonsecours Sotteville-lès-Rouen Bois-Guillaume Canteleu Darnétal Saint-Léger-du-Bourg-Denis Le Petit-Quevilly Déville-lès-Rouen
12
action count
action union
action filter_type
action find
entity Rouen
relation shares border with
type type of french administrative division
action filter_type
action find
entity Shimada
relation shares border with
type type of french administrative division
['Rouen', 'shares border with', {'concept': 'type of french administrative division'}] ['Shimada', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { resource:Rouen property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division } UNION { resource:Shimada property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3232538 Q90
P6 P50
Q502895
USER
Which people are the heads of the government of Paris or wrote Les Fausses Confidences ?
OR((Q90,P6,c(Q502895)), (Q3232538,P50,c(Q502895)))
action filter_type
action union
action find
entity Q90
relation P6
action find
entity Q3232538
relation P50
type Q502895
{'OR': [['Q90', 'P6', {'concept': 'Q502895'}], ['Q3232538', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q90 property:P6 ?s } UNION { resource:Q3232538 property:P50 ?s } } . ?s rdf:type ontology:Q502895 }
Les Fausses Confidences Paris
action filter_type
action union
action find
entity Paris
relation head of government
action find
entity Les Fausses Confidences
relation author
type common name
{'OR': [['Paris', 'head of government', {'concept': 'common name'}], ['Les Fausses Confidences', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Paris property:head_of_government ?s } UNION { resource:Les_Fausses_Confidences property:author ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q2596877 Q289303 Q49478 Q947901 Q656015 Q1685859 Q256294 Q3131449 Q2105 Q677730
SYSTEM
Some of them are René Boucher, Étienne Arago, Pierre de Marivaux, Jérôme Pétion de Villeneuve, Philibert Borie, Jean Tiberi, Bertrand Delanoë, Henri Lefèvre d'Ormesson, Jacques Chirac, Armand Marrast
Q1986521 Q2105 Q289303 Q1685859 Q256294 Q49478 Q1685102 Q601266 Q2596877 Q677730 Q959708 Q3131449 Q947901 Q2851133 Q656015 Q1684642 Q1685301
OR((Q90,P6,c(Q502895)), (Q3232538,P50,c(Q502895)))
action filter_type
action union
action find
entity Q90
relation P6
action find
entity Q3232538
relation P50
type Q502895
[ANSWERS] are the heads of the government of Paris or wrote Les Fausses Confidences
{'OR': [['Q90', 'P6', {'concept': 'Q502895'}], ['Q3232538', 'P50', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q90 property:P6 ?s } UNION { resource:Q3232538 property:P50 ?s } } . ?s rdf:type ontology:Q502895 }
Nicolas Chambon Jacques Chirac Étienne Arago Jean Tiberi Bertrand Delanoë Pierre de Marivaux Jean-Nicolas Pache Louis-Antoine Garnier-Pagès René Boucher Armand Marrast Jules Ferry Henri Lefèvre d'Ormesson Jérôme Pétion de Villeneuve Anne Hidalgo Philibert Borie Jean-Baptiste Fleuriot-Lescot Jean Sylvain Bailly
René Boucher, Étienne Arago, Pierre de Marivaux, Jérôme Pétion de Villeneuve, Philibert Borie, Jean Tiberi, Bertrand Delanoë, Henri Lefèvre d'Ormesson, Jacques Chirac and Armand Marrast are the heads of the government of Paris or wrote Les Fausses Confidences
René Boucher Étienne Arago Pierre de Marivaux Jérôme Pétion de Villeneuve Philibert Borie Jean Tiberi Bertrand Delanoë Henri Lefèvre d'Ormesson Jacques Chirac Armand Marrast
action filter_type
action union
action find
entity Paris
relation head of government
action find
entity Les Fausses Confidences
relation author
type common name
{'OR': [['Paris', 'head of government', {'concept': 'common name'}], ['Les Fausses Confidences', 'author', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Paris property:head_of_government ?s } UNION { resource:Les_Fausses_Confidences property:author ?s } } . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2596877
P734
Q82799
USER
Who is associated with that person ?
(Q2596877,P734,c(Q82799))
action filter_type
action find
entity Q2596877
relation P734
type Q82799
['Q2596877', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q2596877 property:P734 ?t . ?t rdf:type ontology:Q82799 }
René Boucher
action filter_type
action find
entity René Boucher
relation family name
type name
['René Boucher', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:René_Boucher property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q3131449
SYSTEM
Did you mean Henri Lefèvre d'Ormesson ?
Q2596877 Q289303 Q49478 Q947901 Q656015 Q1685859 Q256294 Q3131449 Q2105 Q677730
(Q2596877,P734,c(Q82799)) (Q289303,P734,c(Q82799)) (Q49478,P734,c(Q82799)) (Q947901,P734,c(Q82799)) (Q656015,P734,c(Q82799)) (Q1685859,P734,c(Q82799)) (Q256294,P734,c(Q82799)) (Q3131449,P734,c(Q82799)) (Q2105,P734,c(Q82799)) (Q677730,P734,c(Q82799))
[ANSWER]
['Q2596877', 'P734', {'concept': 'Q82799'}] ['Q289303', 'P734', {'concept': 'Q82799'}] ['Q49478', 'P734', {'concept': 'Q82799'}] ['Q947901', 'P734', {'concept': 'Q82799'}] ['Q656015', 'P734', {'concept': 'Q82799'}] ['Q1685859', 'P734', {'concept': 'Q82799'}] ['Q256294', 'P734', {'concept': 'Q82799'}] ['Q3131449', 'P734', {'concept': 'Q82799'}] ['Q2105', 'P734', {'concept': 'Q82799'}] ['Q677730', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q2596877 property:P734 ?t . ?t rdf:type ontology:Q82799 }
René Boucher Étienne Arago Pierre de Marivaux Jérôme Pétion de Villeneuve Philibert Borie Jean Tiberi Bertrand Delanoë Henri Lefèvre d'Ormesson Jacques Chirac Armand Marrast
Did you mean Henri Lefèvre d'Ormesson ?
Henri Lefèvre d'Ormesson
['René Boucher', 'family name', {'concept': 'name'}] ['Étienne Arago', 'family name', {'concept': 'name'}] ['Pierre de Marivaux', 'family name', {'concept': 'name'}] ['Jérôme Pétion de Villeneuve', 'family name', {'concept': 'name'}] ['Philibert Borie', 'family name', {'concept': 'name'}] ['Jean Tiberi', 'family name', {'concept': 'name'}] ['Bertrand Delanoë', 'family name', {'concept': 'name'}] ["Henri Lefèvre d'Ormesson", 'family name', {'concept': 'name'}] ['Jacques Chirac', 'family name', {'concept': 'name'}] ['Armand Marrast', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:René_Boucher property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant René Boucher. Could you tell me the answer for that?
(Q2596877,P734,c(Q82799))
Q2596877
['Q2596877', 'P734', {'concept': 'Q82799'}]
['René Boucher', 'family name', {'concept': 'name'}]
[]
Q16860286
SYSTEM
Boucher
Q16860286
(Q2596877,P734,c(Q82799))
action filter_type
action find
entity Q2596877
relation P734
type Q82799
[ANSWER] is associated with that person
['Q2596877', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q2596877 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Boucher
Boucher is associated with that person
Boucher
action filter_type
action find
entity René Boucher
relation family name
type name
['René Boucher', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:René_Boucher property:family_name ?t . ?t rdf:type ontology:name }
[]