Simple Question (Direct)
Simple Question
Q20740832
P19
Q15617994
USER
Which administrative territory is the place of birth of Mohamad Farag ?
(Q20740832,P19,c(Q15617994))
action filter_type
action find
entity Q20740832
relation P19
type Q15617994
['Q20740832', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q20740832 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Mohamad Farag
action filter_type
action find
entity Mohamad Farag
relation place of birth
type designation for an administrative territorial entity
['Mohamad Farag', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Mohamad_Farag property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
(Q20740832,P19,c(Q15617994))
action filter_type
action find
entity Q20740832
relation P19
type Q15617994
[ANSWER] is the place of birth of Mohamad Farag
['Q20740832', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q20740832 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Egypt
Egypt is the place of birth of Mohamad Farag
Egypt
action filter_type
action find
entity Mohamad Farag
relation place of birth
type designation for an administrative territorial entity
['Mohamad Farag', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Mohamad_Farag property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79
P937
Q502895
USER
Who works at that administrative territory ?
(c(Q502895),P937,Q79)
action filter_type
action find_reverse
entity Q79
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q79']
SELECT DISTINCT ?h WHERE { ?h property:P937 resource:Q79 . ?h rdf:type ontology:Q502895 }
Egypt
action filter_type
action find_reverse
entity Egypt
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Egypt']
SELECT DISTINCT ?h WHERE { ?h property:work_location resource:Egypt . ?h rdf:type ontology:common_name }
[]
common name
Q2813852 Q1151805 Q1640082
SYSTEM
Al-Layth ibn Sa'd, Al-Qurtubi, Abu Hayyan al-Gharnati
Q2813852 Q1151805 Q1640082
(c(Q502895),P937,Q79)
action filter_type
action find_reverse
entity Q79
relation P937
type Q502895
[ANSWERS] work at that administrative territory
[{'concept': 'Q502895'}, 'P937', 'Q79']
SELECT DISTINCT ?h WHERE { ?h property:P937 resource:Q79 . ?h rdf:type ontology:Q502895 }
Al-Layth ibn Sa'd Al-Qurtubi Abu Hayyan al-Gharnati
Al-Layth ibn Sa'd, Al-Qurtubi and Abu Hayyan al-Gharnati work at that administrative territory
Al-Layth ibn Sa'd Al-Qurtubi Abu Hayyan al-Gharnati
action filter_type
action find_reverse
entity Egypt
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Egypt']
SELECT DISTINCT ?h WHERE { ?h property:work_location resource:Egypt . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79
P35
Q502895
USER
Who is elected as the head of state of that administrative territory ?
(Q2813852,P35,c(Q502895)) (Q1151805,P35,c(Q502895)) (Q1640082,P35,c(Q502895))
action filter_type
action find
entity Q79
relation P35
type Q502895
['Q2813852', 'P35', {'concept': 'Q502895'}] ['Q1151805', 'P35', {'concept': 'Q502895'}] ['Q1640082', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q79 property:P35 ?n }
Egypt
action filter_type
action find
entity Egypt
relation head of state
type common name
["Al-Layth ibn Sa'd", 'head of state', {'concept': 'common name'}] ['Al-Qurtubi', 'head of state', {'concept': 'common name'}] ['Abu Hayyan al-Gharnati', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Egypt property:head_of_state ?n }
[]
common name
Q307871
SYSTEM
Abdel Fattah el-Sisi
Q307871
(Q2813852,P35,c(Q502895)) (Q1151805,P35,c(Q502895)) (Q1640082,P35,c(Q502895))
action filter_type
action find
entity Q79
relation P35
type Q502895
[ANSWER] is elected as the head of state of that administrative territory
['Q2813852', 'P35', {'concept': 'Q502895'}] ['Q1151805', 'P35', {'concept': 'Q502895'}] ['Q1640082', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q79 property:P35 ?n }
Abdel Fattah el-Sisi
Abdel Fattah el-Sisi is elected as the head of state of that administrative territory
Abdel Fattah el-Sisi
action filter_type
action find
entity Egypt
relation head of state
type common name
["Al-Layth ibn Sa'd", 'head of state', {'concept': 'common name'}] ['Al-Qurtubi', 'head of state', {'concept': 'common name'}] ['Abu Hayyan al-Gharnati', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Egypt property:head_of_state ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q307871 Q79
P35
Q15617994
USER
Does Egypt have that person as its head of state ?
(Q79,P35,Q307871)
action is_in
entity Q307871
action find
entity Q79
relation P35
['Q79', 'P35', 'Q307871']
ASK WHERE { resource:Q79 property:P35 resource:Q307871 }
Abdel Fattah el-Sisi Egypt
action is_in
entity Abdel Fattah el-Sisi
action find
entity Egypt
relation head of state
['Egypt', 'head of state', 'Abdel Fattah el-Sisi']
ASK WHERE { resource:Egypt property:head_of_state resource:Abdel_Fattah_el-Sisi }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q79,P35,Q307871)
action is_in
entity Q307871
action find
entity Q79
relation P35
[ANSWER]
['Q79', 'P35', 'Q307871']
ASK WHERE { resource:Q79 property:P35 resource:Q307871 }
Yes
action is_in
entity Abdel Fattah el-Sisi
action find
entity Egypt
relation head of state
['Egypt', 'head of state', 'Abdel Fattah el-Sisi']
ASK WHERE { resource:Egypt property:head_of_state resource:Abdel_Fattah_el-Sisi }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1640082 Q85
P20
Q56061
USER
Did Abu Hayyan al-Gharnati expire Cairo ?
(Q1640082,P20,Q85)
action is_in
entity Q85
action find
entity Q1640082
relation P20
['Q1640082', 'P20', 'Q85']
ASK WHERE { resource:Q1640082 property:P20 resource:Q85 }
Abu Hayyan al-Gharnati Cairo
action is_in
entity Cairo
action find
entity Abu Hayyan al-Gharnati
relation place of death
['Abu Hayyan al-Gharnati', 'place of death', 'Cairo']
ASK WHERE { resource:Abu_Hayyan_al-Gharnati property:place_of_death resource:Cairo }
[]
administrative territorial entity
SYSTEM
YES
(Q1640082,P20,Q85)
action is_in
entity Q85
action find
entity Q1640082
relation P20
[ANSWER]
['Q1640082', 'P20', 'Q85']
ASK WHERE { resource:Q1640082 property:P20 resource:Q85 }
Yes
action is_in
entity Cairo
action find
entity Abu Hayyan al-Gharnati
relation place of death
['Abu Hayyan al-Gharnati', 'place of death', 'Cairo']
ASK WHERE { resource:Abu_Hayyan_al-Gharnati property:place_of_death resource:Cairo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20740832 Q79
P27
Q15617994
USER
Is Egypt the native country of Mohamad Farag ?
(Q20740832,P27,Q79)
action is_in
entity Q79
action find
entity Q20740832
relation P27
['Q20740832', 'P27', 'Q79']
ASK WHERE { resource:Q20740832 property:P27 resource:Q79 }
Mohamad Farag Egypt
action is_in
entity Egypt
action find
entity Mohamad Farag
relation country of citizenship
['Mohamad Farag', 'country of citizenship', 'Egypt']
ASK WHERE { resource:Mohamad_Farag property:country_of_citizenship resource:Egypt }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q20740832,P27,Q79)
action is_in
entity Q79
action find
entity Q20740832
relation P27
[ANSWER]
['Q20740832', 'P27', 'Q79']
ASK WHERE { resource:Q20740832 property:P27 resource:Q79 }
Yes
action is_in
entity Egypt
action find
entity Mohamad Farag
relation country of citizenship
['Mohamad Farag', 'country of citizenship', 'Egypt']
ASK WHERE { resource:Mohamad_Farag property:country_of_citizenship resource:Egypt }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q145 Q79
P530
Q15617994
USER
Which administrative territories have diplomatic associations with Egypt or United Kingdom ?
OR((c(Q15617994),P530,Q79), (c(Q15617994),P530,Q145))
action filter_type
action union
action find_reverse
entity Q79
relation P530
action find_reverse
entity Q145
relation P530
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P530', 'Q79'], [{'concept': 'Q15617994'}, 'P530', 'Q145']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?l ) { ( resource:Q79 ) ( resource:Q145 ) } . ?o property:P530 ?l } . ?o rdf:type ontology:Q15617994 }
United Kingdom Egypt
action filter_type
action union
action find_reverse
entity Egypt
relation diplomatic relation
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Egypt'], [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?l ) { ( resource:Egypt ) ( resource:United_Kingdom ) } . ?o property:diplomatic_relation ?l } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37 Q858 Q929 Q953 Q17 Q805 Q902 Q230 Q142 Q155
SYSTEM
Some of them are Lithuania, Syria, Central African Republic, Zambia, Japan, Yemen, Bangladesh, Georgia, France, Brazil
Q858 Q142 Q805 Q159 Q801 Q155 Q17 Q37 Q114 Q953 Q403 Q929 Q230 Q38 Q902
OR((c(Q15617994),P530,Q79), (c(Q15617994),P530,Q145))
action filter_type
action union
action find_reverse
entity Q79
relation P530
action find_reverse
entity Q145
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with Egypt or United Kingdom
{'OR': [[{'concept': 'Q15617994'}, 'P530', 'Q79'], [{'concept': 'Q15617994'}, 'P530', 'Q145']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?l ) { ( resource:Q79 ) ( resource:Q145 ) } . ?o property:P530 ?l } . ?o rdf:type ontology:Q15617994 }
Syria France Yemen Russia Israel Brazil Japan Lithuania Kenya Zambia Serbia Central African Republic Georgia Italy Bangladesh
Lithuania, Syria, Central African Republic, Zambia, Japan, Yemen, Bangladesh, Georgia, France and Brazil have diplomatic associations with Egypt or United Kingdom
Lithuania Syria Central African Republic Zambia Japan Yemen Bangladesh Georgia France Brazil
action filter_type
action union
action find_reverse
entity Egypt
relation diplomatic relation
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Egypt'], [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']]}
SELECT DISTINCT ?o WHERE { { VALUES ( ?l ) { ( resource:Egypt ) ( resource:United_Kingdom ) } . ?o property:diplomatic_relation ?l } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q419
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with around the same number of administrative territories as Peru ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q419
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q419 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?t ) }
Peru
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Peru
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 ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Peru property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q419
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q419 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?t ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Peru
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 ?e ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Peru property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q212
P530
Q15617994 Q15617994
USER
And what about Ukraine?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q212 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?v ) }
Ukraine
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ukraine
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 ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Ukraine property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?v ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q212
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q212 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?s = ?v ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
156
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ukraine
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 ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Ukraine property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20740832
P106
Q12737077
USER
Which occupation has Mohamad Farag as his/her 's career ?
(Q20740832,P106,c(Q12737077))
action filter_type
action find
entity Q20740832
relation P106
type Q12737077
['Q20740832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q20740832 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Mohamad Farag
action filter_type
action find
entity Mohamad Farag
relation occupation
type occupation
['Mohamad Farag', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Mohamad_Farag property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20740832,P106,c(Q12737077))
action filter_type
action find
entity Q20740832
relation P106
type Q12737077
As [ANSWER] has Mohamad Farag as his/her 's career
['Q20740832', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q20740832 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
As association football player has Mohamad Farag as his/her 's career
association football player
action filter_type
action find
entity Mohamad Farag
relation occupation
type occupation
['Mohamad Farag', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Mohamad_Farag property:occupation ?r . ?r rdf:type ontology:occupation }
[]