Simple Question (Direct)
Simple Question
Q3237646
P734
Q82799
USER
Who has the surname Liam Hendriks ?
(Q3237646,P734,c(Q82799))
action filter_type
action find
entity Q3237646
relation P734
type Q82799
['Q3237646', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q3237646 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Liam Hendriks
action filter_type
action find
entity Liam Hendriks
relation family name
type name
['Liam Hendriks', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Liam_Hendriks property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q5714014
SYSTEM
Hendriks
Q5714014
(Q3237646,P734,c(Q82799))
action filter_type
action find
entity Q3237646
relation P734
type Q82799
[ANSWER] has the surname Liam [ANSWER]
['Q3237646', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q3237646 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Hendriks
Hendriks has the surname Liam Hendriks
Hendriks
action filter_type
action find
entity Liam Hendriks
relation family name
type name
['Liam Hendriks', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Liam_Hendriks property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3237646
P54
Q12973014
USER
Which sports teams are Liam Hendriks a member of ?
(Q3237646,P54,c(Q12973014))
action filter_type
action find
entity Q3237646
relation P54
type Q12973014
['Q3237646', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?j WHERE { resource:Q3237646 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
Liam Hendriks
action filter_type
action find
entity Liam Hendriks
relation member of sports team
type sports team
['Liam Hendriks', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?j WHERE { resource:Liam_Hendriks property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
sports team
Q1966948 Q650829 Q604879
SYSTEM
Rochester Red Wings, Toronto Blue Jays, Minnesota Twins
Q1966948 Q650829 Q604879
(Q3237646,P54,c(Q12973014))
action filter_type
action find
entity Q3237646
relation P54
type Q12973014
The [ANSWERS] are Liam Hendriks a member of
['Q3237646', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?j WHERE { resource:Q3237646 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
Rochester Red Wings Toronto Blue Jays Minnesota Twins
The Rochester Red Wings, Toronto Blue Jays and Minnesota Twins are Liam Hendriks a member of
Rochester Red Wings Toronto Blue Jays Minnesota Twins
action filter_type
action find
entity Liam Hendriks
relation member of sports team
type sports team
['Liam Hendriks', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?j WHERE { resource:Liam_Hendriks property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1627394
Q12973014
USER
And also tell me about Jawann Oldham?
(Q1627394,P54,c(Q12973014))
action filter_type
action find
entity Q1627394
relation P54
type Q12973014
['Q1627394', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { resource:Q1627394 property:P54 ?o . ?o rdf:type ontology:Q12973014 }
Jawann Oldham
action filter_type
action find
entity Jawann Oldham
relation member of sports team
type sports team
['Jawann Oldham', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { resource:Jawann_Oldham property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team }
[]
sports team
Q166105 Q161345 Q162954
SYSTEM
Sacramento Kings, Houston Rockets, Denver Nuggets
Q981263 Q3855794 Q162954 Q131364 Q6904255 Q170329 Q128109 Q121783 Q161337 Q166105 Q1401593 Q161345 Q3656965
(Q1627394,P54,c(Q12973014))
action filter_type
action find
entity Q1627394
relation P54
type Q12973014
[ANSWERS]
['Q1627394', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?o WHERE { resource:Q1627394 property:P54 ?o . ?o rdf:type ontology:Q12973014 }
Lawton-Fort Sill Cavalry Mexico City Aztecas Denver Nuggets New York Knicks Montana Golden Nuggets Indiana Pacers Chicago Bulls Los Angeles Lakers Orlando Magic Sacramento Kings La Crosse Bobcats Houston Rockets Capitanes de Arecibo
Sacramento Kings Houston Rockets Denver Nuggets
action filter_type
action find
entity Jawann Oldham
relation member of sports team
type sports team
['Jawann Oldham', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?o WHERE { resource:Jawann_Oldham property:member_of_sports_team ?o . ?o rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3631317
P54
Q502895
USER
Does Axel Berg play for the team named those ones ?
(Q3631317,P54,Q166105) (Q3631317,P54,Q161345) (Q3631317,P54,Q162954)
action is_in
entity prev_answer
action find
entity Q3631317
relation P54
['Q3631317', 'P54', 'Q166105'] ['Q3631317', 'P54', 'Q161345'] ['Q3631317', 'P54', 'Q162954']
ASK WHERE { VALUES ( ?c ) { ( resource:Q981263 ) ( resource:Q3855794 ) ( resource:Q162954 ) } . resource:Q3631317 property:P54 ?c }
Axel Berg
action is_in
entity prev_answer
action find
entity Axel Berg
relation member of sports team
['Axel Berg', 'member of sports team', 'Sacramento Kings'] ['Axel Berg', 'member of sports team', 'Houston Rockets'] ['Axel Berg', 'member of sports team', 'Denver Nuggets']
ASK WHERE { VALUES ( ?c ) { ( resource:Lawton-Fort_Sill_Cavalry ) ( resource:Mexico_City_Aztecas ) ( resource:Denver_Nuggets ) } . resource:Axel_Berg property:member_of_sports_team ?c }
[]
common name
SYSTEM
NO
(Q3631317,P54,Q166105) (Q3631317,P54,Q161345) (Q3631317,P54,Q162954)
action is_in
entity prev_answer
action find
entity Q3631317
relation P54
[ANSWER]
['Q3631317', 'P54', 'Q166105'] ['Q3631317', 'P54', 'Q161345'] ['Q3631317', 'P54', 'Q162954']
ASK WHERE { VALUES ( ?c ) { ( resource:Q981263 ) ( resource:Q3855794 ) ( resource:Q162954 ) } . resource:Q3631317 property:P54 ?c }
No
action is_in
entity prev_answer
action find
entity Axel Berg
relation member of sports team
['Axel Berg', 'member of sports team', 'Sacramento Kings'] ['Axel Berg', 'member of sports team', 'Houston Rockets'] ['Axel Berg', 'member of sports team', 'Denver Nuggets']
ASK WHERE { VALUES ( ?c ) { ( resource:Lawton-Fort_Sill_Cavalry ) ( resource:Mexico_City_Aztecas ) ( resource:Denver_Nuggets ) } . resource:Axel_Berg property:member_of_sports_team ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q11060274 Q1792379
USER
How many names are expressed in approximately 4 prints and art genres ?
(c(Q11060274)|c(Q1792379),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
value 4
[[{'concept': 'Q11060274'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:P180 ?i . ?y rdf:type ontology:Q11060274 . ?i rdf:type ontology:Q82799 } UNION { ?y property:P180 ?i . ?i rdf:type ontology:Q82799 . ?y rdf:type ontology:Q1792379 } } GROUP BY ?i } . FILTER ( ?j = 4 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type art genre
value 4
[[{'concept': 'print'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:depicts ?i . ?y rdf:type ontology:print . ?i rdf:type ontology:name } UNION { ?y property:depicts ?i . ?i rdf:type ontology:name . ?y rdf:type ontology:art_genre } } GROUP BY ?i } . FILTER ( ?j = 4 ) }
[]
name print art genre
SYSTEM
5
Q830 Q3736439 Q7368 Q144 Q1367
(c(Q11060274)|c(Q1792379),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
value 4
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:P180 ?i . ?y rdf:type ontology:Q11060274 . ?i rdf:type ontology:Q82799 } UNION { ?y property:P180 ?i . ?i rdf:type ontology:Q82799 . ?y rdf:type ontology:Q1792379 } } GROUP BY ?i } . FILTER ( ?j = 4 ) }
cattle duck Ovis aries dog monkey
5
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type art genre
value 4
[[{'concept': 'print'}, {'concept': 'art genre'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?j ) WHERE { { ?y property:depicts ?i . ?y rdf:type ontology:print . ?i rdf:type ontology:name } UNION { ?y property:depicts ?i . ?i rdf:type ontology:name . ?y rdf:type ontology:art_genre } } GROUP BY ?i } . FILTER ( ?j = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161345
P466
Q811979
USER
Which architectural structures are occupied by Houston Rockets ?
(c(Q811979),P466,Q161345)
action filter_type
action find_reverse
entity Q161345
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q161345']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q811979 . ?h property:P466 resource:Q161345 }
Houston Rockets
action filter_type
action find_reverse
entity Houston Rockets
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Houston Rockets']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:architectural_structure . ?h property:occupant resource:Houston_Rockets }
[]
architectural structure
Q3106621 Q1166157 Q5876764
SYSTEM
Valley View Casino Center, Toyota Center, Hofheinz Pavilion
Q3106621 Q1166157 Q5876764
(c(Q811979),P466,Q161345)
action filter_type
action find_reverse
entity Q161345
relation P466
type Q811979
[ANSWERS] are occupied by Houston Rockets
[{'concept': 'Q811979'}, 'P466', 'Q161345']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q811979 . ?h property:P466 resource:Q161345 }
Valley View Casino Center Toyota Center Hofheinz Pavilion
Valley View Casino Center, Toyota Center and Hofheinz Pavilion are occupied by Houston Rockets
Valley View Casino Center Toyota Center Hofheinz Pavilion
action filter_type
action find_reverse
entity Houston Rockets
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Houston Rockets']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:architectural_structure . ?h property:occupant resource:Houston_Rockets }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3106621
P115
Q12973014
USER
Which sports team has that architectural structure as its home venue ?
(c(Q12973014),P115,Q3106621)
action filter_type
action find_reverse
entity Q3106621
relation P115
type Q12973014
[{'concept': 'Q12973014'}, 'P115', 'Q3106621']
SELECT DISTINCT ?t WHERE { ?t property:P115 resource:Q3106621 . ?t rdf:type ontology:Q12973014 }
Valley View Casino Center
action filter_type
action find_reverse
entity Valley View Casino Center
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Valley View Casino Center']
SELECT DISTINCT ?t WHERE { ?t property:home_venue resource:Valley_View_Casino_Center . ?t rdf:type ontology:sports_team }
[]
sports team
Clarification for simple ques.
Q1166157
SYSTEM
Did you mean Toyota Center ?
Q3106621 Q1166157 Q5876764
(c(Q12973014),P115,Q3106621) (c(Q12973014),P115,Q1166157) (c(Q12973014),P115,Q5876764)
[ANSWER]
[{'concept': 'Q12973014'}, 'P115', 'Q3106621'] [{'concept': 'Q12973014'}, 'P115', 'Q1166157'] [{'concept': 'Q12973014'}, 'P115', 'Q5876764']
SELECT DISTINCT ?t WHERE { ?t property:P115 resource:Q3106621 . ?t rdf:type ontology:Q12973014 }
Valley View Casino Center Toyota Center Hofheinz Pavilion
Did you mean Toyota Center ?
Toyota Center
[{'concept': 'sports team'}, 'home venue', 'Valley View Casino Center'] [{'concept': 'sports team'}, 'home venue', 'Toyota Center'] [{'concept': 'sports team'}, 'home venue', 'Hofheinz Pavilion']
SELECT DISTINCT ?t WHERE { ?t property:home_venue resource:Valley_View_Casino_Center . ?t rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
USER
No, I meant Valley View Casino Center. Could you tell me the answer for that?
(c(Q12973014),P115,Q3106621)
Q3106621
[{'concept': 'Q12973014'}, 'P115', 'Q3106621']
[{'concept': 'sports team'}, 'home venue', 'Valley View Casino Center']
[]
Q161345
SYSTEM
Houston Rockets
Q161345
(c(Q12973014),P115,Q3106621)
action filter_type
action find_reverse
entity Q3106621
relation P115
type Q12973014
[ANSWER] has that architectural structure as its home venue
[{'concept': 'Q12973014'}, 'P115', 'Q3106621']
SELECT DISTINCT ?t WHERE { ?t property:P115 resource:Q3106621 . ?t rdf:type ontology:Q12973014 }
Houston Rockets
Houston Rockets has that architectural structure as its home venue
Houston Rockets
action filter_type
action find_reverse
entity Valley View Casino Center
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'Valley View Casino Center']
SELECT DISTINCT ?t WHERE { ?t property:home_venue resource:Valley_View_Casino_Center . ?t rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q161345
P108
Q502895
USER
Which person is working for that sports team ?
(c(Q502895),P108,Q161345)
action filter_type
action find_reverse
entity Q161345
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q161345']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q161345 . ?c rdf:type ontology:Q502895 }
Houston Rockets
action filter_type
action find_reverse
entity Houston Rockets
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Houston Rockets']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:Houston_Rockets . ?c rdf:type ontology:common_name }
[]
common name
Q5226214
SYSTEM
Daryl Morey
Q5226214
(c(Q502895),P108,Q161345)
action filter_type
action find_reverse
entity Q161345
relation P108
type Q502895
[ANSWER] is working for that sports team
[{'concept': 'Q502895'}, 'P108', 'Q161345']
SELECT DISTINCT ?c WHERE { ?c property:P108 resource:Q161345 . ?c rdf:type ontology:Q502895 }
Daryl Morey
Daryl Morey is working for that sports team
Daryl Morey
action filter_type
action find_reverse
entity Houston Rockets
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Houston Rockets']
SELECT DISTINCT ?c WHERE { ?c property:employer resource:Houston_Rockets . ?c rdf:type ontology:common_name }
[]