Simple Question (Direct)
Simple Question
Q6376018
P641
Q349
USER
What was the sport that Kateřina Došková was a part of ?
(Q6376018,P641,c(Q349))
action filter_type
action find
entity Q6376018
relation P641
type Q349
['Q6376018', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6376018 property:P641 ?q . ?q rdf:type ontology:Q349 }
Kateřina Došková
action filter_type
action find
entity Kateřina Došková
relation sport
type sport
['Kateřina Došková', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Kateřina_Došková property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6376018,P641,c(Q349))
action filter_type
action find
entity Q6376018
relation P641
type Q349
The sport that Kateřina Došková was a part of was national [ANSWER]
['Q6376018', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q6376018 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Kateřina Došková was a part of was national association football
association football
action filter_type
action find
entity Kateřina Došková
relation sport
type sport
['Kateřina Došková', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Kateřina_Došková property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6376018
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q6376018
relation P19
type Q56061
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q6376018 property:P19 ?t }
Kateřina Došková
action filter_type
action find
entity Kateřina Došková
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Kateřina_Došková property:place_of_birth ?t }
[]
administrative territorial entity
Q384544
SYSTEM
Karlovy Vary
Q384544
(Q2736,P19,c(Q56061))
action filter_type
action find
entity Q6376018
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q2736', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q6376018 property:P19 ?t }
Karlovy Vary
Karlovy Vary is the place of birth of that person
Karlovy Vary
action filter_type
action find
entity Kateřina Došková
relation place of birth
type administrative territorial entity
['association football', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Kateřina_Došková property:place_of_birth ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q384544
P159
Q283 Q43229
USER
How many waters or organizations have their HQ location at Karlovy Vary ?
(c(Q283),P159,Q384544) (c(Q43229),P159,Q384544)
action count
action union
action filter_type
action find_reverse
entity Q384544
relation P159
type Q283
action filter_type
action find_reverse
entity Q384544
relation P159
type Q43229
[{'concept': 'Q283'}, 'P159', 'Q384544'] [{'concept': 'Q43229'}, 'P159', 'Q384544']
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q283 ) ( ontology:Q43229 ) } . ?u rdf:type ?y }
Karlovy Vary
action count
action union
action filter_type
action find_reverse
entity Karlovy Vary
relation headquarters location
type water
action filter_type
action find_reverse
entity Karlovy Vary
relation headquarters location
type organization
[{'concept': 'water'}, 'headquarters location', 'Karlovy Vary'] [{'concept': 'organization'}, 'headquarters location', 'Karlovy Vary']
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:water ) ( ontology:organization ) } . ?u rdf:type ?y }
[]
water organization
SYSTEM
3
Q183112 Q700802 Q637767
(c(Q283),P159,Q384544) (c(Q43229),P159,Q384544)
action count
action union
action filter_type
action find_reverse
entity Q384544
relation P159
type Q283
action filter_type
action find_reverse
entity Q384544
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q283'}, 'P159', 'Q384544'] [{'concept': 'Q43229'}, 'P159', 'Q384544']
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:Q283 ) ( ontology:Q43229 ) } . ?u rdf:type ?y }
Mattoni Jan Becher Moser
3
action count
action union
action filter_type
action find_reverse
entity Karlovy Vary
relation headquarters location
type water
action filter_type
action find_reverse
entity Karlovy Vary
relation headquarters location
type organization
[{'concept': 'water'}, 'headquarters location', 'Karlovy Vary'] [{'concept': 'organization'}, 'headquarters location', 'Karlovy Vary']
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { VALUES ( ?y ) { ( ontology:water ) ( ontology:organization ) } . ?u rdf:type ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q384544
P190
Q15617994
USER
Which administrative territories are the sister cities of that administrative territory ?
action filter_type
action find
entity Q384544
relation P190
type Q15617994
SELECT DISTINCT ?r WHERE { resource:Q384544 property:P190 ?r . ?r rdf:type ontology:Q15617994 }
Karlovy Vary
action filter_type
action find
entity Karlovy Vary
relation sister city
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { resource:Karlovy_Vary property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155622 Q116592
SYSTEM
Bernkastel-Kues, Cassino
Q155622 Q116592
action filter_type
action find
entity Q384544
relation P190
type Q15617994
[ANSWERS] are the sister cities of that administrative territory
SELECT DISTINCT ?r WHERE { resource:Q384544 property:P190 ?r . ?r rdf:type ontology:Q15617994 }
Bernkastel-Kues Cassino
Bernkastel-Kues and Cassino are the sister cities of that administrative territory
Bernkastel-Kues Cassino
action filter_type
action find
entity Karlovy Vary
relation sister city
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { resource:Karlovy_Vary property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q384544
P190
Q56061
USER
How many administrative territories are sister towns of Karlovy Vary ?
(Q384544,P190,c(Q56061))
action count
action filter_type
action find
entity Q384544
relation P190
type Q56061
['Q384544', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q384544 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Karlovy Vary
action count
action filter_type
action find
entity Karlovy Vary
relation sister city
type administrative territorial entity
['Karlovy Vary', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Karlovy_Vary property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q4100 Q898
(Q384544,P190,c(Q56061))
action count
action filter_type
action find
entity Q384544
relation P190
type Q56061
[ANSWER]
['Q384544', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q384544 property:P190 ?q . ?q rdf:type ontology:Q56061 }
Baden-Baden Omsk
2
action count
action filter_type
action find
entity Karlovy Vary
relation sister city
type administrative territorial entity
['Karlovy Vary', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Karlovy_Vary property:sister_city ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q384544
P138
Q56061
USER
Which administrative territory is the eponym of that one ?
action filter_type
action find_reverse
entity Q384544
relation P138
type Q56061
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q384544 . ?x rdf:type ontology:Q56061 }
Karlovy Vary
action filter_type
action find_reverse
entity Karlovy Vary
relation named after
type administrative territorial entity
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Karlovy_Vary . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q852577
SYSTEM
Carlsbad
Q852577
action filter_type
action find_reverse
entity Q384544
relation P138
type Q56061
[ANSWER] is the eponym of that one
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q384544 . ?x rdf:type ontology:Q56061 }
Carlsbad
Carlsbad is the eponym of that one
Carlsbad
action filter_type
action find_reverse
entity Karlovy Vary
relation named after
type administrative territorial entity
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Karlovy_Vary . ?x rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q852577 Q27229776
P19
Q502895
USER
Does Carmen Diana Deere have birthplace at that administrative territory ?
(Q27229776,P19,Q852577)
action is_in
entity Q852577
action find
entity Q27229776
relation P19
['Q27229776', 'P19', 'Q852577']
ASK WHERE { resource:Q27229776 property:P19 resource:Q852577 }
Carlsbad Carmen Diana Deere
action is_in
entity Carlsbad
action find
entity Carmen Diana Deere
relation place of birth
['Carmen Diana Deere', 'place of birth', 'Carlsbad']
ASK WHERE { resource:Carmen_Diana_Deere property:place_of_birth resource:Carlsbad }
[]
common name
SYSTEM
YES
(Q27229776,P19,Q852577)
action is_in
entity Q852577
action find
entity Q27229776
relation P19
[ANSWER]
['Q27229776', 'P19', 'Q852577']
ASK WHERE { resource:Q27229776 property:P19 resource:Q852577 }
Yes
action is_in
entity Carlsbad
action find
entity Carmen Diana Deere
relation place of birth
['Carmen Diana Deere', 'place of birth', 'Carlsbad']
ASK WHERE { resource:Carmen_Diana_Deere property:place_of_birth resource:Carlsbad }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q7397 Q19335303
USER
How many people are the CEO of exactly 2 software or German business organizations ?
(c(Q7397)|c(Q19335303),P169,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
value 2
[[{'concept': 'Q7397'}, {'concept': 'Q19335303'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P169 ?j . ?j rdf:type ontology:Q502895 . ?e rdf:type ontology:Q19335303 } UNION { ?e property:P169 ?j . ?j rdf:type ontology:Q502895 . ?e rdf:type ontology:Q7397 } } GROUP BY ?j } . FILTER ( ?v = 2 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
value 2
[[{'concept': 'software'}, {'concept': 'type of business entity in Germany'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:chief_executive_officer ?j . ?j rdf:type ontology:common_name . ?e rdf:type ontology:type_of_business_entity_in_Germany } UNION { ?e property:chief_executive_officer ?j . ?j rdf:type ontology:common_name . ?e rdf:type ontology:software } } GROUP BY ?j } . FILTER ( ?v = 2 ) }
[]
common name software type of business entity in Germany
SYSTEM
2
Q1328888 Q1889898
(c(Q7397)|c(Q19335303),P169,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action find_reverse_tuple_counts
relation P169
type Q502895
type Q19335303
value 2
[ANSWER]
[[{'concept': 'Q7397'}, {'concept': 'Q19335303'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P169 ?j . ?j rdf:type ontology:Q502895 . ?e rdf:type ontology:Q19335303 } UNION { ?e property:P169 ?j . ?j rdf:type ontology:Q502895 . ?e rdf:type ontology:Q7397 } } GROUP BY ?j } . FILTER ( ?v = 2 ) }
Ulrich Lehner Manfred Schneider
2
action count
action equal
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action find_reverse_tuple_counts
relation chief executive officer
type common name
type type of business entity in Germany
value 2
[[{'concept': 'software'}, {'concept': 'type of business entity in Germany'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:chief_executive_officer ?j . ?j rdf:type ontology:common_name . ?e rdf:type ontology:type_of_business_entity_in_Germany } UNION { ?e property:chief_executive_officer ?j . ?j rdf:type ontology:common_name . ?e rdf:type ontology:software } } GROUP BY ?j } . FILTER ( ?v = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q116592 Q667931
P47
Q56061
USER
How many administrative territories are next to the border of Cassino or Paznaun ?
(c(Q56061),P47,Q116592) (c(Q56061),P47,Q667931)
action count
action union
action filter_type
action find_reverse
entity Q116592
relation P47
type Q56061
action filter_type
action find_reverse
entity Q667931
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q116592'] [{'concept': 'Q56061'}, 'P47', 'Q667931']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:P47 resource:Q116592 . ?c rdf:type ontology:Q56061 } UNION { ?c property:P47 resource:Q667931 . ?c rdf:type ontology:Q56061 } }
Cassino Paznaun
action count
action union
action filter_type
action find_reverse
entity Cassino
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Paznaun
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Cassino'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Paznaun']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:shares_border_with resource:Cassino . ?c rdf:type ontology:administrative_territorial_entity } UNION { ?c property:shares_border_with resource:Paznaun . ?c rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q116724 Q117327
(c(Q56061),P47,Q116592) (c(Q56061),P47,Q667931)
action count
action union
action filter_type
action find_reverse
entity Q116592
relation P47
type Q56061
action filter_type
action find_reverse
entity Q667931
relation P47
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P47', 'Q116592'] [{'concept': 'Q56061'}, 'P47', 'Q667931']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:P47 resource:Q116592 . ?c rdf:type ontology:Q56061 } UNION { ?c property:P47 resource:Q667931 . ?c rdf:type ontology:Q56061 } }
Cervaro Sant'Apollinare
2
action count
action union
action filter_type
action find_reverse
entity Cassino
relation shares border with
type administrative territorial entity
action filter_type
action find_reverse
entity Paznaun
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Cassino'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Paznaun']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { ?c property:shares_border_with resource:Cassino . ?c rdf:type ontology:administrative_territorial_entity } UNION { ?c property:shares_border_with resource:Paznaun . ?c rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q116592
P17
Q15617994
USER
Which administrative territory does Cassino belong to ?
(Q116592,P17,c(Q15617994))
action filter_type
action find
entity Q116592
relation P17
type Q15617994
['Q116592', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q116592 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Cassino
action filter_type
action find
entity Cassino
relation country
type designation for an administrative territorial entity
['Cassino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cassino property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q116592,P17,c(Q15617994))
action filter_type
action find
entity Q116592
relation P17
type Q15617994
Cassino belongs to [ANSWER]
['Q116592', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q116592 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Italy
Cassino belongs to Italy
Italy
action filter_type
action find
entity Cassino
relation country
type designation for an administrative territorial entity
['Cassino', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Cassino property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]