Simple Question (Direct)
Simple Question
Q1195624
P21
Q290
USER
What is the sex of Andrey Yakimov ?
(Q1195624,P21,c(Q290))
action filter_type
action find
entity Q1195624
relation P21
type Q290
['Q1195624', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1195624 property:P21 ?o . ?o rdf:type ontology:Q290 }
Andrey Yakimov
action filter_type
action find
entity Andrey Yakimov
relation gender
type sex
['Andrey Yakimov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Andrey_Yakimov property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1195624,P21,c(Q290))
action filter_type
action find
entity Q1195624
relation P21
type Q290
The sex of Andrey Yakimov is the [ANSWER]
['Q1195624', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1195624 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Andrey Yakimov is the male
male
action filter_type
action find
entity Andrey Yakimov
relation gender
type sex
['Andrey Yakimov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Andrey_Yakimov property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1195624
P106
Q12737077
USER
Which occupation is the profession of Andrey Yakimov ?
(Q1195624,P106,c(Q12737077))
action filter_type
action find
entity Q1195624
relation P106
type Q12737077
['Q1195624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1195624 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Andrey Yakimov
action filter_type
action find
entity Andrey Yakimov
relation occupation
type occupation
['Andrey Yakimov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Andrey_Yakimov property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1195624,P106,c(Q12737077))
action filter_type
action find
entity Q1195624
relation P106
type Q12737077
Player [ANSWER] is the profession of Andrey Yakimov
['Q1195624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1195624 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Andrey Yakimov
association football player
action filter_type
action find
entity Andrey Yakimov
relation occupation
type occupation
['Andrey Yakimov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Andrey_Yakimov property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1195624
P27
Q15617994
USER
Which administrative territory is the native country of Andrey Yakimov ?
(Q1195624,P27,c(Q15617994))
action filter_type
action find
entity Q1195624
relation P27
type Q15617994
['Q1195624', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1195624 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Andrey Yakimov
action filter_type
action find
entity Andrey Yakimov
relation country of citizenship
type designation for an administrative territorial entity
['Andrey Yakimov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Andrey_Yakimov property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(Q1195624,P27,c(Q15617994))
action filter_type
action find
entity Q1195624
relation P27
type Q15617994
The [ANSWER] is the native country of Andrey Yakimov
['Q1195624', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1195624 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Belarus
The Belarus is the native country of Andrey Yakimov
Belarus
action filter_type
action find
entity Andrey Yakimov
relation country of citizenship
type designation for an administrative territorial entity
['Andrey Yakimov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Andrey_Yakimov property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7686179
Q15617994
USER
And what about Tariq Pervez?
(Q7686179,P27,c(Q15617994))
action filter_type
action find
entity Q7686179
relation P27
type Q15617994
['Q7686179', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7686179 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Tariq Pervez
action filter_type
action find
entity Tariq Pervez
relation country of citizenship
type designation for an administrative territorial entity
['Tariq Pervez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Tariq_Pervez property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843
SYSTEM
Pakistan
Q843
(Q7686179,P27,c(Q15617994))
action filter_type
action find
entity Q7686179
relation P27
type Q15617994
[ANSWER]
['Q7686179', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7686179 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Pakistan
Pakistan
action filter_type
action find
entity Tariq Pervez
relation country of citizenship
type designation for an administrative territorial entity
['Tariq Pervez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Tariq_Pervez property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q843
P530
Q15617994
USER
Who holds diplomatic relationship with that one ?
(Q843,P530,c(Q15617994))
action filter_type
action find
entity Q843
relation P530
type Q15617994
['Q843', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q843 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Pakistan
action filter_type
action find
entity Pakistan
relation diplomatic relation
type designation for an administrative territorial entity
['Pakistan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Pakistan property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q805 Q38
SYSTEM
Brazil, Yemen, Italy
Q155 Q805 Q38
(Q843,P530,c(Q15617994))
action filter_type
action find
entity Q843
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with that one
['Q843', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q843 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Brazil Yemen Italy
Brazil, Yemen and Italy hold diplomatic relationship with that one
Brazil Yemen Italy
action filter_type
action find
entity Pakistan
relation diplomatic relation
type designation for an administrative territorial entity
['Pakistan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Pakistan property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q183
Q15617994
USER
And what about Germany?
(Q183,P530,c(Q15617994))
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q183 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Germany
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Germany property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWERS]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q183 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Italy Brazil United States of America
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Germany property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q33
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with less number of administrative territories than Finland ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?f < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q33 } } }
Finland
action count
action less
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_reverse
entity Finland
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 ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?f < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Finland } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q33
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?f < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q15617994 . ?j property:P530 resource:Q33 } } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
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_reverse
entity Finland
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 ( ?l ) AS ?a ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?f < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation resource:Finland } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q733
P530
Q15617994 Q15617994
USER
And what about Paraguay?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Q733 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } }
Paraguay
action count
action less
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 Paraguay
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 ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Paraguay property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q733
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Q733 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
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 Paraguay
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 ( ?r ) AS ?v ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { resource:Paraguay property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]