Simple Question (Direct)
Simple Question
Q3453803
P54
Q12973014
USER
Which sports team is Ryan Hillier a member of ?
(Q3453803,P54,c(Q12973014))
action filter_type
action find
entity Q3453803
relation P54
type Q12973014
['Q3453803', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3453803 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Ryan Hillier
action filter_type
action find
entity Ryan Hillier
relation member of sports team
type sports team
['Ryan Hillier', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ryan_Hillier property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q883425
SYSTEM
Connecticut Whale
Q883425
(Q3453803,P54,c(Q12973014))
action filter_type
action find
entity Q3453803
relation P54
type Q12973014
The [ANSWER] is Ryan Hillier a member of
['Q3453803', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3453803 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Connecticut Whale
The Connecticut Whale is Ryan Hillier a member of
Connecticut Whale
action filter_type
action find
entity Ryan Hillier
relation member of sports team
type sports team
['Ryan Hillier', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:Ryan_Hillier property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q883425
P466
Q811979
USER
Which architectural structure is occupied by that sports team ?
(c(Q811979),P466,Q883425)
action filter_type
action find_reverse
entity Q883425
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q883425']
SELECT DISTINCT ?m WHERE { ?m property:P466 resource:Q883425 . ?m rdf:type ontology:Q811979 }
Connecticut Whale
action filter_type
action find_reverse
entity Connecticut Whale
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Connecticut Whale']
SELECT DISTINCT ?m WHERE { ?m property:occupant resource:Connecticut_Whale . ?m rdf:type ontology:architectural_structure }
[]
architectural structure
Q1783634
SYSTEM
XL Center
Q1783634
(c(Q811979),P466,Q883425)
action filter_type
action find_reverse
entity Q883425
relation P466
type Q811979
[ANSWER] is occupied by that sports team
[{'concept': 'Q811979'}, 'P466', 'Q883425']
SELECT DISTINCT ?m WHERE { ?m property:P466 resource:Q883425 . ?m rdf:type ontology:Q811979 }
XL Center
XL Center is occupied by that sports team
XL Center
action filter_type
action find_reverse
entity Connecticut Whale
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Connecticut Whale']
SELECT DISTINCT ?m WHERE { ?m property:occupant resource:Connecticut_Whale . ?m rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q883425
P17
Q15617994
USER
Which administrative territory is that sports team situated in ?
(Q1783634,P17,c(Q15617994))
action filter_type
action find
entity Q883425
relation P17
type Q15617994
['Q1783634', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q883425 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Connecticut Whale
action filter_type
action find
entity Connecticut Whale
relation country
type designation for an administrative territorial entity
['XL Center', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Connecticut_Whale property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1783634,P17,c(Q15617994))
action filter_type
action find
entity Q883425
relation P17
type Q15617994
That sports team is situated in [ANSWER]
['Q1783634', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q883425 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
That sports team is situated in United States of America
United States of America
action filter_type
action find
entity Connecticut Whale
relation country
type designation for an administrative territorial entity
['XL Center', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Connecticut_Whale property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2418276 Q3453803
P27
Q1048835
USER
Which political territories are the countries of citizenship of Ryan Hillier or Theodor Schnitzer ?
OR((Q3453803,P27,c(Q1048835)), (Q2418276,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3453803
relation P27
action find
entity Q2418276
relation P27
type Q1048835
{'OR': [['Q3453803', 'P27', {'concept': 'Q1048835'}], ['Q2418276', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?z ) { ( resource:Q3453803 ) ( resource:Q2418276 ) } . ?z property:P27 ?y } . ?y rdf:type ontology:Q1048835 }
Theodor Schnitzer Ryan Hillier
action filter_type
action union
action find
entity Ryan Hillier
relation country of citizenship
action find
entity Theodor Schnitzer
relation country of citizenship
type political territorial entity
{'OR': [['Ryan Hillier', 'country of citizenship', {'concept': 'political territorial entity'}], ['Theodor Schnitzer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?z ) { ( resource:Ryan_Hillier ) ( resource:Theodor_Schnitzer ) } . ?z property:country_of_citizenship ?y } . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q3453803,P27,c(Q1048835)), (Q2418276,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3453803
relation P27
action find
entity Q2418276
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Ryan Hillier or Theodor Schnitzer
{'OR': [['Q3453803', 'P27', {'concept': 'Q1048835'}], ['Q2418276', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?z ) { ( resource:Q3453803 ) ( resource:Q2418276 ) } . ?z property:P27 ?y } . ?y rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are the countries of citizenship of Ryan Hillier or Theodor Schnitzer
Canada Germany
action filter_type
action union
action find
entity Ryan Hillier
relation country of citizenship
action find
entity Theodor Schnitzer
relation country of citizenship
type political territorial entity
{'OR': [['Ryan Hillier', 'country of citizenship', {'concept': 'political territorial entity'}], ['Theodor Schnitzer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?z ) { ( resource:Ryan_Hillier ) ( resource:Theodor_Schnitzer ) } . ?z property:country_of_citizenship ?y } . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2418276
P20
Q56061
USER
How many administrative territories did Theodor Schnitzer die ?
(Q2418276,P20,c(Q56061))
action count
action filter_type
action find
entity Q2418276
relation P20
type Q56061
['Q2418276', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q2418276 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Theodor Schnitzer
action count
action filter_type
action find
entity Theodor Schnitzer
relation place of death
type administrative territorial entity
['Theodor Schnitzer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Theodor_Schnitzer property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1022
(Q2418276,P20,c(Q56061))
action count
action filter_type
action find
entity Q2418276
relation P20
type Q56061
[ANSWER]
['Q2418276', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q2418276 property:P20 ?r . ?r rdf:type ontology:Q56061 }
Stuttgart
1
action count
action filter_type
action find
entity Theodor Schnitzer
relation place of death
type administrative territorial entity
['Theodor Schnitzer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Theodor_Schnitzer property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2418276
P20
Q56061
USER
Where did the expiration of that person occur ?
action filter_type
action find
entity Q2418276
relation P20
type Q56061
SELECT DISTINCT ?x WHERE { resource:Q2418276 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Theodor Schnitzer
action filter_type
action find
entity Theodor Schnitzer
relation place of death
type administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Theodor_Schnitzer property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1022
SYSTEM
Stuttgart
Q1022
action filter_type
action find
entity Q2418276
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
SELECT DISTINCT ?x WHERE { resource:Q2418276 property:P20 ?x . ?x rdf:type ontology:Q56061 }
Stuttgart
The expiration of that person occurred in Stuttgart
Stuttgart
action filter_type
action find
entity Theodor Schnitzer
relation place of death
type administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Theodor_Schnitzer property:place_of_death ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2418276
P106
Q12737077
USER
What does that person do for a living ?
(Q1022,P106,c(Q12737077))
action filter_type
action find
entity Q2418276
relation P106
type Q12737077
['Q1022', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2418276 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Theodor Schnitzer
action filter_type
action find
entity Theodor Schnitzer
relation occupation
type occupation
['Stuttgart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Theodor_Schnitzer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q1022,P106,c(Q12737077))
action filter_type
action find
entity Q2418276
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q1022', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q2418276 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
painter
That person does a painter for a living
painter
action filter_type
action find
entity Theodor Schnitzer
relation occupation
type occupation
['Stuttgart', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Theodor_Schnitzer property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4665479 Q3453803
P27
Q1048835
USER
Which political territories are Ryan Hillier or Abdul Karim an inhabitant of ?
OR((Q3453803,P27,c(Q1048835)), (Q4665479,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3453803
relation P27
action find
entity Q4665479
relation P27
type Q1048835
{'OR': [['Q3453803', 'P27', {'concept': 'Q1048835'}], ['Q4665479', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3453803 property:P27 ?c } UNION { resource:Q4665479 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Abdul Karim Ryan Hillier
action filter_type
action union
action find
entity Ryan Hillier
relation country of citizenship
action find
entity Abdul Karim
relation country of citizenship
type political territorial entity
{'OR': [['Ryan Hillier', 'country of citizenship', {'concept': 'political territorial entity'}], ['Abdul Karim', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ryan_Hillier property:country_of_citizenship ?c } UNION { resource:Abdul_Karim property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q129286
SYSTEM
Canada, British Raj
Q16 Q129286
OR((Q3453803,P27,c(Q1048835)), (Q4665479,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q3453803
relation P27
action find
entity Q4665479
relation P27
type Q1048835
[ANSWERS] are Ryan Hillier or Abdul Karim an inhabitant of
{'OR': [['Q3453803', 'P27', {'concept': 'Q1048835'}], ['Q4665479', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3453803 property:P27 ?c } UNION { resource:Q4665479 property:P27 ?c } } . ?c rdf:type ontology:Q1048835 }
Canada British Raj
Canada and British Raj are Ryan Hillier or Abdul Karim an inhabitant of
Canada British Raj
action filter_type
action union
action find
entity Ryan Hillier
relation country of citizenship
action find
entity Abdul Karim
relation country of citizenship
type political territorial entity
{'OR': [['Ryan Hillier', 'country of citizenship', {'concept': 'political territorial entity'}], ['Abdul Karim', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Ryan_Hillier property:country_of_citizenship ?c } UNION { resource:Abdul_Karim property:country_of_citizenship ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]