Simple Question (Direct)
Simple Question
Q4089276
P21
Q290
USER
Which sex does Sergey Bogdanov have ?
(Q4089276,P21,c(Q290))
action filter_type
action find
entity Q4089276
relation P21
type Q290
['Q4089276', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4089276 property:P21 ?v . ?v rdf:type ontology:Q290 }
Sergey Bogdanov
action filter_type
action find
entity Sergey Bogdanov
relation gender
type sex
['Sergey Bogdanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Sergey_Bogdanov property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4089276,P21,c(Q290))
action filter_type
action find
entity Q4089276
relation P21
type Q290
Sergey Bogdanov has a [ANSWER]
['Q4089276', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q4089276 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Sergey Bogdanov has a male
male
action filter_type
action find
entity Sergey Bogdanov
relation gender
type sex
['Sergey Bogdanov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Sergey_Bogdanov property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4089276
P106
Q12737077
USER
What does Sergey Bogdanov do for a living ?
(Q4089276,P106,c(Q12737077))
action filter_type
action find
entity Q4089276
relation P106
type Q12737077
['Q4089276', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q4089276 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Sergey Bogdanov
action filter_type
action find
entity Sergey Bogdanov
relation occupation
type occupation
['Sergey Bogdanov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sergey_Bogdanov property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4089276,P106,c(Q12737077))
action filter_type
action find
entity Q4089276
relation P106
type Q12737077
[ANSWER] Sergey Bogdanov does for a living
['Q4089276', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q4089276 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Association football player Sergey Bogdanov does for a living
association football player
action filter_type
action find
entity Sergey Bogdanov
relation occupation
type occupation
['Sergey Bogdanov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Sergey_Bogdanov property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2851333
Q12737077
USER
And what about Peter Solley?
(Q2851333,P106,c(Q12737077))
action filter_type
action find
entity Q2851333
relation P106
type Q12737077
['Q2851333', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2851333 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Peter Solley
action filter_type
action find
entity Peter Solley
relation occupation
type occupation
['Peter Solley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Peter_Solley property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q183945
SYSTEM
record producer
Q183945
(Q2851333,P106,c(Q12737077))
action filter_type
action find
entity Q2851333
relation P106
type Q12737077
[ANSWER]
['Q2851333', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2851333 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
record producer
record producer
action filter_type
action find
entity Peter Solley
relation occupation
type occupation
['Peter Solley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Peter_Solley property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183945 Q959049
P425
Q8148
USER
Does music production have that one as the associated field of occupation ?
(Q183945,P425,Q959049)
action is_in
entity Q959049
action find
entity Q183945
relation P425
['Q183945', 'P425', 'Q959049']
ASK WHERE { resource:Q183945 property:P425 resource:Q959049 }
record producer music production
action is_in
entity music production
action find
entity record producer
relation field of this occupation
['record producer', 'field of this occupation', 'music production']
ASK WHERE { resource:record_producer property:field_of_this_occupation resource:music_production }
[]
industry
SYSTEM
YES
(Q183945,P425,Q959049)
action is_in
entity Q959049
action find
entity Q183945
relation P425
[ANSWER]
['Q183945', 'P425', 'Q959049']
ASK WHERE { resource:Q183945 property:P425 resource:Q959049 }
Yes
action is_in
entity music production
action find
entity record producer
relation field of this occupation
['record producer', 'field of this occupation', 'music production']
ASK WHERE { resource:record_producer property:field_of_this_occupation resource:music_production }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11303721
P417
Q502895
USER
What is the name of person who is the patron saint of golfer ?
(Q11303721,P417,c(Q502895))
action filter_type
action find
entity Q11303721
relation P417
type Q502895
['Q11303721', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q11303721 property:P417 ?h }
golfer
action filter_type
action find
entity golfer
relation patron saint
type common name
['golfer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:golfer property:patron_saint ?h }
[]
common name
Q43399
SYSTEM
Andrew
Q43399
(Q11303721,P417,c(Q502895))
action filter_type
action find
entity Q11303721
relation P417
type Q502895
The name of person is the patron saint of golfer is the [ANSWER]
['Q11303721', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q11303721 property:P417 ?h }
Andrew
The name of person is the patron saint of golfer is the Andrew
Andrew
action filter_type
action find
entity golfer
relation patron saint
type common name
['golfer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:golfer property:patron_saint ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
How many collectables had around 3 people as the dubbing artist ?
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 3
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?t property:P725 ?f . ?t rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?p = 3 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 3
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?t property:voice_actor ?f . ?t rdf:type ontology:collectable . ?f rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?p = 3 ) }
[]
common name collectable
SYSTEM
6
Q50035 Q483263 Q482870 Q1204015 Q485958 Q5647726
(c(Q2342494),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 3
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?t property:P725 ?f . ?t rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q502895 } GROUP BY ?t } . FILTER ( ?p = 3 ) }
Nyaruko: Crawling with Love Baka and Test Boku wa Tomodachi ga Sukunai Ōkami Kakushi Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure
6
action count
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 3
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?p ) WHERE { ?t property:voice_actor ?f . ?t rdf:type ontology:collectable . ?f rdf:type ontology:common_name } GROUP BY ?t } . FILTER ( ?p = 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
How many collectables had their voice dubbing done by atleast 4 people ?
(c(Q2342494),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 4
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?d ) WHERE { ?z property:P725 ?s . ?z rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?d >= 4 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type collectable
type common name
value 4
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?d ) WHERE { ?z property:voice_actor ?s . ?z rdf:type ontology:collectable . ?s rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?d >= 4 ) }
[]
common name collectable
SYSTEM
1
Q53351
(c(Q2342494),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 4
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?d ) WHERE { ?z property:P725 ?s . ?z rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?d >= 4 ) }
Accel World
1
action count
action atleast
action find_tuple_counts
relation voice actor
type collectable
type common name
value 4
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?d ) WHERE { ?z property:voice_actor ?s . ?z rdf:type ontology:collectable . ?s rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?d >= 4 ) }
[]