Simple Question (Direct)
Simple Question
Q1011055
P47
Q20667921
USER
Who share the border with Cuguen ?
(Q1011055,P47,c(Q20667921))
action filter_type
action find
entity Q1011055
relation P47
type Q20667921
['Q1011055', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1011055 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Cuguen
action filter_type
action find
entity Cuguen
relation shares border with
type type of french administrative division
['Cuguen', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Cuguen property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q324273 Q210580 Q511947
SYSTEM
Combourg, Bazouges-la-Pérouse, Epiniac
Q640373 Q511947 Q216677 Q210580 Q324273 Q217231 Q640336 Q782675
(Q1011055,P47,c(Q20667921))
action filter_type
action find
entity Q1011055
relation P47
type Q20667921
[ANSWERS] share the border with Cuguen
['Q1011055', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q1011055 property:P47 ?a . ?a rdf:type ontology:Q20667921 }
Saint-Léger-des-Prés Epiniac Trans-la-Forêt Bazouges-la-Pérouse Combourg Broualan Noyal-sous-Bazouges Trémeheuc
Combourg, Bazouges-la-Pérouse and Epiniac share the border with Cuguen
Combourg Bazouges-la-Pérouse Epiniac
action filter_type
action find
entity Cuguen
relation shares border with
type type of french administrative division
['Cuguen', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Cuguen property:shares_border_with ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q324273
P190
Q56061
USER
Which administrative territory is twin town of that french administrative division ?
(c(Q56061),P190,Q324273)
action filter_type
action find
entity Q324273
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q324273']
SELECT DISTINCT ?q WHERE { resource:Q324273 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Combourg
action filter_type
action find
entity Combourg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Combourg']
SELECT DISTINCT ?q WHERE { resource:Combourg property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q511947
SYSTEM
Did you mean Epiniac ?
Q324273 Q210580 Q511947
(c(Q56061),P190,Q324273) (c(Q56061),P190,Q210580) (c(Q56061),P190,Q511947)
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q324273'] [{'concept': 'Q56061'}, 'P190', 'Q210580'] [{'concept': 'Q56061'}, 'P190', 'Q511947']
SELECT DISTINCT ?q WHERE { resource:Q324273 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Combourg Bazouges-la-Pérouse Epiniac
Did you mean Epiniac ?
Epiniac
[{'concept': 'administrative territorial entity'}, 'sister city', 'Combourg'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Bazouges-la-Pérouse'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Epiniac']
SELECT DISTINCT ?q WHERE { resource:Combourg property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Combourg. Could you tell me the answer for that?
(c(Q56061),P190,Q324273)
Q324273
[{'concept': 'Q56061'}, 'P190', 'Q324273']
[{'concept': 'administrative territorial entity'}, 'sister city', 'Combourg']
[]
Q934871
SYSTEM
Lillestrøm
Q934871
(c(Q56061),P190,Q324273)
action filter_type
action find
entity Q324273
relation P190
type Q56061
[ANSWER] is twin town of that french administrative division
[{'concept': 'Q56061'}, 'P190', 'Q324273']
SELECT DISTINCT ?q WHERE { resource:Q324273 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Lillestrøm
Lillestrøm is twin town of that french administrative division
Lillestrøm
action filter_type
action find
entity Combourg
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Combourg']
SELECT DISTINCT ?q WHERE { resource:Combourg property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people have birthplace at that administrative territory ?
(c(Q502895),P19,Q934871)
action count
action filter_type
action find_reverse
entity Q934871
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q934871']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P19 resource:Q934871 . ?p rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Lillestrøm
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Lillestrøm']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:place_of_birth resource:Lillestrøm . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q2457379 Q2456233 Q23682735 Q3926116 Q15733604 Q119833 Q508061 Q641035 Q19958102 Q1109531 Q19374167 Q14915995 Q3942726
(c(Q502895),P19,Q934871)
action count
action filter_type
action find_reverse
entity Q934871
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q934871']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:P19 resource:Q934871 . ?p rdf:type ontology:Q502895 }
Alf Martinsen Tom Lund Kjell Sørensen Pål Steffen Andresen Peder Borgen Pål Thowsen Erik Solér Arild Andersen Chris Holsten Geir Karlstad Henry Johnsrud Edris Hijrat Rune Richardsen
13
action count
action filter_type
action find_reverse
entity Lillestrøm
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Lillestrøm']
SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { ?p property:place_of_birth resource:Lillestrøm . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q934871
P190
Q20667921
USER
Which french administrative division is partner town of Lillestrøm ?
(c(Q20667921),P190,Q934871)
action filter_type
action find
entity Q934871
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q934871']
SELECT DISTINCT ?r WHERE { resource:Q934871 property:P190 ?r . ?r rdf:type ontology:Q20667921 }
Lillestrøm
action filter_type
action find
entity Lillestrøm
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Lillestrøm']
SELECT DISTINCT ?r WHERE { resource:Lillestrøm property:sister_city ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q324273
SYSTEM
Combourg
Q324273
(c(Q20667921),P190,Q934871)
action filter_type
action find
entity Q934871
relation P190
type Q20667921
[ANSWER] is partner town of Lillestrøm
[{'concept': 'Q20667921'}, 'P190', 'Q934871']
SELECT DISTINCT ?r WHERE { resource:Q934871 property:P190 ?r . ?r rdf:type ontology:Q20667921 }
Combourg
Combourg is partner town of Lillestrøm
Combourg
action filter_type
action find
entity Lillestrøm
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Lillestrøm']
SELECT DISTINCT ?r WHERE { resource:Lillestrøm property:sister_city ?r . ?r rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q324273
P17
Q15617994
USER
Which administrative territory is that french administrative division present in ?
(Q324273,P17,c(Q15617994))
action filter_type
action find
entity Q324273
relation P17
type Q15617994
['Q324273', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q324273 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Combourg
action filter_type
action find
entity Combourg
relation country
type designation for an administrative territorial entity
['Combourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Combourg property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q324273,P17,c(Q15617994))
action filter_type
action find
entity Q324273
relation P17
type Q15617994
That french administrative division is in [ANSWER]
['Q324273', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q324273 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
That french administrative division is in France
France
action filter_type
action find
entity Combourg
relation country
type designation for an administrative territorial entity
['Combourg', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Combourg property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q324273
P36
Q20667921
USER
Which french administrative division is that one the capital of ?
(c(Q20667921),P36,Q142)
action filter_type
action find_reverse
entity Q324273
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q142']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . ?i property:P36 resource:Q324273 }
Combourg
action filter_type
action find_reverse
entity Combourg
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'France']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . ?i property:capital resource:Combourg }
[]
type of french administrative division
Q1551107
SYSTEM
canton of Combourg
Q1551107
(c(Q20667921),P36,Q142)
action filter_type
action find_reverse
entity Q324273
relation P36
type Q20667921
The [ANSWER] is that one the capital of
[{'concept': 'Q20667921'}, 'P36', 'Q142']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q20667921 . ?i property:P36 resource:Q324273 }
canton of Combourg
The canton of Combourg is that one the capital of
canton of Combourg
action filter_type
action find_reverse
entity Combourg
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'France']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_french_administrative_division . ?i property:capital resource:Combourg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1551107
P1376
Q20667921
USER
Which french administrative division is center of administration for that one ?
(c(Q20667921),P1376,Q1551107)
action filter_type
action find_reverse
entity Q1551107
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q1551107']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?d property:P1376 resource:Q1551107 }
canton of Combourg
action filter_type
action find_reverse
entity canton of Combourg
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Combourg']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?d property:capital_of resource:canton_of_Combourg }
[]
type of french administrative division
Q324273
SYSTEM
Combourg
Q324273
(c(Q20667921),P1376,Q1551107)
action filter_type
action find_reverse
entity Q1551107
relation P1376
type Q20667921
[ANSWER] is center of administration for that one
[{'concept': 'Q20667921'}, 'P1376', 'Q1551107']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . ?d property:P1376 resource:Q1551107 }
Combourg
Combourg is center of administration for that one
Combourg
action filter_type
action find_reverse
entity canton of Combourg
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Combourg']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . ?d property:capital_of resource:canton_of_Combourg }
[]