Simple Question (Direct)
Simple Question
Q967896
P19
Q20667921
USER
Which french administrative division was Ignace Heinrich born in ?
(Q967896,P19,c(Q20667921))
action filter_type
action find
entity Q967896
relation P19
type Q20667921
['Q967896', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q967896 property:P19 ?r }
Ignace Heinrich
action filter_type
action find
entity Ignace Heinrich
relation place of birth
type type of french administrative division
['Ignace Heinrich', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Ignace_Heinrich property:place_of_birth ?r }
[]
type of french administrative division
Q22483
SYSTEM
Ebersheim
Q22483
(Q967896,P19,c(Q20667921))
action filter_type
action find
entity Q967896
relation P19
type Q20667921
Ignace Heinrich was born in [ANSWER]
['Q967896', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q20667921 . resource:Q967896 property:P19 ?r }
Ebersheim
Ignace Heinrich was born in Ebersheim
Ebersheim
action filter_type
action find
entity Ignace Heinrich
relation place of birth
type type of french administrative division
['Ignace Heinrich', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:type_of_french_administrative_division . resource:Ignace_Heinrich property:place_of_birth ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22483
P17
Q15617994
USER
Which administrative territory is that french administrative division a part of ?
(Q22483,P17,c(Q15617994))
action filter_type
action find
entity Q22483
relation P17
type Q15617994
['Q22483', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q22483 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Ebersheim
action filter_type
action find
entity Ebersheim
relation country
type designation for an administrative territorial entity
['Ebersheim', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ebersheim property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q22483,P17,c(Q15617994))
action filter_type
action find
entity Q22483
relation P17
type Q15617994
[ANSWER] is that french administrative division a part of
['Q22483', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q22483 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
France is that french administrative division a part of
France
action filter_type
action find
entity Ebersheim
relation country
type designation for an administrative territorial entity
['Ebersheim', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ebersheim property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19117288
Q15617994
USER
And what about Emerstraat?
(Q19117288,P17,c(Q15617994))
action filter_type
action find
entity Q19117288
relation P17
type Q15617994
['Q19117288', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q19117288 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Emerstraat
action filter_type
action find
entity Emerstraat
relation country
type designation for an administrative territorial entity
['Emerstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Emerstraat property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19117288,P17,c(Q15617994))
action filter_type
action find
entity Q19117288
relation P17
type Q15617994
[ANSWER]
['Q19117288', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q19117288 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Emerstraat
relation country
type designation for an administrative territorial entity
['Emerstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Emerstraat property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19117288
P276
Q56061
USER
Where is that road located ?
(Q55,P276,c(Q56061))
action filter_type
action find
entity Q19117288
relation P276
type Q56061
['Q55', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q19117288 property:P276 ?y . ?y rdf:type ontology:Q56061 }
Emerstraat
action filter_type
action find
entity Emerstraat
relation location
type administrative territorial entity
['Netherlands', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Emerstraat property:location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34370
SYSTEM
Rotterdam
Q34370
(Q55,P276,c(Q56061))
action filter_type
action find
entity Q19117288
relation P276
type Q56061
That road is located in [ANSWER]
['Q55', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q19117288 property:P276 ?y . ?y rdf:type ontology:Q56061 }
Rotterdam
That road is located in Rotterdam
Rotterdam
action filter_type
action find
entity Emerstraat
relation location
type administrative territorial entity
['Netherlands', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Emerstraat property:location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34370
P609
Q83620
USER
Which thoroughfares have that administrative territory as their terminus location ?
(c(Q83620),P609,Q34370)
action filter_type
action find_reverse
entity Q34370
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q34370']
SELECT DISTINCT ?o WHERE { ?o property:P609 resource:Q34370 . ?o rdf:type ontology:Q83620 }
Rotterdam
action filter_type
action find_reverse
entity Rotterdam
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rotterdam']
SELECT DISTINCT ?o WHERE { ?o property:terminus_location resource:Rotterdam . ?o rdf:type ontology:thoroughfare }
[]
thoroughfare
Q699601 Q2546319
SYSTEM
European route E31, Groene Kruisweg
Q699601 Q2546319
(c(Q83620),P609,Q34370)
action filter_type
action find_reverse
entity Q34370
relation P609
type Q83620
[ANSWERS] have that administrative territory as their terminus location
[{'concept': 'Q83620'}, 'P609', 'Q34370']
SELECT DISTINCT ?o WHERE { ?o property:P609 resource:Q34370 . ?o rdf:type ontology:Q83620 }
European route E31 Groene Kruisweg
European route E31 and Groene Kruisweg have that administrative territory as their terminus location
European route E31 Groene Kruisweg
action filter_type
action find_reverse
entity Rotterdam
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rotterdam']
SELECT DISTINCT ?o WHERE { ?o property:terminus_location resource:Rotterdam . ?o rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34370
P1427
Q18608583
USER
Which recurring sporting events have their origin at Rotterdam ?
(c(Q18608583),P1427,Q34370)
action filter_type
action find_reverse
entity Q34370
relation P1427
type Q18608583
[{'concept': 'Q18608583'}, 'P1427', 'Q34370']
SELECT DISTINCT ?f WHERE { ?f property:P1427 resource:Q34370 . ?f rdf:type ontology:Q18608583 }
Rotterdam
action filter_type
action find_reverse
entity Rotterdam
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Rotterdam']
SELECT DISTINCT ?f WHERE { ?f property:start_point resource:Rotterdam . ?f rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q217287 Q19947163
SYSTEM
2010 Tour de France, 2015 World Ports Classic
Q217287 Q19947163
(c(Q18608583),P1427,Q34370)
action filter_type
action find_reverse
entity Q34370
relation P1427
type Q18608583
[ANSWERS] have their origin at Rotterdam
[{'concept': 'Q18608583'}, 'P1427', 'Q34370']
SELECT DISTINCT ?f WHERE { ?f property:P1427 resource:Q34370 . ?f rdf:type ontology:Q18608583 }
2010 Tour de France 2015 World Ports Classic
2010 Tour de France and 2015 World Ports Classic have their origin at Rotterdam
2010 Tour de France 2015 World Ports Classic
action filter_type
action find_reverse
entity Rotterdam
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Rotterdam']
SELECT DISTINCT ?f WHERE { ?f property:start_point resource:Rotterdam . ?f rdf:type ontology:recurring_sporting_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19947163
P1444
Q56061
USER
Which administrative territory does that recurring sporting event finally stop at ?
(Q19947163,P1444,c(Q56061))
action filter_type
action find
entity Q19947163
relation P1444
type Q56061
['Q19947163', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q19947163 property:P1444 ?v . ?v rdf:type ontology:Q56061 }
2015 World Ports Classic
action filter_type
action find
entity 2015 World Ports Classic
relation destination point
type administrative territorial entity
['2015 World Ports Classic', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:2015_World_Ports_Classic property:destination_point ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q217287
SYSTEM
Did you mean 2010 Tour de France ?
Q217287 Q19947163
(Q217287,P1444,c(Q56061)) (Q19947163,P1444,c(Q56061))
[ANSWER]
['Q217287', 'P1444', {'concept': 'Q56061'}] ['Q19947163', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q19947163 property:P1444 ?v . ?v rdf:type ontology:Q56061 }
2010 Tour de France 2015 World Ports Classic
Did you mean 2010 Tour de France ?
2010 Tour de France
['2010 Tour de France', 'destination point', {'concept': 'administrative territorial entity'}] ['2015 World Ports Classic', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:2015_World_Ports_Classic property:destination_point ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant 2015 World Ports Classic. Could you tell me the answer for that?
(Q19947163,P1444,c(Q56061))
Q19947163
['Q19947163', 'P1444', {'concept': 'Q56061'}]
['2015 World Ports Classic', 'destination point', {'concept': 'administrative territorial entity'}]
[]
Q34370
SYSTEM
Rotterdam
Q34370
(Q19947163,P1444,c(Q56061))
action filter_type
action find
entity Q19947163
relation P1444
type Q56061
Finally that recurring sporting event stops in [ANSWER]
['Q19947163', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q19947163 property:P1444 ?v . ?v rdf:type ontology:Q56061 }
Rotterdam
Finally that recurring sporting event stops in Rotterdam
Rotterdam
action filter_type
action find
entity 2015 World Ports Classic
relation destination point
type administrative territorial entity
['2015 World Ports Classic', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:2015_World_Ports_Classic property:destination_point ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q142 Q22483
P47 P17
Q20667921
USER
Which french administrative divisions share border with Ebersheim and are located in France ?
AND((c(Q20667921),P47,Q22483), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q22483
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q22483'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20667921 . ?n property:P47 resource:Q22483 . ?n property:P17 resource:Q142 }
France Ebersheim
action filter_type
action intersection
action find_reverse
entity Ebersheim
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Ebersheim'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_french_administrative_division . ?n property:shares_border_with resource:Ebersheim . ?n property:country resource:France }
[]
type of french administrative division
Q21320 Q21545 Q22737 Q21434 Q317287 Q22486
SYSTEM
Epfig, Kogenheim, Sélestat, Scherwiller, Dambach-la-Ville, Ebersmunster
Q21320 Q21545 Q22737 Q21434 Q317287 Q22486
AND((c(Q20667921),P47,Q22483), (c(Q20667921),P17,Q142))
action filter_type
action intersection
action find_reverse
entity Q22483
relation P47
action find_reverse
entity Q142
relation P17
type Q20667921
[ANSWERS] share border with Ebersheim and are located in France
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q22483'], [{'concept': 'Q20667921'}, 'P17', 'Q142']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q20667921 . ?n property:P47 resource:Q22483 . ?n property:P17 resource:Q142 }
Epfig Kogenheim Sélestat Scherwiller Dambach-la-Ville Ebersmunster
Epfig, Kogenheim, Sélestat, Scherwiller, Dambach-la-Ville and Ebersmunster share border with Ebersheim and are located in France
Epfig Kogenheim Sélestat Scherwiller Dambach-la-Ville Ebersmunster
action filter_type
action intersection
action find_reverse
entity Ebersheim
relation shares border with
action find_reverse
entity France
relation country
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Ebersheim'], [{'concept': 'type of french administrative division'}, 'country', 'France']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:type_of_french_administrative_division . ?n property:shares_border_with resource:Ebersheim . ?n property:country resource:France }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21320 Q21545 Q22737 Q21434 Q317287 Q22486
P17
Q15617994
USER
Which administrative territories do Epfig, Kogenheim, Sélestat, Scherwiller, Dambach-la-Ville and Ebersmunster belong to ?
(Q21320,P17,c(Q15617994)) (Q21545,P17,c(Q15617994)) (Q22737,P17,c(Q15617994)) (Q21434,P17,c(Q15617994)) (Q317287,P17,c(Q15617994)) (Q22486,P17,c(Q15617994))
action union
action filter_type
action find
entity Q21320
relation P17
type Q15617994
action filter_type
action find
entity Q21545
relation P17
type Q15617994
action filter_type
action find
entity Q22737
relation P17
type Q15617994
action filter_type
action find
entity Q21434
relation P17
type Q15617994
action filter_type
action find
entity Q317287
relation P17
type Q15617994
action filter_type
action find
entity Q22486
relation P17
type Q15617994
['Q21320', 'P17', {'concept': 'Q15617994'}] ['Q21545', 'P17', {'concept': 'Q15617994'}] ['Q22737', 'P17', {'concept': 'Q15617994'}] ['Q21434', 'P17', {'concept': 'Q15617994'}] ['Q317287', 'P17', {'concept': 'Q15617994'}] ['Q22486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?w property:P17 ?r . VALUES ( ?w ) { ( resource:Q21545 ) ( resource:Q21320 ) } }
Epfig Kogenheim Sélestat Scherwiller Dambach-la-Ville Ebersmunster
action union
action filter_type
action find
entity Epfig
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kogenheim
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sélestat
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Scherwiller
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Dambach-la-Ville
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ebersmunster
relation country
type designation for an administrative territorial entity
['Epfig', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kogenheim', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sélestat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Scherwiller', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dambach-la-Ville', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ebersmunster', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?w property:country ?r . VALUES ( ?w ) { ( resource:Kogenheim ) ( resource:Epfig ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142 Q142 Q142 Q142
(Q21320,P17,c(Q15617994)) (Q21545,P17,c(Q15617994)) (Q22737,P17,c(Q15617994)) (Q21434,P17,c(Q15617994)) (Q317287,P17,c(Q15617994)) (Q22486,P17,c(Q15617994))
action union
action filter_type
action find
entity Q21320
relation P17
type Q15617994
action filter_type
action find
entity Q21545
relation P17
type Q15617994
action filter_type
action find
entity Q22737
relation P17
type Q15617994
action filter_type
action find
entity Q21434
relation P17
type Q15617994
action filter_type
action find
entity Q317287
relation P17
type Q15617994
action filter_type
action find
entity Q22486
relation P17
type Q15617994
[ANSWER] [ANSWER], [ANSWER] and [ANSWER] Epfig, Kogenheim, Sélestat, Scherwiller, Dambach-la-Ville and Ebersmunster belong to
['Q21320', 'P17', {'concept': 'Q15617994'}] ['Q21545', 'P17', {'concept': 'Q15617994'}] ['Q22737', 'P17', {'concept': 'Q15617994'}] ['Q21434', 'P17', {'concept': 'Q15617994'}] ['Q317287', 'P17', {'concept': 'Q15617994'}] ['Q22486', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?w property:P17 ?r . VALUES ( ?w ) { ( resource:Q21545 ) ( resource:Q21320 ) } }
France France France France France France
France France, France and France Epfig, Kogenheim, Sélestat, Scherwiller, Dambach-la-Ville and Ebersmunster belong to
France France France
action union
action filter_type
action find
entity Epfig
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kogenheim
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sélestat
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Scherwiller
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Dambach-la-Ville
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Ebersmunster
relation country
type designation for an administrative territorial entity
['Epfig', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kogenheim', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sélestat', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Scherwiller', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dambach-la-Ville', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Ebersmunster', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?w property:country ?r . VALUES ( ?w ) { ( resource:Kogenheim ) ( resource:Epfig ) } }
[]