Simple Question (Direct)
Simple Question
Q3370229
P7
Q502895
USER
Who is the brother of Paul-Alfred Isautier ?
(Q3370229,P7,c(Q502895))
action filter_type
action find
entity Q3370229
relation P7
type Q502895
['Q3370229', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q3370229 property:P7 ?o }
Paul-Alfred Isautier
action filter_type
action find
entity Paul-Alfred Isautier
relation brother
type common name
['Paul-Alfred Isautier', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Paul-Alfred_Isautier property:brother ?o }
[]
common name
Q2959419
SYSTEM
Charles Isautier
Q2959419
(Q3370229,P7,c(Q502895))
action filter_type
action find
entity Q3370229
relation P7
type Q502895
The brother of Paul-Alfred Isautier is called [ANSWER]
['Q3370229', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q3370229 property:P7 ?o }
Charles Isautier
The brother of Paul-Alfred Isautier is called Charles Isautier
Charles Isautier
action filter_type
action find
entity Paul-Alfred Isautier
relation brother
type common name
['Paul-Alfred Isautier', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Paul-Alfred_Isautier property:brother ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2959419
P21
Q290
USER
Which sex does that person possess ?
(Q2959419,P21,c(Q290))
action filter_type
action find
entity Q2959419
relation P21
type Q290
['Q2959419', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2959419 property:P21 ?f . ?f rdf:type ontology:Q290 }
Charles Isautier
action filter_type
action find
entity Charles Isautier
relation gender
type sex
['Charles Isautier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Isautier property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2959419,P21,c(Q290))
action filter_type
action find
entity Q2959419
relation P21
type Q290
That person possesses a [ANSWER]
['Q2959419', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q2959419 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Charles Isautier
relation gender
type sex
['Charles Isautier', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Isautier property:gender ?f . ?f rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q26329468 Q2959419
P21
Q290
USER
Or David Wilson?
OR((Q2959419,P21,c(Q290)), (Q26329468,P21,c(Q290)))
action filter_type
action union
action find
entity Q2959419
relation P21
action find
entity Q26329468
relation P21
type Q290
{'OR': [['Q2959419', 'P21', {'concept': 'Q290'}], ['Q26329468', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2959419 property:P21 ?z } UNION { resource:Q26329468 property:P21 ?z } } . ?z rdf:type ontology:Q290 }
David Wilson Charles Isautier
action filter_type
action union
action find
entity Charles Isautier
relation gender
action find
entity David Wilson
relation gender
type sex
{'OR': [['Charles Isautier', 'gender', {'concept': 'sex'}], ['David Wilson', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Charles_Isautier property:gender ?z } UNION { resource:David_Wilson property:gender ?z } } . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q2959419,P21,c(Q290)), (Q26329468,P21,c(Q290)))
action filter_type
action union
action find
entity Q2959419
relation P21
action find
entity Q26329468
relation P21
type Q290
[ANSWER]
{'OR': [['Q2959419', 'P21', {'concept': 'Q290'}], ['Q26329468', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2959419 property:P21 ?z } UNION { resource:Q26329468 property:P21 ?z } } . ?z rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Charles Isautier
relation gender
action find
entity David Wilson
relation gender
type sex
{'OR': [['Charles Isautier', 'gender', {'concept': 'sex'}], ['David Wilson', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Charles_Isautier property:gender ?z } UNION { resource:David_Wilson property:gender ?z } } . ?z rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1098591 Q2959419
P47 P19
Q20667921
USER
Which french administrative divisions are the birthplace of Charles Isautier or are bordered by Berthecourt ?
OR((Q2959419,P19,c(Q20667921)), (Q1098591,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q2959419
relation P19
action find
entity Q1098591
relation P47
type Q20667921
{'OR': [['Q2959419', 'P19', {'concept': 'Q20667921'}], ['Q1098591', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2959419 property:P19 ?d } UNION { resource:Q1098591 property:P47 ?d } } . ?d rdf:type ontology:Q20667921 }
Berthecourt Charles Isautier
action filter_type
action union
action find
entity Charles Isautier
relation place of birth
action find
entity Berthecourt
relation shares border with
type type of french administrative division
{'OR': [['Charles Isautier', 'place of birth', {'concept': 'type of french administrative division'}], ['Berthecourt', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Charles_Isautier property:place_of_birth ?d } UNION { resource:Berthecourt property:shares_border_with ?d } } . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1336221 Q249884 Q834102 Q1335027 Q815706 Q1095678 Q941423
SYSTEM
Ponchon, Saint-Pierre, Noailles, Villers-Saint-Sépulcre, Mouchy-le-Châtel, Cauvigny, Hermes
Q1336221 Q249884 Q834102 Q1335027 Q815706 Q1095678 Q941423
OR((Q2959419,P19,c(Q20667921)), (Q1098591,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q2959419
relation P19
action find
entity Q1098591
relation P47
type Q20667921
[ANSWERS] are the birthplace of Charles Isautier or are bordered by Berthecourt
{'OR': [['Q2959419', 'P19', {'concept': 'Q20667921'}], ['Q1098591', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2959419 property:P19 ?d } UNION { resource:Q1098591 property:P47 ?d } } . ?d rdf:type ontology:Q20667921 }
Ponchon Saint-Pierre Noailles Villers-Saint-Sépulcre Mouchy-le-Châtel Cauvigny Hermes
Ponchon, Saint-Pierre, Noailles, Villers-Saint-Sépulcre, Mouchy-le-Châtel, Cauvigny and Hermes are the birthplace of Charles Isautier or are bordered by Berthecourt
Ponchon Saint-Pierre Noailles Villers-Saint-Sépulcre Mouchy-le-Châtel Cauvigny Hermes
action filter_type
action union
action find
entity Charles Isautier
relation place of birth
action find
entity Berthecourt
relation shares border with
type type of french administrative division
{'OR': [['Charles Isautier', 'place of birth', {'concept': 'type of french administrative division'}], ['Berthecourt', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Charles_Isautier property:place_of_birth ?d } UNION { resource:Berthecourt property:shares_border_with ?d } } . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1336221 Q249884 Q834102 Q1335027 Q815706 Q1095678 Q941423
P17
Q15617994
USER
Which administrative territories are Ponchon, Saint-Pierre, Noailles, Villers-Saint-Sépulcre, Mouchy-le-Châtel, Cauvigny and Hermes situated in ?
(Q1336221,P17,c(Q15617994)) (Q249884,P17,c(Q15617994)) (Q834102,P17,c(Q15617994)) (Q1335027,P17,c(Q15617994)) (Q815706,P17,c(Q15617994)) (Q1095678,P17,c(Q15617994)) (Q941423,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1336221
relation P17
type Q15617994
action filter_type
action find
entity Q249884
relation P17
type Q15617994
action filter_type
action find
entity Q834102
relation P17
type Q15617994
action filter_type
action find
entity Q1335027
relation P17
type Q15617994
action filter_type
action find
entity Q815706
relation P17
type Q15617994
action filter_type
action find
entity Q1095678
relation P17
type Q15617994
action filter_type
action find
entity Q941423
relation P17
type Q15617994
['Q1336221', 'P17', {'concept': 'Q15617994'}] ['Q249884', 'P17', {'concept': 'Q15617994'}] ['Q834102', 'P17', {'concept': 'Q15617994'}] ['Q1335027', 'P17', {'concept': 'Q15617994'}] ['Q815706', 'P17', {'concept': 'Q15617994'}] ['Q1095678', 'P17', {'concept': 'Q15617994'}] ['Q941423', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:Q1336221 ) ( resource:Q249884 ) } . ?n property:P17 ?p }
Ponchon Saint-Pierre Noailles Villers-Saint-Sépulcre Mouchy-le-Châtel Cauvigny Hermes
action union
action filter_type
action find
entity Ponchon
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Pierre
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Noailles
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Villers-Saint-Sépulcre
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mouchy-le-Châtel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cauvigny
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hermes
relation country
type designation for an administrative territorial entity
['Ponchon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Pierre', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Noailles', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Villers-Saint-Sépulcre', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mouchy-le-Châtel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cauvigny', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hermes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:Ponchon ) ( resource:Saint-Pierre ) } . ?n property:country ?p }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142 Q142 Q142 Q142 Q142
(Q1336221,P17,c(Q15617994)) (Q249884,P17,c(Q15617994)) (Q834102,P17,c(Q15617994)) (Q1335027,P17,c(Q15617994)) (Q815706,P17,c(Q15617994)) (Q1095678,P17,c(Q15617994)) (Q941423,P17,c(Q15617994))
action union
action filter_type
action find
entity Q1336221
relation P17
type Q15617994
action filter_type
action find
entity Q249884
relation P17
type Q15617994
action filter_type
action find
entity Q834102
relation P17
type Q15617994
action filter_type
action find
entity Q1335027
relation P17
type Q15617994
action filter_type
action find
entity Q815706
relation P17
type Q15617994
action filter_type
action find
entity Q1095678
relation P17
type Q15617994
action filter_type
action find
entity Q941423
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Ponchon, Saint-Pierre, Noailles, Villers-Saint-Sépulcre, Mouchy-le-Châtel, Cauvigny and Hermes situated in
['Q1336221', 'P17', {'concept': 'Q15617994'}] ['Q249884', 'P17', {'concept': 'Q15617994'}] ['Q834102', 'P17', {'concept': 'Q15617994'}] ['Q1335027', 'P17', {'concept': 'Q15617994'}] ['Q815706', 'P17', {'concept': 'Q15617994'}] ['Q1095678', 'P17', {'concept': 'Q15617994'}] ['Q941423', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:Q1336221 ) ( resource:Q249884 ) } . ?n property:P17 ?p }
France France France France France France France
France, France and France are Ponchon, Saint-Pierre, Noailles, Villers-Saint-Sépulcre, Mouchy-le-Châtel, Cauvigny and Hermes situated in
France France France
action union
action filter_type
action find
entity Ponchon
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Saint-Pierre
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Noailles
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Villers-Saint-Sépulcre
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Mouchy-le-Châtel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cauvigny
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Hermes
relation country
type designation for an administrative territorial entity
['Ponchon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Pierre', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Noailles', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Villers-Saint-Sépulcre', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mouchy-le-Châtel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cauvigny', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hermes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?n ) { ( resource:Ponchon ) ( resource:Saint-Pierre ) } . ?n property:country ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P530
Q1048835
USER
Which political territories have ambassadorial relations with France ?
(c(Q1048835),P530,Q142)
action filter_type
action find
entity Q142
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q142']
SELECT DISTINCT ?t WHERE { resource:Q142 property:P530 ?t . ?t rdf:type ontology:Q1048835 }
France
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ?t WHERE { resource:France property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183 Q40
SYSTEM
Australia, Germany, Austria
Q408 Q183 Q40
(c(Q1048835),P530,Q142)
action filter_type
action find
entity Q142
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with France
[{'concept': 'Q1048835'}, 'P530', 'Q142']
SELECT DISTINCT ?t WHERE { resource:Q142 property:P530 ?t . ?t rdf:type ontology:Q1048835 }
Australia Germany Austria
Australia, Germany and Austria have ambassadorial relations with France
Australia Germany Austria
action filter_type
action find
entity France
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'France']
SELECT DISTINCT ?t WHERE { resource:France property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q249884
P1376
Q20667921
USER
What have Saint-Pierre as their capital ?
(Q249884,P1376,c(Q20667921))
action filter_type
action find
entity Q249884
relation P1376
type Q20667921
['Q249884', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q249884 property:P1376 ?p . ?p rdf:type ontology:Q20667921 }
Saint-Pierre
action filter_type
action find
entity Saint-Pierre
relation capital of
type type of french administrative division
['Saint-Pierre', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Saint-Pierre property:capital_of ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q2750526 Q2430919 Q2750524
SYSTEM
canton of Saint-Pierre-2, canton of Saint-Pierre-1, canton of Saint-Pierre-3
Q2750526 Q2430919 Q2750524 Q2513430
(Q249884,P1376,c(Q20667921))
action filter_type
action find
entity Q249884
relation P1376
type Q20667921
[ANSWERS] have Saint-Pierre as their capital
['Q249884', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q249884 property:P1376 ?p . ?p rdf:type ontology:Q20667921 }
canton of Saint-Pierre-2 canton of Saint-Pierre-1 canton of Saint-Pierre-3 canton of Saint-Pierre-4
Canton of Saint-Pierre-2, canton of Saint-Pierre-1 and canton of Saint-Pierre-3 have Saint-Pierre as their capital
canton of Saint-Pierre-2 canton of Saint-Pierre-1 canton of Saint-Pierre-3
action filter_type
action find
entity Saint-Pierre
relation capital of
type type of french administrative division
['Saint-Pierre', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:Saint-Pierre property:capital_of ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2750526
P36
Q20667921
USER
What is the capital of that one ?
(Q2750526,P36,c(Q20667921))
action filter_type
action find
entity Q2750526
relation P36
type Q20667921
['Q2750526', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q2750526 property:P36 ?b . ?b rdf:type ontology:Q20667921 }
canton of Saint-Pierre-2
action filter_type
action find
entity canton of Saint-Pierre-2
relation capital
type type of french administrative division
['canton of Saint-Pierre-2', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:canton_of_Saint-Pierre-2 property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q2750526
SYSTEM
Did you mean canton of Saint-Pierre-2 ?
Q2750526 Q2430919 Q2750524
(Q2750526,P36,c(Q20667921)) (Q2430919,P36,c(Q20667921)) (Q2750524,P36,c(Q20667921))
[ANSWER]
['Q2750526', 'P36', {'concept': 'Q20667921'}] ['Q2430919', 'P36', {'concept': 'Q20667921'}] ['Q2750524', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q2750526 property:P36 ?b . ?b rdf:type ontology:Q20667921 }
canton of Saint-Pierre-2 canton of Saint-Pierre-1 canton of Saint-Pierre-3
Did you mean canton of Saint-Pierre-2 ?
canton of Saint-Pierre-2
['canton of Saint-Pierre-2', 'capital', {'concept': 'type of french administrative division'}] ['canton of Saint-Pierre-1', 'capital', {'concept': 'type of french administrative division'}] ['canton of Saint-Pierre-3', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:canton_of_Saint-Pierre-2 property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2750526,P36,c(Q20667921))
['Q2750526', 'P36', {'concept': 'Q20667921'}]
['canton of Saint-Pierre-2', 'capital', {'concept': 'type of french administrative division'}]
[]
Q249884
SYSTEM
Saint-Pierre
Q249884
(Q2750526,P36,c(Q20667921))
action filter_type
action find
entity Q2750526
relation P36
type Q20667921
The capital of that one is of [ANSWER]
['Q2750526', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q2750526 property:P36 ?b . ?b rdf:type ontology:Q20667921 }
Saint-Pierre
The capital of that one is of Saint-Pierre
Saint-Pierre
action filter_type
action find
entity canton of Saint-Pierre-2
relation capital
type type of french administrative division
['canton of Saint-Pierre-2', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:canton_of_Saint-Pierre-2 property:capital ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q249884 Q1428847
P47
Q20667921
USER
Is Lafitte-Vigordane bordered by that one ?
(Q249884,P47,Q1428847)
action is_in
entity Q1428847
action find
entity Q249884
relation P47
['Q249884', 'P47', 'Q1428847']
ASK WHERE { resource:Q249884 property:P47 resource:Q1428847 }
Saint-Pierre Lafitte-Vigordane
action is_in
entity Lafitte-Vigordane
action find
entity Saint-Pierre
relation shares border with
['Saint-Pierre', 'shares border with', 'Lafitte-Vigordane']
ASK WHERE { resource:Saint-Pierre property:shares_border_with resource:Lafitte-Vigordane }
[]
type of french administrative division
SYSTEM
NO
(Q249884,P47,Q1428847)
action is_in
entity Q1428847
action find
entity Q249884
relation P47
[ANSWER]
['Q249884', 'P47', 'Q1428847']
ASK WHERE { resource:Q249884 property:P47 resource:Q1428847 }
No
action is_in
entity Lafitte-Vigordane
action find
entity Saint-Pierre
relation shares border with
['Saint-Pierre', 'shares border with', 'Lafitte-Vigordane']
ASK WHERE { resource:Saint-Pierre property:shares_border_with resource:Lafitte-Vigordane }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q834102 Q1709514 Q720217
P47
Q20667921
USER
Is Noailles next to the border of canton of Nérac and canton of Aigurande ?
(Q834102,P47,Q1709514) (Q834102,P47,Q720217)
action is_in
entity Q834102
action intersection
action find_reverse
entity Q1709514
relation P47
action find_reverse
entity Q720217
relation P47
['Q834102', 'P47', 'Q1709514'] ['Q834102', 'P47', 'Q720217']
ASK WHERE { resource:Q834102 property:P47 resource:Q720217 . resource:Q834102 property:P47 resource:Q1709514 }
Noailles canton of Nérac canton of Aigurande
action is_in
entity Noailles
action intersection
action find_reverse
entity canton of Nérac
relation shares border with
action find_reverse
entity canton of Aigurande
relation shares border with
['Noailles', 'shares border with', 'canton of Nérac'] ['Noailles', 'shares border with', 'canton of Aigurande']
ASK WHERE { resource:Noailles property:shares_border_with resource:canton_of_Aigurande . resource:Noailles property:shares_border_with resource:canton_of_Nérac }
[]
type of french administrative division
SYSTEM
NO
(Q834102,P47,Q1709514) (Q834102,P47,Q720217)
action is_in
entity Q834102
action intersection
action find_reverse
entity Q1709514
relation P47
action find_reverse
entity Q720217
relation P47
[ANSWER]
['Q834102', 'P47', 'Q1709514'] ['Q834102', 'P47', 'Q720217']
ASK WHERE { resource:Q834102 property:P47 resource:Q720217 . resource:Q834102 property:P47 resource:Q1709514 }
No
action is_in
entity Noailles
action intersection
action find_reverse
entity canton of Nérac
relation shares border with
action find_reverse
entity canton of Aigurande
relation shares border with
['Noailles', 'shares border with', 'canton of Nérac'] ['Noailles', 'shares border with', 'canton of Aigurande']
ASK WHERE { resource:Noailles property:shares_border_with resource:canton_of_Aigurande . resource:Noailles property:shares_border_with resource:canton_of_Nérac }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q834102
P36
Q20667921
USER
Which french administrative division has Noailles as its administrative centre ?
action filter_type
action find_reverse
entity Q834102
relation P36
type Q20667921
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q834102 . ?n rdf:type ontology:Q20667921 }
Noailles
action filter_type
action find_reverse
entity Noailles
relation capital
type type of french administrative division
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Noailles . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q625127
SYSTEM
canton of Noailles
Q625127
action filter_type
action find_reverse
entity Q834102
relation P36
type Q20667921
The [ANSWER] has Noailles as its administrative centre
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q834102 . ?n rdf:type ontology:Q20667921 }
canton of Noailles
The canton of Noailles has Noailles as its administrative centre
canton of Noailles
action filter_type
action find_reverse
entity Noailles
relation capital
type type of french administrative division
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Noailles . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1376
Q20667921
USER
How many french administrative divisions are the capital of that french administrative division ?
(c(Q20667921),P1376,Q625127)
action count
action filter_type
action find_reverse
entity Q625127
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q625127']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1376 resource:Q625127 . ?m rdf:type ontology:Q20667921 }
action count
action filter_type
action find_reverse
entity canton of Noailles
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Noailles']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:capital_of resource:canton_of_Noailles . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
Q834102
(c(Q20667921),P1376,Q625127)
action count
action filter_type
action find_reverse
entity Q625127
relation P1376
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', 'Q625127']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1376 resource:Q625127 . ?m rdf:type ontology:Q20667921 }
Noailles
1
action count
action filter_type
action find_reverse
entity canton of Noailles
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Noailles']
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:capital_of resource:canton_of_Noailles . ?m rdf:type ontology:type_of_french_administrative_division }
[]