Simple Question (Direct)
Simple Question
Q16202903
P136
Q151885
USER
Which concept is the genre for Olivia Chaney ?
(Q16202903,P136,c(Q151885))
action filter_type
action find
entity Q16202903
relation P136
type Q151885
['Q16202903', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q16202903 property:P136 ?a . ?a rdf:type ontology:Q151885 }
Olivia Chaney
action filter_type
action find
entity Olivia Chaney
relation genre
type concept
['Olivia Chaney', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Olivia_Chaney property:genre ?a . ?a rdf:type ontology:concept }
[]
concept
Q235858
SYSTEM
folk music
Q235858
(Q16202903,P136,c(Q151885))
action filter_type
action find
entity Q16202903
relation P136
type Q151885
So [ANSWER] is the genre for Olivia Chaney
['Q16202903', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q16202903 property:P136 ?a . ?a rdf:type ontology:Q151885 }
folk music
So folk music is the genre for Olivia Chaney
folk music
action filter_type
action find
entity Olivia Chaney
relation genre
type concept
['Olivia Chaney', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Olivia_Chaney property:genre ?a . ?a rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16202903
P19
Q56061
USER
Where was Olivia Chaney born ?
(Q16202903,P19,c(Q56061))
action filter_type
action find
entity Q16202903
relation P19
type Q56061
['Q16202903', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16202903 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Olivia Chaney
action filter_type
action find
entity Olivia Chaney
relation place of birth
type administrative territorial entity
['Olivia Chaney', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Olivia_Chaney property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2044
SYSTEM
Florence
Q2044
(Q16202903,P19,c(Q56061))
action filter_type
action find
entity Q16202903
relation P19
type Q56061
Olivia Chaney was born to [ANSWER]
['Q16202903', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q16202903 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Florence
Olivia Chaney was born to Florence
Florence
action filter_type
action find
entity Olivia Chaney
relation place of birth
type administrative territorial entity
['Olivia Chaney', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Olivia_Chaney property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16202903
P264
Q334453
USER
What is the record label of Olivia Chaney ?
(Q16202903,P264,c(Q334453))
action filter_type
action find
entity Q16202903
relation P264
type Q334453
['Q16202903', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?z WHERE { resource:Q16202903 property:P264 ?z . ?z rdf:type ontology:Q334453 }
Olivia Chaney
action filter_type
action find
entity Olivia Chaney
relation record label
type division
['Olivia Chaney', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?z WHERE { resource:Olivia_Chaney property:record_label ?z . ?z rdf:type ontology:division }
[]
division
Q1849138
SYSTEM
Nonesuch Records
Q1849138
(Q16202903,P264,c(Q334453))
action filter_type
action find
entity Q16202903
relation P264
type Q334453
The record label of Olivia Chaney is the [ANSWER]
['Q16202903', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?z WHERE { resource:Q16202903 property:P264 ?z . ?z rdf:type ontology:Q334453 }
Nonesuch Records
The record label of Olivia Chaney is the Nonesuch Records
Nonesuch Records
action filter_type
action find
entity Olivia Chaney
relation record label
type division
['Olivia Chaney', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?z WHERE { resource:Olivia_Chaney property:record_label ?z . ?z rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1849138 Q60
P740
Q56061
USER
Did that division orginate New York City ?
(Q1849138,P740,Q60)
action is_in
entity Q60
action find
entity Q1849138
relation P740
['Q1849138', 'P740', 'Q60']
ASK WHERE { resource:Q1849138 property:P740 resource:Q60 }
Nonesuch Records New York City
action is_in
entity New York City
action find
entity Nonesuch Records
relation location of formation
['Nonesuch Records', 'location of formation', 'New York City']
ASK WHERE { resource:Nonesuch_Records property:location_of_formation resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q1849138,P740,Q60)
action is_in
entity Q60
action find
entity Q1849138
relation P740
[ANSWER]
['Q1849138', 'P740', 'Q60']
ASK WHERE { resource:Q1849138 property:P740 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Nonesuch Records
relation location of formation
['Nonesuch Records', 'location of formation', 'New York City']
ASK WHERE { resource:Nonesuch_Records property:location_of_formation resource:New_York_City }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q870410
P17
Q15617994
USER
How many administrative territories do Roman Catholic Diocese of Kayes belong to ?
(Q870410,P17,c(Q15617994))
action count
action filter_type
action find
entity Q870410
relation P17
type Q15617994
['Q870410', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q870410 property:P17 ?v }
Roman Catholic Diocese of Kayes
action count
action filter_type
action find
entity Roman Catholic Diocese of Kayes
relation country
type designation for an administrative territorial entity
['Roman Catholic Diocese of Kayes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Roman_Catholic_Diocese_of_Kayes property:country ?v }
[]
designation for an administrative territorial entity
SYSTEM
1
Q912
(Q870410,P17,c(Q15617994))
action count
action filter_type
action find
entity Q870410
relation P17
type Q15617994
[ANSWER]
['Q870410', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q870410 property:P17 ?v }
Mali
1
action count
action filter_type
action find
entity Roman Catholic Diocese of Kayes
relation country
type designation for an administrative territorial entity
['Roman Catholic Diocese of Kayes', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Roman_Catholic_Diocese_of_Kayes property:country ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22911118
P17
Q15617994
USER
Which administrative territory is Katete Primary School located in ?
(Q22911118,P17,c(Q15617994))
action filter_type
action find
entity Q22911118
relation P17
type Q15617994
['Q22911118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q22911118 property:P17 ?b }
Katete Primary School
action filter_type
action find
entity Katete Primary School
relation country
type designation for an administrative territorial entity
['Katete Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Katete_Primary_School property:country ?b }
[]
designation for an administrative territorial entity
Q1036
SYSTEM
Uganda
Q1036
(Q22911118,P17,c(Q15617994))
action filter_type
action find
entity Q22911118
relation P17
type Q15617994
Katete Primary School is located in [ANSWER]
['Q22911118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q22911118 property:P17 ?b }
Uganda
Katete Primary School is located in Uganda
Uganda
action filter_type
action find
entity Katete Primary School
relation country
type designation for an administrative territorial entity
['Katete Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Katete_Primary_School property:country ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1036 Q16994238
P47
Q15617994
USER
Does Godwin Heights Public Schools share the border with that one ?
(Q1036,P47,Q16994238)
action is_in
entity Q16994238
action find
entity Q1036
relation P47
['Q1036', 'P47', 'Q16994238']
ASK WHERE { resource:Q1036 property:P47 resource:Q16994238 }
Uganda Godwin Heights Public Schools
action is_in
entity Godwin Heights Public Schools
action find
entity Uganda
relation shares border with
['Uganda', 'shares border with', 'Godwin Heights Public Schools']
ASK WHERE { resource:Uganda property:shares_border_with resource:Godwin_Heights_Public_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1036,P47,Q16994238)
action is_in
entity Q16994238
action find
entity Q1036
relation P47
[ANSWER]
['Q1036', 'P47', 'Q16994238']
ASK WHERE { resource:Q1036 property:P47 resource:Q16994238 }
No
action is_in
entity Godwin Heights Public Schools
action find
entity Uganda
relation shares border with
['Uganda', 'shares border with', 'Godwin Heights Public Schools']
ASK WHERE { resource:Uganda property:shares_border_with resource:Godwin_Heights_Public_Schools }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q166142 Q2342494
USER
How many administrative territories are approximately 77 applications and collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 77
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { FILTER ( ?g = 77 ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?g ) WHERE { { ?h property:P840 ?u . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q166142 } UNION { ?h property:P840 ?u . ?h rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?u } }
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 77
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { FILTER ( ?g = 77 ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?g ) WHERE { { ?h property:narrative_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:application } UNION { ?h property:narrative_location ?u . ?h rdf:type ontology:collectable . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } }
[]
designation for an administrative territorial entity application collectable
SYSTEM
6
Q148 Q159 Q41 Q155 Q38 Q96
(c(Q166142)|c(Q2342494),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
value 77
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { FILTER ( ?g = 77 ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?g ) WHERE { { ?h property:P840 ?u . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q166142 } UNION { ?h property:P840 ?u . ?h rdf:type ontology:Q2342494 . ?u rdf:type ontology:Q15617994 } } GROUP BY ?u } }
People's Republic of China Russia Greece Brazil Italy Mexico
6
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
value 77
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { FILTER ( ?g = 77 ) . { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?g ) WHERE { { ?h property:narrative_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:application } UNION { ?h property:narrative_location ?u . ?h rdf:type ontology:collectable . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q3305213 Q838948
USER
How many administrative territories are expressed in atleast 1 paintings or works of art ?
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?h WHERE { { ?r property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q3305213 } UNION { ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 . ?r property:P180 ?h } } GROUP BY ?h } . FILTER ( ?c >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?h WHERE { { ?r property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:painting } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art . ?r property:depicts ?h } } GROUP BY ?h } . FILTER ( ?c >= 1 ) }
[]
designation for an administrative territorial entity painting work of art
SYSTEM
9
Q3883 Q131596 Q712 Q532 Q38 Q80644 Q772 Q82025 Q1273
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?h WHERE { { ?r property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q3305213 } UNION { ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 . ?r property:P180 ?h } } GROUP BY ?h } . FILTER ( ?c >= 1 ) }
Catanzaro farm Fiji village Italy Köngen Drenthe horn Tuscany
9
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) ?h WHERE { { ?r property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:painting } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art . ?r property:depicts ?h } } GROUP BY ?h } . FILTER ( ?c >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036
P30
Q2221906
USER
Where is Uganda located ?
(Q1036,P30,c(Q2221906))
action filter_type
action find
entity Q1036
relation P30
type Q2221906
['Q1036', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q1036 property:P30 ?p }
Uganda
action filter_type
action find
entity Uganda
relation continent
type geographic location
['Uganda', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Uganda property:continent ?p }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q1036,P30,c(Q2221906))
action filter_type
action find
entity Q1036
relation P30
type Q2221906
Uganda is located in [ANSWER]
['Q1036', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q2221906 . resource:Q1036 property:P30 ?p }
Africa
Uganda is located in Africa
Africa
action filter_type
action find
entity Uganda
relation continent
type geographic location
['Uganda', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:geographic_location . resource:Uganda property:continent ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1036
P35
Q502895
USER
Which person is the head of state of that administrative territory ?
(Q15,P35,c(Q502895))
action filter_type
action find
entity Q1036
relation P35
type Q502895
['Q15', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1036 property:P35 ?l . ?l rdf:type ontology:Q502895 }
Uganda
action filter_type
action find
entity Uganda
relation head of state
type common name
['Africa', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Uganda property:head_of_state ?l . ?l rdf:type ontology:common_name }
[]
common name
Q57274
SYSTEM
Yoweri Museveni
Q57274
(Q15,P35,c(Q502895))
action filter_type
action find
entity Q1036
relation P35
type Q502895
[ANSWER] is the head of state of that administrative territory
['Q15', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1036 property:P35 ?l . ?l rdf:type ontology:Q502895 }
Yoweri Museveni
Yoweri Museveni is the head of state of that administrative territory
Yoweri Museveni
action filter_type
action find
entity Uganda
relation head of state
type common name
['Africa', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Uganda property:head_of_state ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57274
P39
Q12737077
USER
Which occupations were a position held by that person ?
(Q57274,P39,c(Q12737077))
action filter_type
action find
entity Q57274
relation P39
type Q12737077
['Q57274', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q57274 property:P39 ?c }
Yoweri Museveni
action filter_type
action find
entity Yoweri Museveni
relation position held
type occupation
['Yoweri Museveni', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Yoweri_Museveni property:position_held ?c }
[]
occupation
Q5153709 Q19161632 Q18204367
SYSTEM
Commonwealth Chairperson-in-Office, Chairperson of the Organisation of African Unity, President of Uganda
Q5153709 Q19161632 Q18204367
(Q57274,P39,c(Q12737077))
action filter_type
action find
entity Q57274
relation P39
type Q12737077
[ANSWERS] were a position held by that person
['Q57274', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q57274 property:P39 ?c }
Commonwealth Chairperson-in-Office Chairperson of the Organisation of African Unity President of Uganda
Commonwealth Chairperson-in-Office, Chairperson of the Organisation of African Unity and President of Uganda were a position held by that person
Commonwealth Chairperson-in-Office Chairperson of the Organisation of African Unity President of Uganda
action filter_type
action find
entity Yoweri Museveni
relation position held
type occupation
['Yoweri Museveni', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Yoweri_Museveni property:position_held ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18204367 Q2614237
P39
Q502895
USER
How many people held the position of President of Uganda or Nawab of Awadh ?
(c(Q502895),P39,Q18204367) (c(Q502895),P39,Q2614237)
action count
action union
action filter_type
action find_reverse
entity Q18204367
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2614237
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q18204367'] [{'concept': 'Q502895'}, 'P39', 'Q2614237']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:Q502895 . ?s property:P39 resource:Q18204367 } UNION { ?s property:P39 resource:Q2614237 . ?s rdf:type ontology:Q502895 } }
President of Uganda Nawab of Awadh
action count
action union
action filter_type
action find_reverse
entity President of Uganda
relation position held
type common name
action filter_type
action find_reverse
entity Nawab of Awadh
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Uganda'] [{'concept': 'common name'}, 'position held', 'Nawab of Awadh']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:common_name . ?s property:position_held resource:President_of_Uganda } UNION { ?s property:position_held resource:Nawab_of_Awadh . ?s rdf:type ontology:common_name } }
[]
common name
SYSTEM
12
Q391381 Q812677 Q641646 Q356026 Q210069 Q376073 Q57274 Q452024 Q433057 Q497412 Q4916371 Q48231
(c(Q502895),P39,Q18204367) (c(Q502895),P39,Q2614237)
action count
action union
action filter_type
action find_reverse
entity Q18204367
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2614237
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q18204367'] [{'concept': 'Q502895'}, 'P39', 'Q2614237']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:Q502895 . ?s property:P39 resource:Q18204367 } UNION { ?s property:P39 resource:Q2614237 . ?s rdf:type ontology:Q502895 } }
Safdarjung Bazilio Olara-Okello Saadat Ali Khan I Mutesa II of Buganda Milton Obote Tito Okello Yoweri Museveni Yusuf Lule Godfrey Binaisa Paulo Muwanga Birjis Qadra Idi Amin
12
action count
action union
action filter_type
action find_reverse
entity President of Uganda
relation position held
type common name
action filter_type
action find_reverse
entity Nawab of Awadh
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'President of Uganda'] [{'concept': 'common name'}, 'position held', 'Nawab of Awadh']
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { ?s rdf:type ontology:common_name . ?s property:position_held resource:President_of_Uganda } UNION { ?s property:position_held resource:Nawab_of_Awadh . ?s rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57274
P1412
Q34770
USER
Which language can Yoweri Museveni understand ?
(Q57274,P1412,c(Q34770))
action filter_type
action find
entity Q57274
relation P1412
type Q34770
['Q57274', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q57274 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Yoweri Museveni
action filter_type
action find
entity Yoweri Museveni
relation languages spoken, written or signed
type language
['Yoweri Museveni', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Yoweri_Museveni property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q57274,P1412,c(Q34770))
action filter_type
action find
entity Q57274
relation P1412
type Q34770
Yoweri Museveni can understand the [ANSWER]
['Q57274', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q57274 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
Yoweri Museveni can understand the English
English
action filter_type
action find
entity Yoweri Museveni
relation languages spoken, written or signed
type language
['Yoweri Museveni', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Yoweri_Museveni property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2857084
Q34770
USER
And also tell me about Antoni Rovira i Virgili?
(Q2857084,P1412,c(Q34770))
action filter_type
action find
entity Q2857084
relation P1412
type Q34770
['Q2857084', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q2857084 property:P1412 ?w }
Antoni Rovira i Virgili
action filter_type
action find
entity Antoni Rovira i Virgili
relation languages spoken, written or signed
type language
['Antoni Rovira i Virgili', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:Antoni_Rovira_i_Virgili property:languages_spoken,_written_or_signed ?w }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2857084,P1412,c(Q34770))
action filter_type
action find
entity Q2857084
relation P1412
type Q34770
[ANSWER]
['Q2857084', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q2857084 property:P1412 ?w }
Spanish
Spanish
action filter_type
action find
entity Antoni Rovira i Virgili
relation languages spoken, written or signed
type language
['Antoni Rovira i Virgili', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:Antoni_Rovira_i_Virgili property:languages_spoken,_written_or_signed ?w }
[]