Simple Question (Direct)
Simple Question
Q11399381
P106
Q12737077
USER
Which occupation has Toshiko Katō as his/her 's career ?
(Q11399381,P106,c(Q12737077))
action filter_type
action find
entity Q11399381
relation P106
type Q12737077
['Q11399381', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q11399381 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Toshiko Katō
action filter_type
action find
entity Toshiko Katō
relation occupation
type occupation
['Toshiko Katō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Toshiko_Katō property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q43845
SYSTEM
businessperson
Q43845
(Q11399381,P106,c(Q12737077))
action filter_type
action find
entity Q11399381
relation P106
type Q12737077
As [ANSWER] has Toshiko Katō as his/her 's career
['Q11399381', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q11399381 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
businessperson
As businessperson has Toshiko Katō as his/her 's career
businessperson
action filter_type
action find
entity Toshiko Katō
relation occupation
type occupation
['Toshiko Katō', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Toshiko_Katō property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11399381
P40
Q502895
USER
Who is a child of Toshiko Katō ?
(Q11399381,P40,c(Q502895))
action filter_type
action find
entity Q11399381
relation P40
type Q502895
['Q11399381', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q11399381 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Toshiko Katō
action filter_type
action find
entity Toshiko Katō
relation child
type common name
['Toshiko Katō', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Toshiko_Katō property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q1078163
SYSTEM
Tokiko Kato
Q1078163
(Q11399381,P40,c(Q502895))
action filter_type
action find
entity Q11399381
relation P40
type Q502895
A child of Toshiko Katō is named [ANSWER]
['Q11399381', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q11399381 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Tokiko Kato
A child of Toshiko Katō is named Tokiko Kato
Tokiko Kato
action filter_type
action find
entity Toshiko Katō
relation child
type common name
['Toshiko Katō', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Toshiko_Katō property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11399381
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Toshiko Katō ?
(Q11399381,P27,c(Q15617994))
action filter_type
action find
entity Q11399381
relation P27
type Q15617994
['Q11399381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q11399381 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Toshiko Katō
action filter_type
action find
entity Toshiko Katō
relation country of citizenship
type designation for an administrative territorial entity
['Toshiko Katō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Toshiko_Katō property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11399381,P27,c(Q15617994))
action filter_type
action find
entity Q11399381
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Toshiko Katō
['Q11399381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q11399381 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Japan
Of Japan is the country of citizenship of Toshiko Katō
Japan
action filter_type
action find
entity Toshiko Katō
relation country of citizenship
type designation for an administrative territorial entity
['Toshiko Katō', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Toshiko_Katō property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17 Q884
P530
Q15617994
USER
Does South Korea have diplomatic relations with Japan ?
(Q17,P530,Q884)
action is_in
entity Q884
action find
entity Q17
relation P530
['Q17', 'P530', 'Q884']
ASK WHERE { resource:Q17 property:P530 resource:Q884 }
Japan South Korea
action is_in
entity South Korea
action find
entity Japan
relation diplomatic relation
['Japan', 'diplomatic relation', 'South Korea']
ASK WHERE { resource:Japan property:diplomatic_relation resource:South_Korea }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17,P530,Q884)
action is_in
entity Q884
action find
entity Q17
relation P530
[ANSWER]
['Q17', 'P530', 'Q884']
ASK WHERE { resource:Q17 property:P530 resource:Q884 }
Yes
action is_in
entity South Korea
action find
entity Japan
relation diplomatic relation
['Japan', 'diplomatic relation', 'South Korea']
ASK WHERE { resource:Japan property:diplomatic_relation resource:South_Korea }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q38
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories as Italy ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?j ) WHERE { ?p property:P530 ?w . ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q38 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?b ) }
Italy
action count
action approx
action find_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 Italy
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 ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?j ) WHERE { ?p property:diplomatic_relation ?w . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Italy property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?b ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?j ) WHERE { ?p property:P530 ?w . ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Q38 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?b ) }
Italy Georgia
2
action count
action approx
action find_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 Italy
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 ( ?p ) AS ?s ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?j ) WHERE { ?p property:diplomatic_relation ?w . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?b ) WHERE { resource:Italy property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q236
P530
Q15617994 Q15617994
USER
And what about Montenegro?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q236
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { ?k property:P530 ?j . ?k rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q236 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?m ) }
Montenegro
action count
action approx
action find_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 Montenegro
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 ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { ?k property:diplomatic_relation ?j . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Montenegro property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 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 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q236
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { ?k property:P530 ?j . ?k rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Q236 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?m ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia 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 Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_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 Montenegro
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 ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?h ) WHERE { ?k property:diplomatic_relation ?j . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { resource:Montenegro property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11399381
P26
Q502895
USER
Which person is the life partner of Toshiko Katō ?
(Q11399381,P26,c(Q502895))
action filter_type
action find
entity Q11399381
relation P26
type Q502895
['Q11399381', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q11399381 property:P26 ?l }
Toshiko Katō
action filter_type
action find
entity Toshiko Katō
relation spouse
type common name
['Toshiko Katō', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Toshiko_Katō property:spouse ?l }
[]
common name
Q11399182
SYSTEM
Kōshirō Katō
Q11399182
(Q11399381,P26,c(Q502895))
action filter_type
action find
entity Q11399381
relation P26
type Q502895
[ANSWER] is the life partner of Toshiko Katō
['Q11399381', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q11399381 property:P26 ?l }
Kōshirō Katō
Kōshirō Katō is the life partner of Toshiko Katō
Kōshirō Katō
action filter_type
action find
entity Toshiko Katō
relation spouse
type common name
['Toshiko Katō', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Toshiko_Katō property:spouse ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11399182
P22
Q502895
USER
Which person has that one as dad ?
(c(Q502895),P22,Q11399182)
action filter_type
action find_reverse
entity Q11399182
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11399182']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q11399182 . ?w rdf:type ontology:Q502895 }
Kōshirō Katō
action filter_type
action find_reverse
entity Kōshirō Katō
relation father
type common name
[{'concept': 'common name'}, 'father', 'Kōshirō Katō']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Kōshirō_Katō . ?w rdf:type ontology:common_name }
[]
common name
Q1078163
SYSTEM
Tokiko Kato
Q1078163
(c(Q502895),P22,Q11399182)
action filter_type
action find_reverse
entity Q11399182
relation P22
type Q502895
[ANSWER] has that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q11399182']
SELECT DISTINCT ?w WHERE { ?w property:P22 resource:Q11399182 . ?w rdf:type ontology:Q502895 }
Tokiko Kato
Tokiko Kato has that one as dad
Tokiko Kato
action filter_type
action find_reverse
entity Kōshirō Katō
relation father
type common name
[{'concept': 'common name'}, 'father', 'Kōshirō Katō']
SELECT DISTINCT ?w WHERE { ?w property:father resource:Kōshirō_Katō . ?w rdf:type ontology:common_name }
[]