Simple Question (Direct)
Simple Question
Q10457476
P54
Q1194951
USER
What is Kabiru Musa a member of ?
(Q10457476,P54,c(Q1194951))
action filter_type
action find
entity Q10457476
relation P54
type Q1194951
['Q10457476', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q10457476 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Kabiru Musa
action filter_type
action find
entity Kabiru Musa
relation member of sports team
type national sports team
['Kabiru Musa', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Kabiru_Musa property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
national sports team
Q181930
SYSTEM
Nigeria national football team
Q181930
(Q10457476,P54,c(Q1194951))
action filter_type
action find
entity Q10457476
relation P54
type Q1194951
Kabiru Musa a member of is [ANSWER]
['Q10457476', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?s WHERE { resource:Q10457476 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Nigeria national football team
Kabiru Musa a member of is Nigeria national football team
Nigeria national football team
action filter_type
action find
entity Kabiru Musa
relation member of sports team
type national sports team
['Kabiru Musa', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?s WHERE { resource:Kabiru_Musa property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10457476
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q181930,P27,c(Q15617994))
action filter_type
action find
entity Q10457476
relation P27
type Q15617994
['Q181930', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q10457476 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Kabiru Musa
action filter_type
action find
entity Kabiru Musa
relation country of citizenship
type designation for an administrative territorial entity
['Nigeria national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Kabiru_Musa property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q181930,P27,c(Q15617994))
action filter_type
action find
entity Q10457476
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q181930', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q10457476 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Nigeria
Nigeria is that person a civilian of
Nigeria
action filter_type
action find
entity Kabiru Musa
relation country of citizenship
type designation for an administrative territorial entity
['Nigeria national football team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Kabiru_Musa property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1033 Q996189
P172
Q502895
USER
How many people have Nigeria or demographics of India as his/her race ?
(c(Q502895),P172,Q1033) (c(Q502895),P172,Q996189)
action count
action union
action filter_type
action find_reverse
entity Q1033
relation P172
type Q502895
action filter_type
action find_reverse
entity Q996189
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q1033'] [{'concept': 'Q502895'}, 'P172', 'Q996189']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ontology:Q502895 . ?q property:P172 resource:Q1033 } UNION { ?q property:P172 resource:Q996189 . ?q rdf:type ontology:Q502895 } }
Nigeria demographics of India
action count
action union
action filter_type
action find_reverse
entity Nigeria
relation ethnic group
type common name
action filter_type
action find_reverse
entity demographics of India
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Nigeria'] [{'concept': 'common name'}, 'ethnic group', 'demographics of India']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ontology:common_name . ?q property:ethnic_group resource:Nigeria } UNION { ?q property:ethnic_group resource:demographics_of_India . ?q rdf:type ontology:common_name } }
[]
common name
SYSTEM
10
Q4777840 Q3611453 Q6809727 Q4002994 Q6727437 Q6186778 Q7492542 Q5250657 Q4748681 Q6355528
(c(Q502895),P172,Q1033) (c(Q502895),P172,Q996189)
action count
action union
action filter_type
action find_reverse
entity Q1033
relation P172
type Q502895
action filter_type
action find_reverse
entity Q996189
relation P172
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q1033'] [{'concept': 'Q502895'}, 'P172', 'Q996189']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ontology:Q502895 . ?q property:P172 resource:Q1033 } UNION { ?q property:P172 resource:Q996189 . ?q rdf:type ontology:Q502895 } }
Anupama Verma Bethany Benz Mehr Jesia Rampal Ujjwala Raut Madhu Sapre Jesse Randhawa Sheetal Mallar Deepti Hajela Amrita Thapar Kamal Sidhu
10
action count
action union
action filter_type
action find_reverse
entity Nigeria
relation ethnic group
type common name
action filter_type
action find_reverse
entity demographics of India
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Nigeria'] [{'concept': 'common name'}, 'ethnic group', 'demographics of India']
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { ?q rdf:type ontology:common_name . ?q property:ethnic_group resource:Nigeria } UNION { ?q property:ethnic_group resource:demographics_of_India . ?q rdf:type ontology:common_name } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q398
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Bahrain ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q398 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?x ) }
Bahrain
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Bahrain property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q398 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?x ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Bahrain property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q33788
P530
Q15617994 Q15617994
USER
And how about New Caledonia?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33788
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q33788 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?h } }
New Caledonia
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Caledonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:New_Caledonia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33788
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q33788 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?h } }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
151
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Caledonia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:New_Caledonia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?f = ?x ) . { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181930
P1532
Q15617994
USER
Which administrative territory is represented by Nigeria national football team ?
(Q181930,P1532,c(Q15617994))
action filter_type
action find
entity Q181930
relation P1532
type Q15617994
['Q181930', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q181930 property:P1532 ?e }
Nigeria national football team
action filter_type
action find
entity Nigeria national football team
relation country for sport
type designation for an administrative territorial entity
['Nigeria national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nigeria_national_football_team property:country_for_sport ?e }
[]
designation for an administrative territorial entity
Q1033
SYSTEM
Nigeria
Q1033
(Q181930,P1532,c(Q15617994))
action filter_type
action find
entity Q181930
relation P1532
type Q15617994
And [ANSWER] is represented by [ANSWER] national football team
['Q181930', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q181930 property:P1532 ?e }
Nigeria
And Nigeria is represented by Nigeria national football team
Nigeria
action filter_type
action find
entity Nigeria national football team
relation country for sport
type designation for an administrative territorial entity
['Nigeria national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Nigeria_national_football_team property:country_for_sport ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4534647
Q15617994
USER
And what about Belarus national under-19 football team?
(Q4534647,P1532,c(Q15617994))
action filter_type
action find
entity Q4534647
relation P1532
type Q15617994
['Q4534647', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4534647 property:P1532 ?n . ?n rdf:type ontology:Q15617994 }
Belarus national under-19 football team
action filter_type
action find
entity Belarus national under-19 football team
relation country for sport
type designation for an administrative territorial entity
['Belarus national under-19 football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Belarus_national_under-19_football_team property:country_for_sport ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q4534647,P1532,c(Q15617994))
action filter_type
action find
entity Q4534647
relation P1532
type Q15617994
[ANSWER]
['Q4534647', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q4534647 property:P1532 ?n . ?n rdf:type ontology:Q15617994 }
Belarus
Belarus
action filter_type
action find
entity Belarus national under-19 football team
relation country for sport
type designation for an administrative territorial entity
['Belarus national under-19 football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Belarus_national_under-19_football_team property:country_for_sport ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18648030 Q10457476
P106
Q12737077
USER
Which occupations do Kabiru Musa or Galina Kuzmina do for a living ?
OR((Q10457476,P106,c(Q12737077)), (Q18648030,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10457476
relation P106
action find
entity Q18648030
relation P106
type Q12737077
{'OR': [['Q10457476', 'P106', {'concept': 'Q12737077'}], ['Q18648030', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { ?i property:P106 ?e . VALUES ( ?i ) { ( resource:Q10457476 ) ( resource:Q18648030 ) } } . ?e rdf:type ontology:Q12737077 }
Galina Kuzmina Kabiru Musa
action filter_type
action union
action find
entity Kabiru Musa
relation occupation
action find
entity Galina Kuzmina
relation occupation
type occupation
{'OR': [['Kabiru Musa', 'occupation', {'concept': 'occupation'}], ['Galina Kuzmina', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { ?i property:occupation ?e . VALUES ( ?i ) { ( resource:Kabiru_Musa ) ( resource:Galina_Kuzmina ) } } . ?e rdf:type ontology:occupation }
[]
occupation
Q1231865 Q937857
SYSTEM
educationist, association football player
Q1231865 Q937857
OR((Q10457476,P106,c(Q12737077)), (Q18648030,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q10457476
relation P106
action find
entity Q18648030
relation P106
type Q12737077
Kabiru Musa or Galina Kuzmina do for a living an [ANSWERS]
{'OR': [['Q10457476', 'P106', {'concept': 'Q12737077'}], ['Q18648030', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?e WHERE { { ?i property:P106 ?e . VALUES ( ?i ) { ( resource:Q10457476 ) ( resource:Q18648030 ) } } . ?e rdf:type ontology:Q12737077 }
educationist association football player
Kabiru Musa or Galina Kuzmina do for a living an educationist and association football player
educationist association football player
action filter_type
action union
action find
entity Kabiru Musa
relation occupation
action find
entity Galina Kuzmina
relation occupation
type occupation
{'OR': [['Kabiru Musa', 'occupation', {'concept': 'occupation'}], ['Galina Kuzmina', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?e WHERE { { ?i property:occupation ?e . VALUES ( ?i ) { ( resource:Kabiru_Musa ) ( resource:Galina_Kuzmina ) } } . ?e rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q937857
P921
Q2342494
USER
Which collectables were primarily based on that occupation ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q937857 . ?g rdf:type ontology:Q2342494 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:association_football_player . ?g rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q937857
SYSTEM
Did you mean association football player ?
Q1231865 Q937857
(c(Q2342494),P921,Q1231865) (c(Q2342494),P921,Q937857)
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q1231865'] [{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q937857 . ?g rdf:type ontology:Q2342494 }
educationist association football player
Did you mean association football player ?
association football player
[{'concept': 'collectable'}, 'main subject', 'educationist'] [{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:association_football_player . ?g rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P921,Q937857)
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
[{'concept': 'collectable'}, 'main subject', 'association football player']
[]
Q23730991 Q24787529 Q19845002
SYSTEM
Timeless Bees: Brentford F.C. who's who 1920-2006, The PFA footballers' who's who 2008-09, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?g WHERE { ?g property:P921 resource:Q937857 . ?g rdf:type ontology:Q2342494 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
Timeless Bees: Brentford F.C. who's who 1920-2006, The PFA footballers' who's who 2008-09 and Citizens and minstermen : a who's who of York City FC, 1922-1997 were primarily based on that occupation
Timeless Bees: Brentford F.C. who's who 1920-2006 The PFA footballers' who's who 2008-09 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?g WHERE { ?g property:main_subject resource:association_football_player . ?g rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5444613 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player or were Fernando Betancourt a part of ?
OR((Q937857,P425,c(Q349)), (Q5444613,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q5444613
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q5444613', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q937857 property:P425 ?s } UNION { resource:Q5444613 property:P641 ?s } } . ?s rdf:type ontology:Q349 }
Fernando Betancourt association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Fernando Betancourt
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Fernando Betancourt', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { { { resource:association_football_player property:field_of_this_occupation ?s } UNION { resource:Fernando_Betancourt property:sport ?s } } . ?s rdf:type ontology:sport }
[]
sport
Q213934 Q2736
SYSTEM
canoeing and kayaking, association football
Q213934 Q2736
OR((Q937857,P425,c(Q349)), (Q5444613,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q5444613
relation P641
type Q349
And [ANSWERS] are associated with the field of occupation association football player or were Fernando Betancourt a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q5444613', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q937857 property:P425 ?s } UNION { resource:Q5444613 property:P641 ?s } } . ?s rdf:type ontology:Q349 }
canoeing and kayaking association football
And canoeing and kayaking and association football are associated with the field of occupation association football player or were Fernando Betancourt a part of
canoeing and kayaking association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Fernando Betancourt
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Fernando Betancourt', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { { { resource:association_football_player property:field_of_this_occupation ?s } UNION { resource:Fernando_Betancourt property:sport ?s } } . ?s rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21064120 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation or did Gavin James participate in ?
OR((Q937857,P425,c(Q349)), (Q21064120,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q21064120
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q21064120', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?w } UNION { resource:Q21064120 property:P641 ?w } } }
Gavin James association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Gavin James
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Gavin James', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?w } UNION { resource:Gavin_James property:sport ?w } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q937857,P425,c(Q349)), (Q21064120,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q21064120
relation P641
type Q349
For [ANSWER] have [ANSWER] player as the associated fields of occupation or did Gavin James participate in
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q21064120', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q349 . { { resource:Q937857 property:P425 ?w } UNION { resource:Q21064120 property:P641 ?w } } }
association football
For association football have association football player as the associated fields of occupation or did Gavin James participate in
association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Gavin James
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Gavin James', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sport . { { resource:association_football_player property:field_of_this_occupation ?w } UNION { resource:Gavin_James property:sport ?w } } }
[]