Simple Question (Direct)
Simple Question
Q1385124
P937
Q56061
USER
What is the work location of Jean Baptiste Soehnlin ?
(Q1385124,P937,c(Q56061))
action filter_type
action find
entity Q1385124
relation P937
type Q56061
['Q1385124', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1385124 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Jean Baptiste Soehnlin
action filter_type
action find
entity Jean Baptiste Soehnlin
relation work location
type administrative territorial entity
['Jean Baptiste Soehnlin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jean_Baptiste_Soehnlin property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1385124,P937,c(Q56061))
action filter_type
action find
entity Q1385124
relation P937
type Q56061
The work location of Jean Baptiste Soehnlin is in [ANSWER]
['Q1385124', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1385124 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Berlin
The work location of Jean Baptiste Soehnlin is in Berlin
Berlin
action filter_type
action find
entity Jean Baptiste Soehnlin
relation work location
type administrative territorial entity
['Jean Baptiste Soehnlin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jean_Baptiste_Soehnlin property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1385124
P19
Q20667921
USER
Which french administrative division was that person born at ?
(Q64,P19,c(Q20667921))
action filter_type
action find
entity Q1385124
relation P19
type Q20667921
['Q64', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { resource:Q1385124 property:P19 ?u . ?u rdf:type ontology:Q20667921 }
Jean Baptiste Soehnlin
action filter_type
action find
entity Jean Baptiste Soehnlin
relation place of birth
type type of french administrative division
['Berlin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { resource:Jean_Baptiste_Soehnlin property:place_of_birth ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q332078
SYSTEM
Hartmannswiller
Q332078
(Q64,P19,c(Q20667921))
action filter_type
action find
entity Q1385124
relation P19
type Q20667921
That person was born in [ANSWER]
['Q64', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { resource:Q1385124 property:P19 ?u . ?u rdf:type ontology:Q20667921 }
Hartmannswiller
That person was born in Hartmannswiller
Hartmannswiller
action filter_type
action find
entity Jean Baptiste Soehnlin
relation place of birth
type type of french administrative division
['Berlin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { resource:Jean_Baptiste_Soehnlin property:place_of_birth ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332078
P47
Q20667921
USER
Which french administrative divisions are bordered by that one ?
(Q332078,P47,c(Q20667921))
action filter_type
action find
entity Q332078
relation P47
type Q20667921
['Q332078', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q20667921 . resource:Q332078 property:P47 ?z }
Hartmannswiller
action filter_type
action find
entity Hartmannswiller
relation shares border with
type type of french administrative division
['Hartmannswiller', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_french_administrative_division . resource:Hartmannswiller property:shares_border_with ?z }
[]
type of french administrative division
Q501798 Q83240 Q545447
SYSTEM
Soultz-Haut-Rhin, Jungholtz, Wattwiller
Q332598 Q326352 Q501798 Q578986 Q83240 Q545447
(Q332078,P47,c(Q20667921))
action filter_type
action find
entity Q332078
relation P47
type Q20667921
[ANSWERS] are bordered by that one
['Q332078', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q20667921 . resource:Q332078 property:P47 ?z }
Berrwiller Bollwiller Soultz-Haut-Rhin Wuenheim Jungholtz Wattwiller
Soultz-Haut-Rhin, Jungholtz and Wattwiller are bordered by that one
Soultz-Haut-Rhin Jungholtz Wattwiller
action filter_type
action find
entity Hartmannswiller
relation shares border with
type type of french administrative division
['Hartmannswiller', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_french_administrative_division . resource:Hartmannswiller property:shares_border_with ?z }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q501798 Q83240 Q545447
P47
Q20667921
USER
Which french administrative divisions do Soultz-Haut-Rhin, Jungholtz and Wattwiller share a border with ?
(c(Q20667921),P47,Q501798) (c(Q20667921),P47,Q83240) (c(Q20667921),P47,Q545447)
action union
action filter_type
action find
entity Q501798
relation P47
type Q20667921
action filter_type
action find
entity Q83240
relation P47
type Q20667921
action filter_type
action find
entity Q545447
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q501798'] [{'concept': 'Q20667921'}, 'P47', 'Q83240'] [{'concept': 'Q20667921'}, 'P47', 'Q545447']
SELECT DISTINCT ?v WHERE { { resource:Q501798 property:P47 ?v . ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q20667921 . resource:Q83240 property:P47 ?v } }
Soultz-Haut-Rhin Jungholtz Wattwiller
action union
action filter_type
action find
entity Soultz-Haut-Rhin
relation shares border with
type type of french administrative division
action filter_type
action find
entity Jungholtz
relation shares border with
type type of french administrative division
action filter_type
action find
entity Wattwiller
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Soultz-Haut-Rhin'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Jungholtz'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Wattwiller']
SELECT DISTINCT ?v WHERE { { resource:Soultz-Haut-Rhin property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:type_of_french_administrative_division . resource:Jungholtz property:shares_border_with ?v } }
[]
type of french administrative division
Q501798 Q501798 Q209814
SYSTEM
Guebwiller for 3rd, Soultz-Haut-Rhin for 1st, 2nd
Q326352 Q578986 Q124133 Q332598 Q148035 Q332078 Q384396 Q209814 Q317185 Q392011 Q148801 Q148811 Q148815 Q83240 Q83251 Q545447 Q578986 Q332078 Q501798 Q209814 Q148801 Q148811 Q545447 Q578986 Q429411 Q332598 Q332078 Q501798 Q384396 Q83240
(c(Q20667921),P47,Q501798) (c(Q20667921),P47,Q83240) (c(Q20667921),P47,Q545447)
action union
action filter_type
action find
entity Q501798
relation P47
type Q20667921
action filter_type
action find
entity Q83240
relation P47
type Q20667921
action filter_type
action find
entity Q545447
relation P47
type Q20667921
[ANSWERS]
[{'concept': 'Q20667921'}, 'P47', 'Q501798'] [{'concept': 'Q20667921'}, 'P47', 'Q83240'] [{'concept': 'Q20667921'}, 'P47', 'Q545447']
SELECT DISTINCT ?v WHERE { { resource:Q501798 property:P47 ?v . ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q20667921 . resource:Q83240 property:P47 ?v } }
Bollwiller Wuenheim Lautenbachzell Berrwiller Raedersheim Hartmannswiller Willer-sur-Thur Guebwiller Goldbach-Altenbach Geishouse Rimbachzell Rimbach-près-Guebwiller Murbach Jungholtz Issenheim Wattwiller Wuenheim Hartmannswiller Soultz-Haut-Rhin Guebwiller Rimbachzell Rimbach-près-Guebwiller Wattwiller Wuenheim Uffholtz Berrwiller Hartmannswiller Soultz-Haut-Rhin Willer-sur-Thur Jungholtz
Soultz-Haut-Rhin, Soultz-Haut-Rhin and Guebwiller Soultz-Haut-Rhin, Jungholtz and Wattwiller share a border with
Soultz-Haut-Rhin Soultz-Haut-Rhin Guebwiller
action union
action filter_type
action find
entity Soultz-Haut-Rhin
relation shares border with
type type of french administrative division
action filter_type
action find
entity Jungholtz
relation shares border with
type type of french administrative division
action filter_type
action find
entity Wattwiller
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Soultz-Haut-Rhin'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Jungholtz'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Wattwiller']
SELECT DISTINCT ?v WHERE { { resource:Soultz-Haut-Rhin property:shares_border_with ?v . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:type_of_french_administrative_division . resource:Jungholtz property:shares_border_with ?v } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q209814
P740
Q2088357
USER
Which musical ensemble originated at that french administrative division ?
(c(Q2088357),P740,Q209814)
action filter_type
action find_reverse
entity Q209814
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q209814']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2088357 . ?u property:P740 resource:Q209814 }
Guebwiller
action filter_type
action find_reverse
entity Guebwiller
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Guebwiller']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_ensemble . ?u property:location_of_formation resource:Guebwiller }
[]
musical ensemble
Clarification for simple ques.
Q501798
SYSTEM
Did you mean Soultz-Haut-Rhin ?
Q501798 Q501798 Q209814
(c(Q2088357),P740,Q501798) (c(Q2088357),P740,Q501798) (c(Q2088357),P740,Q209814)
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q501798'] [{'concept': 'Q2088357'}, 'P740', 'Q501798'] [{'concept': 'Q2088357'}, 'P740', 'Q209814']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2088357 . ?u property:P740 resource:Q209814 }
Soultz-Haut-Rhin Soultz-Haut-Rhin Guebwiller
Did you mean Soultz-Haut-Rhin ?
Soultz-Haut-Rhin
[{'concept': 'musical ensemble'}, 'location of formation', 'Soultz-Haut-Rhin'] [{'concept': 'musical ensemble'}, 'location of formation', 'Soultz-Haut-Rhin'] [{'concept': 'musical ensemble'}, 'location of formation', 'Guebwiller']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_ensemble . ?u property:location_of_formation resource:Guebwiller }
[]
Simple Question (Coreferenced)
USER
No, I meant Guebwiller. Could you tell me the answer for that?
(c(Q2088357),P740,Q209814)
Q209814
[{'concept': 'Q2088357'}, 'P740', 'Q209814']
[{'concept': 'musical ensemble'}, 'location of formation', 'Guebwiller']
[]
Q1317118
SYSTEM
Karelia
Q1317118
(c(Q2088357),P740,Q209814)
action filter_type
action find_reverse
entity Q209814
relation P740
type Q2088357
[ANSWER] originated at that french administrative division
[{'concept': 'Q2088357'}, 'P740', 'Q209814']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q2088357 . ?u property:P740 resource:Q209814 }
Karelia
Karelia originated at that french administrative division
Karelia
action filter_type
action find_reverse
entity Guebwiller
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Guebwiller']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:musical_ensemble . ?u property:location_of_formation resource:Guebwiller }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q209814
P47
Q20667921
USER
How many french administrative divisions have an adjacent border with Guebwiller ?
(c(Q20667921),P47,Q209814)
action count
action filter_type
action find_reverse
entity Q209814
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q209814']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P47 resource:Q209814 . ?f rdf:type ontology:Q20667921 }
Guebwiller
action count
action filter_type
action find_reverse
entity Guebwiller
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Guebwiller']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:shares_border_with resource:Guebwiller . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
7
Q326414 Q474176 Q317822 Q501798 Q148811 Q83240 Q83251
(c(Q20667921),P47,Q209814)
action count
action filter_type
action find_reverse
entity Q209814
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q209814']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P47 resource:Q209814 . ?f rdf:type ontology:Q20667921 }
Bergholtz Buhl Bergholtzzell Soultz-Haut-Rhin Rimbach-près-Guebwiller Jungholtz Issenheim
7
action count
action filter_type
action find_reverse
entity Guebwiller
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Guebwiller']
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:shares_border_with resource:Guebwiller . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q753062
P36
Q20667921
USER
Which french administrative divisions consists of Montendre as their capital ?
(c(Q20667921),P36,Q753062)
action filter_type
action find_reverse
entity Q753062
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q753062']
SELECT DISTINCT ?k WHERE { ?k property:P36 resource:Q753062 . ?k rdf:type ontology:Q20667921 }
Montendre
action filter_type
action find_reverse
entity Montendre
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Montendre']
SELECT DISTINCT ?k WHERE { ?k property:capital resource:Montendre . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1726304 Q16802167
SYSTEM
canton of Montendre, canton of Trois Monts
Q1726304 Q16802167
(c(Q20667921),P36,Q753062)
action filter_type
action find_reverse
entity Q753062
relation P36
type Q20667921
The [ANSWERS] consist of Montendre as their capital
[{'concept': 'Q20667921'}, 'P36', 'Q753062']
SELECT DISTINCT ?k WHERE { ?k property:P36 resource:Q753062 . ?k rdf:type ontology:Q20667921 }
canton of Montendre canton of Trois Monts
The canton of Montendre and canton of Trois Monts consist of Montendre as their capital
canton of Montendre canton of Trois Monts
action filter_type
action find_reverse
entity Montendre
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Montendre']
SELECT DISTINCT ?k WHERE { ?k property:capital resource:Montendre . ?k rdf:type ontology:type_of_french_administrative_division }
[]