Simple Question (Direct)
Simple Question
Q5549326
P106
Q12737077
USER
Which occupation is the profession of Gerald Le Dain ?
(Q5549326,P106,c(Q12737077))
action filter_type
action find
entity Q5549326
relation P106
type Q12737077
['Q5549326', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q5549326 property:P106 ?q }
Gerald Le Dain
action filter_type
action find
entity Gerald Le Dain
relation occupation
type occupation
['Gerald Le Dain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Gerald_Le_Dain property:occupation ?q }
[]
occupation
Q16533
SYSTEM
judge
Q16533
(Q5549326,P106,c(Q12737077))
action filter_type
action find
entity Q5549326
relation P106
type Q12737077
The [ANSWER] is the profession of Gerald Le Dain
['Q5549326', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q5549326 property:P106 ?q }
judge
The judge is the profession of Gerald Le Dain
judge
action filter_type
action find
entity Gerald Le Dain
relation occupation
type occupation
['Gerald Le Dain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Gerald_Le_Dain property:occupation ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5549326
P21
Q290
USER
What is the sex of that person ?
(Q16533,P21,c(Q290))
action filter_type
action find
entity Q5549326
relation P21
type Q290
['Q16533', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q5549326 property:P21 ?c }
Gerald Le Dain
action filter_type
action find
entity Gerald Le Dain
relation gender
type sex
['judge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Gerald_Le_Dain property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16533,P21,c(Q290))
action filter_type
action find
entity Q5549326
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q16533', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q5549326 property:P21 ?c }
male
The sex of that person is a male
male
action filter_type
action find
entity Gerald Le Dain
relation gender
type sex
['judge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Gerald_Le_Dain property:gender ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q15063281 Q5549326
P21
Q290
USER
And also Óscar Bergasa
AND((Q5549326,P21,c(Q290)), (Q15063281,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q5549326
relation P21
action find
entity Q15063281
relation P21
type Q290
{'AND': [['Q5549326', 'P21', {'concept': 'Q290'}], ['Q15063281', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?y WHERE { resource:Q5549326 property:P21 ?y . resource:Q15063281 property:P21 ?y . ?y rdf:type ontology:Q290 }
Óscar Bergasa Gerald Le Dain
action filter_type
action intersection
action find
entity Gerald Le Dain
relation gender
action find
entity Óscar Bergasa
relation gender
type sex
{'AND': [['Gerald Le Dain', 'gender', {'concept': 'sex'}], ['Óscar Bergasa', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?y WHERE { resource:Gerald_Le_Dain property:gender ?y . resource:Óscar_Bergasa property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q5549326,P21,c(Q290)), (Q15063281,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q5549326
relation P21
action find
entity Q15063281
relation P21
type Q290
[ANSWER]
{'AND': [['Q5549326', 'P21', {'concept': 'Q290'}], ['Q15063281', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?y WHERE { resource:Q5549326 property:P21 ?y . resource:Q15063281 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Gerald Le Dain
relation gender
action find
entity Óscar Bergasa
relation gender
type sex
{'AND': [['Gerald Le Dain', 'gender', {'concept': 'sex'}], ['Óscar Bergasa', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?y WHERE { resource:Gerald_Le_Dain property:gender ?y . resource:Óscar_Bergasa property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5549326
P20
Q56061
USER
Where did the demise of Gerald Le Dain occur ?
(Q5549326,P20,c(Q56061))
action filter_type
action find
entity Q5549326
relation P20
type Q56061
['Q5549326', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5549326 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Gerald Le Dain
action filter_type
action find
entity Gerald Le Dain
relation place of death
type administrative territorial entity
['Gerald Le Dain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gerald_Le_Dain property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q172
SYSTEM
Toronto
Q172
(Q5549326,P20,c(Q56061))
action filter_type
action find
entity Q5549326
relation P20
type Q56061
The demise of Gerald Le Dain occurred in [ANSWER]
['Q5549326', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q5549326 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Toronto
The demise of Gerald Le Dain occurred in Toronto
Toronto
action filter_type
action find
entity Gerald Le Dain
relation place of death
type administrative territorial entity
['Gerald Le Dain', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Gerald_Le_Dain property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5549326
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q172,P27,c(Q1048835))
action filter_type
action find
entity Q5549326
relation P27
type Q1048835
['Q172', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q5549326 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Gerald Le Dain
action filter_type
action find
entity Gerald Le Dain
relation country of citizenship
type political territorial entity
['Toronto', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gerald_Le_Dain property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q172,P27,c(Q1048835))
action filter_type
action find
entity Q5549326
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q172', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q5549326 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Canada
That person belongs to the Canada
Canada
action filter_type
action find
entity Gerald Le Dain
relation country of citizenship
type political territorial entity
['Toronto', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gerald_Le_Dain property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q681487 Q134102
P463
Q484652
USER
Is that political territory a member of Financial Action Task Force on Money Laundering and Organisation internationale de la Francophonie ?
(Q16,P463,Q681487) (Q16,P463,Q134102)
action is_in
entity Q16
action intersection
action find_reverse
entity Q681487
relation P463
action find_reverse
entity Q134102
relation P463
['Q16', 'P463', 'Q681487'] ['Q16', 'P463', 'Q134102']
ASK WHERE { resource:Q16 property:P463 resource:Q681487 . resource:Q16 property:P463 resource:Q134102 }
Canada Financial Action Task Force on Money Laundering Organisation internationale de la Francophonie
action is_in
entity Canada
action intersection
action find_reverse
entity Financial Action Task Force on Money Laundering
relation member of
action find_reverse
entity Organisation internationale de la Francophonie
relation member of
['Canada', 'member of', 'Financial Action Task Force on Money Laundering'] ['Canada', 'member of', 'Organisation internationale de la Francophonie']
ASK WHERE { resource:Canada property:member_of resource:Financial_Action_Task_Force_on_Money_Laundering . resource:Canada property:member_of resource:Organisation_internationale_de_la_Francophonie }
[]
international organization
SYSTEM
NO and YES respectively
(Q16,P463,Q681487) (Q16,P463,Q134102)
action is_in
entity Q16
action intersection
action find_reverse
entity Q681487
relation P463
action find_reverse
entity Q134102
relation P463
[ANSWER]
['Q16', 'P463', 'Q681487'] ['Q16', 'P463', 'Q134102']
ASK WHERE { resource:Q16 property:P463 resource:Q681487 . resource:Q16 property:P463 resource:Q134102 }
NO and YES respectively
action is_in
entity Canada
action intersection
action find_reverse
entity Financial Action Task Force on Money Laundering
relation member of
action find_reverse
entity Organisation internationale de la Francophonie
relation member of
['Canada', 'member of', 'Financial Action Task Force on Money Laundering'] ['Canada', 'member of', 'Organisation internationale de la Francophonie']
ASK WHERE { resource:Canada property:member_of resource:Financial_Action_Task_Force_on_Money_Laundering . resource:Canada property:member_of resource:Organisation_internationale_de_la_Francophonie }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q172 Q270
P190
Q56061
USER
Is Warsaw twin town of Toronto ?
(Q172,P190,Q270)
action is_in
entity Q270
action find
entity Q172
relation P190
['Q172', 'P190', 'Q270']
ASK WHERE { resource:Q172 property:P190 resource:Q270 }
Toronto Warsaw
action is_in
entity Warsaw
action find
entity Toronto
relation sister city
['Toronto', 'sister city', 'Warsaw']
ASK WHERE { resource:Toronto property:sister_city resource:Warsaw }
[]
administrative territorial entity
SYSTEM
YES
(Q172,P190,Q270)
action is_in
entity Q270
action find
entity Q172
relation P190
[ANSWER]
['Q172', 'P190', 'Q270']
ASK WHERE { resource:Q172 property:P190 resource:Q270 }
Yes
action is_in
entity Warsaw
action find
entity Toronto
relation sister city
['Toronto', 'sister city', 'Warsaw']
ASK WHERE { resource:Toronto property:sister_city resource:Warsaw }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1027
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with around the same number of political territories as Mauritius ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1027
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?u ) WHERE { ?d property:P530 ?r . ?d rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q1027 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?i ) }
Mauritius
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mauritius
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?u ) WHERE { ?d property:diplomatic_relation ?r . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Mauritius property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?i ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
124
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1027
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?u ) WHERE { ?d property:P530 ?r . ?d rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Q1027 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?i ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
124
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mauritius
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?u ) WHERE { ?d property:diplomatic_relation ?r . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { resource:Mauritius property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172
P1408
Q4830453
USER
Which business enterprises have license to broadcast to Toronto ?
(c(Q4830453),P1408,Q172)
action filter_type
action find_reverse
entity Q172
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q172']
SELECT DISTINCT ?h WHERE { ?h property:P1408 resource:Q172 . ?h rdf:type ontology:Q4830453 }
Toronto
action filter_type
action find_reverse
entity Toronto
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Toronto']
SELECT DISTINCT ?h WHERE { ?h property:licensed_to_broadcast_to resource:Toronto . ?h rdf:type ontology:business_enterprise }
[]
business enterprise
Q746330 Q2931381 Q5011339
SYSTEM
CJBC-FM, CFTR, CHRY-FM
Q746330 Q2931381 Q5011339 Q2931474 Q2931430 Q2931571 Q1023657 Q5011139 Q5010798 Q43396 Q5011859 Q5012425 Q5011183 Q5012363 Q2931613 Q5011262 Q5011109 Q5012383 Q2931569 Q2931545 Q5011384 Q5011724 Q5011121 Q5010721 Q5009126 Q5011943 Q5009125 Q5011166 Q5011164 Q3416670 Q5012196 Q4668358 Q5010781 Q5010922 Q5010901
(c(Q4830453),P1408,Q172)
action filter_type
action find_reverse
entity Q172
relation P1408
type Q4830453
[ANSWERS] have license to broadcast to Toronto
[{'concept': 'Q4830453'}, 'P1408', 'Q172']
SELECT DISTINCT ?h WHERE { ?h property:P1408 resource:Q172 . ?h rdf:type ontology:Q4830453 }
CJBC-FM CFTR CHRY-FM CHUM CHBM-FM CJCL CHUM-FM CHHA CFRX-SW CKIS-FM CIRV-FM CKLN-FM CHKT CKFM-FM CJRT-FM CHOQ-FM CHEV CKHC-FM CJBC CIRR-FM CHTO CILQ-FM CHFI-FM CFMZ-FM CBL-FM CIUT-FM CBLA-FM CHIN CHIN-FM Radio Glendon CJSA-FM Aboriginal Voices CFRB CFZM CFXJ-FM
CJBC-FM, CFTR and CHRY-FM have license to broadcast to Toronto
CJBC-FM CFTR CHRY-FM
action filter_type
action find_reverse
entity Toronto
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Toronto']
SELECT DISTINCT ?h WHERE { ?h property:licensed_to_broadcast_to resource:Toronto . ?h rdf:type ontology:business_enterprise }
[]