Simple Question (Direct)
Simple Question
Q192955
P7
Q502895
USER
Who is Steve Nash a sibling of ?
(Q192955,P7,c(Q502895))
action filter_type
action find
entity Q192955
relation P7
type Q502895
['Q192955', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q192955 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Steve Nash
action filter_type
action find
entity Steve Nash
relation brother
type common name
['Steve Nash', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Steve_Nash property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q546765
SYSTEM
Martin Nash
Q546765
(Q192955,P7,c(Q502895))
action filter_type
action find
entity Q192955
relation P7
type Q502895
Steve Nash a sibling of is her [ANSWER]
['Q192955', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q192955 property:P7 ?d . ?d rdf:type ontology:Q502895 }
Martin Nash
Steve Nash a sibling of is her Martin Nash
Martin Nash
action filter_type
action find
entity Steve Nash
relation brother
type common name
['Steve Nash', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Steve_Nash property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q546765
P641
Q349
USER
Which sport did that person participate in ?
(Q546765,P641,c(Q349))
action filter_type
action find
entity Q546765
relation P641
type Q349
['Q546765', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q546765 property:P641 ?y . ?y rdf:type ontology:Q349 }
Martin Nash
action filter_type
action find
entity Martin Nash
relation sport
type sport
['Martin Nash', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Martin_Nash property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q546765,P641,c(Q349))
action filter_type
action find
entity Q546765
relation P641
type Q349
That person participated in [ANSWER]
['Q546765', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q546765 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Martin Nash
relation sport
type sport
['Martin Nash', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Martin_Nash property:sport ?y . ?y rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7963400 Q546765
P641
Q349
USER
Or Wally Jennings?
OR((Q546765,P641,c(Q349)), (Q7963400,P641,c(Q349)))
action filter_type
action union
action find
entity Q546765
relation P641
action find
entity Q7963400
relation P641
type Q349
{'OR': [['Q546765', 'P641', {'concept': 'Q349'}], ['Q7963400', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q546765 property:P641 ?r } UNION { resource:Q7963400 property:P641 ?r } } . ?r rdf:type ontology:Q349 }
Wally Jennings Martin Nash
action filter_type
action union
action find
entity Martin Nash
relation sport
action find
entity Wally Jennings
relation sport
type sport
{'OR': [['Martin Nash', 'sport', {'concept': 'sport'}], ['Wally Jennings', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Martin_Nash property:sport ?r } UNION { resource:Wally_Jennings property:sport ?r } } . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q546765,P641,c(Q349)), (Q7963400,P641,c(Q349)))
action filter_type
action union
action find
entity Q546765
relation P641
action find
entity Q7963400
relation P641
type Q349
[ANSWER]
{'OR': [['Q546765', 'P641', {'concept': 'Q349'}], ['Q7963400', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q546765 property:P641 ?r } UNION { resource:Q7963400 property:P641 ?r } } . ?r rdf:type ontology:Q349 }
association football
association football
action filter_type
action union
action find
entity Martin Nash
relation sport
action find
entity Wally Jennings
relation sport
type sport
{'OR': [['Martin Nash', 'sport', {'concept': 'sport'}], ['Wally Jennings', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Martin_Nash property:sport ?r } UNION { resource:Wally_Jennings property:sport ?r } } . ?r rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q192955 Q673361
P551
Q56061
USER
How many administrative territories were the places of residence of Steve Nash or Romeo ?
(Q192955,P551,c(Q56061)) (Q673361,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q192955
relation P551
type Q56061
action filter_type
action find
entity Q673361
relation P551
type Q56061
['Q192955', 'P551', {'concept': 'Q56061'}] ['Q673361', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:Q56061 . resource:Q192955 property:P551 ?e } UNION { resource:Q673361 property:P551 ?e . ?e rdf:type ontology:Q56061 } }
Steve Nash Romeo
action count
action union
action filter_type
action find
entity Steve Nash
relation residence
type administrative territorial entity
action filter_type
action find
entity Romeo
relation residence
type administrative territorial entity
['Steve Nash', 'residence', {'concept': 'administrative territorial entity'}] ['Romeo', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:administrative_territorial_entity . resource:Steve_Nash property:residence ?e } UNION { resource:Romeo property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
3
Q2132 Q2028 Q34647
(Q192955,P551,c(Q56061)) (Q673361,P551,c(Q56061))
action count
action union
action filter_type
action find
entity Q192955
relation P551
type Q56061
action filter_type
action find
entity Q673361
relation P551
type Q56061
[ANSWER]
['Q192955', 'P551', {'concept': 'Q56061'}] ['Q673361', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:Q56061 . resource:Q192955 property:P551 ?e } UNION { resource:Q673361 property:P551 ?e . ?e rdf:type ontology:Q56061 } }
Victoria Verona Johannesburg
3
action count
action union
action filter_type
action find
entity Steve Nash
relation residence
type administrative territorial entity
action filter_type
action find
entity Romeo
relation residence
type administrative territorial entity
['Steve Nash', 'residence', {'concept': 'administrative territorial entity'}] ['Romeo', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) WHERE { { ?e rdf:type ontology:administrative_territorial_entity . resource:Steve_Nash property:residence ?e } UNION { resource:Romeo property:residence ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192955
P1411
Q618779
USER
Which award was that person nominated for ?
action filter_type
action find
entity Q192955
relation P1411
type Q618779
SELECT DISTINCT ?q WHERE { resource:Q192955 property:P1411 ?q . ?q rdf:type ontology:Q618779 }
Steve Nash
action filter_type
action find
entity Steve Nash
relation nominated for
type award
SELECT DISTINCT ?q WHERE { resource:Steve_Nash property:nominated_for ?q . ?q rdf:type ontology:award }
[]
award
Q943106
SYSTEM
Best NBA Player ESPY Award
Q943106
action filter_type
action find
entity Q192955
relation P1411
type Q618779
That person was nominated for [ANSWER]
SELECT DISTINCT ?q WHERE { resource:Q192955 property:P1411 ?q . ?q rdf:type ontology:Q618779 }
Best NBA Player ESPY Award
That person was nominated for Best NBA Player ESPY Award
Best NBA Player ESPY Award
action filter_type
action find
entity Steve Nash
relation nominated for
type award
SELECT DISTINCT ?q WHERE { resource:Steve_Nash property:nominated_for ?q . ?q rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1411
Q502895
USER
How many people were a nomination for that award ?
(c(Q502895),P1411,Q943106)
action count
action filter_type
action find_reverse
entity Q943106
relation P1411
type Q502895
[{'concept': 'Q502895'}, 'P1411', 'Q943106']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P1411 resource:Q943106 . ?e rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Best NBA Player ESPY Award
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Best NBA Player ESPY Award']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:nominated_for resource:Best_NBA_Player_ESPY_Award . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
67
Q29545 Q29545 Q29545 Q29545 Q29545 Q192955 Q192955 Q192955 Q193020 Q193020 Q193020 Q193020 Q193020 Q221341 Q221341 Q44068 Q44068 Q44068 Q297221 Q202295 Q189240 Q189240 Q189240 Q189240 Q169452 Q169452 Q169452 Q169452 Q169452 Q190094 Q190094 Q190094 Q190094 Q199896 Q310968 Q25278 Q25278 Q25278 Q41421 Q36159 Q36159 Q36159 Q36159 Q36159 Q36159 Q36159 Q36159 Q36159 Q36159 Q31683 Q31683 Q31683 Q31683 Q311735 Q25369 Q25369 Q25369 Q25369 Q25369 Q25369 Q25369 Q25369 Q25369 Q25369 Q25369 Q46040 Q205326
(c(Q502895),P1411,Q943106)
action count
action filter_type
action find_reverse
entity Q943106
relation P1411
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1411', 'Q943106']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P1411 resource:Q943106 . ?e rdf:type ontology:Q502895 }
Kevin Durant Kevin Durant Kevin Durant Kevin Durant Kevin Durant Steve Nash Steve Nash Steve Nash Tim Duncan Tim Duncan Tim Duncan Tim Duncan Tim Duncan Jason Kidd Jason Kidd Dirk Nowitzki Dirk Nowitzki Dirk Nowitzki Kevin Love Tracy Mcmi Kevin Garnett Kevin Garnett Kevin Garnett Kevin Garnett Shaquille O'Neal Shaquille O'Neal Shaquille O'Neal Shaquille O'Neal Shaquille O'Neal Allen Iverson Allen Iverson Allen Iverson Allen Iverson Karl Malone Alonzo Mourning Dwight Howard Dwight Howard Dwight Howard Michael Jordan LeBron James LeBron James LeBron James LeBron James LeBron James LeBron James LeBron James LeBron James LeBron James LeBron James Dwyane Wade Dwyane Wade Dwyane Wade Dwyane Wade Joakim Noah Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Kobe Bryant Chris Paul Derrick Rose
67
action count
action filter_type
action find_reverse
entity Best NBA Player ESPY Award
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Best NBA Player ESPY Award']
SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:nominated_for resource:Best_NBA_Player_ESPY_Award . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3940507 Q192955
P27
Q1048835
USER
Which political territories are the native countriesof Steve Nash or Romaine Sawyers ?
OR((Q192955,P27,c(Q1048835)), (Q3940507,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q192955
relation P27
action find
entity Q3940507
relation P27
type Q1048835
{'OR': [['Q192955', 'P27', {'concept': 'Q1048835'}], ['Q3940507', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q192955 property:P27 ?p } UNION { resource:Q3940507 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Romaine Sawyers Steve Nash
action filter_type
action union
action find
entity Steve Nash
relation country of citizenship
action find
entity Romaine Sawyers
relation country of citizenship
type political territorial entity
{'OR': [['Steve Nash', 'country of citizenship', {'concept': 'political territorial entity'}], ['Romaine Sawyers', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Steve_Nash property:country_of_citizenship ?p } UNION { resource:Romaine_Sawyers property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q763 Q16
SYSTEM
Saint Kitts and Nevis, Canada
Q763 Q16
OR((Q192955,P27,c(Q1048835)), (Q3940507,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q192955
relation P27
action find
entity Q3940507
relation P27
type Q1048835
[ANSWERS] are the native countriesof Steve Nash or Romaine Sawyers
{'OR': [['Q192955', 'P27', {'concept': 'Q1048835'}], ['Q3940507', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q192955 property:P27 ?p } UNION { resource:Q3940507 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Saint Kitts and Nevis Canada
Saint Kitts and Nevis and Canada are the native countriesof Steve Nash or Romaine Sawyers
Saint Kitts and Nevis Canada
action filter_type
action union
action find
entity Steve Nash
relation country of citizenship
action find
entity Romaine Sawyers
relation country of citizenship
type political territorial entity
{'OR': [['Steve Nash', 'country of citizenship', {'concept': 'political territorial entity'}], ['Romaine Sawyers', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Steve_Nash property:country_of_citizenship ?p } UNION { resource:Romaine_Sawyers property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
How many political territories do greater number of people belong to than that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|Count over More/Less|Single entity type|Clarification
Q763
SYSTEM
Did you mean Saint Kitts and Nevis ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean Saint Kitts and Nevis ?
Saint Kitts and Nevis
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
SYSTEM
16
Q1000 Q1747689 Q838261 Q183 Q691 Q769 Q685 Q664 Q766 Q781 Q5705 Q16 Q35 Q40 Q778 Q408
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Gabon Ancient Rome Federal Republic of Yugoslavia Germany Papua New Guinea Grenada Solomon Islands New Zealand Jamaica Antigua and Barbuda Catalonia Canada Denmark Austria The Bahamas Australia
16
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]