Simple Question (Direct)
Simple Question
Q1364672
P509
Q2057971
USER
What was the cause of death of Mohammed Yusuf ?
(Q1364672,P509,c(Q2057971))
action filter_type
action find
entity Q1364672
relation P509
type Q2057971
['Q1364672', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q1364672 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
Mohammed Yusuf
action filter_type
action find
entity Mohammed Yusuf
relation cause of death
type health problem
['Mohammed Yusuf', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Mohammed_Yusuf property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Q2140674
SYSTEM
ballistic trauma
Q2140674
(Q1364672,P509,c(Q2057971))
action filter_type
action find
entity Q1364672
relation P509
type Q2057971
The cause of death of Mohammed Yusuf was a [ANSWER]
['Q1364672', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q1364672 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
ballistic trauma
The cause of death of Mohammed Yusuf was a ballistic trauma
ballistic trauma
action filter_type
action find
entity Mohammed Yusuf
relation cause of death
type health problem
['Mohammed Yusuf', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Mohammed_Yusuf property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1364672
P607
Q124734
USER
What was was Mohammed Yusuf a part of ?
(Q1364672,P607,c(Q124734))
action filter_type
action find
entity Q1364672
relation P607
type Q124734
['Q1364672', 'P607', {'concept': 'Q124734'}]
SELECT DISTINCT ?y WHERE { resource:Q1364672 property:P607 ?y . ?y rdf:type ontology:Q124734 }
Mohammed Yusuf
action filter_type
action find
entity Mohammed Yusuf
relation conflict
type rebellion
['Mohammed Yusuf', 'conflict', {'concept': 'rebellion'}]
SELECT DISTINCT ?y WHERE { resource:Mohammed_Yusuf property:conflict ?y . ?y rdf:type ontology:rebellion }
[]
rebellion
Q1569328
SYSTEM
Islamist insurgency in Nigeria
Q1569328
(Q1364672,P607,c(Q124734))
action filter_type
action find
entity Q1364672
relation P607
type Q124734
Mohammed Yusuf was a part of [ANSWER]
['Q1364672', 'P607', {'concept': 'Q124734'}]
SELECT DISTINCT ?y WHERE { resource:Q1364672 property:P607 ?y . ?y rdf:type ontology:Q124734 }
Islamist insurgency in Nigeria
Mohammed Yusuf was a part of Islamist insurgency in Nigeria
Islamist insurgency in Nigeria
action filter_type
action find
entity Mohammed Yusuf
relation conflict
type rebellion
['Mohammed Yusuf', 'conflict', {'concept': 'rebellion'}]
SELECT DISTINCT ?y WHERE { resource:Mohammed_Yusuf property:conflict ?y . ?y rdf:type ontology:rebellion }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1569328
P17
Q863908
USER
Which nucleic acid sequence is that rebellion present in ?
(Q1569328,P17,c(Q863908))
action filter_type
action find
entity Q1569328
relation P17
type Q863908
['Q1569328', 'P17', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q863908 . resource:Q1569328 property:P17 ?z }
Islamist insurgency in Nigeria
action filter_type
action find
entity Islamist insurgency in Nigeria
relation country
type nucleic acid sequence
['Islamist insurgency in Nigeria', 'country', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nucleic_acid_sequence . resource:Islamist_insurgency_in_Nigeria property:country ?z }
[]
nucleic acid sequence
Q21173477
SYSTEM
acetyltransferase    CT_458
Q21173477
(Q1569328,P17,c(Q863908))
action filter_type
action find
entity Q1569328
relation P17
type Q863908
Which nucleic acid sequence is that rebellion present in
['Q1569328', 'P17', {'concept': 'Q863908'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q863908 . resource:Q1569328 property:P17 ?z }
acetyltransferase    CT_458
Which nucleic acid sequence is that rebellion present in
acetyltransferase    CT_458
action filter_type
action find
entity Islamist insurgency in Nigeria
relation country
type nucleic acid sequence
['Islamist insurgency in Nigeria', 'country', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:nucleic_acid_sequence . resource:Islamist_insurgency_in_Nigeria property:country ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21173477 Q22272382
P702
Q181394
USER
Is transcription antitermination protein NusB    NMB0683 the gene that is encoded by that nucleic acid sequence ?
(Q22272382,P702,Q21173477)
action is_in
entity Q22272382
action find
entity Q21173477
relation P702
['Q22272382', 'P702', 'Q21173477']
ASK WHERE { resource:Q21173477 property:P702 resource:Q22272382 }
acetyltransferase    CT_458 transcription antitermination protein NusB    NMB0683
action is_in
entity transcription antitermination protein NusB    NMB0683
action find
entity acetyltransferase    CT_458
relation encoded by
['transcription antitermination protein NusB    NMB0683', 'encoded by', 'acetyltransferase    CT_458']
ASK WHERE { resource:acetyltransferase____CT_458 property:encoded_by resource:transcription_antitermination_protein_NusB____NMB0683 }
[]
nutrient
SYSTEM
NO
(Q22272382,P702,Q21173477)
action is_in
entity Q22272382
action find
entity Q21173477
relation P702
[ANSWER]
['Q22272382', 'P702', 'Q21173477']
ASK WHERE { resource:Q21173477 property:P702 resource:Q22272382 }
No
action is_in
entity transcription antitermination protein NusB    NMB0683
action find
entity acetyltransferase    CT_458
relation encoded by
['transcription antitermination protein NusB    NMB0683', 'encoded by', 'acetyltransferase    CT_458']
ASK WHERE { resource:acetyltransferase____CT_458 property:encoded_by resource:transcription_antitermination_protein_NusB____NMB0683 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21173477 Q5529366
P702
Q181394
USER
How many nutrients do acetyltransferase    CT_458 or serine/threonine-protein kinase GCN2 YDR283C encode ?
(c(Q181394),P702,Q21173477) (c(Q181394),P702,Q5529366)
action count
action union
action filter_type
action find_reverse
entity Q21173477
relation P702
type Q181394
action filter_type
action find_reverse
entity Q5529366
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q21173477'] [{'concept': 'Q181394'}, 'P702', 'Q5529366']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P702 resource:Q5529366 . ?b rdf:type ontology:Q181394 } UNION { ?b property:P702 resource:Q21173477 . ?b rdf:type ontology:Q181394 } }
acetyltransferase    CT_458 serine/threonine-protein kinase GCN2 YDR283C
action count
action union
action filter_type
action find_reverse
entity acetyltransferase    CT_458
relation encoded by
type nutrient
action filter_type
action find_reverse
entity serine/threonine-protein kinase GCN2 YDR283C
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'acetyltransferase    CT_458'] [{'concept': 'nutrient'}, 'encoded by', 'serine/threonine-protein kinase GCN2 YDR283C']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:encoded_by resource:serine/threonine-protein_kinase_GCN2_YDR283C . ?b rdf:type ontology:nutrient } UNION { ?b property:encoded_by resource:acetyltransferase____CT_458 . ?b rdf:type ontology:nutrient } }
[]
nutrient
SYSTEM
2
Q21174556 Q5529366
(c(Q181394),P702,Q21173477) (c(Q181394),P702,Q5529366)
action count
action union
action filter_type
action find_reverse
entity Q21173477
relation P702
type Q181394
action filter_type
action find_reverse
entity Q5529366
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q21173477'] [{'concept': 'Q181394'}, 'P702', 'Q5529366']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:P702 resource:Q5529366 . ?b rdf:type ontology:Q181394 } UNION { ?b property:P702 resource:Q21173477 . ?b rdf:type ontology:Q181394 } }
acetyltransferase    CT_458 serine/threonine-protein kinase GCN2 YDR283C
2
action count
action union
action filter_type
action find_reverse
entity acetyltransferase    CT_458
relation encoded by
type nutrient
action filter_type
action find_reverse
entity serine/threonine-protein kinase GCN2 YDR283C
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'acetyltransferase    CT_458'] [{'concept': 'nutrient'}, 'encoded by', 'serine/threonine-protein kinase GCN2 YDR283C']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b property:encoded_by resource:serine/threonine-protein_kinase_GCN2_YDR283C . ?b rdf:type ontology:nutrient } UNION { ?b property:encoded_by resource:acetyltransferase____CT_458 . ?b rdf:type ontology:nutrient } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1364672
P27
Q15617994
USER
How many administrative territories are the native countriesof Mohammed Yusuf ?
(Q1364672,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1364672
relation P27
type Q15617994
['Q1364672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1364672 property:P27 ?a }
Mohammed Yusuf
action count
action filter_type
action find
entity Mohammed Yusuf
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Yusuf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mohammed_Yusuf property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
SYSTEM
1
Q1033
(Q1364672,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1364672
relation P27
type Q15617994
[ANSWER]
['Q1364672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:Q15617994 . resource:Q1364672 property:P27 ?a }
Nigeria
1
action count
action filter_type
action find
entity Mohammed Yusuf
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Yusuf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mohammed_Yusuf property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1553889
P106
Q12737077
USER
What does Guillaume Leblon do for a living ?
(Q1553889,P106,c(Q12737077))
action filter_type
action find
entity Q1553889
relation P106
type Q12737077
['Q1553889', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1553889 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Guillaume Leblon
action filter_type
action find
entity Guillaume Leblon
relation occupation
type occupation
['Guillaume Leblon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Guillaume_Leblon property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q483501
SYSTEM
artist
Q483501
(Q1553889,P106,c(Q12737077))
action filter_type
action find
entity Q1553889
relation P106
type Q12737077
Guillaume Leblon does an [ANSWER] for a living
['Q1553889', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1553889 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
artist
Guillaume Leblon does an artist for a living
artist
action filter_type
action find
entity Guillaume Leblon
relation occupation
type occupation
['Guillaume Leblon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Guillaume_Leblon property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1364672
P27
Q15617994
USER
Which administrative territory is the native country of Mohammed Yusuf ?
(Q1364672,P27,c(Q15617994))
action filter_type
action find
entity Q1364672
relation P27
type Q15617994
['Q1364672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1364672 property:P27 ?g }
Mohammed Yusuf
action filter_type
action find
entity Mohammed Yusuf
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Yusuf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mohammed_Yusuf property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q1364672,P27,c(Q15617994))
action filter_type
action find
entity Q1364672
relation P27
type Q15617994
[ANSWER] is the native country of Mohammed Yusuf
['Q1364672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q1364672 property:P27 ?g }
Nigeria
Nigeria is the native country of Mohammed Yusuf
Nigeria
action filter_type
action find
entity Mohammed Yusuf
relation country of citizenship
type designation for an administrative territorial entity
['Mohammed Yusuf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mohammed_Yusuf property:country_of_citizenship ?g }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q194614
Q15617994
USER
And how about Elisabeth Elliot?
(Q194614,P27,c(Q15617994))
action filter_type
action find
entity Q194614
relation P27
type Q15617994
['Q194614', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q194614 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Elisabeth Elliot
action filter_type
action find
entity Elisabeth Elliot
relation country of citizenship
type designation for an administrative territorial entity
['Elisabeth Elliot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Elisabeth_Elliot property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q194614,P27,c(Q15617994))
action filter_type
action find
entity Q194614
relation P27
type Q15617994
[ANSWER]
['Q194614', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q194614 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Elisabeth Elliot
relation country of citizenship
type designation for an administrative territorial entity
['Elisabeth Elliot', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Elisabeth_Elliot property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with exactly 10 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?h property:P530 ?p } GROUP BY ?h } . FILTER ( ?c = 10 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?p } GROUP BY ?h } . FILTER ( ?c = 10 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q148
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?h property:P530 ?p } GROUP BY ?h } . FILTER ( ?c = 10 ) }
People's Republic of China
1
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?c ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?p } GROUP BY ?h } . FILTER ( ?c = 10 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q243610
P530
Q1048835
USER
How many political territories have a diplomatic relationship with United States of America or Ukrainian People's Republic ?
(Q30,P530,c(Q1048835)) (Q243610,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q243610
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q243610', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:Q30 property:P530 ?e . ?e rdf:type ontology:Q1048835 } UNION { resource:Q243610 property:P530 ?e . ?e rdf:type ontology:Q1048835 } }
United States of America Ukrainian People's Republic
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Ukrainian People's Republic
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ["Ukrainian People's Republic", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:United_States_of_America property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } UNION { resource:Ukrainian_People's_Republic property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(Q30,P530,c(Q1048835)) (Q243610,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q30
relation P530
type Q1048835
action filter_type
action find
entity Q243610
relation P530
type Q1048835
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q243610', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:Q30 property:P530 ?e . ?e rdf:type ontology:Q1048835 } UNION { resource:Q243610 property:P530 ?e . ?e rdf:type ontology:Q1048835 } }
Canada Australia Germany
3
action count
action union
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Ukrainian People's Republic
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ["Ukrainian People's Republic", 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:United_States_of_America property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } UNION { resource:Ukrainian_People's_Republic property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } }
[]