Simple Question (Direct)
Simple Question
Q1611858
P20
Q56061
USER
Which administrative territory is the place of death of Hermann Krawinkel ?
(Q1611858,P20,c(Q56061))
action filter_type
action find
entity Q1611858
relation P20
type Q56061
['Q1611858', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1611858 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Hermann Krawinkel
action filter_type
action find
entity Hermann Krawinkel
relation place of death
type administrative territorial entity
['Hermann Krawinkel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hermann_Krawinkel property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q69354
SYSTEM
Montreux
Q69354
(Q1611858,P20,c(Q56061))
action filter_type
action find
entity Q1611858
relation P20
type Q56061
[ANSWER]
['Q1611858', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1611858 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Montreux
Montreux
action filter_type
action find
entity Hermann Krawinkel
relation place of death
type administrative territorial entity
['Hermann Krawinkel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hermann_Krawinkel property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1611858
P21
Q290
USER
What is the sex of Hermann Krawinkel ?
(Q1611858,P21,c(Q290))
action filter_type
action find
entity Q1611858
relation P21
type Q290
['Q1611858', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1611858 property:P21 ?i . ?i rdf:type ontology:Q290 }
Hermann Krawinkel
action filter_type
action find
entity Hermann Krawinkel
relation gender
type sex
['Hermann Krawinkel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Hermann_Krawinkel property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1611858,P21,c(Q290))
action filter_type
action find
entity Q1611858
relation P21
type Q290
[ANSWER]
['Q1611858', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1611858 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Hermann Krawinkel
relation gender
type sex
['Hermann Krawinkel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Hermann_Krawinkel property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11648757
Q290
USER
And what about Minoru Suzuki?
(Q11648757,P21,c(Q290))
action filter_type
action find
entity Q11648757
relation P21
type Q290
['Q11648757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q11648757 property:P21 ?p }
Minoru Suzuki
action filter_type
action find
entity Minoru Suzuki
relation gender
type sex
['Minoru Suzuki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Minoru_Suzuki property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11648757,P21,c(Q290))
action filter_type
action find
entity Q11648757
relation P21
type Q290
[ANSWER]
['Q11648757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q11648757 property:P21 ?p }
male
male
action filter_type
action find
entity Minoru Suzuki
relation gender
type sex
['Minoru Suzuki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Minoru_Suzuki property:gender ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q69354
P190
Q515 Q20667921
USER
How many cities or french administrative divisions are sister towns of Montreux ?
(Q69354,P190,c(Q515)) (Q69354,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q69354
relation P190
type Q515
action filter_type
action find
entity Q69354
relation P190
type Q20667921
['Q69354', 'P190', {'concept': 'Q515'}] ['Q69354', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { resource:Q69354 property:P190 ?b . ?b rdf:type ontology:Q20667921 } UNION { resource:Q69354 property:P190 ?b . ?b rdf:type ontology:Q515 } }
Montreux
action count
action union
action filter_type
action find
entity Montreux
relation sister city
type city
action filter_type
action find
entity Montreux
relation sister city
type type of french administrative division
['Montreux', 'sister city', {'concept': 'city'}] ['Montreux', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { resource:Montreux property:sister_city ?b . ?b rdf:type ontology:type_of_french_administrative_division } UNION { resource:Montreux property:sister_city ?b . ?b rdf:type ontology:city } }
[]
city type of french administrative division
SYSTEM
2
Q180083 Q1721
(Q69354,P190,c(Q515)) (Q69354,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q69354
relation P190
type Q515
action filter_type
action find
entity Q69354
relation P190
type Q20667921
[ANSWER]
['Q69354', 'P190', {'concept': 'Q515'}] ['Q69354', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { resource:Q69354 property:P190 ?b . ?b rdf:type ontology:Q20667921 } UNION { resource:Q69354 property:P190 ?b . ?b rdf:type ontology:Q515 } }
Menton Wiesbaden
2
action count
action union
action filter_type
action find
entity Montreux
relation sister city
type city
action filter_type
action find
entity Montreux
relation sister city
type type of french administrative division
['Montreux', 'sister city', {'concept': 'city'}] ['Montreux', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { resource:Montreux property:sister_city ?b . ?b rdf:type ontology:type_of_french_administrative_division } UNION { resource:Montreux property:sister_city ?b . ?b rdf:type ontology:city } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q69354
P190
Q20667921 Q515
USER
How many french administrative divisions and cities are twin city of Montreux ?
(c(Q20667921),P190,Q69354) (c(Q515),P190,Q69354)
action count
action union
action filter_type
action find_reverse
entity Q69354
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q69354
relation P190
type Q515
[{'concept': 'Q20667921'}, 'P190', 'Q69354'] [{'concept': 'Q515'}, 'P190', 'Q69354']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } }
Montreux
action count
action union
action filter_type
action find_reverse
entity Montreux
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity Montreux
relation sister city
type city
[{'concept': 'type of french administrative division'}, 'sister city', 'Montreux'] [{'concept': 'city'}, 'sister city', 'Montreux']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } }
[]
type of french administrative division city
SYSTEM
1 french administrative divisions and 1 cities
Q180083 Q1721
(c(Q20667921),P190,Q69354) (c(Q515),P190,Q69354)
action count
action union
action filter_type
action find_reverse
entity Q69354
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q69354
relation P190
type Q515
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q69354'] [{'concept': 'Q515'}, 'P190', 'Q69354']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } }
Menton Wiesbaden
1 french administrative divisions and 1 cities
action count
action union
action filter_type
action find_reverse
entity Montreux
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity Montreux
relation sister city
type city
[{'concept': 'type of french administrative division'}, 'sister city', 'Montreux'] [{'concept': 'city'}, 'sister city', 'Montreux']
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q69354 Q91413
P190
Q20667921
USER
How many french administrative divisions are twin town of Montreux or San Gimignano ?
(c(Q20667921),P190,Q69354) (c(Q20667921),P190,Q91413)
action count
action union
action filter_type
action find_reverse
entity Q69354
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q91413
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q69354'] [{'concept': 'Q20667921'}, 'P190', 'Q91413']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( resource:Q91413 ) ( resource:Q69354 ) } . ?a property:P190 ?c }
Montreux San Gimignano
action count
action union
action filter_type
action find_reverse
entity Montreux
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity San Gimignano
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Montreux'] [{'concept': 'type of french administrative division'}, 'sister city', 'San Gimignano']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( resource:San_Gimignano ) ( resource:Montreux ) } . ?a property:sister_city ?c }
[]
type of french administrative division
SYSTEM
2
Q238689 Q180083
(c(Q20667921),P190,Q69354) (c(Q20667921),P190,Q91413)
action count
action union
action filter_type
action find_reverse
entity Q69354
relation P190
type Q20667921
action filter_type
action find_reverse
entity Q91413
relation P190
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q69354'] [{'concept': 'Q20667921'}, 'P190', 'Q91413']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( resource:Q91413 ) ( resource:Q69354 ) } . ?a property:P190 ?c }
Clermont-l'Hérault Menton
2
action count
action union
action filter_type
action find_reverse
entity Montreux
relation sister city
type type of french administrative division
action filter_type
action find_reverse
entity San Gimignano
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Montreux'] [{'concept': 'type of french administrative division'}, 'sister city', 'San Gimignano']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { VALUES ( ?c ) { ( resource:San_Gimignano ) ( resource:Montreux ) } . ?a property:sister_city ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1611858
P27
Q1048835
USER
Which political territory is Hermann Krawinkel a civilian of ?
(Q1611858,P27,c(Q1048835))
action filter_type
action find
entity Q1611858
relation P27
type Q1048835
['Q1611858', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q1611858 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Hermann Krawinkel
action filter_type
action find
entity Hermann Krawinkel
relation country of citizenship
type political territorial entity
['Hermann Krawinkel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Hermann_Krawinkel property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1611858,P27,c(Q1048835))
action filter_type
action find
entity Q1611858
relation P27
type Q1048835
[ANSWER]
['Q1611858', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q1611858 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Hermann Krawinkel
relation country of citizenship
type political territorial entity
['Hermann Krawinkel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Hermann_Krawinkel property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1611858
P19
Q486972
USER
Where was that person born ?
(Q183,P19,c(Q486972))
action filter_type
action find
entity Q1611858
relation P19
type Q486972
['Q183', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q1611858 property:P19 ?k . ?k rdf:type ontology:Q486972 }
Hermann Krawinkel
action filter_type
action find
entity Hermann Krawinkel
relation place of birth
type human settlement
['Germany', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Hermann_Krawinkel property:place_of_birth ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q487549
SYSTEM
Schalke
Q487549
(Q183,P19,c(Q486972))
action filter_type
action find
entity Q1611858
relation P19
type Q486972
[ANSWER]
['Q183', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q1611858 property:P19 ?k . ?k rdf:type ontology:Q486972 }
Schalke
Schalke
action filter_type
action find
entity Hermann Krawinkel
relation place of birth
type human settlement
['Germany', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:Hermann_Krawinkel property:place_of_birth ?k . ?k rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q487549
P17
Q1048835
USER
Which political territory is that human settlement a part of ?
(Q487549,P17,c(Q1048835))
action filter_type
action find
entity Q487549
relation P17
type Q1048835
['Q487549', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q487549 property:P17 ?c }
Schalke
action filter_type
action find
entity Schalke
relation country
type political territorial entity
['Schalke', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Schalke property:country ?c }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q487549,P17,c(Q1048835))
action filter_type
action find
entity Q487549
relation P17
type Q1048835
[ANSWER]
['Q487549', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1048835 . resource:Q487549 property:P17 ?c }
Germany
Germany
action filter_type
action find
entity Schalke
relation country
type political territorial entity
['Schalke', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Schalke property:country ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q69354
P6
Q502895
USER
Which person does Montreux serve as the head of government for ?
(Q69354,P6,c(Q502895))
action filter_type
action find
entity Q69354
relation P6
type Q502895
['Q69354', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q69354 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Montreux
action filter_type
action find
entity Montreux
relation head of government
type common name
['Montreux', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Montreux property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q21294873
SYSTEM
Laurent Wehrli
Q21294873
(Q69354,P6,c(Q502895))
action filter_type
action find
entity Q69354
relation P6
type Q502895
[ANSWER]
['Q69354', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q69354 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Laurent Wehrli
Laurent Wehrli
action filter_type
action find
entity Montreux
relation head of government
type common name
['Montreux', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Montreux property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q21294873 Q2360428
P27
Q15617994
USER
Does Laurent Wehrli belong to Tijuana Municipality ?
(Q21294873,P27,Q2360428)
action is_in
entity Q2360428
action find
entity Q21294873
relation P27
['Q21294873', 'P27', 'Q2360428']
ASK WHERE { resource:Q21294873 property:P27 resource:Q2360428 }
Laurent Wehrli Tijuana Municipality
action is_in
entity Tijuana Municipality
action find
entity Laurent Wehrli
relation country of citizenship
['Laurent Wehrli', 'country of citizenship', 'Tijuana Municipality']
ASK WHERE { resource:Laurent_Wehrli property:country_of_citizenship resource:Tijuana_Municipality }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q21294873,P27,Q2360428)
action is_in
entity Q2360428
action find
entity Q21294873
relation P27
[ANSWER]
['Q21294873', 'P27', 'Q2360428']
ASK WHERE { resource:Q21294873 property:P27 resource:Q2360428 }
No
action is_in
entity Tijuana Municipality
action find
entity Laurent Wehrli
relation country of citizenship
['Laurent Wehrli', 'country of citizenship', 'Tijuana Municipality']
ASK WHERE { resource:Laurent_Wehrli property:country_of_citizenship resource:Tijuana_Municipality }
[]