Simple Question (Direct)
Simple Question
Q4910411
P27
Q15617994
USER
Which administrative territory is Bill Owen a civilian of ?
(Q4910411,P27,c(Q15617994))
action filter_type
action find
entity Q4910411
relation P27
type Q15617994
['Q4910411', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4910411 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Bill Owen
action filter_type
action find
entity Bill Owen
relation country of citizenship
type designation for an administrative territorial entity
['Bill Owen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Bill_Owen property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4910411,P27,c(Q15617994))
action filter_type
action find
entity Q4910411
relation P27
type Q15617994
The [ANSWER] is Bill Owen a civilian of
['Q4910411', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4910411 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Bill Owen a civilian of
United Kingdom
action filter_type
action find
entity Bill Owen
relation country of citizenship
type designation for an administrative territorial entity
['Bill Owen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Bill_Owen property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4910411
P106
Q12737077
USER
What is the job of that person ?
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q4910411
relation P106
type Q12737077
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q4910411 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Bill Owen
action filter_type
action find
entity Bill Owen
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Bill_Owen property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q145,P106,c(Q12737077))
action filter_type
action find
entity Q4910411
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q145', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q4910411 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Bill Owen
relation occupation
type occupation
['United Kingdom', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Bill_Owen property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4910411
P21
Q290
USER
What is the sex of that person ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q4910411
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4910411 property:P21 ?l . ?l rdf:type ontology:Q290 }
Bill Owen
action filter_type
action find
entity Bill Owen
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Bill_Owen property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q4910411
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q4910411 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Bill Owen
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Bill_Owen property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q6893581 Q4910411
P21
Q290
USER
And also Mohan Raghavan
AND((Q4910411,P21,c(Q290)), (Q6893581,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4910411
relation P21
action find
entity Q6893581
relation P21
type Q290
{'AND': [['Q4910411', 'P21', {'concept': 'Q290'}], ['Q6893581', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?r WHERE { resource:Q4910411 property:P21 ?r . resource:Q6893581 property:P21 ?r . ?r rdf:type ontology:Q290 }
Mohan Raghavan Bill Owen
action filter_type
action intersection
action find
entity Bill Owen
relation gender
action find
entity Mohan Raghavan
relation gender
type sex
{'AND': [['Bill Owen', 'gender', {'concept': 'sex'}], ['Mohan Raghavan', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?r WHERE { resource:Bill_Owen property:gender ?r . resource:Mohan_Raghavan property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q4910411,P21,c(Q290)), (Q6893581,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4910411
relation P21
action find
entity Q6893581
relation P21
type Q290
[ANSWER]
{'AND': [['Q4910411', 'P21', {'concept': 'Q290'}], ['Q6893581', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?r WHERE { resource:Q4910411 property:P21 ?r . resource:Q6893581 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Bill Owen
relation gender
action find
entity Mohan Raghavan
relation gender
type sex
{'AND': [['Bill Owen', 'gender', {'concept': 'sex'}], ['Mohan Raghavan', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?r WHERE { resource:Bill_Owen property:gender ?r . resource:Mohan_Raghavan property:gender ?r . ?r rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q452565
P1376
Q15617994 Q486972 Q515
USER
Which administrative territories have greater number of human settlements and cities have their center of administration than Amajuba District Municipality ?
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q452565
relation P1376
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?u WHERE { { ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q486972 . ?t property:P1376 ?u } UNION { ?t property:P1376 ?u . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P1376 resource:Q452565 . { { ?r rdf:type ontology:Q486972 } UNION { ?r rdf:type ontology:Q515 } } } } . FILTER ( ?l > ?v ) }
Amajuba District Municipality
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Amajuba District Municipality
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?u WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:human_settlement . ?t property:capital_of ?u } UNION { ?t property:capital_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:capital_of resource:Amajuba_District_Municipality . { { ?r rdf:type ontology:human_settlement } UNION { ?r rdf:type ontology:city } } } } . FILTER ( ?l > ?v ) }
[]
designation for an administrative territorial entity human settlement city
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q452565
relation P1376
type Q486972
type Q515
[ANSWERS] have greater number of human settlements and cities have their center of administration than Amajuba District Municipality
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?u WHERE { { ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q486972 . ?t property:P1376 ?u } UNION { ?t property:P1376 ?u . ?u rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:P1376 resource:Q452565 . { { ?r rdf:type ontology:Q486972 } UNION { ?r rdf:type ontology:Q515 } } } } . FILTER ( ?l > ?v ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil, Japan and Liechtenstein have greater number of human settlements and cities have their center of administration than Amajuba District Municipality
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Amajuba District Municipality
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) ?u WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:human_settlement . ?t property:capital_of ?u } UNION { ?t property:capital_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { ?r property:capital_of resource:Amajuba_District_Municipality . { { ?r rdf:type ontology:human_settlement } UNION { ?r rdf:type ontology:city } } } } . FILTER ( ?l > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1483510
P1376
Q15617994 Q486972 Q515
USER
And also tell me about Principality of Wales?
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q1483510
relation P1376
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?h ) WHERE { { ?u rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q486972 . ?s property:P1376 ?u } UNION { ?s property:P1376 ?u . ?u rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P1376 resource:Q1483510 . { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } } } . FILTER ( ?h > ?z ) }
Principality of Wales
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Principality of Wales
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?h ) WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:human_settlement . ?s property:capital_of ?u } UNION { ?s property:capital_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:capital_of resource:Principality_of_Wales . { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:human_settlement ) ( ontology:city ) } } } } . FILTER ( ?h > ?z ) }
[]
designation for an administrative territorial entity human settlement city
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q1483510
relation P1376
type Q486972
type Q515
[ANSWERS]
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?h ) WHERE { { ?u rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q486972 . ?s property:P1376 ?u } UNION { ?s property:P1376 ?u . ?u rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q515 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P1376 resource:Q1483510 . { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } } } . FILTER ( ?h > ?z ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Principality of Wales
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?h ) WHERE { { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:human_settlement . ?s property:capital_of ?u } UNION { ?s property:capital_of ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:city } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:capital_of resource:Principality_of_Wales . { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:human_settlement ) ( ontology:city ) } } } } . FILTER ( ?h > ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q813770
P530
Q1048835
USER
Do Beco have diplomatic associations with those administrative territories ?
(Q813770,P530,Q155) (Q813770,P530,Q17) (Q813770,P530,Q347)
action is_in
entity prev_answer
action find
entity Q813770
relation P530
['Q813770', 'P530', 'Q155'] ['Q813770', 'P530', 'Q17'] ['Q813770', 'P530', 'Q347']
ASK WHERE { VALUES ( ?u ) { ( resource:Q414 ) ( resource:Q1111401 ) ( resource:Q252 ) } . resource:Q813770 property:P530 ?u }
Beco
action is_in
entity prev_answer
action find
entity Beco
relation diplomatic relation
['Beco', 'diplomatic relation', 'Brazil'] ['Beco', 'diplomatic relation', 'Japan'] ['Beco', 'diplomatic relation', 'Liechtenstein']
ASK WHERE { VALUES ( ?u ) { ( resource:Argentina ) ( resource:Kispest_District ) ( resource:Indonesia ) } . resource:Beco property:diplomatic_relation ?u }
[]
political territorial entity
SYSTEM
NO
(Q813770,P530,Q155) (Q813770,P530,Q17) (Q813770,P530,Q347)
action is_in
entity prev_answer
action find
entity Q813770
relation P530
[ANSWER]
['Q813770', 'P530', 'Q155'] ['Q813770', 'P530', 'Q17'] ['Q813770', 'P530', 'Q347']
ASK WHERE { VALUES ( ?u ) { ( resource:Q414 ) ( resource:Q1111401 ) ( resource:Q252 ) } . resource:Q813770 property:P530 ?u }
No
action is_in
entity prev_answer
action find
entity Beco
relation diplomatic relation
['Beco', 'diplomatic relation', 'Brazil'] ['Beco', 'diplomatic relation', 'Japan'] ['Beco', 'diplomatic relation', 'Liechtenstein']
ASK WHERE { VALUES ( ?u ) { ( resource:Argentina ) ( resource:Kispest_District ) ( resource:Indonesia ) } . resource:Beco property:diplomatic_relation ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17 Q148
P47
Q15617994
USER
Does People's Republic of China have a shared border with Japan ?
(Q17,P47,Q148)
action is_in
entity Q148
action find
entity Q17
relation P47
['Q17', 'P47', 'Q148']
ASK WHERE { resource:Q17 property:P47 resource:Q148 }
Japan People's Republic of China
action is_in
entity People's Republic of China
action find
entity Japan
relation shares border with
['Japan', 'shares border with', "People's Republic of China"]
ASK WHERE { resource:Japan property:shares_border_with resource:People's_Republic_of_China }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17,P47,Q148)
action is_in
entity Q148
action find
entity Q17
relation P47
[ANSWER]
['Q17', 'P47', 'Q148']
ASK WHERE { resource:Q17 property:P47 resource:Q148 }
Yes
action is_in
entity People's Republic of China
action find
entity Japan
relation shares border with
['Japan', 'shares border with', "People's Republic of China"]
ASK WHERE { resource:Japan property:shares_border_with resource:People's_Republic_of_China }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q37 Q38
P530
Q15617994
USER
Does United Kingdom have ambassadorial relations with Lithuania and Italy ?
(Q145,P530,Q37) (Q145,P530,Q38)
action is_in
entity Q145
action intersection
action find_reverse
entity Q37
relation P530
action find_reverse
entity Q38
relation P530
['Q145', 'P530', 'Q37'] ['Q145', 'P530', 'Q38']
ASK WHERE { resource:Q145 property:P530 resource:Q37 . resource:Q145 property:P530 resource:Q38 }
United Kingdom Lithuania Italy
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Lithuania
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Lithuania'] ['United Kingdom', 'diplomatic relation', 'Italy']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Lithuania . resource:United_Kingdom property:diplomatic_relation resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q145,P530,Q37) (Q145,P530,Q38)
action is_in
entity Q145
action intersection
action find_reverse
entity Q37
relation P530
action find_reverse
entity Q38
relation P530
[ANSWER]
['Q145', 'P530', 'Q37'] ['Q145', 'P530', 'Q38']
ASK WHERE { resource:Q145 property:P530 resource:Q37 . resource:Q145 property:P530 resource:Q38 }
Yes
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Lithuania
relation diplomatic relation
action find_reverse
entity Italy
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Lithuania'] ['United Kingdom', 'diplomatic relation', 'Italy']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Lithuania . resource:United_Kingdom property:diplomatic_relation resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q155 Q22632
P530
Q15617994
USER
Does Sozzago have a diplomatic relationship with Brazil ?
(Q155,P530,Q22632)
action is_in
entity Q22632
action find
entity Q155
relation P530
['Q155', 'P530', 'Q22632']
ASK WHERE { resource:Q155 property:P530 resource:Q22632 }
Brazil Sozzago
action is_in
entity Sozzago
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Sozzago']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Sozzago }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q155,P530,Q22632)
action is_in
entity Q22632
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q22632']
ASK WHERE { resource:Q155 property:P530 resource:Q22632 }
No
action is_in
entity Sozzago
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Sozzago']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Sozzago }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q399
P840
Q15617994 Q15416 Q2342494
USER
How many administrative territories are greater number of television programs or collectables set in than Armenia ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q399
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?e rdf:type ?q } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P840 resource:Q399 . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?z > ?w ) }
Armenia
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Armenia
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:television_program ) ( ontology:collectable ) } . ?e rdf:type ?q } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:narrative_location resource:Armenia . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:television_program ) ( ontology:collectable ) } } } } . FILTER ( ?z > ?w ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
25
Q668 Q142 Q55 Q145 Q148 Q258 Q1979 Q43 Q41 Q155 Q796 Q794 Q889 Q881 Q33 Q30 Q36 Q38 Q29 Q843 Q96 Q17 Q963 Q213 Q79
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q399
relation P840
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } . ?e rdf:type ?q } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:P840 resource:Q399 . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?z > ?w ) }
India France Netherlands United Kingdom People's Republic of China South Africa Prince Edward Island Turkey Greece Brazil Iraq Iran Afghanistan Vietnam Finland United States of America Poland Italy Spain Pakistan Mexico Japan Botswana Czech Republic Egypt
25
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Armenia
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?q ) { ( ontology:television_program ) ( ontology:collectable ) } . ?e rdf:type ?q } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { ?y property:narrative_location resource:Armenia . { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:television_program ) ( ontology:collectable ) } } } } . FILTER ( ?z > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1044
P840
Q15617994 Q15416 Q2342494
USER
And how about Sierra Leone?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1044
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15416 . ?i property:P840 ?v } UNION { ?i property:P840 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P840 resource:Q1044 . { { ?s rdf:type ontology:Q15416 } UNION { ?s rdf:type ontology:Q2342494 } } } } . FILTER ( ?k > ?n ) }
Sierra Leone
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Sierra Leone
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:television_program . ?i property:narrative_location ?v } UNION { ?i property:narrative_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:collectable } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:narrative_location resource:Sierra_Leone . { { ?s rdf:type ontology:television_program } UNION { ?s rdf:type ontology:collectable } } } } . FILTER ( ?k > ?n ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
41
Q20837 Q668 Q142 Q55 Q1948 Q145 Q148 Q712 Q399 Q258 Q1979 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q858 Q241 Q33 Q30 Q36 Q39 Q38 Q739 Q854 Q20 Q27 Q29 Q2009 Q843 Q2007 Q96 Q17 Q963 Q298 Q213 Q79 Q1952
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1044
relation P840
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15416 . ?i property:P840 ?v } UNION { ?i property:P840 ?v . ?v rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2342494 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P840 resource:Q1044 . { { ?s rdf:type ontology:Q15416 } UNION { ?s rdf:type ontology:Q2342494 } } } } . FILTER ( ?k > ?n ) }
Fanø India France Netherlands Manitoba United Kingdom People's Republic of China Fiji Armenia South Africa Prince Edward Island Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Syria Cuba Finland United States of America Poland Switzerland Italy Colombia Sri Lanka Norway Ireland Spain Yukon Pakistan Northwest Territories Mexico Japan Botswana Chile Czech Republic Egypt Nova Scotia
41
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Sierra Leone
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:television_program . ?i property:narrative_location ?v } UNION { ?i property:narrative_location ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:collectable } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:narrative_location resource:Sierra_Leone . { { ?s rdf:type ontology:television_program } UNION { ?s rdf:type ontology:collectable } } } } . FILTER ( ?k > ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q2342494 Q11060274
USER
Which administrative territories are demonstrated in approximately 1 collectables or prints ?
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P180 ?q . ?y rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q15617994 } UNION { ?y property:P180 ?q . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q11060274 } } GROUP BY ?q } . FILTER ( ?s = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 1
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:depicts ?q . ?y rdf:type ontology:collectable . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y property:depicts ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:print } } GROUP BY ?q } . FILTER ( ?s = 1 ) }
[]
designation for an administrative territorial entity collectable print
Q17 Q1011 Q79
SYSTEM
Japan, Cape Verde, Egypt
Q47505 Q131596 Q1028 Q17 Q298 Q13320 Q79 Q1011 Q913434 Q376896 Q34876
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 1
[ANSWERS] are demonstrated in approximately 1 collectables or prints
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P180 ?q . ?y rdf:type ontology:Q2342494 . ?q rdf:type ontology:Q15617994 } UNION { ?y property:P180 ?q . ?q rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q11060274 } } GROUP BY ?q } . FILTER ( ?s = 1 ) }
Dolo farm Morocco Japan Chile Savona Egypt Cape Verde Les Halles Grenelle province
Japan, Cape Verde and Egypt are demonstrated in approximately 1 collectables or prints
Japan Cape Verde Egypt
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 1
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:depicts ?q . ?y rdf:type ontology:collectable . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?y property:depicts ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:print } } GROUP BY ?q } . FILTER ( ?s = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17 Q1011 Q79
P17
Q15617994
USER
Which administrative territories do those ones belong to ?
(Q17,P17,c(Q15617994)) (Q1011,P17,c(Q15617994)) (Q79,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q17', 'P17', {'concept': 'Q15617994'}] ['Q1011', 'P17', {'concept': 'Q15617994'}] ['Q79', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q47505 ) ( resource:Q131596 ) ( resource:Q1028 ) } . ?j property:P17 ?r }
Japan Cape Verde Egypt
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Japan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cape Verde', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Egypt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Dolo ) ( resource:farm ) ( resource:Morocco ) } . ?j property:country ?r }
[]
designation for an administrative territorial entity
Q17 Q1011 Q79
SYSTEM
Japan, Cape Verde, Egypt
Q17 Q1011 Q79
(Q17,P17,c(Q15617994)) (Q1011,P17,c(Q15617994)) (Q79,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones belong to [ANSWERS]
['Q17', 'P17', {'concept': 'Q15617994'}] ['Q1011', 'P17', {'concept': 'Q15617994'}] ['Q79', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . VALUES ( ?j ) { ( resource:Q47505 ) ( resource:Q131596 ) ( resource:Q1028 ) } . ?j property:P17 ?r }
Japan Cape Verde Egypt
Those ones belong to Japan, Cape Verde and Egypt
Japan Cape Verde Egypt
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Japan', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cape Verde', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Egypt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?j ) { ( resource:Dolo ) ( resource:farm ) ( resource:Morocco ) } . ?j property:country ?r }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q1011 Q79
P17
Q12737077
USER
Which occupations are located in Japan, Cape Verde and Egypt ?
(c(Q12737077),P17,Q17) (c(Q12737077),P17,Q1011) (c(Q12737077),P17,Q79)
action union
action filter_type
action find_reverse
entity Q17
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q1011
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q79
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q17'] [{'concept': 'Q12737077'}, 'P17', 'Q1011'] [{'concept': 'Q12737077'}, 'P17', 'Q79']
SELECT DISTINCT ?b WHERE { { ?b property:P17 resource:Q17 . ?b rdf:type ontology:Q12737077 } UNION { ?b property:P17 resource:Q1011 . ?b rdf:type ontology:Q12737077 } }
Japan Cape Verde Egypt
action union
action filter_type
action find_reverse
entity Japan
relation country
type occupation
action filter_type
action find_reverse
entity Cape Verde
relation country
type occupation
action filter_type
action find_reverse
entity Egypt
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Japan'] [{'concept': 'occupation'}, 'country', 'Cape Verde'] [{'concept': 'occupation'}, 'country', 'Egypt']
SELECT DISTINCT ?b WHERE { { ?b property:country resource:Japan . ?b rdf:type ontology:occupation } UNION { ?b property:country resource:Cape_Verde . ?b rdf:type ontology:occupation } }
[]
occupation
Q27826875 Q6500849 Q274948
SYSTEM
Mayor of Kyoto, Minister of Finance, Prime Minister of Japan
Q27826875 Q841904 Q6500838 Q6500849 Q841962 Q274948 Q19962558 Q1578065 Q1157586 Q17506823 Q20011928 Q842359 Q1767791 Q1355043 Q82723 Q6865993 Q842012 Q6866352 Q11515703 Q14552828 Q1185338 Q8191055 Q191633 Q1104488 Q27697103 Q11643353 Q11612810 Q6866106 Q19058382 Q18204364 Q184951 Q1571396 Q19359412 Q2669413 Q1162405 Q21290857
(c(Q12737077),P17,Q17) (c(Q12737077),P17,Q1011) (c(Q12737077),P17,Q79)
action union
action filter_type
action find_reverse
entity Q17
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q1011
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q79
relation P17
type Q12737077
[ANSWERS] are located in Japan, Cape Verde and Egypt
[{'concept': 'Q12737077'}, 'P17', 'Q17'] [{'concept': 'Q12737077'}, 'P17', 'Q1011'] [{'concept': 'Q12737077'}, 'P17', 'Q79']
SELECT DISTINCT ?b WHERE { { ?b property:P17 resource:Q17 . ?b rdf:type ontology:Q12737077 } UNION { ?b property:P17 resource:Q1011 . ?b rdf:type ontology:Q12737077 } }
Mayor of Kyoto Minister of Justice Minister of Defense of Japan Minister of Finance Minister of Health, Labour and Welfare Prime Minister of Japan Mayor of Nagoya Minister of Internal Affairs and Communications Daijō-daijin member of the House of Representatives of Japan member of the House of Peers Minister of Education, Culture, Sports, Science and Technology of Japan Deputy Prime Minister of Japan Minister for Foreign Affairs geisha Minister for the Abduction Issue Minister of Land, Infrastructure, Transport and Tourism Minister of State for Consumer Affairs and Food Safety Justice of the Supreme Court of Japan member of the House of Councillors Naidaijin Minister of Agriculture, Forestry and Fisheries mangaka Minister of the Environment Governor of Kyoto Prefecture Minister of Posts and Telecommunications Minister of Home Affairs Minister of Economy, Trade and Industry President of Cape Verde Minister of Foreign Affairs pasha Prime Minister of Egypt Member of the Shura Council Vice President of Egypt Minister of Foreign Affairs Member of the House of Representatives of Egypt
Mayor of Kyoto, Minister of Finance and Prime Minister of Japan are located in Japan, Cape Verde and Egypt
Mayor of Kyoto Minister of Finance Prime Minister of Japan
action union
action filter_type
action find_reverse
entity Japan
relation country
type occupation
action filter_type
action find_reverse
entity Cape Verde
relation country
type occupation
action filter_type
action find_reverse
entity Egypt
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'Japan'] [{'concept': 'occupation'}, 'country', 'Cape Verde'] [{'concept': 'occupation'}, 'country', 'Egypt']
SELECT DISTINCT ?b WHERE { { ?b property:country resource:Japan . ?b rdf:type ontology:occupation } UNION { ?b property:country resource:Cape_Verde . ?b rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q27826875 Q6500849 Q274948
P17
Q15617994
USER
Which administrative territories are Mayor of Kyoto, Minister of Finance and Prime Minister of Japan present in ?
(Q27826875,P17,c(Q15617994)) (Q6500849,P17,c(Q15617994)) (Q274948,P17,c(Q15617994))
action union
action filter_type
action find
entity Q27826875
relation P17
type Q15617994
action filter_type
action find
entity Q6500849
relation P17
type Q15617994
action filter_type
action find
entity Q274948
relation P17
type Q15617994
['Q27826875', 'P17', {'concept': 'Q15617994'}] ['Q6500849', 'P17', {'concept': 'Q15617994'}] ['Q274948', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q27826875 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q6500849 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Mayor of Kyoto Minister of Finance Prime Minister of Japan
action union
action filter_type
action find
entity Mayor of Kyoto
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Finance
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prime Minister of Japan
relation country
type designation for an administrative territorial entity
['Mayor of Kyoto', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Finance', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Japan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Mayor_of_Kyoto property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Minister_of_Finance property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q17 Q17 Q17
SYSTEM
Japan
Q17 Q17 Q17
(Q27826875,P17,c(Q15617994)) (Q6500849,P17,c(Q15617994)) (Q274948,P17,c(Q15617994))
action union
action filter_type
action find
entity Q27826875
relation P17
type Q15617994
action filter_type
action find
entity Q6500849
relation P17
type Q15617994
action filter_type
action find
entity Q274948
relation P17
type Q15617994
Are [ANSWER], [ANSWER] and [ANSWER] are Mayor of Kyoto, Minister of Finance and Prime Minister of [ANSWER] present in
['Q27826875', 'P17', {'concept': 'Q15617994'}] ['Q6500849', 'P17', {'concept': 'Q15617994'}] ['Q274948', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q27826875 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q6500849 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Japan Japan Japan
Are Japan, Japan and Japan are Mayor of Kyoto, Minister of Finance and Prime Minister of Japan present in
Japan Japan Japan
action union
action filter_type
action find
entity Mayor of Kyoto
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister of Finance
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prime Minister of Japan
relation country
type designation for an administrative territorial entity
['Mayor of Kyoto', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister of Finance', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Japan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Mayor_of_Kyoto property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Minister_of_Finance property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]