Simple Question (Direct)
Simple Question
Q1381814
P47
Q20667921
USER
Who share the border with Catus ?
(Q1381814,P47,c(Q20667921))
action filter_type
action find
entity Q1381814
relation P47
type Q20667921
['Q1381814', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q1381814 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Catus
action filter_type
action find
entity Catus
relation shares border with
type type of french administrative division
['Catus', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Catus property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q666509 Q958563 Q1329147
SYSTEM
Crayssac, Montgesty, Thédirac
Q1361473 Q1329147 Q1326559 Q1361084 Q958563 Q1322135 Q1383274 Q666509
(Q1381814,P47,c(Q20667921))
action filter_type
action find
entity Q1381814
relation P47
type Q20667921
[ANSWERS] share the border with Catus
['Q1381814', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { resource:Q1381814 property:P47 ?r . ?r rdf:type ontology:Q20667921 }
Saint-Denis-Catus Thédirac Boissières Saint-Médard Montgesty Nuzéjouls Uzech Crayssac
Crayssac, Montgesty and Thédirac share the border with Catus
Crayssac Montgesty Thédirac
action filter_type
action find
entity Catus
relation shares border with
type type of french administrative division
['Catus', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { resource:Catus property:shares_border_with ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q666509 Q958563 Q1329147
P17
Q15617994
USER
Which administrative territories are those french administrative divisions present in ?
(Q666509,P17,c(Q15617994)) (Q958563,P17,c(Q15617994)) (Q1329147,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q666509', 'P17', {'concept': 'Q15617994'}] ['Q958563', 'P17', {'concept': 'Q15617994'}] ['Q1329147', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?m property:P17 ?g . ?g rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q1361473 ) ( resource:Q1329147 ) ( resource:Q1326559 ) } }
Crayssac Montgesty Thédirac
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Crayssac', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Montgesty', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thédirac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?m property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Saint-Denis-Catus ) ( resource:Thédirac ) ( resource:Boissières ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q666509,P17,c(Q15617994)) (Q958563,P17,c(Q15617994)) (Q1329147,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Which administrative territories are those french administrative divisions present in
['Q666509', 'P17', {'concept': 'Q15617994'}] ['Q958563', 'P17', {'concept': 'Q15617994'}] ['Q1329147', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?m property:P17 ?g . ?g rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q1361473 ) ( resource:Q1329147 ) ( resource:Q1326559 ) } }
France France France
Which administrative territories are those french administrative divisions present in
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Crayssac', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Montgesty', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Thédirac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?m property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Saint-Denis-Catus ) ( resource:Thédirac ) ( resource:Boissières ) } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q874405 Q484652
USER
How many social groups or international organizations were that administrative territory a member of ?
(Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652))
['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q484652 }
['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:international_organization }
[]
social group international organization
Quantitative|Count|Mult. entity type|Clarification
Q142
SYSTEM
Did you mean France ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q484652 }
Did you mean France ?
France
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652))
['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}]
['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}]
[]
SYSTEM
11
Q81299 Q1065 Q19771 Q188822 Q37143 Q782942 Q8908 Q1043527 Q7184 Q42262 Q134102
(Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652)) (Q142,P463,c(Q874405)) (Q142,P463,c(Q484652))
[ANSWER]
['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q874405'}] ['Q142', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } UNION { resource:Q16275867 property:P463 ?z } UNION { resource:Q16275867 property:P463 ?y } } . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Australia Group Council of Europe Multilateral Investment Guarantee Agency North Atlantic Treaty Organisation European Space Agency Organisation internationale de la Francophonie
11
['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'social group'}] ['France', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } UNION { resource:France property:member_of ?z } UNION { resource:France property:member_of ?y } } . ?z rdf:type ontology:social_group . ?y rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1381814
P36
Q20667921
USER
Which french administrative division has Catus as its capital ?
(c(Q20667921),P36,Q1381814)
action filter_type
action find_reverse
entity Q1381814
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q1381814']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q1381814 . ?r rdf:type ontology:Q20667921 }
Catus
action filter_type
action find_reverse
entity Catus
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Catus']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Catus . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724813
SYSTEM
canton of Catus
Q1724813
(c(Q20667921),P36,Q1381814)
action filter_type
action find_reverse
entity Q1381814
relation P36
type Q20667921
The [ANSWER] has Catus as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q1381814']
SELECT DISTINCT ?r WHERE { ?r property:P36 resource:Q1381814 . ?r rdf:type ontology:Q20667921 }
canton of Catus
The canton of Catus has Catus as its capital
canton of Catus
action filter_type
action find_reverse
entity Catus
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Catus']
SELECT DISTINCT ?r WHERE { ?r property:capital resource:Catus . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1381814
P1376
Q20667921
USER
What has Catus as its capital ?
(Q1381814,P1376,c(Q20667921))
action filter_type
action find
entity Q1381814
relation P1376
type Q20667921
['Q1381814', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1381814 property:P1376 ?t . ?t rdf:type ontology:Q20667921 }
Catus
action filter_type
action find
entity Catus
relation capital of
type type of french administrative division
['Catus', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Catus property:capital_of ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1724813
SYSTEM
canton of Catus
Q1724813
(Q1381814,P1376,c(Q20667921))
action filter_type
action find
entity Q1381814
relation P1376
type Q20667921
The [ANSWER] has Catus as its capital
['Q1381814', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q1381814 property:P1376 ?t . ?t rdf:type ontology:Q20667921 }
canton of Catus
The canton of Catus has Catus as its capital
canton of Catus
action filter_type
action find
entity Catus
relation capital of
type type of french administrative division
['Catus', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Catus property:capital_of ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
How many french administrative divisions are located nearby approximately 1 bodies of water and waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?z rdf:type ?r } GROUP BY ?n } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?z rdf:type ?r } GROUP BY ?n } . FILTER ( ?b = 1 ) }
[]
body of water waterway type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?z rdf:type ?r } GROUP BY ?n } . FILTER ( ?b = 1 ) }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { VALUES ( ?r ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?z rdf:type ?r } GROUP BY ?n } . FILTER ( ?b = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1724813
P36
Q20667921
USER
How many french administrative divisions are the capitals of canton of Catus ?
(Q1724813,P36,c(Q20667921))
action count
action filter_type
action find
entity Q1724813
relation P36
type Q20667921
['Q1724813', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q1724813 property:P36 ?d . ?d rdf:type ontology:Q20667921 }
canton of Catus
action count
action filter_type
action find
entity canton of Catus
relation capital
type type of french administrative division
['canton of Catus', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:canton_of_Catus property:capital ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
Q1381814
(Q1724813,P36,c(Q20667921))
action count
action filter_type
action find
entity Q1724813
relation P36
type Q20667921
[ANSWER]
['Q1724813', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:Q1724813 property:P36 ?d . ?d rdf:type ontology:Q20667921 }
Catus
1
action count
action filter_type
action find
entity canton of Catus
relation capital
type type of french administrative division
['canton of Catus', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { resource:canton_of_Catus property:capital ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]