Simple Question (Direct)
Simple Question
Q6848757
P21
Q290
USER
Which sex does Mike Seerey belong to ?
(Q6848757,P21,c(Q290))
action filter_type
action find
entity Q6848757
relation P21
type Q290
['Q6848757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q6848757 property:P21 ?a . ?a rdf:type ontology:Q290 }
Mike Seerey
action filter_type
action find
entity Mike Seerey
relation gender
type sex
['Mike Seerey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Mike_Seerey property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6848757,P21,c(Q290))
action filter_type
action find
entity Q6848757
relation P21
type Q290
Mike Seerey belongs to [ANSWER]
['Q6848757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q6848757 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Mike Seerey belongs to male
male
action filter_type
action find
entity Mike Seerey
relation gender
type sex
['Mike Seerey', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Mike_Seerey property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P180
Q3305213
USER
Which painting expresses that sex ?
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q6581097 . ?n rdf:type ontology:Q3305213 }
male
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:male . ?n rdf:type ontology:painting }
[]
painting
Q18713957
SYSTEM
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Q18713957
(c(Q3305213),P180,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q3305213
[ANSWER] expresses that sex
[{'concept': 'Q3305213'}, 'P180', 'Q6581097']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q6581097 . ?n rdf:type ontology:Q3305213 }
Raja Surendra Vikram Shah at the age of 15 with his prime minister
Raja Surendra Vikram Shah at the age of 15 with his prime minister expresses that sex
Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action find_reverse
entity male
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'male']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:male . ?n rdf:type ontology:painting }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P180
Q151885 Q11460
USER
How many concepts and clothings are expressed in that painting ?
(Q18713957,P180,c(Q151885)) (Q18713957,P180,c(Q11460)) (Q18713957,P180,c(Q151885)) (Q18713957,P180,c(Q11460))
action count
action union
action filter_type
action find
entity Q18713957
relation P180
type Q151885
action filter_type
action find
entity Q18713957
relation P180
type Q11460
['Q18713957', 'P180', {'concept': 'Q151885'}] ['Q18713957', 'P180', {'concept': 'Q11460'}] ['Q18713957', 'P180', {'concept': 'Q151885'}] ['Q18713957', 'P180', {'concept': 'Q11460'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { resource:Q18713957 property:P180 ?k . ?k rdf:type ontology:Q151885 } UNION { resource:Q18713957 property:P180 ?k . ?k rdf:type ontology:Q11460 } }
action count
action union
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type concept
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type clothing
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'concept'}] ['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'clothing'}] ['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'concept'}] ['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'clothing'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?k . ?k rdf:type ontology:concept } UNION { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?k . ?k rdf:type ontology:clothing } }
[]
concept clothing
SYSTEM
1 concepts and 2 clothings
Q41607 Q8441 Q80151
(Q18713957,P180,c(Q151885)) (Q18713957,P180,c(Q11460)) (Q18713957,P180,c(Q151885)) (Q18713957,P180,c(Q11460))
action count
action union
action filter_type
action find
entity Q18713957
relation P180
type Q151885
action filter_type
action find
entity Q18713957
relation P180
type Q11460
[ANSWER]
['Q18713957', 'P180', {'concept': 'Q151885'}] ['Q18713957', 'P180', {'concept': 'Q11460'}] ['Q18713957', 'P180', {'concept': 'Q151885'}] ['Q18713957', 'P180', {'concept': 'Q11460'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { resource:Q18713957 property:P180 ?k . ?k rdf:type ontology:Q151885 } UNION { resource:Q18713957 property:P180 ?k . ?k rdf:type ontology:Q11460 } }
umbrella man hat
1 concepts and 2 clothings
action count
action union
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type concept
action filter_type
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation depicts
type clothing
['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'concept'}] ['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'clothing'}] ['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'concept'}] ['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'depicts', {'concept': 'clothing'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?k . ?k rdf:type ontology:concept } UNION { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:depicts ?k . ?k rdf:type ontology:clothing } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q24264139 Q18713957
P27 P17
Q15617994
USER
Which administrative territories are Raja Surendra Vikram Shah at the age of 15 with his prime minister present in or do Henri Leonard Appy belong to ?
OR((Q18713957,P17,c(Q15617994)), (Q24264139,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18713957
relation P17
action find
entity Q24264139
relation P27
type Q15617994
{'OR': [['Q18713957', 'P17', {'concept': 'Q15617994'}], ['Q24264139', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q18713957 property:P17 ?x } UNION { resource:Q24264139 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Henri Leonard Appy Raja Surendra Vikram Shah at the age of 15 with his prime minister
action filter_type
action union
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
action find
entity Henri Leonard Appy
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Henri Leonard Appy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country ?x } UNION { resource:Henri_Leonard_Appy property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q29999
SYSTEM
United States of America, Kingdom of the Netherlands
Q30 Q29999
OR((Q18713957,P17,c(Q15617994)), (Q24264139,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18713957
relation P17
action find
entity Q24264139
relation P27
type Q15617994
[ANSWERS] are Raja Surendra Vikram Shah at the age of 15 with his prime minister present in or do Henri Leonard Appy belong to
{'OR': [['Q18713957', 'P17', {'concept': 'Q15617994'}], ['Q24264139', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q18713957 property:P17 ?x } UNION { resource:Q24264139 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
United States of America Kingdom of the Netherlands
United States of America and Kingdom of the Netherlands are Raja Surendra Vikram Shah at the age of 15 with his prime minister present in or do Henri Leonard Appy belong to
United States of America Kingdom of the Netherlands
action filter_type
action union
action find
entity Raja Surendra Vikram Shah at the age of 15 with his prime minister
relation country
action find
entity Henri Leonard Appy
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Raja Surendra Vikram Shah at the age of 15 with his prime minister', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Henri Leonard Appy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Raja_Surendra_Vikram_Shah_at_the_age_of_15_with_his_prime_minister property:country ?x } UNION { resource:Henri_Leonard_Appy property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P101
Q502895
USER
Which person has field of work as United States of America ?
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P101 resource:Q30 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:field_of_work resource:United_States_of_America }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
(c(Q502895),P101,Q30)
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] has field of work as United States of America
[{'concept': 'Q502895'}, 'P101', 'Q30']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P101 resource:Q30 }
David Janssen
David Janssen has field of work as United States of America
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United States of America']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:field_of_work resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P194
Q11204
USER
Which legislature is the legislative body for that administrative territory ?
(Q498840,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q498840', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q11204 . resource:Q30 property:P194 ?l }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['David Janssen', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:legislature . resource:United_States_of_America property:legislative_body ?l }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q498840,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for that administrative territory
['Q498840', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q11204 . resource:Q30 property:P194 ?l }
United States Congress
The United States Congress is the legislative body for that administrative territory
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['David Janssen', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:legislature . resource:United_States_of_America property:legislative_body ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11268
P355
Q895526
USER
Which authority organ serves as a subsidiary of that legislature ?
(Q11268,P355,c(Q895526))
action filter_type
action find
entity Q11268
relation P355
type Q895526
['Q11268', 'P355', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { resource:Q11268 property:P355 ?v . ?v rdf:type ontology:Q895526 }
United States Congress
action filter_type
action find
entity United States Congress
relation subsidiary
type authority organ
['United States Congress', 'subsidiary', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { resource:United_States_Congress property:subsidiary ?v . ?v rdf:type ontology:authority_organ }
[]
authority organ
Q2928358
SYSTEM
United States Government Printing Office
Q2928358
(Q11268,P355,c(Q895526))
action filter_type
action find
entity Q11268
relation P355
type Q895526
[ANSWER] serves as a subsidiary of that legislature
['Q11268', 'P355', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { resource:Q11268 property:P355 ?v . ?v rdf:type ontology:Q895526 }
United States Government Printing Office
United States Government Printing Office serves as a subsidiary of that legislature
United States Government Printing Office
action filter_type
action find
entity United States Congress
relation subsidiary
type authority organ
['United States Congress', 'subsidiary', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { resource:United_States_Congress property:subsidiary ?v . ?v rdf:type ontology:authority_organ }
[]