Simple Question (Direct)
Simple Question
Q593153
P47
Q20667921
USER
Which french administrative divisions are adjacent to Hennezel ?
(Q593153,P47,c(Q20667921))
action filter_type
action find
entity Q593153
relation P47
type Q20667921
['Q593153', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q593153 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Hennezel
action filter_type
action find
entity Hennezel
relation shares border with
type type of french administrative division
['Hennezel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Hennezel property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1157951 Q923470 Q816498
SYSTEM
Belrupt, Passavant-la-Rochère, Darney
Q189093 Q1157951 Q666639 Q609060 Q824678 Q457690 Q624458 Q923470 Q732810 Q816498
(Q593153,P47,c(Q20667921))
action filter_type
action find
entity Q593153
relation P47
type Q20667921
[ANSWERS] are adjacent to Hennezel
['Q593153', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q593153 property:P47 ?f . ?f rdf:type ontology:Q20667921 }
Claudon Belrupt Gruey-lès-Surance Attigny Vioménil Ambiévillers La Haye Passavant-la-Rochère Grandrupt-de-Bains Darney
Belrupt, Passavant-la-Rochère and Darney are adjacent to Hennezel
Belrupt Passavant-la-Rochère Darney
action filter_type
action find
entity Hennezel
relation shares border with
type type of french administrative division
['Hennezel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Hennezel property:shares_border_with ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q816498
P17
Q15617994
USER
Which administrative territory is Darney situated in ?
(Q816498,P17,c(Q15617994))
action filter_type
action find
entity Q816498
relation P17
type Q15617994
['Q816498', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q816498 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Darney
action filter_type
action find
entity Darney
relation country
type designation for an administrative territorial entity
['Darney', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Darney property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q816498,P17,c(Q15617994))
action filter_type
action find
entity Q816498
relation P17
type Q15617994
Darney is situated en [ANSWER]
['Q816498', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q816498 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
France
Darney is situated en France
France
action filter_type
action find
entity Darney
relation country
type designation for an administrative territorial entity
['Darney', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Darney property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7927699
Q15617994
USER
And what about Vidanearachchigoda?
(Q7927699,P17,c(Q15617994))
action filter_type
action find
entity Q7927699
relation P17
type Q15617994
['Q7927699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q7927699 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Vidanearachchigoda
action filter_type
action find
entity Vidanearachchigoda
relation country
type designation for an administrative territorial entity
['Vidanearachchigoda', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vidanearachchigoda property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q854
SYSTEM
Sri Lanka
Q854
(Q7927699,P17,c(Q15617994))
action filter_type
action find
entity Q7927699
relation P17
type Q15617994
[ANSWER]
['Q7927699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q7927699 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Sri Lanka
Sri Lanka
action filter_type
action find
entity Vidanearachchigoda
relation country
type designation for an administrative territorial entity
['Vidanearachchigoda', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Vidanearachchigoda property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q816498
P1376
Q20667921
USER
Which french administrative division has Darney as its county seat ?
(Q816498,P1376,c(Q20667921))
action filter_type
action find
entity Q816498
relation P1376
type Q20667921
['Q816498', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q816498 property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
Darney
action filter_type
action find
entity Darney
relation capital of
type type of french administrative division
['Darney', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Darney property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q125252
SYSTEM
canton of Darney
Q125252
(Q816498,P1376,c(Q20667921))
action filter_type
action find
entity Q816498
relation P1376
type Q20667921
[ANSWER] has Darney as its county seat
['Q816498', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?h WHERE { resource:Q816498 property:P1376 ?h . ?h rdf:type ontology:Q20667921 }
canton of Darney
Canton of Darney has Darney as its county seat
canton of Darney
action filter_type
action find
entity Darney
relation capital of
type type of french administrative division
['Darney', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?h WHERE { resource:Darney property:capital_of ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q125252 Q142
P17
Q15617994
USER
Does that french administrative division belong to France ?
(Q125252,P17,Q142)
action is_in
entity Q142
action find
entity Q125252
relation P17
['Q125252', 'P17', 'Q142']
ASK WHERE { resource:Q125252 property:P17 resource:Q142 }
canton of Darney France
action is_in
entity France
action find
entity canton of Darney
relation country
['canton of Darney', 'country', 'France']
ASK WHERE { resource:canton_of_Darney property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q125252,P17,Q142)
action is_in
entity Q142
action find
entity Q125252
relation P17
[ANSWER]
['Q125252', 'P17', 'Q142']
ASK WHERE { resource:Q125252 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity canton of Darney
relation country
['canton of Darney', 'country', 'France']
ASK WHERE { resource:canton_of_Darney property:country resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q854 Q57338 Q6737124
P35
Q502895
USER
Does Sri Lanka have Mahinda Rajapaksa and Maithripala Sirisena as its head of state ?
(Q854,P35,Q57338) (Q854,P35,Q6737124)
action is_in
entity Q854
action intersection
action find_reverse
entity Q57338
relation P35
action find_reverse
entity Q6737124
relation P35
['Q854', 'P35', 'Q57338'] ['Q854', 'P35', 'Q6737124']
ASK WHERE { resource:Q854 property:P35 resource:Q57338 . resource:Q854 property:P35 resource:Q6737124 }
Sri Lanka Mahinda Rajapaksa Maithripala Sirisena
action is_in
entity Sri Lanka
action intersection
action find_reverse
entity Mahinda Rajapaksa
relation head of state
action find_reverse
entity Maithripala Sirisena
relation head of state
['Sri Lanka', 'head of state', 'Mahinda Rajapaksa'] ['Sri Lanka', 'head of state', 'Maithripala Sirisena']
ASK WHERE { resource:Sri_Lanka property:head_of_state resource:Mahinda_Rajapaksa . resource:Sri_Lanka property:head_of_state resource:Maithripala_Sirisena }
[]
common name
SYSTEM
YES
(Q854,P35,Q57338) (Q854,P35,Q6737124)
action is_in
entity Q854
action intersection
action find_reverse
entity Q57338
relation P35
action find_reverse
entity Q6737124
relation P35
[ANSWER]
['Q854', 'P35', 'Q57338'] ['Q854', 'P35', 'Q6737124']
ASK WHERE { resource:Q854 property:P35 resource:Q57338 . resource:Q854 property:P35 resource:Q6737124 }
Yes
action is_in
entity Sri Lanka
action intersection
action find_reverse
entity Mahinda Rajapaksa
relation head of state
action find_reverse
entity Maithripala Sirisena
relation head of state
['Sri Lanka', 'head of state', 'Mahinda Rajapaksa'] ['Sri Lanka', 'head of state', 'Maithripala Sirisena']
ASK WHERE { resource:Sri_Lanka property:head_of_state resource:Mahinda_Rajapaksa . resource:Sri_Lanka property:head_of_state resource:Maithripala_Sirisena }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q515
USER
How many cities are center of administration for around 11 french administrative divisions ?
(c(Q515),P1376,c(Q20667921))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 11
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?t ) WHERE { ?y property:P1376 ?h . ?y rdf:type ontology:Q515 . ?h rdf:type ontology:Q20667921 } GROUP BY ?y } . FILTER ( ?t = 11 ) }
action count
action approx
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 11
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?t ) WHERE { ?y property:capital_of ?h . ?y rdf:type ontology:city . ?h rdf:type ontology:type_of_french_administrative_division } GROUP BY ?y } . FILTER ( ?t = 11 ) }
[]
type of french administrative division city
SYSTEM
1
Q6602
(c(Q515),P1376,c(Q20667921))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 11
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?t ) WHERE { ?y property:P1376 ?h . ?y rdf:type ontology:Q515 . ?h rdf:type ontology:Q20667921 } GROUP BY ?y } . FILTER ( ?t = 11 ) }
Strasbourg
1
action count
action approx
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 11
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?t ) WHERE { ?y property:capital_of ?h . ?y rdf:type ontology:city . ?h rdf:type ontology:type_of_french_administrative_division } GROUP BY ?y } . FILTER ( ?t = 11 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q125252
P36
Q20667921
USER
Which french administrative division is associated to canton of Darney as the capital ?
(Q125252,P36,c(Q20667921))
action filter_type
action find
entity Q125252
relation P36
type Q20667921
['Q125252', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q125252 property:P36 ?w . ?w rdf:type ontology:Q20667921 }
canton of Darney
action filter_type
action find
entity canton of Darney
relation capital
type type of french administrative division
['canton of Darney', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:canton_of_Darney property:capital ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q816498
SYSTEM
Darney
Q816498
(Q125252,P36,c(Q20667921))
action filter_type
action find
entity Q125252
relation P36
type Q20667921
[ANSWER] is associated to canton of [ANSWER] as the capital
['Q125252', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { resource:Q125252 property:P36 ?w . ?w rdf:type ontology:Q20667921 }
Darney
Darney is associated to canton of Darney as the capital
Darney
action filter_type
action find
entity canton of Darney
relation capital
type type of french administrative division
['canton of Darney', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { resource:canton_of_Darney property:capital ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q816498
P190
Q515
USER
Which city is twin town of that french administrative division ?
(c(Q515),P190,Q816498)
action filter_type
action find
entity Q816498
relation P190
type Q515
[{'concept': 'Q515'}, 'P190', 'Q816498']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q515 . resource:Q816498 property:P190 ?v }
Darney
action filter_type
action find
entity Darney
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Darney']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:city . resource:Darney property:sister_city ?v }
[]
city
Q193724
SYSTEM
Slavkov u Brna
Q193724
(c(Q515),P190,Q816498)
action filter_type
action find
entity Q816498
relation P190
type Q515
[ANSWER] is twin town of that french administrative division
[{'concept': 'Q515'}, 'P190', 'Q816498']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q515 . resource:Q816498 property:P190 ?v }
Slavkov u Brna
Slavkov u Brna is twin town of that french administrative division
Slavkov u Brna
action filter_type
action find
entity Darney
relation sister city
type city
[{'concept': 'city'}, 'sister city', 'Darney']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:city . resource:Darney property:sister_city ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q816498
P19
Q502895
USER
Who have location of birth at that french administrative division ?
(c(Q502895),P19,Q193724)
action filter_type
action find_reverse
entity Q816498
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q193724']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q816498 . ?l rdf:type ontology:Q502895 }
Darney
action filter_type
action find_reverse
entity Darney
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Slavkov u Brna']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Darney . ?l rdf:type ontology:common_name }
[]
common name
Q2847198 Q15968887 Q3163791
SYSTEM
André Barbier, Hector Bresson, Jean-Baptiste-Marie-François Bresson
Q15968887 Q2847198 Q18413945 Q3163791 Q585607 Q15973946 Q977519 Q427080 Q19858638
(c(Q502895),P19,Q193724)
action filter_type
action find_reverse
entity Q816498
relation P19
type Q502895
[ANSWERS] have location of birth at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q193724']
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q816498 . ?l rdf:type ontology:Q502895 }
Hector Bresson André Barbier Charles Thomas Joseph Gabriel Lepaige Jean-Baptiste-Marie-François Bresson Antoine Argoud Édouard Bresson Nicolas-Sylvestre Bergier Xavier Breton Nicolas Basile Bailly
André Barbier, Hector Bresson and Jean-Baptiste-Marie-François Bresson have location of birth at that french administrative division
André Barbier Hector Bresson Jean-Baptiste-Marie-François Bresson
action filter_type
action find_reverse
entity Darney
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Slavkov u Brna']
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Darney . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 1655 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1655
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 ?g . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?h >= 1655 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1655
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument ?g . ?l rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?h >= 1655 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1655
[ANSWERS] can atleast 1655 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P1303 ?g . ?l rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?h >= 1655 ) }
piano violin organ drum kit
Piano, violin and organ can atleast 1655 people perform with
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1655
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:instrument ?g . ?l rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?h >= 1655 ) }
[]