Simple Question (Direct)
Simple Question
Q1638357
P410
Q56019
USER
Which military rank has Roland-Michel Barrin de La Galissonière achieved ?
(Q1638357,P410,c(Q56019))
action filter_type
action find
entity Q1638357
relation P410
type Q56019
['Q1638357', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?e WHERE { resource:Q1638357 property:P410 ?e . ?e rdf:type ontology:Q56019 }
Roland-Michel Barrin de La Galissonière
action filter_type
action find
entity Roland-Michel Barrin de La Galissonière
relation military rank
type military rank
['Roland-Michel Barrin de La Galissonière', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?e WHERE { resource:Roland-Michel_Barrin_de_La_Galissonière property:military_rank ?e . ?e rdf:type ontology:military_rank }
[]
military rank
Q132851
SYSTEM
admiral
Q132851
(Q1638357,P410,c(Q56019))
action filter_type
action find
entity Q1638357
relation P410
type Q56019
The [ANSWER] has Roland-Michel Barrin de La Galissonière achieved
['Q1638357', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?e WHERE { resource:Q1638357 property:P410 ?e . ?e rdf:type ontology:Q56019 }
admiral
The admiral has Roland-Michel Barrin de La Galissonière achieved
admiral
action filter_type
action find
entity Roland-Michel Barrin de La Galissonière
relation military rank
type military rank
['Roland-Michel Barrin de La Galissonière', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?e WHERE { resource:Roland-Michel_Barrin_de_La_Galissonière property:military_rank ?e . ?e rdf:type ontology:military_rank }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1638357
P138
Q2235308
USER
Which ship types have that person as their namesake ?
(c(Q2235308),P138,Q132851)
action filter_type
action find_reverse
entity Q1638357
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q132851']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q1638357 . ?e rdf:type ontology:Q2235308 }
Roland-Michel Barrin de La Galissonière
action filter_type
action find_reverse
entity Roland-Michel Barrin de La Galissonière
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'admiral']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Roland-Michel_Barrin_de_La_Galissonière . ?e rdf:type ontology:ship_type }
[]
ship type
Q5502268 Q3274059
SYSTEM
French ironclad La Galissonnière, French cruiser La Galissonnière
Q5502268 Q3274059
(c(Q2235308),P138,Q132851)
action filter_type
action find_reverse
entity Q1638357
relation P138
type Q2235308
[ANSWERS] have that person as their namesake
[{'concept': 'Q2235308'}, 'P138', 'Q132851']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q1638357 . ?e rdf:type ontology:Q2235308 }
French ironclad La Galissonnière French cruiser La Galissonnière
French ironclad La Galissonnière and French cruiser La Galissonnière have that person as their namesake
French ironclad La Galissonnière French cruiser La Galissonnière
action filter_type
action find_reverse
entity Roland-Michel Barrin de La Galissonière
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'admiral']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Roland-Michel_Barrin_de_La_Galissonière . ?e rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1638357
P20
Q20667921
USER
Where did the expiration of Roland-Michel Barrin de La Galissonière occur ?
(Q1638357,P20,c(Q20667921))
action filter_type
action find
entity Q1638357
relation P20
type Q20667921
['Q1638357', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1638357 property:P20 ?g . ?g rdf:type ontology:Q20667921 }
Roland-Michel Barrin de La Galissonière
action filter_type
action find
entity Roland-Michel Barrin de La Galissonière
relation place of death
type type of french administrative division
['Roland-Michel Barrin de La Galissonière', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Roland-Michel_Barrin_de_La_Galissonière property:place_of_death ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q242191
SYSTEM
Montereau-Fault-Yonne
Q242191
(Q1638357,P20,c(Q20667921))
action filter_type
action find
entity Q1638357
relation P20
type Q20667921
The expiration of Roland-Michel Barrin de La Galissonière occurred of [ANSWER]
['Q1638357', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q1638357 property:P20 ?g . ?g rdf:type ontology:Q20667921 }
Montereau-Fault-Yonne
The expiration of Roland-Michel Barrin de La Galissonière occurred of Montereau-Fault-Yonne
Montereau-Fault-Yonne
action filter_type
action find
entity Roland-Michel Barrin de La Galissonière
relation place of death
type type of french administrative division
['Roland-Michel Barrin de La Galissonière', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Roland-Michel_Barrin_de_La_Galissonière property:place_of_death ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3592347
Q20667921
USER
And how about Étienne Rabouin?
(Q3592347,P20,c(Q20667921))
action filter_type
action find
entity Q3592347
relation P20
type Q20667921
['Q3592347', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q3592347 property:P20 ?y . ?y rdf:type ontology:Q20667921 }
Étienne Rabouin
action filter_type
action find
entity Étienne Rabouin
relation place of death
type type of french administrative division
['Étienne Rabouin', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Étienne_Rabouin property:place_of_death ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q767553
SYSTEM
Seiches-sur-le-Loir
Q767553
(Q3592347,P20,c(Q20667921))
action filter_type
action find
entity Q3592347
relation P20
type Q20667921
[ANSWER]
['Q3592347', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?y WHERE { resource:Q3592347 property:P20 ?y . ?y rdf:type ontology:Q20667921 }
Seiches-sur-le-Loir
Seiches-sur-le-Loir
action filter_type
action find
entity Étienne Rabouin
relation place of death
type type of french administrative division
['Étienne Rabouin', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?y WHERE { resource:Étienne_Rabouin property:place_of_death ?y . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q767553 Q52167 Q9020429
P17
Q15617994
USER
Is that french administrative division located in Morciano di Leuca and Las Escuelas ?
(Q767553,P17,Q52167) (Q767553,P17,Q9020429)
action is_in
entity Q767553
action intersection
action find_reverse
entity Q52167
relation P17
action find_reverse
entity Q9020429
relation P17
['Q767553', 'P17', 'Q52167'] ['Q767553', 'P17', 'Q9020429']
ASK WHERE { resource:Q767553 property:P17 resource:Q52167 . resource:Q767553 property:P17 resource:Q9020429 }
Seiches-sur-le-Loir Morciano di Leuca Las Escuelas
action is_in
entity Seiches-sur-le-Loir
action intersection
action find_reverse
entity Morciano di Leuca
relation country
action find_reverse
entity Las Escuelas
relation country
['Seiches-sur-le-Loir', 'country', 'Morciano di Leuca'] ['Seiches-sur-le-Loir', 'country', 'Las Escuelas']
ASK WHERE { resource:Seiches-sur-le-Loir property:country resource:Morciano_di_Leuca . resource:Seiches-sur-le-Loir property:country resource:Las_Escuelas }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q767553,P17,Q52167) (Q767553,P17,Q9020429)
action is_in
entity Q767553
action intersection
action find_reverse
entity Q52167
relation P17
action find_reverse
entity Q9020429
relation P17
[ANSWER]
['Q767553', 'P17', 'Q52167'] ['Q767553', 'P17', 'Q9020429']
ASK WHERE { resource:Q767553 property:P17 resource:Q52167 . resource:Q767553 property:P17 resource:Q9020429 }
No
action is_in
entity Seiches-sur-le-Loir
action intersection
action find_reverse
entity Morciano di Leuca
relation country
action find_reverse
entity Las Escuelas
relation country
['Seiches-sur-le-Loir', 'country', 'Morciano di Leuca'] ['Seiches-sur-le-Loir', 'country', 'Las Escuelas']
ASK WHERE { resource:Seiches-sur-le-Loir property:country resource:Morciano_di_Leuca . resource:Seiches-sur-le-Loir property:country resource:Las_Escuelas }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5502268 Q1638357
P138
Q502895
USER
Is Roland-Michel Barrin de La Galissonière namesake of that ship type ?
(Q5502268,P138,Q1638357)
action is_in
entity Q1638357
action find
entity Q5502268
relation P138
['Q5502268', 'P138', 'Q1638357']
ASK WHERE { resource:Q5502268 property:P138 resource:Q1638357 }
French ironclad La Galissonnière Roland-Michel Barrin de La Galissonière
action is_in
entity Roland-Michel Barrin de La Galissonière
action find
entity French ironclad La Galissonnière
relation named after
['French ironclad La Galissonnière', 'named after', 'Roland-Michel Barrin de La Galissonière']
ASK WHERE { resource:French_ironclad_La_Galissonnière property:named_after resource:Roland-Michel_Barrin_de_La_Galissonière }
[]
common name
SYSTEM
YES
(Q5502268,P138,Q1638357)
action is_in
entity Q1638357
action find
entity Q5502268
relation P138
[ANSWER]
['Q5502268', 'P138', 'Q1638357']
ASK WHERE { resource:Q5502268 property:P138 resource:Q1638357 }
Yes
action is_in
entity Roland-Michel Barrin de La Galissonière
action find
entity French ironclad La Galissonnière
relation named after
['French ironclad La Galissonnière', 'named after', 'Roland-Michel Barrin de La Galissonière']
ASK WHERE { resource:French_ironclad_La_Galissonnière property:named_after resource:Roland-Michel_Barrin_de_La_Galissonière }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q767553 Q4018
P47
Q20667921
USER
How many french administrative divisions are adjacent to Seiches-sur-le-Loir or Navarre ?
(Q767553,P47,c(Q20667921)) (Q4018,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q767553
relation P47
type Q20667921
action filter_type
action find
entity Q4018
relation P47
type Q20667921
['Q767553', 'P47', {'concept': 'Q20667921'}] ['Q4018', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:P47 ?o . VALUES ( ?m ) { ( resource:Q767553 ) ( resource:Q4018 ) } }
Seiches-sur-le-Loir Navarre
action count
action union
action filter_type
action find
entity Seiches-sur-le-Loir
relation shares border with
type type of french administrative division
action filter_type
action find
entity Navarre
relation shares border with
type type of french administrative division
['Seiches-sur-le-Loir', 'shares border with', {'concept': 'type of french administrative division'}] ['Navarre', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:shares_border_with ?o . VALUES ( ?m ) { ( resource:Seiches-sur-le-Loir ) ( resource:Navarre ) } }
[]
type of french administrative division
SYSTEM
9
Q750502 Q1163337 Q1163360 Q1163348 Q963562 Q18678082 Q1104326 Q1104064 Q1383550
(Q767553,P47,c(Q20667921)) (Q4018,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q767553
relation P47
type Q20667921
action filter_type
action find
entity Q4018
relation P47
type Q20667921
[ANSWER]
['Q767553', 'P47', {'concept': 'Q20667921'}] ['Q4018', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:P47 ?o . VALUES ( ?m ) { ( resource:Q767553 ) ( resource:Q4018 ) } }
Lézigné Huillé Marcé Corzé Montreuil-sur-Loir Nouvelle-Aquitaine La Chapelle-Saint-Laud Baracé Tiercé
9
action count
action union
action filter_type
action find
entity Seiches-sur-le-Loir
relation shares border with
type type of french administrative division
action filter_type
action find
entity Navarre
relation shares border with
type type of french administrative division
['Seiches-sur-le-Loir', 'shares border with', {'concept': 'type of french administrative division'}] ['Navarre', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?m property:shares_border_with ?o . VALUES ( ?m ) { ( resource:Seiches-sur-le-Loir ) ( resource:Navarre ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q303111
P1376
Q20667921 Q486972
USER
How many human settlements are the county seat for more number of french administrative divisions than Ringe ?
(c(Q486972),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q303111
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?b ) WHERE { ?w property:P1376 ?m . ?w rdf:type ontology:Q486972 . ?m rdf:type ontology:Q20667921 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q303111 property:P1376 ?p . ?p rdf:type ontology:Q486972 } } . FILTER ( ?b > ?k ) }
Ringe
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Ringe
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?b ) WHERE { ?w property:capital_of ?m . ?w rdf:type ontology:human_settlement . ?m rdf:type ontology:type_of_french_administrative_division } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Ringe property:capital_of ?p . ?p rdf:type ontology:human_settlement } } . FILTER ( ?b > ?k ) }
[]
type of french administrative division human settlement
SYSTEM
3
Q150039 Q323593 Q30940
(c(Q486972),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q303111
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?b ) WHERE { ?w property:P1376 ?m . ?w rdf:type ontology:Q486972 . ?m rdf:type ontology:Q20667921 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q303111 property:P1376 ?p . ?p rdf:type ontology:Q486972 } } . FILTER ( ?b > ?k ) }
Neuf-Brisach Vitry-en-Artois Albert
3
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Ringe
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?b ) WHERE { ?w property:capital_of ?m . ?w rdf:type ontology:human_settlement . ?m rdf:type ontology:type_of_french_administrative_division } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Ringe property:capital_of ?p . ?p rdf:type ontology:human_settlement } } . FILTER ( ?b > ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q767553
P19
Q502895
USER
How many people have place of birth as Seiches-sur-le-Loir ?
(c(Q502895),P19,Q767553)
action count
action filter_type
action find_reverse
entity Q767553
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q767553']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:Q502895 . ?u property:P19 resource:Q767553 }
Seiches-sur-le-Loir
action count
action filter_type
action find_reverse
entity Seiches-sur-le-Loir
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Seiches-sur-le-Loir']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_birth resource:Seiches-sur-le-Loir }
[]
common name
SYSTEM
3
Q3292327 Q2835410 Q3592347
(c(Q502895),P19,Q767553)
action count
action filter_type
action find_reverse
entity Q767553
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q767553']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:Q502895 . ?u property:P19 resource:Q767553 }
Marie-Émile Boismard Alfred Rabouin Étienne Rabouin
3
action count
action filter_type
action find_reverse
entity Seiches-sur-le-Loir
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Seiches-sur-le-Loir']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_birth resource:Seiches-sur-le-Loir }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q767553 Q14813
P190
Q56061
USER
How many administrative territories are partner town of Seiches-sur-le-Loir or Gifhorn ?
(c(Q56061),P190,Q767553) (c(Q56061),P190,Q14813)
action count
action union
action filter_type
action find_reverse
entity Q767553
relation P190
type Q56061
action filter_type
action find_reverse
entity Q14813
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q767553'] [{'concept': 'Q56061'}, 'P190', 'Q14813']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P190 ?j . VALUES ( ?j ) { ( resource:Q14813 ) ( resource:Q767553 ) } }
Seiches-sur-le-Loir Gifhorn
action count
action union
action filter_type
action find_reverse
entity Seiches-sur-le-Loir
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Gifhorn
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Seiches-sur-le-Loir'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Gifhorn']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:sister_city ?j . VALUES ( ?j ) { ( resource:Gifhorn ) ( resource:Seiches-sur-le-Loir ) } }
[]
administrative territorial entity
SYSTEM
2
Q210296 Q652035
(c(Q56061),P190,Q767553) (c(Q56061),P190,Q14813)
action count
action union
action filter_type
action find_reverse
entity Q767553
relation P190
type Q56061
action filter_type
action find_reverse
entity Q14813
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q767553'] [{'concept': 'Q56061'}, 'P190', 'Q14813']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P190 ?j . VALUES ( ?j ) { ( resource:Q14813 ) ( resource:Q767553 ) } }
Xanthi Dumfries
2
action count
action union
action filter_type
action find_reverse
entity Seiches-sur-le-Loir
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Gifhorn
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Seiches-sur-le-Loir'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Gifhorn']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:sister_city ?j . VALUES ( ?j ) { ( resource:Gifhorn ) ( resource:Seiches-sur-le-Loir ) } }
[]