Simple Question (Direct)
Simple Question
Q1392517
P21
Q290
USER
What is the sex of Otis Thorpe ?
(Q1392517,P21,c(Q290))
action filter_type
action find
entity Q1392517
relation P21
type Q290
['Q1392517', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1392517 property:P21 ?k }
Otis Thorpe
action filter_type
action find
entity Otis Thorpe
relation gender
type sex
['Otis Thorpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Otis_Thorpe property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1392517,P21,c(Q290))
action filter_type
action find
entity Q1392517
relation P21
type Q290
The sex of Otis Thorpe is a [ANSWER]
['Q1392517', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1392517 property:P21 ?k }
male
The sex of Otis Thorpe is a male
male
action filter_type
action find
entity Otis Thorpe
relation gender
type sex
['Otis Thorpe', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Otis_Thorpe property:gender ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1392517
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1392517
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1392517 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Otis Thorpe
action filter_type
action find
entity Otis Thorpe
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Otis_Thorpe property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1392517
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1392517 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
basketball player
That person does a basketball player for a living
basketball player
action filter_type
action find
entity Otis Thorpe
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Otis_Thorpe property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1392517
P54
Q12973014
USER
Which sports teams are Otis Thorpe a member of ?
(Q1392517,P54,c(Q12973014))
action filter_type
action find
entity Q1392517
relation P54
type Q12973014
['Q1392517', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q1392517 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Otis Thorpe
action filter_type
action find
entity Otis Thorpe
relation member of sports team
type sports team
['Otis Thorpe', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Otis_Thorpe property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
sports team
Q166105 Q161345 Q169661
SYSTEM
Sacramento Kings, Houston Rockets, Detroit Pistons
Q169661 Q169165 Q3307390 Q167253 Q172339 Q169138 Q166105 Q163480 Q161345
(Q1392517,P54,c(Q12973014))
action filter_type
action find
entity Q1392517
relation P54
type Q12973014
The [ANSWERS] are Otis Thorpe a member of
['Q1392517', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?e WHERE { resource:Q1392517 property:P54 ?e . ?e rdf:type ontology:Q12973014 }
Detroit Pistons Washington Wizards Vancouver Grizzlies Portland Trail Blazers New Orleans Pelicans Miami Heat Sacramento Kings Charlotte Hornets Houston Rockets
The Sacramento Kings, Houston Rockets and Detroit Pistons are Otis Thorpe a member of
Sacramento Kings Houston Rockets Detroit Pistons
action filter_type
action find
entity Otis Thorpe
relation member of sports team
type sports team
['Otis Thorpe', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?e WHERE { resource:Otis_Thorpe property:member_of_sports_team ?e . ?e rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18758244
P54
Q502895
USER
Are Adolphe Groscol members of those sports teams ?
(Q18758244,P54,Q166105) (Q18758244,P54,Q161345) (Q18758244,P54,Q169661)
action is_in
entity prev_answer
action find
entity Q18758244
relation P54
['Q18758244', 'P54', 'Q166105'] ['Q18758244', 'P54', 'Q161345'] ['Q18758244', 'P54', 'Q169661']
ASK WHERE { VALUES ( ?a ) { ( resource:Q169661 ) ( resource:Q169165 ) ( resource:Q3307390 ) } . resource:Q18758244 property:P54 ?a }
Adolphe Groscol
action is_in
entity prev_answer
action find
entity Adolphe Groscol
relation member of sports team
['Adolphe Groscol', 'member of sports team', 'Sacramento Kings'] ['Adolphe Groscol', 'member of sports team', 'Houston Rockets'] ['Adolphe Groscol', 'member of sports team', 'Detroit Pistons']
ASK WHERE { VALUES ( ?a ) { ( resource:Detroit_Pistons ) ( resource:Washington_Wizards ) ( resource:Vancouver_Grizzlies ) } . resource:Adolphe_Groscol property:member_of_sports_team ?a }
[]
common name
SYSTEM
NO
(Q18758244,P54,Q166105) (Q18758244,P54,Q161345) (Q18758244,P54,Q169661)
action is_in
entity prev_answer
action find
entity Q18758244
relation P54
[ANSWER]
['Q18758244', 'P54', 'Q166105'] ['Q18758244', 'P54', 'Q161345'] ['Q18758244', 'P54', 'Q169661']
ASK WHERE { VALUES ( ?a ) { ( resource:Q169661 ) ( resource:Q169165 ) ( resource:Q3307390 ) } . resource:Q18758244 property:P54 ?a }
No
action is_in
entity prev_answer
action find
entity Adolphe Groscol
relation member of sports team
['Adolphe Groscol', 'member of sports team', 'Sacramento Kings'] ['Adolphe Groscol', 'member of sports team', 'Houston Rockets'] ['Adolphe Groscol', 'member of sports team', 'Detroit Pistons']
ASK WHERE { VALUES ( ?a ) { ( resource:Detroit_Pistons ) ( resource:Washington_Wizards ) ( resource:Vancouver_Grizzlies ) } . resource:Adolphe_Groscol property:member_of_sports_team ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q161345
P466
Q811979 Q44539
USER
How many architectural structures or temples are occupied by Houston Rockets ?
(c(Q811979),P466,Q161345) (c(Q44539),P466,Q161345)
action count
action union
action filter_type
action find_reverse
entity Q161345
relation P466
type Q811979
action filter_type
action find_reverse
entity Q161345
relation P466
type Q44539
[{'concept': 'Q811979'}, 'P466', 'Q161345'] [{'concept': 'Q44539'}, 'P466', 'Q161345']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P466 resource:Q161345 . ?p rdf:type ontology:Q811979 } UNION { ?p property:P466 resource:Q161345 . ?p rdf:type ontology:Q44539 } }
Houston Rockets
action count
action union
action filter_type
action find_reverse
entity Houston Rockets
relation occupant
type architectural structure
action filter_type
action find_reverse
entity Houston Rockets
relation occupant
type temple
[{'concept': 'architectural structure'}, 'occupant', 'Houston Rockets'] [{'concept': 'temple'}, 'occupant', 'Houston Rockets']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:occupant resource:Houston_Rockets . ?p rdf:type ontology:architectural_structure } UNION { ?p property:occupant resource:Houston_Rockets . ?p rdf:type ontology:temple } }
[]
architectural structure temple
SYSTEM
4
Q3106621 Q2435324 Q1166157 Q5876764
(c(Q811979),P466,Q161345) (c(Q44539),P466,Q161345)
action count
action union
action filter_type
action find_reverse
entity Q161345
relation P466
type Q811979
action filter_type
action find_reverse
entity Q161345
relation P466
type Q44539
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q161345'] [{'concept': 'Q44539'}, 'P466', 'Q161345']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:P466 resource:Q161345 . ?p rdf:type ontology:Q811979 } UNION { ?p property:P466 resource:Q161345 . ?p rdf:type ontology:Q44539 } }
Valley View Casino Center Lakewood Church Central Campus Toyota Center Hofheinz Pavilion
4
action count
action union
action filter_type
action find_reverse
entity Houston Rockets
relation occupant
type architectural structure
action filter_type
action find_reverse
entity Houston Rockets
relation occupant
type temple
[{'concept': 'architectural structure'}, 'occupant', 'Houston Rockets'] [{'concept': 'temple'}, 'occupant', 'Houston Rockets']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { ?p property:occupant resource:Houston_Rockets . ?p rdf:type ontology:architectural_structure } UNION { ?p property:occupant resource:Houston_Rockets . ?p rdf:type ontology:temple } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q161345 Q134479
P1346
Q13406554
USER
How many sport competitions were Houston Rockets or Croatia national football team decalred as a victor of ?
(c(Q13406554),P1346,Q161345) (c(Q13406554),P1346,Q134479)
action count
action union
action filter_type
action find_reverse
entity Q161345
relation P1346
type Q13406554
action filter_type
action find_reverse
entity Q134479
relation P1346
type Q13406554
[{'concept': 'Q13406554'}, 'P1346', 'Q161345'] [{'concept': 'Q13406554'}, 'P1346', 'Q134479']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P1346 resource:Q161345 . ?b rdf:type ontology:Q13406554 } UNION { ?b property:P1346 resource:Q134479 . ?b rdf:type ontology:Q13406554 } }
Houston Rockets Croatia national football team
action count
action union
action filter_type
action find_reverse
entity Houston Rockets
relation winner
type sport competition
action filter_type
action find_reverse
entity Croatia national football team
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Houston Rockets'] [{'concept': 'sport competition'}, 'winner', 'Croatia national football team']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:winner resource:Houston_Rockets . ?b rdf:type ontology:sport_competition } UNION { ?b property:winner resource:Croatia_national_football_team . ?b rdf:type ontology:sport_competition } }
[]
sport competition
SYSTEM
2
Q24201958 Q24201939
(c(Q13406554),P1346,Q161345) (c(Q13406554),P1346,Q134479)
action count
action union
action filter_type
action find_reverse
entity Q161345
relation P1346
type Q13406554
action filter_type
action find_reverse
entity Q134479
relation P1346
type Q13406554
[ANSWER]
[{'concept': 'Q13406554'}, 'P1346', 'Q161345'] [{'concept': 'Q13406554'}, 'P1346', 'Q134479']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P1346 resource:Q161345 . ?b rdf:type ontology:Q13406554 } UNION { ?b property:P1346 resource:Q134479 . ?b rdf:type ontology:Q13406554 } }
Croatia v Spain Turkey v Croatia
2
action count
action union
action filter_type
action find_reverse
entity Houston Rockets
relation winner
type sport competition
action filter_type
action find_reverse
entity Croatia national football team
relation winner
type sport competition
[{'concept': 'sport competition'}, 'winner', 'Houston Rockets'] [{'concept': 'sport competition'}, 'winner', 'Croatia national football team']
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:winner resource:Houston_Rockets . ?b rdf:type ontology:sport_competition } UNION { ?b property:winner resource:Croatia_national_football_team . ?b rdf:type ontology:sport_competition } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q189472
P641
Q31629 Q12973014
USER
Which types of sport were more number of sports teams a part of than freestyle skiing ?
(c(Q12973014),P641,c(Q31629))
action greater
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q189472
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P641 ?f . ?y rdf:type ontology:Q12973014 . ?f rdf:type ontology:Q31629 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:Q31629 . resource:Q189472 property:P641 ?k } } . FILTER ( ?s > ?u ) }
freestyle skiing
action greater
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity freestyle skiing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:sport ?f . ?y rdf:type ontology:sports_team . ?f rdf:type ontology:type_of_sport } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:type_of_sport . resource:freestyle_skiing property:sport ?k } } . FILTER ( ?s > ?u ) }
[]
type of sport sports team
Q216613 Q3609 Q1128216
SYSTEM
Nordic skiing, road bicycle racing, wheelchair basketball
Q29358 Q216613 Q542 Q179687 Q272460 Q3609 Q14554839 Q186222 Q1128216 Q7735 Q48890
(c(Q12973014),P641,c(Q31629))
action greater
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q189472
relation P641
type Q31629
[ANSWERS] were more number of sports teams a part of than freestyle skiing
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P641 ?f . ?y rdf:type ontology:Q12973014 . ?f rdf:type ontology:Q31629 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:Q31629 . resource:Q189472 property:P641 ?k } } . FILTER ( ?s > ?u ) }
orienteering Nordic skiing athletics cross-country skiing Pilates road bicycle racing competitive fencing alpine skiing wheelchair basketball diving college basketball
Nordic skiing, road bicycle racing and wheelchair basketball were more number of sports teams a part of than freestyle skiing
Nordic skiing road bicycle racing wheelchair basketball
action greater
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity freestyle skiing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:sport ?f . ?y rdf:type ontology:sports_team . ?f rdf:type ontology:type_of_sport } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k rdf:type ontology:type_of_sport . resource:freestyle_skiing property:sport ?k } } . FILTER ( ?s > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q219554
P641
Q31629 Q12973014
USER
And what about kite surfing?
(c(Q12973014),P641,c(Q31629))
action greater
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q219554
relation P641
type Q31629
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?s ) WHERE { ?b rdf:type ontology:Q31629 . ?w rdf:type ontology:Q12973014 . ?w property:P641 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:Q31629 . resource:Q219554 property:P641 ?j } } . FILTER ( ?s > ?l ) }
kite surfing
action greater
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity kite surfing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?s ) WHERE { ?b rdf:type ontology:type_of_sport . ?w rdf:type ontology:sports_team . ?w property:sport ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:type_of_sport . resource:kite_surfing property:sport ?j } } . FILTER ( ?s > ?l ) }
[]
type of sport sports team
Q216613 Q3609 Q1128216
SYSTEM
Nordic skiing, road bicycle racing, wheelchair basketball
Q29358 Q216613 Q542 Q179687 Q272460 Q3609 Q14554839 Q186222 Q1128216 Q7735 Q48890
(c(Q12973014),P641,c(Q31629))
action greater
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
action count
action filter_type
action find
entity Q219554
relation P641
type Q31629
[ANSWERS]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?s ) WHERE { ?b rdf:type ontology:Q31629 . ?w rdf:type ontology:Q12973014 . ?w property:P641 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:Q31629 . resource:Q219554 property:P641 ?j } } . FILTER ( ?s > ?l ) }
orienteering Nordic skiing athletics cross-country skiing Pilates road bicycle racing competitive fencing alpine skiing wheelchair basketball diving college basketball
Nordic skiing road bicycle racing wheelchair basketball
action greater
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
action count
action filter_type
action find
entity kite surfing
relation sport
type type of sport
[{'concept': 'sports team'}, 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?s ) WHERE { ?b rdf:type ontology:type_of_sport . ?w rdf:type ontology:sports_team . ?w property:sport ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:type_of_sport . resource:kite_surfing property:sport ?j } } . FILTER ( ?s > ?l ) }
[]