Simple Question (Direct)
Simple Question
Q5041676
P106
Q12737077
USER
What is the profession of Carlos Aguilar ?
(Q5041676,P106,c(Q12737077))
action filter_type
action find
entity Q5041676
relation P106
type Q12737077
['Q5041676', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q5041676 property:P106 ?y }
Carlos Aguilar
action filter_type
action find
entity Carlos Aguilar
relation occupation
type occupation
['Carlos Aguilar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Carlos_Aguilar property:occupation ?y }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q5041676,P106,c(Q12737077))
action filter_type
action find
entity Q5041676
relation P106
type Q12737077
The profession of Carlos Aguilar is a [ANSWER]
['Q5041676', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q5041676 property:P106 ?y }
writer
The profession of Carlos Aguilar is a writer
writer
action filter_type
action find
entity Carlos Aguilar
relation occupation
type occupation
['Carlos Aguilar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Carlos_Aguilar property:occupation ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5041676
P551
Q56061
USER
Which administrative territory was the place of residence of that person ?
(Q36180,P551,c(Q56061))
action filter_type
action find
entity Q5041676
relation P551
type Q56061
['Q36180', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q5041676 property:P551 ?s }
Carlos Aguilar
action filter_type
action find
entity Carlos Aguilar
relation residence
type administrative territorial entity
['writer', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Carlos_Aguilar property:residence ?s }
[]
administrative territorial entity
Q2807
SYSTEM
Madrid
Q2807
(Q36180,P551,c(Q56061))
action filter_type
action find
entity Q5041676
relation P551
type Q56061
[ANSWER] was the place of residence of that person
['Q36180', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q5041676 property:P551 ?s }
Madrid
Madrid was the place of residence of that person
Madrid
action filter_type
action find
entity Carlos Aguilar
relation residence
type administrative territorial entity
['writer', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:Carlos_Aguilar property:residence ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
How many occupations were the main subjects of around 25 works of art or collectables 's work ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 25
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?v rdf:type ?t } GROUP BY ?e } . FILTER ( ?f = 25 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 25
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?v rdf:type ?t } GROUP BY ?e } . FILTER ( ?f = 25 ) }
[]
occupation work of art collectable
SYSTEM
3
Q164236 Q16746569 Q33231
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 25
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?v rdf:type ?t } GROUP BY ?e } . FILTER ( ?f = 25 ) }
war correspondent high school student photographer
3
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 25
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?f ) WHERE { VALUES ( ?t ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?v rdf:type ?t } GROUP BY ?e } . FILTER ( ?f = 25 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q18608583 Q13406554
USER
Which people were the statistical leaders of around 4 recurring sporting events and sport competitions ?
(c(Q18608583)|c(Q13406554),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 4
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { VALUES ( ?g ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?j rdf:type ?g } GROUP BY ?l } . FILTER ( ?d = 4 ) }
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 4
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { VALUES ( ?g ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?j rdf:type ?g } GROUP BY ?l } . FILTER ( ?d = 4 ) }
[]
common name recurring sporting event sport competition
Q29545 Q190094 Q44068
SYSTEM
Kevin Durant, Allen Iverson, Dirk Nowitzki
Q352110 Q193052 Q314185 Q360219 Q466385 Q190094 Q1353620 Q613234 Q504835 Q553232 Q44068 Q29545 Q24002 Q27187285 Q380015 Q6547747
(c(Q18608583)|c(Q13406554),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
value 4
[ANSWERS] were the statistical leaders of around 4 recurring sporting events and sport competitions
[[{'concept': 'Q18608583'}, {'concept': 'Q13406554'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { VALUES ( ?g ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } . ?j rdf:type ?g } GROUP BY ?l } . FILTER ( ?d = 4 ) }
George Gervin Pau Gasol George Mikan Łukasz Sosin Rainer Rauffmann Allen Iverson Neil Johnston Radivoj Korać Andrew Gaze Bob McAdoo Dirk Nowitzki Kevin Durant Andy Panko Panikos Efthymiades Igor Rakočević Liliana Kostova
Kevin Durant, Allen Iverson and Dirk Nowitzki were the statistical leaders of around 4 recurring sporting events and sport competitions
Kevin Durant Allen Iverson Dirk Nowitzki
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
value 4
[[{'concept': 'recurring sporting event'}, {'concept': 'sport competition'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { VALUES ( ?g ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } . ?j rdf:type ?g } GROUP BY ?l } . FILTER ( ?d = 4 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q29545
P166
Q618779
USER
Which awards were that person awarded with ?
(Q29545,P166,c(Q618779))
action filter_type
action find
entity Q29545
relation P166
type Q618779
['Q29545', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q29545 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Kevin Durant
action filter_type
action find
entity Kevin Durant
relation award received
type award
['Kevin Durant', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Durant property:award_received ?v . ?v rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q190094
SYSTEM
Did you mean Allen Iverson ?
Q29545 Q190094 Q44068
(Q29545,P166,c(Q618779)) (Q190094,P166,c(Q618779)) (Q44068,P166,c(Q618779))
[ANSWER]
['Q29545', 'P166', {'concept': 'Q618779'}] ['Q190094', 'P166', {'concept': 'Q618779'}] ['Q44068', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q29545 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Kevin Durant Allen Iverson Dirk Nowitzki
Did you mean Allen Iverson ?
Allen Iverson
['Kevin Durant', 'award received', {'concept': 'award'}] ['Allen Iverson', 'award received', {'concept': 'award'}] ['Dirk Nowitzki', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Durant property:award_received ?v . ?v rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
No, I meant Kevin Durant. Could you tell me the answer for that?
(Q29545,P166,c(Q618779))
Q29545
['Q29545', 'P166', {'concept': 'Q618779'}]
['Kevin Durant', 'award received', {'concept': 'award'}]
[]
Q4896724 Q4896727 Q943106
SYSTEM
Best Male Athlete ESPY Award, Best Male College Athlete ESPY Award, Best NBA Player ESPY Award
Q4896724 Q4896727 Q943106
(Q29545,P166,c(Q618779))
action filter_type
action find
entity Q29545
relation P166
type Q618779
That person were awarded the [ANSWERS]
['Q29545', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q29545 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Best Male Athlete ESPY Award Best Male College Athlete ESPY Award Best NBA Player ESPY Award
That person were awarded the Best Male Athlete ESPY Award, Best Male College Athlete ESPY Award and Best NBA Player ESPY Award
Best Male Athlete ESPY Award Best Male College Athlete ESPY Award Best NBA Player ESPY Award
action filter_type
action find
entity Kevin Durant
relation award received
type award
['Kevin Durant', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Kevin_Durant property:award_received ?v . ?v rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q943106
P166
Q502895
USER
Which people were awarded with that award ?
(c(Q502895),P166,Q943106)
action filter_type
action find_reverse
entity Q943106
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q943106']
SELECT DISTINCT ?t WHERE { ?t property:P166 resource:Q943106 . ?t rdf:type ontology:Q502895 }
Best NBA Player ESPY Award
action filter_type
action find_reverse
entity Best NBA Player ESPY Award
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Best NBA Player ESPY Award']
SELECT DISTINCT ?t WHERE { ?t property:award_received resource:Best_NBA_Player_ESPY_Award . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q4896727
SYSTEM
Did you mean Best Male College Athlete ESPY Award ?
Q4896724 Q4896727 Q943106
(c(Q502895),P166,Q4896724) (c(Q502895),P166,Q4896727) (c(Q502895),P166,Q943106)
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q4896724'] [{'concept': 'Q502895'}, 'P166', 'Q4896727'] [{'concept': 'Q502895'}, 'P166', 'Q943106']
SELECT DISTINCT ?t WHERE { ?t property:P166 resource:Q943106 . ?t rdf:type ontology:Q502895 }
Best Male Athlete ESPY Award Best Male College Athlete ESPY Award Best NBA Player ESPY Award
Did you mean Best Male College Athlete ESPY Award ?
Best Male College Athlete ESPY Award
[{'concept': 'common name'}, 'award received', 'Best Male Athlete ESPY Award'] [{'concept': 'common name'}, 'award received', 'Best Male College Athlete ESPY Award'] [{'concept': 'common name'}, 'award received', 'Best NBA Player ESPY Award']
SELECT DISTINCT ?t WHERE { ?t property:award_received resource:Best_NBA_Player_ESPY_Award . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Best NBA Player ESPY Award. Could you tell me the answer for that?
(c(Q502895),P166,Q943106)
Q943106
[{'concept': 'Q502895'}, 'P166', 'Q943106']
[{'concept': 'common name'}, 'award received', 'Best NBA Player ESPY Award']
[]
Q25369 Q41421 Q36159
SYSTEM
Kobe Bryant, Michael Jordan, LeBron James
Q25369 Q193020 Q192955 Q192707 Q31683 Q44068 Q273256 Q189240 Q41421 Q36159 Q29545 Q169452
(c(Q502895),P166,Q943106)
action filter_type
action find_reverse
entity Q943106
relation P166
type Q502895
[ANSWERS] were awarded with that award
[{'concept': 'Q502895'}, 'P166', 'Q943106']
SELECT DISTINCT ?t WHERE { ?t property:P166 resource:Q943106 . ?t rdf:type ontology:Q502895 }
Kobe Bryant Tim Duncan Steve Nash Charles Barkley Dwyane Wade Dirk Nowitzki Hakeem Olajuwon Kevin Garnett Michael Jordan LeBron James Kevin Durant Shaquille O'Neal
Kobe Bryant, Michael Jordan and LeBron James were awarded with that award
Kobe Bryant Michael Jordan LeBron James
action filter_type
action find_reverse
entity Best NBA Player ESPY Award
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Best NBA Player ESPY Award']
SELECT DISTINCT ?t WHERE { ?t property:award_received resource:Best_NBA_Player_ESPY_Award . ?t rdf:type ontology:common_name }
[]