Simple Question (Direct)
Simple Question
Q1015666
P17
Q15617994
USER
Which administrative territory is Fajac-en-Val a part of ?
(Q1015666,P17,c(Q15617994))
action filter_type
action find
entity Q1015666
relation P17
type Q15617994
['Q1015666', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1015666 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Fajac-en-Val
action filter_type
action find
entity Fajac-en-Val
relation country
type designation for an administrative territorial entity
['Fajac-en-Val', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Fajac-en-Val property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1015666,P17,c(Q15617994))
action filter_type
action find
entity Q1015666
relation P17
type Q15617994
[ANSWER] is Fajac-en-Val a part of
['Q1015666', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q1015666 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
France is Fajac-en-Val a part of
France
action filter_type
action find
entity Fajac-en-Val
relation country
type designation for an administrative territorial entity
['Fajac-en-Val', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Fajac-en-Val property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1015666
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1015666
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?a WHERE { resource:Q1015666 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Fajac-en-Val
action filter_type
action find
entity Fajac-en-Val
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?a WHERE { resource:Fajac-en-Val property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1089391 Q1083184 Q545812
SYSTEM
Ladern-sur-Lauquet, Pradelles-en-Val, Arquettes-en-Val
Q1083184 Q685387 Q1089391 Q545812 Q173529 Q187380
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1015666
relation P47
type Q20667921
[ANSWERS] are bordered by that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?a WHERE { resource:Q1015666 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Pradelles-en-Val Mas-des-Cours Ladern-sur-Lauquet Arquettes-en-Val Villar-en-Val Monze
Ladern-sur-Lauquet, Pradelles-en-Val and Arquettes-en-Val are bordered by that one
Ladern-sur-Lauquet Pradelles-en-Val Arquettes-en-Val
action filter_type
action find
entity Fajac-en-Val
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?a WHERE { resource:Fajac-en-Val property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1015666
P47
Q20667921
USER
Does Fajac-en-Val share border with those ones ?
(Q1015666,P47,Q1089391) (Q1015666,P47,Q1083184) (Q1015666,P47,Q545812)
action is_in
entity prev_answer
action find
entity Q1015666
relation P47
['Q1015666', 'P47', 'Q1089391'] ['Q1015666', 'P47', 'Q1083184'] ['Q1015666', 'P47', 'Q545812']
ASK WHERE { resource:Q1015666 property:P47 ?z . VALUES ( ?z ) { ( resource:Q1083184 ) ( resource:Q685387 ) ( resource:Q1089391 ) } }
Fajac-en-Val
action is_in
entity prev_answer
action find
entity Fajac-en-Val
relation shares border with
['Fajac-en-Val', 'shares border with', 'Ladern-sur-Lauquet'] ['Fajac-en-Val', 'shares border with', 'Pradelles-en-Val'] ['Fajac-en-Val', 'shares border with', 'Arquettes-en-Val']
ASK WHERE { resource:Fajac-en-Val property:shares_border_with ?z . VALUES ( ?z ) { ( resource:Pradelles-en-Val ) ( resource:Mas-des-Cours ) ( resource:Ladern-sur-Lauquet ) } }
[]
type of french administrative division
SYSTEM
YES
(Q1015666,P47,Q1089391) (Q1015666,P47,Q1083184) (Q1015666,P47,Q545812)
action is_in
entity prev_answer
action find
entity Q1015666
relation P47
[ANSWER]
['Q1015666', 'P47', 'Q1089391'] ['Q1015666', 'P47', 'Q1083184'] ['Q1015666', 'P47', 'Q545812']
ASK WHERE { resource:Q1015666 property:P47 ?z . VALUES ( ?z ) { ( resource:Q1083184 ) ( resource:Q685387 ) ( resource:Q1089391 ) } }
Yes
action is_in
entity prev_answer
action find
entity Fajac-en-Val
relation shares border with
['Fajac-en-Val', 'shares border with', 'Ladern-sur-Lauquet'] ['Fajac-en-Val', 'shares border with', 'Pradelles-en-Val'] ['Fajac-en-Val', 'shares border with', 'Arquettes-en-Val']
ASK WHERE { resource:Fajac-en-Val property:shares_border_with ?z . VALUES ( ?z ) { ( resource:Pradelles-en-Val ) ( resource:Mas-des-Cours ) ( resource:Ladern-sur-Lauquet ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q142 Q157
P35
Q502895
USER
Is François Hollande elected as the head of state of France ?
(Q142,P35,Q157)
action is_in
entity Q157
action find
entity Q142
relation P35
['Q142', 'P35', 'Q157']
ASK WHERE { resource:Q142 property:P35 resource:Q157 }
France François Hollande
action is_in
entity François Hollande
action find
entity France
relation head of state
['France', 'head of state', 'François Hollande']
ASK WHERE { resource:France property:head_of_state resource:François_Hollande }
[]
common name
SYSTEM
YES
(Q142,P35,Q157)
action is_in
entity Q157
action find
entity Q142
relation P35
[ANSWER]
['Q142', 'P35', 'Q157']
ASK WHERE { resource:Q142 property:P35 resource:Q157 }
Yes
action is_in
entity François Hollande
action find
entity France
relation head of state
['France', 'head of state', 'François Hollande']
ASK WHERE { resource:France property:head_of_state resource:François_Hollande }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q545812 Q142
P17
Q15617994
USER
Is Arquettes-en-Val located in France ?
(Q545812,P17,Q142)
action is_in
entity Q142
action find
entity Q545812
relation P17
['Q545812', 'P17', 'Q142']
ASK WHERE { resource:Q545812 property:P17 resource:Q142 }
Arquettes-en-Val France
action is_in
entity France
action find
entity Arquettes-en-Val
relation country
['Arquettes-en-Val', 'country', 'France']
ASK WHERE { resource:Arquettes-en-Val property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q545812,P17,Q142)
action is_in
entity Q142
action find
entity Q545812
relation P17
[ANSWER]
['Q545812', 'P17', 'Q142']
ASK WHERE { resource:Q545812 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Arquettes-en-Val
relation country
['Arquettes-en-Val', 'country', 'France']
ASK WHERE { resource:Arquettes-en-Val property:country resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1083184 Q1434355
P47
Q20667921
USER
Does Laroche-Saint-Cydroine have a shared border with Pradelles-en-Val ?
(Q1083184,P47,Q1434355)
action is_in
entity Q1434355
action find
entity Q1083184
relation P47
['Q1083184', 'P47', 'Q1434355']
ASK WHERE { resource:Q1083184 property:P47 resource:Q1434355 }
Pradelles-en-Val Laroche-Saint-Cydroine
action is_in
entity Laroche-Saint-Cydroine
action find
entity Pradelles-en-Val
relation shares border with
['Pradelles-en-Val', 'shares border with', 'Laroche-Saint-Cydroine']
ASK WHERE { resource:Pradelles-en-Val property:shares_border_with resource:Laroche-Saint-Cydroine }
[]
type of french administrative division
SYSTEM
NO
(Q1083184,P47,Q1434355)
action is_in
entity Q1434355
action find
entity Q1083184
relation P47
[ANSWER]
['Q1083184', 'P47', 'Q1434355']
ASK WHERE { resource:Q1083184 property:P47 resource:Q1434355 }
No
action is_in
entity Laroche-Saint-Cydroine
action find
entity Pradelles-en-Val
relation shares border with
['Pradelles-en-Val', 'shares border with', 'Laroche-Saint-Cydroine']
ASK WHERE { resource:Pradelles-en-Val property:shares_border_with resource:Laroche-Saint-Cydroine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q1011 Q32
P530
Q15617994
USER
Does France have diplomatic relations with Cape Verde and Luxembourg ?
(Q142,P530,Q1011) (Q142,P530,Q32)
action is_in
entity Q142
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q32
relation P530
['Q142', 'P530', 'Q1011'] ['Q142', 'P530', 'Q32']
ASK WHERE { resource:Q142 property:P530 resource:Q32 . resource:Q142 property:P530 resource:Q1011 }
France Cape Verde Luxembourg
action is_in
entity France
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity Luxembourg
relation diplomatic relation
['France', 'diplomatic relation', 'Cape Verde'] ['France', 'diplomatic relation', 'Luxembourg']
ASK WHERE { resource:France property:diplomatic_relation resource:Luxembourg . resource:France property:diplomatic_relation resource:Cape_Verde }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q1011) (Q142,P530,Q32)
action is_in
entity Q142
action intersection
action find_reverse
entity Q1011
relation P530
action find_reverse
entity Q32
relation P530
[ANSWER]
['Q142', 'P530', 'Q1011'] ['Q142', 'P530', 'Q32']
ASK WHERE { resource:Q142 property:P530 resource:Q32 . resource:Q142 property:P530 resource:Q1011 }
Yes
action is_in
entity France
action intersection
action find_reverse
entity Cape Verde
relation diplomatic relation
action find_reverse
entity Luxembourg
relation diplomatic relation
['France', 'diplomatic relation', 'Cape Verde'] ['France', 'diplomatic relation', 'Luxembourg']
ASK WHERE { resource:France property:diplomatic_relation resource:Luxembourg . resource:France property:diplomatic_relation resource:Cape_Verde }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1083184 Q1016626 Q762469
P47
Q20667921
USER
Does Pradelles-en-Val have an adjacent border with Barbaira and Issou ?
(Q1083184,P47,Q1016626) (Q1083184,P47,Q762469)
action is_in
entity Q1083184
action intersection
action find_reverse
entity Q1016626
relation P47
action find_reverse
entity Q762469
relation P47
['Q1083184', 'P47', 'Q1016626'] ['Q1083184', 'P47', 'Q762469']
ASK WHERE { resource:Q1083184 property:P47 resource:Q1016626 . resource:Q1083184 property:P47 resource:Q762469 }
Pradelles-en-Val Barbaira Issou
action is_in
entity Pradelles-en-Val
action intersection
action find_reverse
entity Barbaira
relation shares border with
action find_reverse
entity Issou
relation shares border with
['Pradelles-en-Val', 'shares border with', 'Barbaira'] ['Pradelles-en-Val', 'shares border with', 'Issou']
ASK WHERE { resource:Pradelles-en-Val property:shares_border_with resource:Barbaira . resource:Pradelles-en-Val property:shares_border_with resource:Issou }
[]
type of french administrative division
SYSTEM
YES and NO respectively
(Q1083184,P47,Q1016626) (Q1083184,P47,Q762469)
action is_in
entity Q1083184
action intersection
action find_reverse
entity Q1016626
relation P47
action find_reverse
entity Q762469
relation P47
[ANSWER]
['Q1083184', 'P47', 'Q1016626'] ['Q1083184', 'P47', 'Q762469']
ASK WHERE { resource:Q1083184 property:P47 resource:Q1016626 . resource:Q1083184 property:P47 resource:Q762469 }
YES and NO respectively
action is_in
entity Pradelles-en-Val
action intersection
action find_reverse
entity Barbaira
relation shares border with
action find_reverse
entity Issou
relation shares border with
['Pradelles-en-Val', 'shares border with', 'Barbaira'] ['Pradelles-en-Val', 'shares border with', 'Issou']
ASK WHERE { resource:Pradelles-en-Val property:shares_border_with resource:Barbaira . resource:Pradelles-en-Val property:shares_border_with resource:Issou }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q20667921 Q502895 Q15324
USER
How many french administrative divisions are the origin of exactly 1 people or bodies of water ?
(c(Q502895)|c(Q15324),P138,c(Q20667921))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15324
value 1
[[{'concept': 'Q502895'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?d WHERE { { ?c property:P138 ?d . ?d rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q15324 } UNION { ?c property:P138 ?d . ?d rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type body of water
value 1
[[{'concept': 'common name'}, {'concept': 'body of water'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?d WHERE { { ?c property:named_after ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:body_of_water } UNION { ?c property:named_after ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
[]
type of french administrative division common name body of water
SYSTEM
3
Q840597 Q208793 Q1165029
(c(Q502895)|c(Q15324),P138,c(Q20667921))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q502895
action find_reverse_tuple_counts
relation P138
type Q20667921
type Q15324
value 1
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q15324'}], 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?d WHERE { { ?c property:P138 ?d . ?d rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q15324 } UNION { ?c property:P138 ?d . ?d rdf:type ontology:Q20667921 . ?c rdf:type ontology:Q502895 } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
Le Croisic Saint-Omer Le Pouliguen
3
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type common name
action find_reverse_tuple_counts
relation named after
type type of french administrative division
type body of water
value 1
[[{'concept': 'common name'}, {'concept': 'body of water'}], 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) ?d WHERE { { ?c property:named_after ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:body_of_water } UNION { ?c property:named_after ?d . ?d rdf:type ontology:type_of_french_administrative_division . ?c rdf:type ontology:common_name } } GROUP BY ?d } . FILTER ( ?m = 1 ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3450576
Q20667921
USER
And also tell me about rue de Bercy?
(Q3450576,P138,c(Q20667921))
action filter_type
action find
entity Q3450576
relation P138
type Q20667921
['Q3450576', 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q3450576 property:P138 ?m }
rue de Bercy
action filter_type
action find
entity rue de Bercy
relation named after
type type of french administrative division
['rue de Bercy', 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:rue_de_Bercy property:named_after ?m }
[]
type of french administrative division
Q16532200 Q773318
SYSTEM
Bercy, Bercy
Q16532200 Q773318
(Q3450576,P138,c(Q20667921))
action filter_type
action find
entity Q3450576
relation P138
type Q20667921
[ANSWERS]
['Q3450576', 'P138', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q3450576 property:P138 ?m }
Bercy Bercy
Bercy Bercy
action filter_type
action find
entity rue de Bercy
relation named after
type type of french administrative division
['rue de Bercy', 'named after', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:rue_de_Bercy property:named_after ?m }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3450576
P138
Q34442
USER
Are rue de Bercy the eponym of those french administrative divisions ?
(Q3450576,P138,Q16532200) (Q3450576,P138,Q773318)
action is_in
entity prev_answer
action find
entity Q3450576
relation P138
['Q3450576', 'P138', 'Q16532200'] ['Q3450576', 'P138', 'Q773318']
ASK WHERE { resource:Q3450576 property:P138 ?s . VALUES ( ?s ) { ( resource:Q16532200 ) ( resource:Q773318 ) } }
rue de Bercy
action is_in
entity prev_answer
action find
entity rue de Bercy
relation named after
['rue de Bercy', 'named after', 'Bercy'] ['rue de Bercy', 'named after', 'Bercy']
ASK WHERE { resource:rue_de_Bercy property:named_after ?s . VALUES ( ?s ) { ( resource:Bercy ) ( resource:Bercy ) } }
[]
road
SYSTEM
YES
(Q3450576,P138,Q16532200) (Q3450576,P138,Q773318)
action is_in
entity prev_answer
action find
entity Q3450576
relation P138
[ANSWER]
['Q3450576', 'P138', 'Q16532200'] ['Q3450576', 'P138', 'Q773318']
ASK WHERE { resource:Q3450576 property:P138 ?s . VALUES ( ?s ) { ( resource:Q16532200 ) ( resource:Q773318 ) } }
Yes
action is_in
entity prev_answer
action find
entity rue de Bercy
relation named after
['rue de Bercy', 'named after', 'Bercy'] ['rue de Bercy', 'named after', 'Bercy']
ASK WHERE { resource:rue_de_Bercy property:named_after ?s . VALUES ( ?s ) { ( resource:Bercy ) ( resource:Bercy ) } }
[]