Simple Question (Direct)
Simple Question
Q16026083
P39
Q12737077
USER
What was the position for which Albert Ménil was appointed ?
(Q16026083,P39,c(Q12737077))
action filter_type
action find
entity Q16026083
relation P39
type Q12737077
['Q16026083', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16026083 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Albert Ménil
action filter_type
action find
entity Albert Ménil
relation position held
type occupation
['Albert Ménil', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Albert_Ménil property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16026083,P39,c(Q12737077))
action filter_type
action find
entity Q16026083
relation P39
type Q12737077
Member of the French National Assembly
['Q16026083', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16026083 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Albert Ménil
relation position held
type occupation
['Albert Ménil', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Albert_Ménil property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16026083
P106
Q12737077
USER
What does Albert Ménil do for a living ?
(Q16026083,P106,c(Q12737077))
action filter_type
action find
entity Q16026083
relation P106
type Q12737077
['Q16026083', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q16026083 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Albert Ménil
action filter_type
action find
entity Albert Ménil
relation occupation
type occupation
['Albert Ménil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Albert_Ménil property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16026083,P106,c(Q12737077))
action filter_type
action find
entity Q16026083
relation P106
type Q12737077
Albert Ménil does a [ANSWER] for a living
['Q16026083', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q16026083 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician
Albert Ménil does a politician for a living
politician
action filter_type
action find
entity Albert Ménil
relation occupation
type occupation
['Albert Ménil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Albert_Ménil property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16026083
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q16026083
relation P27
type Q15617994
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16026083 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Albert Ménil
action filter_type
action find
entity Albert Ménil
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Ménil property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q82955,P27,c(Q15617994))
action filter_type
action find
entity Q16026083
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q82955', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q16026083 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
France
The France is the native country of that person
France
action filter_type
action find
entity Albert Ménil
relation country of citizenship
type designation for an administrative territorial entity
['politician', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Albert_Ménil property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16026083
P19
Q20667921
USER
Which french administrative division is the place of birth of that person ?
(Q142,P19,c(Q20667921))
action filter_type
action find
entity Q16026083
relation P19
type Q20667921
['Q142', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q16026083 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Albert Ménil
action filter_type
action find
entity Albert Ménil
relation place of birth
type type of french administrative division
['France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Albert_Ménil property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q69055
SYSTEM
Doullens
Q69055
(Q142,P19,c(Q20667921))
action filter_type
action find
entity Q16026083
relation P19
type Q20667921
[ANSWER] is the place of birth of that person
['Q142', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q16026083 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Doullens
Doullens is the place of birth of that person
Doullens
action filter_type
action find
entity Albert Ménil
relation place of birth
type type of french administrative division
['France', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Albert_Ménil property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q69055
P36
Q20667921
USER
Which french administrative division has that one as its capital ?
(c(Q20667921),P36,Q69055)
action filter_type
action find_reverse
entity Q69055
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q69055']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . ?v property:P36 resource:Q69055 }
Doullens
action filter_type
action find_reverse
entity Doullens
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Doullens']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . ?v property:capital resource:Doullens }
[]
type of french administrative division
Q1725195
SYSTEM
canton of Doullens
Q1725195
(c(Q20667921),P36,Q69055)
action filter_type
action find_reverse
entity Q69055
relation P36
type Q20667921
The [ANSWER] has that one as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q69055']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q20667921 . ?v property:P36 resource:Q69055 }
canton of Doullens
The canton of Doullens has that one as its capital
canton of Doullens
action filter_type
action find_reverse
entity Doullens
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Doullens']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:type_of_french_administrative_division . ?v property:capital resource:Doullens }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1725195
P1376
Q20667921
USER
Which french administrative division is center of administration for that one ?
(c(Q20667921),P1376,Q1725195)
action filter_type
action find_reverse
entity Q1725195
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q1725195']
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q1725195 . ?m rdf:type ontology:Q20667921 }
canton of Doullens
action filter_type
action find_reverse
entity canton of Doullens
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Doullens']
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:canton_of_Doullens . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q69055
SYSTEM
Doullens
Q69055
(c(Q20667921),P1376,Q1725195)
action filter_type
action find_reverse
entity Q1725195
relation P1376
type Q20667921
[ANSWER] is center of administration for that one
[{'concept': 'Q20667921'}, 'P1376', 'Q1725195']
SELECT DISTINCT ?m WHERE { ?m property:P1376 resource:Q1725195 . ?m rdf:type ontology:Q20667921 }
Doullens
Doullens is center of administration for that one
Doullens
action filter_type
action find_reverse
entity canton of Doullens
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Doullens']
SELECT DISTINCT ?m WHERE { ?m property:capital_of resource:canton_of_Doullens . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q23334
P530
Q1048835
USER
How many political territories have diplomatic relations with France or Abkhazia ?
(Q142,P530,c(Q1048835)) (Q23334,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q23334
relation P530
type Q1048835
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q23334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Q142 property:P530 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q23334 property:P530 ?a . ?a rdf:type ontology:Q1048835 } }
France Abkhazia
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Abkhazia
relation diplomatic relation
type political territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Abkhazia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:France property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Abkhazia property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
3
Q408 Q183 Q40
(Q142,P530,c(Q1048835)) (Q23334,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q142
relation P530
type Q1048835
action filter_type
action find
entity Q23334
relation P530
type Q1048835
[ANSWER]
['Q142', 'P530', {'concept': 'Q1048835'}] ['Q23334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Q142 property:P530 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q23334 property:P530 ?a . ?a rdf:type ontology:Q1048835 } }
Australia Germany Austria
3
action count
action union
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Abkhazia
relation diplomatic relation
type political territorial entity
['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Abkhazia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:France property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Abkhazia property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q69055
P47
Q20667921
USER
Which french administrative divisions do Doullens share a border with ?
(c(Q20667921),P47,Q69055)
action filter_type
action find
entity Q69055
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q69055']
SELECT DISTINCT ?x WHERE { resource:Q69055 property:P47 ?x . ?x rdf:type ontology:Q20667921 }
Doullens
action filter_type
action find
entity Doullens
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Doullens']
SELECT DISTINCT ?x WHERE { resource:Doullens property:shares_border_with ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q540226 Q1105051 Q1092270
SYSTEM
Bouquemaison, Hem-Hardinval, Beauval
Q45718 Q489639 Q1105051 Q1092270 Q490073 Q157091 Q795573 Q540226 Q156937 Q987547
(c(Q20667921),P47,Q69055)
action filter_type
action find
entity Q69055
relation P47
type Q20667921
Doullens share a border with [ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q69055']
SELECT DISTINCT ?x WHERE { resource:Q69055 property:P47 ?x . ?x rdf:type ontology:Q20667921 }
Authieule Neuvillette Hem-Hardinval Beauval Occoches Gézaincourt Terramesnil Bouquemaison Grouches-Luchuel Amplier
Doullens share a border with Bouquemaison, Hem-Hardinval and Beauval
Bouquemaison Hem-Hardinval Beauval
action filter_type
action find
entity Doullens
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Doullens']
SELECT DISTINCT ?x WHERE { resource:Doullens property:shares_border_with ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q540226 Q1105051 Q1092270
P17
Q15617994
USER
Which administrative territories are Bouquemaison, Hem-Hardinval and Beauval present in ?
(Q540226,P17,c(Q15617994)) (Q1105051,P17,c(Q15617994)) (Q1092270,P17,c(Q15617994))
action union
action filter_type
action find
entity Q540226
relation P17
type Q15617994
action filter_type
action find
entity Q1105051
relation P17
type Q15617994
action filter_type
action find
entity Q1092270
relation P17
type Q15617994
['Q540226', 'P17', {'concept': 'Q15617994'}] ['Q1105051', 'P17', {'concept': 'Q15617994'}] ['Q1092270', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?i ) { ( resource:Q540226 ) ( resource:Q1105051 ) } . ?i property:P17 ?g }
Bouquemaison Hem-Hardinval Beauval
action union
action filter_type
action find
entity Bouquemaison
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hem-Hardinval
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Beauval
relation country
type designation for an administrative territorial entity
['Bouquemaison', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hem-Hardinval', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Beauval', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?i ) { ( resource:Bouquemaison ) ( resource:Hem-Hardinval ) } . ?i property:country ?g }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q540226,P17,c(Q15617994)) (Q1105051,P17,c(Q15617994)) (Q1092270,P17,c(Q15617994))
action union
action filter_type
action find
entity Q540226
relation P17
type Q15617994
action filter_type
action find
entity Q1105051
relation P17
type Q15617994
action filter_type
action find
entity Q1092270
relation P17
type Q15617994
[ANSWER] [ANSWER], [ANSWER] and [ANSWER] are Bouquemaison, Hem-Hardinval and Beauval present in
['Q540226', 'P17', {'concept': 'Q15617994'}] ['Q1105051', 'P17', {'concept': 'Q15617994'}] ['Q1092270', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?i ) { ( resource:Q540226 ) ( resource:Q1105051 ) } . ?i property:P17 ?g }
France France France
France France, France and France are Bouquemaison, Hem-Hardinval and Beauval present in
France France France
action union
action filter_type
action find
entity Bouquemaison
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hem-Hardinval
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Beauval
relation country
type designation for an administrative territorial entity
['Bouquemaison', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hem-Hardinval', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Beauval', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?i ) { ( resource:Bouquemaison ) ( resource:Hem-Hardinval ) } . ?i property:country ?g }
[]