Simple Question (Direct)
Simple Question
Q462853
P21
Q290
USER
What is the sex of Richard R. Arnold ?
(Q462853,P21,c(Q290))
action filter_type
action find
entity Q462853
relation P21
type Q290
['Q462853', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q462853 property:P21 ?h . ?h rdf:type ontology:Q290 }
Richard R. Arnold
action filter_type
action find
entity Richard R. Arnold
relation gender
type sex
['Richard R. Arnold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Richard_R._Arnold property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q462853,P21,c(Q290))
action filter_type
action find
entity Q462853
relation P21
type Q290
The sex of Richard R. Arnold is the [ANSWER]
['Q462853', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q462853 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Richard R. Arnold is the male
male
action filter_type
action find
entity Richard R. Arnold
relation gender
type sex
['Richard R. Arnold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Richard_R._Arnold property:gender ?h . ?h rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q10307390
P21
Q502895
USER
Does Joaquim Rodrigo have the gender as that sex ?
(Q10307390,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10307390
relation P21
['Q10307390', 'P21', 'Q6581097']
ASK WHERE { resource:Q10307390 property:P21 resource:Q6581097 }
male Joaquim Rodrigo
action is_in
entity male
action find
entity Joaquim Rodrigo
relation gender
['Joaquim Rodrigo', 'gender', 'male']
ASK WHERE { resource:Joaquim_Rodrigo property:gender resource:male }
[]
common name
SYSTEM
YES
(Q10307390,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10307390
relation P21
[ANSWER]
['Q10307390', 'P21', 'Q6581097']
ASK WHERE { resource:Q10307390 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Joaquim Rodrigo
relation gender
['Joaquim Rodrigo', 'gender', 'male']
ASK WHERE { resource:Joaquim_Rodrigo property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q462853 Q7531934
P27
Q15617994
USER
Does Richard R. Arnold belong to Sitka School District ?
(Q462853,P27,Q7531934)
action is_in
entity Q7531934
action find
entity Q462853
relation P27
['Q462853', 'P27', 'Q7531934']
ASK WHERE { resource:Q462853 property:P27 resource:Q7531934 }
Richard R. Arnold Sitka School District
action is_in
entity Sitka School District
action find
entity Richard R. Arnold
relation country of citizenship
['Richard R. Arnold', 'country of citizenship', 'Sitka School District']
ASK WHERE { resource:Richard_R._Arnold property:country_of_citizenship resource:Sitka_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q462853,P27,Q7531934)
action is_in
entity Q7531934
action find
entity Q462853
relation P27
[ANSWER]
['Q462853', 'P27', 'Q7531934']
ASK WHERE { resource:Q462853 property:P27 resource:Q7531934 }
No
action is_in
entity Sitka School District
action find
entity Richard R. Arnold
relation country of citizenship
['Richard R. Arnold', 'country of citizenship', 'Sitka School District']
ASK WHERE { resource:Richard_R._Arnold property:country_of_citizenship resource:Sitka_School_District }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 620 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 620
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y >= 620 ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?y ) WHERE { ?w rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?w } GROUP BY ?w } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 620
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y >= 620 ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?y ) WHERE { ?w rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?w } GROUP BY ?w } }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 620
The [ANSWERS] are played by atleast 620 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y >= 620 ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?y ) WHERE { ?w rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?w } GROUP BY ?w } }
bass guitar double bass piano trumpet cello violin organ drum kit
The piano, bass guitar and double bass are played by atleast 620 people
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 620
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?y >= 620 ) . { SELECT DISTINCT ?w ( COUNT ( ?q ) AS ?y ) WHERE { ?w rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?w } GROUP BY ?w } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q462853
P106
Q12737077
USER
Which occupations have Richard R. Arnold as his/her 's career ?
(Q462853,P106,c(Q12737077))
action filter_type
action find
entity Q462853
relation P106
type Q12737077
['Q462853', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q462853 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Richard R. Arnold
action filter_type
action find
entity Richard R. Arnold
relation occupation
type occupation
['Richard R. Arnold', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Richard_R._Arnold property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q11631 Q37226
SYSTEM
astronaut, teacher
Q11631 Q37226
(Q462853,P106,c(Q12737077))
action filter_type
action find
entity Q462853
relation P106
type Q12737077
[ANSWERS] have Richard R. Arnold as his/her 's career
['Q462853', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q462853 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
astronaut teacher
Astronaut and teacher have Richard R. Arnold as his/her 's career
astronaut teacher
action filter_type
action find
entity Richard R. Arnold
relation occupation
type occupation
['Richard R. Arnold', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Richard_R._Arnold property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q462853
P108
Q327333
USER
Which government agency employs that person ?
(Q11631,P108,c(Q327333)) (Q37226,P108,c(Q327333))
action filter_type
action find
entity Q462853
relation P108
type Q327333
['Q11631', 'P108', {'concept': 'Q327333'}] ['Q37226', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q327333 . resource:Q462853 property:P108 ?j }
Richard R. Arnold
action filter_type
action find
entity Richard R. Arnold
relation employer
type government agency
['astronaut', 'employer', {'concept': 'government agency'}] ['teacher', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:government_agency . resource:Richard_R._Arnold property:employer ?j }
[]
government agency
Q23548
SYSTEM
National Aeronautics and Space Administration
Q23548
(Q11631,P108,c(Q327333)) (Q37226,P108,c(Q327333))
action filter_type
action find
entity Q462853
relation P108
type Q327333
[ANSWER] employs that person
['Q11631', 'P108', {'concept': 'Q327333'}] ['Q37226', 'P108', {'concept': 'Q327333'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q327333 . resource:Q462853 property:P108 ?j }
National Aeronautics and Space Administration
National Aeronautics and Space Administration employs that person
National Aeronautics and Space Administration
action filter_type
action find
entity Richard R. Arnold
relation employer
type government agency
['astronaut', 'employer', {'concept': 'government agency'}] ['teacher', 'employer', {'concept': 'government agency'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:government_agency . resource:Richard_R._Arnold property:employer ?j }
[]