Simple Question (Direct)
Simple Question
Q2377655
P21
Q290
USER
What is the sex of Volodymyr Kubiyovych ?
(Q2377655,P21,c(Q290))
action filter_type
action find
entity Q2377655
relation P21
type Q290
['Q2377655', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q2377655 property:P21 ?o }
Volodymyr Kubiyovych
action filter_type
action find
entity Volodymyr Kubiyovych
relation gender
type sex
['Volodymyr Kubiyovych', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Volodymyr_Kubiyovych property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2377655,P21,c(Q290))
action filter_type
action find
entity Q2377655
relation P21
type Q290
The sex of Volodymyr Kubiyovych is the [ANSWER]
['Q2377655', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q2377655 property:P21 ?o }
male
The sex of Volodymyr Kubiyovych is the male
male
action filter_type
action find
entity Volodymyr Kubiyovych
relation gender
type sex
['Volodymyr Kubiyovych', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Volodymyr_Kubiyovych property:gender ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2377655
P19
Q56061
USER
Which administrative territory is the birthplace of Volodymyr Kubiyovych ?
(Q2377655,P19,c(Q56061))
action filter_type
action find
entity Q2377655
relation P19
type Q56061
['Q2377655', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2377655 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Volodymyr Kubiyovych
action filter_type
action find
entity Volodymyr Kubiyovych
relation place of birth
type administrative territorial entity
['Volodymyr Kubiyovych', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Volodymyr_Kubiyovych property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q802
SYSTEM
Nowy Sącz
Q802
(Q2377655,P19,c(Q56061))
action filter_type
action find
entity Q2377655
relation P19
type Q56061
[ANSWER] is the birthplace of Volodymyr Kubiyovych
['Q2377655', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2377655 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Nowy Sącz
Nowy Sącz is the birthplace of Volodymyr Kubiyovych
Nowy Sącz
action filter_type
action find
entity Volodymyr Kubiyovych
relation place of birth
type administrative territorial entity
['Volodymyr Kubiyovych', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Volodymyr_Kubiyovych property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1333064
Q56061
USER
And also tell me about John Andrew Young?
(Q1333064,P19,c(Q56061))
action filter_type
action find
entity Q1333064
relation P19
type Q56061
['Q1333064', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1333064 property:P19 ?k . ?k rdf:type ontology:Q56061 }
John Andrew Young
action filter_type
action find
entity John Andrew Young
relation place of birth
type administrative territorial entity
['John Andrew Young', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:John_Andrew_Young property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49242
SYSTEM
Corpus Christi
Q49242
(Q1333064,P19,c(Q56061))
action filter_type
action find
entity Q1333064
relation P19
type Q56061
[ANSWER]
['Q1333064', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1333064 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Corpus Christi
Corpus Christi
action filter_type
action find
entity John Andrew Young
relation place of birth
type administrative territorial entity
['John Andrew Young', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:John_Andrew_Young property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49242 Q1354114
P119
Q502895
USER
Does Erik Schoefs have that administrative territory as resting place ?
(Q1354114,P119,Q49242)
action is_in
entity Q1354114
action find
entity Q49242
relation P119
['Q1354114', 'P119', 'Q49242']
ASK WHERE { resource:Q49242 property:P119 resource:Q1354114 }
Corpus Christi Erik Schoefs
action is_in
entity Erik Schoefs
action find
entity Corpus Christi
relation place of burial
['Erik Schoefs', 'place of burial', 'Corpus Christi']
ASK WHERE { resource:Corpus_Christi property:place_of_burial resource:Erik_Schoefs }
[]
common name
SYSTEM
NO
(Q1354114,P119,Q49242)
action is_in
entity Q1354114
action find
entity Q49242
relation P119
[ANSWER]
['Q1354114', 'P119', 'Q49242']
ASK WHERE { resource:Q49242 property:P119 resource:Q1354114 }
No
action is_in
entity Erik Schoefs
action find
entity Corpus Christi
relation place of burial
['Erik Schoefs', 'place of burial', 'Corpus Christi']
ASK WHERE { resource:Corpus_Christi property:place_of_burial resource:Erik_Schoefs }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of max number of administrative territories ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?t ) WHERE { ?v property:P532 ?c . ?c rdf:type ontology:Q56061 . ?v rdf:type ontology:Q2235308 } GROUP BY ?v } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?g ) WHERE { ?z property:P532 ?b . ?b rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2235308 } GROUP BY ?z } }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?t ) WHERE { ?v property:port_of_registry ?c . ?c rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:ship_type } GROUP BY ?v } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?g ) WHERE { ?z property:port_of_registry ?b . ?b rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:ship_type } GROUP BY ?z } }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] is the registry port of max number of administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?t ) WHERE { ?v property:P532 ?c . ?c rdf:type ontology:Q56061 . ?v rdf:type ontology:Q2235308 } GROUP BY ?v } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?g ) WHERE { ?z property:P532 ?b . ?b rdf:type ontology:Q56061 . ?z rdf:type ontology:Q2235308 } GROUP BY ?z } }
MS Arrow
MS Arrow is the registry port of max number of administrative territories
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?t ) WHERE { ?v property:port_of_registry ?c . ?c rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:ship_type } GROUP BY ?v } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?b ) AS ?g ) WHERE { ?z property:port_of_registry ?b . ?b rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:ship_type } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49242
P190
Q56061
USER
Which administrative territory is partner town of Corpus Christi ?
(c(Q56061),P190,Q49242)
action filter_type
action find
entity Q49242
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q49242']
SELECT DISTINCT ?e WHERE { resource:Q49242 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Corpus Christi
action filter_type
action find
entity Corpus Christi
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Corpus Christi']
SELECT DISTINCT ?e WHERE { resource:Corpus_Christi property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5836
SYSTEM
Toledo
Q5836
(c(Q56061),P190,Q49242)
action filter_type
action find
entity Q49242
relation P190
type Q56061
[ANSWER] is partner town of Corpus Christi
[{'concept': 'Q56061'}, 'P190', 'Q49242']
SELECT DISTINCT ?e WHERE { resource:Q49242 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Toledo
Toledo is partner town of Corpus Christi
Toledo
action filter_type
action find
entity Corpus Christi
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Corpus Christi']
SELECT DISTINCT ?e WHERE { resource:Corpus_Christi property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49242
P127
Q1076486
USER
Which sports venue is under posessision of Corpus Christi ?
(c(Q1076486),P127,Q49242)
action filter_type
action find_reverse
entity Q49242
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q49242']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q49242 . ?s rdf:type ontology:Q1076486 }
Corpus Christi
action filter_type
action find_reverse
entity Corpus Christi
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Corpus Christi']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Corpus_Christi . ?s rdf:type ontology:sports_venue }
[]
sports venue
Q7991654
SYSTEM
Whataburger Field
Q7991654
(c(Q1076486),P127,Q49242)
action filter_type
action find_reverse
entity Q49242
relation P127
type Q1076486
[ANSWER] is under posessision of Corpus Christi
[{'concept': 'Q1076486'}, 'P127', 'Q49242']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q49242 . ?s rdf:type ontology:Q1076486 }
Whataburger Field
Whataburger Field is under posessision of Corpus Christi
Whataburger Field
action filter_type
action find_reverse
entity Corpus Christi
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Corpus Christi']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Corpus_Christi . ?s rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49242
P159
Q43229
USER
Which organizations have HQ at Corpus Christi ?
(c(Q43229),P159,Q49242)
action filter_type
action find_reverse
entity Q49242
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q49242']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q43229 . ?k property:P159 resource:Q49242 }
Corpus Christi
action filter_type
action find_reverse
entity Corpus Christi
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Corpus Christi']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:organization . ?k property:headquarters_location resource:Corpus_Christi }
[]
organization
Q17108324 Q7624135
SYSTEM
NavyArmy Community Credit Union, Stripes Convenience Stores
Q17108324 Q7624135
(c(Q43229),P159,Q49242)
action filter_type
action find_reverse
entity Q49242
relation P159
type Q43229
[ANSWERS] have HQ at Corpus Christi
[{'concept': 'Q43229'}, 'P159', 'Q49242']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q43229 . ?k property:P159 resource:Q49242 }
NavyArmy Community Credit Union Stripes Convenience Stores
NavyArmy Community Credit Union and Stripes Convenience Stores have HQ at Corpus Christi
NavyArmy Community Credit Union Stripes Convenience Stores
action filter_type
action find_reverse
entity Corpus Christi
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Corpus Christi']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:organization . ?k property:headquarters_location resource:Corpus_Christi }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49242
P17
Q15617994
USER
Which administrative territory is that administrative territory a part of ?
(Q17108324,P17,c(Q15617994)) (Q7624135,P17,c(Q15617994))
action filter_type
action find
entity Q49242
relation P17
type Q15617994
['Q17108324', 'P17', {'concept': 'Q15617994'}] ['Q7624135', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q49242 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Corpus Christi
action filter_type
action find
entity Corpus Christi
relation country
type designation for an administrative territorial entity
['NavyArmy Community Credit Union', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stripes Convenience Stores', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Corpus_Christi property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q17108324,P17,c(Q15617994)) (Q7624135,P17,c(Q15617994))
action filter_type
action find
entity Q49242
relation P17
type Q15617994
The [ANSWER] is that administrative territory a part of
['Q17108324', 'P17', {'concept': 'Q15617994'}] ['Q7624135', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q49242 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
The United States of America is that administrative territory a part of
United States of America
action filter_type
action find
entity Corpus Christi
relation country
type designation for an administrative territorial entity
['NavyArmy Community Credit Union', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Stripes Convenience Stores', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Corpus_Christi property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q16
P530
Q1048835
USER
Does Canada hold diplomatic relationship with that administrative territory ?
(Q30,P530,Q16)
action is_in
entity Q16
action find
entity Q30
relation P530
['Q30', 'P530', 'Q16']
ASK WHERE { resource:Q30 property:P530 resource:Q16 }
United States of America Canada
action is_in
entity Canada
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q30,P530,Q16)
action is_in
entity Q16
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q16']
ASK WHERE { resource:Q30 property:P530 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada }
[]