Simple Question (Direct)
Simple Question
Q10482914
P641
Q349
USER
Which sport did Konstantin Kolesnikov participate in ?
(Q10482914,P641,c(Q349))
action filter_type
action find
entity Q10482914
relation P641
type Q349
['Q10482914', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q10482914 property:P641 ?z . ?z rdf:type ontology:Q349 }
Konstantin Kolesnikov
action filter_type
action find
entity Konstantin Kolesnikov
relation sport
type sport
['Konstantin Kolesnikov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Konstantin_Kolesnikov property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10482914,P641,c(Q349))
action filter_type
action find
entity Q10482914
relation P641
type Q349
Konstantin Kolesnikov participated in [ANSWER]
['Q10482914', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q10482914 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Konstantin Kolesnikov participated in association football
association football
action filter_type
action find
entity Konstantin Kolesnikov
relation sport
type sport
['Konstantin Kolesnikov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Konstantin_Kolesnikov property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10482914
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q10482914
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q10482914 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Konstantin Kolesnikov
action filter_type
action find
entity Konstantin Kolesnikov
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Konstantin_Kolesnikov property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q10482914
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q10482914 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Konstantin Kolesnikov
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Konstantin_Kolesnikov property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10482914
P21
Q290
USER
What is the sex of that person ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q10482914
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q10482914 property:P21 ?m . ?m rdf:type ontology:Q290 }
Konstantin Kolesnikov
action filter_type
action find
entity Konstantin Kolesnikov
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Konstantin_Kolesnikov property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q10482914
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q10482914 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Konstantin Kolesnikov
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Konstantin_Kolesnikov property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q188451 Q874405
USER
How many music genres and social groups have the profession as association football player ?
(c(Q188451),P106,Q937857) (c(Q874405),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q874405'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:Q188451 . ?a property:P106 resource:Q937857 } UNION { ?a property:P106 resource:Q937857 . ?a rdf:type ontology:Q874405 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'social group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:music_genre . ?a property:occupation resource:association_football_player } UNION { ?a property:occupation resource:association_football_player . ?a rdf:type ontology:social_group } }
[]
music genre social group
SYSTEM
1 music genres and 1 social groups
Q3752378 Q4933787
(c(Q188451),P106,Q937857) (c(Q874405),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q188451
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
[ANSWER]
[{'concept': 'Q188451'}, 'P106', 'Q937857'] [{'concept': 'Q874405'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:Q188451 . ?a property:P106 resource:Q937857 } UNION { ?a property:P106 resource:Q937857 . ?a rdf:type ontology:Q874405 } }
Fratelli Céspedes Bob Ridley
1 music genres and 1 social groups
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type music genre
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
[{'concept': 'music genre'}, 'occupation', 'association football player'] [{'concept': 'social group'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:music_genre . ?a property:occupation resource:association_football_player } UNION { ?a property:occupation resource:association_football_player . ?a rdf:type ontology:social_group } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q332656
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of more number of occupations than Camillus de Lellis ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q332656
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q332656 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 . ?g property:P417 ?a } GROUP BY ?a } }
Camillus de Lellis
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Camillus de Lellis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Camillus_de_Lellis property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:common_name . ?g rdf:type ontology:occupation . ?g property:patron_saint ?a } GROUP BY ?a } }
[]
common name occupation
SYSTEM
16
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q332656
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q332656 property:P417 ?v . ?v rdf:type ontology:Q502895 } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 . ?g property:P417 ?a } GROUP BY ?a } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
16
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Camillus de Lellis
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Camillus_de_Lellis property:patron_saint ?v . ?v rdf:type ontology:common_name } } . FILTER ( ?i > ?q ) . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?i ) WHERE { ?a rdf:type ontology:common_name . ?g rdf:type ontology:occupation . ?g property:patron_saint ?a } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10482914
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Konstantin Kolesnikov ?
(Q10482914,P27,c(Q15617994))
action filter_type
action find
entity Q10482914
relation P27
type Q15617994
['Q10482914', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q10482914 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Konstantin Kolesnikov
action filter_type
action find
entity Konstantin Kolesnikov
relation country of citizenship
type designation for an administrative territorial entity
['Konstantin Kolesnikov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Konstantin_Kolesnikov property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q10482914,P27,c(Q15617994))
action filter_type
action find
entity Q10482914
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Konstantin Kolesnikov
['Q10482914', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q10482914 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Russia
Russia is the country of citizenship of Konstantin Kolesnikov
Russia
action filter_type
action find
entity Konstantin Kolesnikov
relation country of citizenship
type designation for an administrative territorial entity
['Konstantin Kolesnikov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Konstantin_Kolesnikov property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q159 Q865
P915
Q838948
USER
How many works of art had Russia or Taiwan as their location of filming ?
(c(Q838948),P915,Q159) (c(Q838948),P915,Q865)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P915
type Q838948
action filter_type
action find_reverse
entity Q865
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q159'] [{'concept': 'Q838948'}, 'P915', 'Q865']
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { ?u property:P915 resource:Q159 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P915 resource:Q865 . ?u rdf:type ontology:Q838948 } }
Russia Taiwan
action count
action union
action filter_type
action find_reverse
entity Russia
relation filming location
type work of art
action filter_type
action find_reverse
entity Taiwan
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Russia'] [{'concept': 'work of art'}, 'filming location', 'Taiwan']
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { ?u property:filming_location resource:Russia . ?u rdf:type ontology:work_of_art } UNION { ?u property:filming_location resource:Taiwan . ?u rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
92
Q1345242 Q14948478 Q17363277 Q407184 Q4449955 Q4004017 Q628154 Q10851237 Q2182003 Q12128698 Q11179611 Q7548823 Q19089 Q916287 Q15057183 Q15129998 Q3647331 Q152857 Q80204 Q16237683 Q702437 Q18110294 Q688506 Q1045388 Q4189197 Q529053 Q964657 Q3071065 Q156608 Q50969 Q1753817 Q512070 Q4427861 Q3205500 Q15401947 Q3381240 Q1057951 Q18109989 Q586154 Q2360648 Q3429263 Q662342 Q903930 Q576367 Q84147 Q13403118 Q2826737 Q17000874 Q503046 Q535081 Q4415699 Q1212068 Q6544774 Q1035180 Q1169399 Q15972383 Q213411 Q1048846 Q53105 Q2905692 Q223596 Q2704431 Q4491991 Q15621449 Q391143 Q8911249 Q17605759 Q18811634 Q15903551 Q1432136 Q14755521 Q33189 Q1965523 Q188384 Q4375144 Q7294371 Q2493669 Q125772 Q15624215 Q647130 Q10939174 Q15913392 Q2818330 Q167437 Q570652 Q4499335 Q17500051 Q3207829 Q152780 Q232774 Q2712854 Q7627716
(c(Q838948),P915,Q159) (c(Q838948),P915,Q865)
action count
action union
action filter_type
action find_reverse
entity Q159
relation P915
type Q838948
action filter_type
action find_reverse
entity Q865
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q159'] [{'concept': 'Q838948'}, 'P915', 'Q865']
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { ?u property:P915 resource:Q159 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P915 resource:Q865 . ?u rdf:type ontology:Q838948 } }
White Nights Come Fly the Dragon Kvadrat Air Force One Devil's Pass Mesto na zemle Mission: Impossible – Ghost Protocol Kano R U There The Taiwan Oyster Island of Greed Snuff Bottle Connection GoldenEye The Sand Pebbles Pinoy Sunday Beyond Beauty: Taiwan from Above Double Trouble Downfall Anna Karenina Runaway Blues God of Gamblers Returns But Always Transsiberian Night Watch Moscow Zero Day Watch The Darkest Hour Few of Us The Bourne Supremacy Onegin The Saint The Banishment Sunstroke L'étoile du soldat The Crossing Philosophy of a Knife Persona non grata The Bodyguard The Russia House Bear's Kiss Blade K-19: The Widowmaker RED 2 U-571 Anna Karenina Gagarin: First in Space Agent Vinod Anywhere Somewhere Nowhere Andrei Rublev The Last Station The Oppenheim Family Echelon Conspiracy Life Express Captivity Le Concert Leviathan Cast Away The Sum of All Fears Moscow Does Not Believe in Tears Professor Mamlock X-Men: First Class Mute Witness Treasure Raiders Seventh Code Chinese Zodiac Crime and Punishment The Postman's White Nights Silence Jack of All Trades A Different Loyalty A Moment of Love Wolfhound Station for Two Orlando Pokhorony Stalina Raptor Ranch The Star Solaris Lucy Warriors of the Rainbow: Seediq Bale The Rooftop Black & White: The Dawn of Justice 7 Khoon Maaf The Jackal Get Smart Cold Souls Girls Möbius Life of Pi Transformers: Dark of the Moon Sunflower Student Number 1
92
action count
action union
action filter_type
action find_reverse
entity Russia
relation filming location
type work of art
action filter_type
action find_reverse
entity Taiwan
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Russia'] [{'concept': 'work of art'}, 'filming location', 'Taiwan']
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { ?u property:filming_location resource:Russia . ?u rdf:type ontology:work_of_art } UNION { ?u property:filming_location resource:Taiwan . ?u rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P138
Q102786
USER
Which abbreviation is named after that administrative territory ?
action filter_type
action find_reverse
entity Q159
relation P138
type Q102786
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q159 . ?c rdf:type ontology:Q102786 }
Russia
action filter_type
action find_reverse
entity Russia
relation named after
type abbreviation
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Russia . ?c rdf:type ontology:abbreviation }
[]
abbreviation
Q833202
SYSTEM
BRIC
Q833202
action filter_type
action find_reverse
entity Q159
relation P138
type Q102786
[ANSWER] is named after that administrative territory
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q159 . ?c rdf:type ontology:Q102786 }
BRIC
BRIC is named after that administrative territory
BRIC
action filter_type
action find_reverse
entity Russia
relation named after
type abbreviation
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Russia . ?c rdf:type ontology:abbreviation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q833202 Q148 Q244188
P138
Q15617994
USER
Does that abbreviation have People's Republic of China and Caglio as its toponym ?
(Q833202,P138,Q148) (Q833202,P138,Q244188)
action is_in
entity Q833202
action intersection
action find_reverse
entity Q148
relation P138
action find_reverse
entity Q244188
relation P138
['Q833202', 'P138', 'Q148'] ['Q833202', 'P138', 'Q244188']
ASK WHERE { resource:Q833202 property:P138 resource:Q148 . resource:Q833202 property:P138 resource:Q244188 }
BRIC People's Republic of China Caglio
action is_in
entity BRIC
action intersection
action find_reverse
entity People's Republic of China
relation named after
action find_reverse
entity Caglio
relation named after
['BRIC', 'named after', "People's Republic of China"] ['BRIC', 'named after', 'Caglio']
ASK WHERE { resource:BRIC property:named_after resource:People's_Republic_of_China . resource:BRIC property:named_after resource:Caglio }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q833202,P138,Q148) (Q833202,P138,Q244188)
action is_in
entity Q833202
action intersection
action find_reverse
entity Q148
relation P138
action find_reverse
entity Q244188
relation P138
[ANSWER]
['Q833202', 'P138', 'Q148'] ['Q833202', 'P138', 'Q244188']
ASK WHERE { resource:Q833202 property:P138 resource:Q148 . resource:Q833202 property:P138 resource:Q244188 }
YES and NO respectively
action is_in
entity BRIC
action intersection
action find_reverse
entity People's Republic of China
relation named after
action find_reverse
entity Caglio
relation named after
['BRIC', 'named after', "People's Republic of China"] ['BRIC', 'named after', 'Caglio']
ASK WHERE { resource:BRIC property:named_after resource:People's_Republic_of_China . resource:BRIC property:named_after resource:Caglio }
[]