Simple Question (Direct)
Simple Question
Q7781071
P166
Q2003221
USER
What was awarded to Thelma Holt ?
(Q7781071,P166,c(Q2003221))
action filter_type
action find
entity Q7781071
relation P166
type Q2003221
['Q7781071', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?u WHERE { resource:Q7781071 property:P166 ?u . ?u rdf:type ontology:Q2003221 }
Thelma Holt
action filter_type
action find
entity Thelma Holt
relation award received
type chivalric order
['Thelma Holt', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?u WHERE { resource:Thelma_Holt property:award_received ?u . ?u rdf:type ontology:chivalric_order }
[]
chivalric order
Q12201477
SYSTEM
Commander of the Order of the British Empire
Q12201477
(Q7781071,P166,c(Q2003221))
action filter_type
action find
entity Q7781071
relation P166
type Q2003221
The [ANSWER] was awarded to Thelma Holt
['Q7781071', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?u WHERE { resource:Q7781071 property:P166 ?u . ?u rdf:type ontology:Q2003221 }
Commander of the Order of the British Empire
The Commander of the Order of the British Empire was awarded to Thelma Holt
Commander of the Order of the British Empire
action filter_type
action find
entity Thelma Holt
relation award received
type chivalric order
['Thelma Holt', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?u WHERE { resource:Thelma_Holt property:award_received ?u . ?u rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7781071
P140
Q879146
USER
Which Christian denomination does Thelma Holt relate to ?
(Q7781071,P140,c(Q879146))
action filter_type
action find
entity Q7781071
relation P140
type Q879146
['Q7781071', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q879146 . resource:Q7781071 property:P140 ?x }
Thelma Holt
action filter_type
action find
entity Thelma Holt
relation religion
type Christian denomination
['Thelma Holt', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Christian_denomination . resource:Thelma_Holt property:religion ?x }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q7781071,P140,c(Q879146))
action filter_type
action find
entity Q7781071
relation P140
type Q879146
Thelma Holt relates the [ANSWER]
['Q7781071', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q879146 . resource:Q7781071 property:P140 ?x }
Roman Catholic Church
Thelma Holt relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Thelma Holt
relation religion
type Christian denomination
['Thelma Holt', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Christian_denomination . resource:Thelma_Holt property:religion ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7781071
P21
Q290
USER
Which sex does Thelma Holt have ?
(Q7781071,P21,c(Q290))
action filter_type
action find
entity Q7781071
relation P21
type Q290
['Q7781071', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q7781071 property:P21 ?c . ?c rdf:type ontology:Q290 }
Thelma Holt
action filter_type
action find
entity Thelma Holt
relation gender
type sex
['Thelma Holt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Thelma_Holt property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7781071,P21,c(Q290))
action filter_type
action find
entity Q7781071
relation P21
type Q290
Thelma Holt has a [ANSWER]
['Q7781071', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q7781071 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
Thelma Holt has a female
female
action filter_type
action find
entity Thelma Holt
relation gender
type sex
['Thelma Holt', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Thelma_Holt property:gender ?c . ?c rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q14103186
P21
Q502895
USER
Does Julian Mateos Sanchez have the gender as that sex ?
(Q14103186,P21,Q6581072)
action is_in
entity Q14103186
action find
entity Q6581072
relation P21
['Q14103186', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q14103186 }
female Julian Mateos Sanchez
action is_in
entity Julian Mateos Sanchez
action find
entity female
relation gender
['Julian Mateos Sanchez', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Julian_Mateos_Sanchez }
[]
common name
SYSTEM
NO
(Q14103186,P21,Q6581072)
action is_in
entity Q14103186
action find
entity Q6581072
relation P21
[ANSWER]
['Q14103186', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q14103186 }
No
action is_in
entity Julian Mateos Sanchez
action find
entity female
relation gender
['Julian Mateos Sanchez', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Julian_Mateos_Sanchez }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 843 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 843
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?f >= 843 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 843
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?f >= 843 ) }
[]
musical instrument common name
SYSTEM
7
Q46185 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 843
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?f >= 843 ) }
bass guitar piano trumpet cello violin organ drum kit
7
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 843
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?f >= 843 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9592
P463
Q618779
USER
Which is the award that is a part of Roman Catholic Church ?
(c(Q618779),P463,Q9592)
action filter_type
action find_reverse
entity Q9592
relation P463
type Q618779
[{'concept': 'Q618779'}, 'P463', 'Q9592']
SELECT DISTINCT ?g WHERE { ?g property:P463 resource:Q9592 . ?g rdf:type ontology:Q618779 }
Roman Catholic Church
action filter_type
action find_reverse
entity Roman Catholic Church
relation member of
type award
[{'concept': 'award'}, 'member of', 'Roman Catholic Church']
SELECT DISTINCT ?g WHERE { ?g property:member_of resource:Roman_Catholic_Church . ?g rdf:type ontology:award }
[]
award
Q830796
SYSTEM
Order of Saint Lazarus
Q830796
(c(Q618779),P463,Q9592)
action filter_type
action find_reverse
entity Q9592
relation P463
type Q618779
[ANSWER] is the award that is a part of Roman Catholic Church
[{'concept': 'Q618779'}, 'P463', 'Q9592']
SELECT DISTINCT ?g WHERE { ?g property:P463 resource:Q9592 . ?g rdf:type ontology:Q618779 }
Order of Saint Lazarus
Order of Saint Lazarus is the award that is a part of Roman Catholic Church
Order of Saint Lazarus
action filter_type
action find_reverse
entity Roman Catholic Church
relation member of
type award
[{'concept': 'award'}, 'member of', 'Roman Catholic Church']
SELECT DISTINCT ?g WHERE { ?g property:member_of resource:Roman_Catholic_Church . ?g rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18711822 Q7781071
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Thelma Holt or are Lincoln Woods Wildlife Sanctuary present in ?
OR((Q7781071,P27,c(Q15617994)), (Q18711822,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7781071
relation P27
action find
entity Q18711822
relation P17
type Q15617994
{'OR': [['Q7781071', 'P27', {'concept': 'Q15617994'}], ['Q18711822', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q7781071 property:P27 ?m } UNION { resource:Q18711822 property:P17 ?m } } }
Lincoln Woods Wildlife Sanctuary Thelma Holt
action filter_type
action union
action find
entity Thelma Holt
relation country of citizenship
action find
entity Lincoln Woods Wildlife Sanctuary
relation country
type designation for an administrative territorial entity
{'OR': [['Thelma Holt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lincoln Woods Wildlife Sanctuary', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Thelma_Holt property:country_of_citizenship ?m } UNION { resource:Lincoln_Woods_Wildlife_Sanctuary property:country ?m } } }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q7781071,P27,c(Q15617994)), (Q18711822,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7781071
relation P27
action find
entity Q18711822
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Thelma Holt or are Lincoln Woods Wildlife Sanctuary present in
{'OR': [['Q7781071', 'P27', {'concept': 'Q15617994'}], ['Q18711822', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . { { resource:Q7781071 property:P27 ?m } UNION { resource:Q18711822 property:P17 ?m } } }
United States of America United Kingdom
United States of America and United Kingdom are the countries of citizenship of Thelma Holt or are Lincoln Woods Wildlife Sanctuary present in
United States of America United Kingdom
action filter_type
action union
action find
entity Thelma Holt
relation country of citizenship
action find
entity Lincoln Woods Wildlife Sanctuary
relation country
type designation for an administrative territorial entity
{'OR': [['Thelma Holt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lincoln Woods Wildlife Sanctuary', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Thelma_Holt property:country_of_citizenship ?m } UNION { resource:Lincoln_Woods_Wildlife_Sanctuary property:country ?m } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P463
Q43229 Q35749
USER
How many organizations and parliaments were United Kingdom a member of ?
(Q145,P463,c(Q43229)) (Q145,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q43229
action filter_type
action find
entity Q145
relation P463
type Q35749
['Q145', 'P463', {'concept': 'Q43229'}] ['Q145', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:Q35749 . resource:Q145 property:P463 ?y } UNION { resource:Q145 property:P463 ?y . ?y rdf:type ontology:Q43229 } }
United Kingdom
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type organization
action filter_type
action find
entity United Kingdom
relation member of
type parliament
['United Kingdom', 'member of', {'concept': 'organization'}] ['United Kingdom', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:parliament . resource:United_Kingdom property:member_of ?y } UNION { resource:United_Kingdom property:member_of ?y . ?y rdf:type ontology:organization } }
[]
organization parliament
SYSTEM
9 organizations and 1 parliaments
Q340195 Q191384 Q899770 Q41550 Q3772571 Q656801 Q151991 Q7825 Q37470 Q827525
(Q145,P463,c(Q43229)) (Q145,P463,c(Q35749))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q43229
action filter_type
action find
entity Q145
relation P463
type Q35749
[ANSWER]
['Q145', 'P463', {'concept': 'Q43229'}] ['Q145', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:Q35749 . resource:Q145 property:P463 ?y } UNION { resource:Q145 property:P463 ?y . ?y rdf:type ontology:Q43229 } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Caribbean Development Bank International Finance Corporation European Southern Observatory World Trade Organization United Nations Security Council International Development Association
9 organizations and 1 parliaments
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type organization
action filter_type
action find
entity United Kingdom
relation member of
type parliament
['United Kingdom', 'member of', {'concept': 'organization'}] ['United Kingdom', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { ?y rdf:type ontology:parliament . resource:United_Kingdom property:member_of ?y } UNION { resource:United_Kingdom property:member_of ?y . ?y rdf:type ontology:organization } }
[]