Simple Question (Direct)
Simple Question
Q12780113
P1344
Q2312410
USER
Which sport discipline did Claudette Mukasakindi compete in ?
(Q12780113,P1344,c(Q2312410))
action filter_type
action find
entity Q12780113
relation P1344
type Q2312410
['Q12780113', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2312410 . resource:Q12780113 property:P1344 ?b }
Claudette Mukasakindi
action filter_type
action find
entity Claudette Mukasakindi
relation participant of
type sport discipline
['Claudette Mukasakindi', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport_discipline . resource:Claudette_Mukasakindi property:participant_of ?b }
[]
sport discipline
Q18193712
SYSTEM
athletics at the 2016 Summer Olympics
Q18193712
(Q12780113,P1344,c(Q2312410))
action filter_type
action find
entity Q12780113
relation P1344
type Q2312410
Claudette Mukasakindi competed in [ANSWER]
['Q12780113', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2312410 . resource:Q12780113 property:P1344 ?b }
athletics at the 2016 Summer Olympics
Claudette Mukasakindi competed in athletics at the 2016 Summer Olympics
athletics at the 2016 Summer Olympics
action filter_type
action find
entity Claudette Mukasakindi
relation participant of
type sport discipline
['Claudette Mukasakindi', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sport_discipline . resource:Claudette_Mukasakindi property:participant_of ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12780113
P21
Q290
USER
Which sex does that person have ?
(Q18193712,P21,c(Q290))
action filter_type
action find
entity Q12780113
relation P21
type Q290
['Q18193712', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q12780113 property:P21 ?m . ?m rdf:type ontology:Q290 }
Claudette Mukasakindi
action filter_type
action find
entity Claudette Mukasakindi
relation gender
type sex
['athletics at the 2016 Summer Olympics', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Claudette_Mukasakindi property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q18193712,P21,c(Q290))
action filter_type
action find
entity Q12780113
relation P21
type Q290
That person has a [ANSWER]
['Q18193712', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q12780113 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Claudette Mukasakindi
relation gender
type sex
['athletics at the 2016 Summer Olympics', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Claudette_Mukasakindi property:gender ?m . ?m rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
Which sexes are the sex of greater number of people than that sex ?
(c(Q502895),P21,c(Q290))
action greater
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Q6581072 property:P21 ?o . ?o rdf:type ontology:Q290 } } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P21 ?j . ?j rdf:type ontology:Q290 . ?x rdf:type ontology:Q502895 } GROUP BY ?j } }
action greater
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:female property:gender ?o . ?o rdf:type ontology:sex } } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:gender ?j . ?j rdf:type ontology:sex . ?x rdf:type ontology:common_name } GROUP BY ?j } }
[]
sex common name
Q6581097
SYSTEM
male
Q6581097
(c(Q502895),P21,c(Q290))
action greater
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581072
relation P21
type Q290
[ANSWER] is the sex of greater number of people than that sex
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:Q6581072 property:P21 ?o . ?o rdf:type ontology:Q290 } } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P21 ?j . ?j rdf:type ontology:Q290 . ?x rdf:type ontology:Q502895 } GROUP BY ?j } }
male
Male is the sex of greater number of people than that sex
male
action greater
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity female
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { resource:female property:gender ?o . ?o rdf:type ontology:sex } } . FILTER ( ?v > ?u ) . { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:gender ?j . ?j rdf:type ontology:sex . ?x rdf:type ontology:common_name } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes do greater number of people possess than that sex ?
(c(Q502895),P21,c(Q290))
action count
action greater
action find_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:P21 ?t . ?o rdf:type ontology:Q290 . ?t rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q6581097 property:P21 ?z . ?z rdf:type ontology:Q290 } } . FILTER ( ?n > ?l ) }
action count
action greater
action find_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:gender ?t . ?o rdf:type ontology:sex . ?t rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:male property:gender ?z . ?z rdf:type ontology:sex } } . FILTER ( ?n > ?l ) }
[]
sex common name
SYSTEM
0
(c(Q502895),P21,c(Q290))
action count
action greater
action find_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:P21 ?t . ?o rdf:type ontology:Q290 . ?t rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q6581097 property:P21 ?z . ?z rdf:type ontology:Q290 } } . FILTER ( ?n > ?l ) }
0
action count
action greater
action find_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?n ) WHERE { ?o property:gender ?t . ?o rdf:type ontology:sex . ?t rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:male property:gender ?z . ?z rdf:type ontology:sex } } . FILTER ( ?n > ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18193712
P115
Q1076486
USER
Which sports venue is the ground of athletics at the 2016 Summer Olympics ?
(Q18193712,P115,c(Q1076486))
action filter_type
action find
entity Q18193712
relation P115
type Q1076486
['Q18193712', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?t WHERE { resource:Q18193712 property:P115 ?t . ?t rdf:type ontology:Q1076486 }
athletics at the 2016 Summer Olympics
action filter_type
action find
entity athletics at the 2016 Summer Olympics
relation home venue
type sports venue
['athletics at the 2016 Summer Olympics', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?t WHERE { resource:athletics_at_the_2016_Summer_Olympics property:home_venue ?t . ?t rdf:type ontology:sports_venue }
[]
sports venue
Q17489
SYSTEM
Estádio Olímpico João Havelange
Q17489
(Q18193712,P115,c(Q1076486))
action filter_type
action find
entity Q18193712
relation P115
type Q1076486
The [ANSWER] is the ground of athletics at the 2016 Summer Olympics
['Q18193712', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?t WHERE { resource:Q18193712 property:P115 ?t . ?t rdf:type ontology:Q1076486 }
Estádio Olímpico João Havelange
The Estádio Olímpico João Havelange is the ground of athletics at the 2016 Summer Olympics
Estádio Olímpico João Havelange
action filter_type
action find
entity athletics at the 2016 Summer Olympics
relation home venue
type sports venue
['athletics at the 2016 Summer Olympics', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?t WHERE { resource:athletics_at_the_2016_Summer_Olympics property:home_venue ?t . ?t rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17489
P127
Q56061
USER
Who is the owner of that sports venue ?
(Q17489,P127,c(Q56061))
action filter_type
action find
entity Q17489
relation P127
type Q56061
['Q17489', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q17489 property:P127 ?s . ?s rdf:type ontology:Q56061 }
Estádio Olímpico João Havelange
action filter_type
action find
entity Estádio Olímpico João Havelange
relation owned by
type administrative territorial entity
['Estádio Olímpico João Havelange', 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Estádio_Olímpico_João_Havelange property:owned_by ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q17489,P127,c(Q56061))
action filter_type
action find
entity Q17489
relation P127
type Q56061
The owner of that sports venue is Flamengo [ANSWER]
['Q17489', 'P127', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q17489 property:P127 ?s . ?s rdf:type ontology:Q56061 }
Rio de Janeiro
The owner of that sports venue is Flamengo Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Estádio Olímpico João Havelange
relation owned by
type administrative territorial entity
['Estádio Olímpico João Havelange', 'owned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Estádio_Olímpico_João_Havelange property:owned_by ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have max number of administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { ?e property:P532 ?m . ?e rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:P532 ?w . ?w rdf:type ontology:Q56061 . ?g rdf:type ontology:Q2235308 } GROUP BY ?g } . FILTER ( ?i = ?t ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { ?e property:port_of_registry ?m . ?e rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:port_of_registry ?w . ?w rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:ship_type } GROUP BY ?g } . FILTER ( ?i = ?t ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] have max number of administrative territories as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { ?e property:P532 ?m . ?e rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:P532 ?w . ?w rdf:type ontology:Q56061 . ?g rdf:type ontology:Q2235308 } GROUP BY ?g } . FILTER ( ?i = ?t ) }
MS Arrow
MS Arrow have max number of administrative territories as their base harbour
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?t ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?k ) WHERE { ?e property:port_of_registry ?m . ?e rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } } . { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?i ) WHERE { ?g property:port_of_registry ?w . ?w rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:ship_type } GROUP BY ?g } . FILTER ( ?i = ?t ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11707059
P137
Q43229
USER
Who manages that ship type ?
(Q11707059,P137,c(Q43229))
action filter_type
action find
entity Q11707059
relation P137
type Q43229
['Q11707059', 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q11707059 property:P137 ?x . ?x rdf:type ontology:Q43229 }
MS Arrow
action filter_type
action find
entity MS Arrow
relation operator
type organization
['MS Arrow', 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:MS_Arrow property:operator ?x . ?x rdf:type ontology:organization }
[]
organization
Q7442038 Q387034
SYSTEM
Seatruck Ferries, Condor Ferries
Q7442038 Q387034
(Q11707059,P137,c(Q43229))
action filter_type
action find
entity Q11707059
relation P137
type Q43229
[ANSWERS] manage that ship type
['Q11707059', 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { resource:Q11707059 property:P137 ?x . ?x rdf:type ontology:Q43229 }
Seatruck Ferries Condor Ferries
Seatruck Ferries and Condor Ferries manage that ship type
Seatruck Ferries Condor Ferries
action filter_type
action find
entity MS Arrow
relation operator
type organization
['MS Arrow', 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { resource:MS_Arrow property:operator ?x . ?x rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20744086
P137
Q2235308
USER
Are LR7 the administrator of those organizations ?
(Q20744086,P137,Q7442038) (Q20744086,P137,Q387034)
action is_in
entity prev_answer
action find
entity Q20744086
relation P137
['Q20744086', 'P137', 'Q7442038'] ['Q20744086', 'P137', 'Q387034']
ASK WHERE { VALUES ( ?m ) { ( resource:Q7442038 ) ( resource:Q387034 ) } . resource:Q20744086 property:P137 ?m }
LR7
action is_in
entity prev_answer
action find
entity LR7
relation operator
['LR7', 'operator', 'Seatruck Ferries'] ['LR7', 'operator', 'Condor Ferries']
ASK WHERE { VALUES ( ?m ) { ( resource:Seatruck_Ferries ) ( resource:Condor_Ferries ) } . resource:LR7 property:operator ?m }
[]
ship type
SYSTEM
NO
(Q20744086,P137,Q7442038) (Q20744086,P137,Q387034)
action is_in
entity prev_answer
action find
entity Q20744086
relation P137
[ANSWER]
['Q20744086', 'P137', 'Q7442038'] ['Q20744086', 'P137', 'Q387034']
ASK WHERE { VALUES ( ?m ) { ( resource:Q7442038 ) ( resource:Q387034 ) } . resource:Q20744086 property:P137 ?m }
No
action is_in
entity prev_answer
action find
entity LR7
relation operator
['LR7', 'operator', 'Seatruck Ferries'] ['LR7', 'operator', 'Condor Ferries']
ASK WHERE { VALUES ( ?m ) { ( resource:Seatruck_Ferries ) ( resource:Condor_Ferries ) } . resource:LR7 property:operator ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P1001
Q294414
USER
Which public office has jurisdiction over Rio de Janeiro ?
(c(Q294414),P1001,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P1001
type Q294414
[{'concept': 'Q294414'}, 'P1001', 'Q8678']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q8678 . ?t rdf:type ontology:Q294414 }
Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation applies to jurisdiction
type public office
[{'concept': 'public office'}, 'applies to jurisdiction', 'Rio de Janeiro']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Rio_de_Janeiro . ?t rdf:type ontology:public_office }
[]
public office
Q25471912
SYSTEM
Governor of Rio de Janeiro
Q25471912
(c(Q294414),P1001,Q8678)
action filter_type
action find_reverse
entity Q8678
relation P1001
type Q294414
The [ANSWER] has jurisdiction over Rio de Janeiro
[{'concept': 'Q294414'}, 'P1001', 'Q8678']
SELECT DISTINCT ?t WHERE { ?t property:P1001 resource:Q8678 . ?t rdf:type ontology:Q294414 }
Governor of Rio de Janeiro
The Governor of Rio de Janeiro has jurisdiction over Rio de Janeiro
Governor of Rio de Janeiro
action filter_type
action find_reverse
entity Rio de Janeiro
relation applies to jurisdiction
type public office
[{'concept': 'public office'}, 'applies to jurisdiction', 'Rio de Janeiro']
SELECT DISTINCT ?t WHERE { ?t property:applies_to_jurisdiction resource:Rio_de_Janeiro . ?t rdf:type ontology:public_office }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P6
Q502895
USER
Who is the head of the government of Rio de Janeiro ?
(Q8678,P6,c(Q502895))
action filter_type
action find
entity Q8678
relation P6
type Q502895
['Q8678', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q8678 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Rio de Janeiro
action filter_type
action find
entity Rio de Janeiro
relation head of government
type common name
['Rio de Janeiro', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Rio_de_Janeiro property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q972007
SYSTEM
Eduardo Paes
Q972007
(Q8678,P6,c(Q502895))
action filter_type
action find
entity Q8678
relation P6
type Q502895
The head of the government of Rio de Janeiro is José [ANSWER]
['Q8678', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q8678 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Eduardo Paes
The head of the government of Rio de Janeiro is José Eduardo Paes
Eduardo Paes
action filter_type
action find
entity Rio de Janeiro
relation head of government
type common name
['Rio de Janeiro', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Rio_de_Janeiro property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]