Simple Question (Direct)
Simple Question
Q5106768
P735
Q82799
USER
What is forename of Chris Hammond ?
(Q5106768,P735,c(Q82799))
action filter_type
action find
entity Q5106768
relation P735
type Q82799
['Q5106768', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5106768 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Chris Hammond
action filter_type
action find
entity Chris Hammond
relation given name
type name
['Chris Hammond', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Chris_Hammond property:given_name ?f . ?f rdf:type ontology:name }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q5106768,P735,c(Q82799))
action filter_type
action find
entity Q5106768
relation P735
type Q82799
Forename of [ANSWER] Hammond is of [ANSWER]
['Q5106768', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5106768 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Chris
Forename of Chris Hammond is of Chris
Chris
action filter_type
action find
entity Chris Hammond
relation given name
type name
['Chris Hammond', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Chris_Hammond property:given_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5106768
P54
Q12973014
USER
Which sports teams are that person a member of ?
(Q339346,P54,c(Q12973014))
action filter_type
action find
entity Q5106768
relation P54
type Q12973014
['Q339346', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { resource:Q5106768 property:P54 ?c . ?c rdf:type ontology:Q12973014 }
Chris Hammond
action filter_type
action find
entity Chris Hammond
relation member of sports team
type sports team
['Chris', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { resource:Chris_Hammond property:member_of_sports_team ?c . ?c rdf:type ontology:sports_team }
[]
sports team
Q213959 Q461595 Q826751
SYSTEM
Boston Red Sox, Atlanta Braves, Cincinnati Reds
Q2184204 Q826751 Q2343915 Q213417 Q461595 Q721134 Q213959 Q504339
(Q339346,P54,c(Q12973014))
action filter_type
action find
entity Q5106768
relation P54
type Q12973014
[ANSWERS] are that person a member of
['Q339346', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { resource:Q5106768 property:P54 ?c . ?c rdf:type ontology:Q12973014 }
Sacramento River Cats Cincinnati Reds Nashville Sounds New York Yankees Atlanta Braves San Diego Padres Boston Red Sox Oakland Athletics
Boston Red Sox, Atlanta Braves and Cincinnati Reds are that person a member of
Boston Red Sox Atlanta Braves Cincinnati Reds
action filter_type
action find
entity Chris Hammond
relation member of sports team
type sports team
['Chris', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { resource:Chris_Hammond property:member_of_sports_team ?c . ?c rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19339627 Q826751
P17
Q15617994
USER
Which administrative territories are Cincinnati Reds or Mathildestraat located in ?
OR((Q826751,P17,c(Q15617994)), (Q19339627,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q826751
relation P17
action find
entity Q19339627
relation P17
type Q15617994
{'OR': [['Q826751', 'P17', {'concept': 'Q15617994'}], ['Q19339627', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q826751 property:P17 ?k } UNION { resource:Q19339627 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Mathildestraat Cincinnati Reds
action filter_type
action union
action find
entity Cincinnati Reds
relation country
action find
entity Mathildestraat
relation country
type designation for an administrative territorial entity
{'OR': [['Cincinnati Reds', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mathildestraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Cincinnati_Reds property:country ?k } UNION { resource:Mathildestraat property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q826751,P17,c(Q15617994)), (Q19339627,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q826751
relation P17
action find
entity Q19339627
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q826751', 'P17', {'concept': 'Q15617994'}], ['Q19339627', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q826751 property:P17 ?k } UNION { resource:Q19339627 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
United States of America Netherlands
Which administrative territories are Cincinnati Reds or Mathildestraat located in
United States of America Netherlands
action filter_type
action union
action find
entity Cincinnati Reds
relation country
action find
entity Mathildestraat
relation country
type designation for an administrative territorial entity
{'OR': [['Cincinnati Reds', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Mathildestraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Cincinnati_Reds property:country ?k } UNION { resource:Mathildestraat property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atleast 53 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?q >= 53 ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:P530 ?h . ?g rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?g } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?q >= 53 ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:diplomatic_relation ?h . ?g rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[ANSWERS] hold diplomatic relationship with atleast 53 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?q >= 53 ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:P530 ?h . ?g rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?g } }
Germany Australia
Germany and Australia hold diplomatic relationship with atleast 53 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?q >= 53 ) . { SELECT DISTINCT ?g ( COUNT ( ?h ) AS ?q ) WHERE { ?g property:diplomatic_relation ?h . ?g rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q408
P610
Q14524493
USER
Which are the zenith of those political territories ?
(Q183,P610,c(Q14524493)) (Q408,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
['Q183', 'P610', {'concept': 'Q14524493'}] ['Q408', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q14524493 . VALUES ( ?c ) { ( resource:Q183 ) ( resource:Q408 ) } . ?c property:P610 ?v }
Germany Australia
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}] ['Australia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:terrain . VALUES ( ?c ) { ( resource:Germany ) ( resource:Australia ) } . ?c property:highest_point ?v }
[]
terrain
Q3375 Q178167 Q2114101
SYSTEM
Zugspitze, Mount Kosciuszko, Mawson Peak
Q3375 Q178167 Q2114101
(Q183,P610,c(Q14524493)) (Q408,P610,c(Q14524493))
action filter_type
action find
entity prev_answer
relation P610
type Q14524493
The zenith of those political territories are Mount [ANSWERS]
['Q183', 'P610', {'concept': 'Q14524493'}] ['Q408', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q14524493 . VALUES ( ?c ) { ( resource:Q183 ) ( resource:Q408 ) } . ?c property:P610 ?v }
Zugspitze Mount Kosciuszko Mawson Peak
The zenith of those political territories are Mount Zugspitze, Mount Kosciuszko and Mawson Peak
Zugspitze Mount Kosciuszko Mawson Peak
action filter_type
action find
entity prev_answer
relation highest point
type terrain
['Germany', 'highest point', {'concept': 'terrain'}] ['Australia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:terrain . VALUES ( ?c ) { ( resource:Germany ) ( resource:Australia ) } . ?c property:highest_point ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q339346
P1750
Q186081
USER
Which time interval is linked with Chris ?
(Q339346,P1750,c(Q186081))
action filter_type
action find
entity Q339346
relation P1750
type Q186081
['Q339346', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?v WHERE { resource:Q339346 property:P1750 ?v . ?v rdf:type ontology:Q186081 }
Chris
action filter_type
action find
entity Chris
relation name day
type time interval
['Chris', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?v WHERE { resource:Chris property:name_day ?v . ?v rdf:type ontology:time_interval }
[]
time interval
Q2403
SYSTEM
March 15
Q2403
(Q339346,P1750,c(Q186081))
action filter_type
action find
entity Q339346
relation P1750
type Q186081
[ANSWER] is linked with Chris
['Q339346', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?v WHERE { resource:Q339346 property:P1750 ?v . ?v rdf:type ontology:Q186081 }
March 15
March 15 is linked with Chris
March 15
action filter_type
action find
entity Chris
relation name day
type time interval
['Chris', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?v WHERE { resource:Chris property:name_day ?v . ?v rdf:type ontology:time_interval }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4353926
Q186081
USER
And how about Toini?
(Q4353926,P1750,c(Q186081))
action filter_type
action find
entity Q4353926
relation P1750
type Q186081
['Q4353926', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?i WHERE { resource:Q4353926 property:P1750 ?i . ?i rdf:type ontology:Q186081 }
Toini
action filter_type
action find
entity Toini
relation name day
type time interval
['Toini', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?i WHERE { resource:Toini property:name_day ?i . ?i rdf:type ontology:time_interval }
[]
time interval
Q2962
SYSTEM
October 17
Q2962
(Q4353926,P1750,c(Q186081))
action filter_type
action find
entity Q4353926
relation P1750
type Q186081
[ANSWER]
['Q4353926', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?i WHERE { resource:Q4353926 property:P1750 ?i . ?i rdf:type ontology:Q186081 }
October 17
October 17
action filter_type
action find
entity Toini
relation name day
type time interval
['Toini', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?i WHERE { resource:Toini property:name_day ?i . ?i rdf:type ontology:time_interval }
[]