Simple Question (Direct)
Simple Question
Q22954668
P512
Q216353
USER
What degree or diploma was awarded to Sujata Tewari ?
(Q22954668,P512,c(Q216353))
action filter_type
action find
entity Q22954668
relation P512
type Q216353
['Q22954668', 'P512', {'concept': 'Q216353'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q216353 . resource:Q22954668 property:P512 ?b }
Sujata Tewari
action filter_type
action find
entity Sujata Tewari
relation academic degree
type title
['Sujata Tewari', 'academic degree', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:title . resource:Sujata_Tewari property:academic_degree ?b }
[]
title
Q3121417
SYSTEM
Doctor of Psychology
Q3121417
(Q22954668,P512,c(Q216353))
action filter_type
action find
entity Q22954668
relation P512
type Q216353
[ANSWER] was awarded to Sujata Tewari
['Q22954668', 'P512', {'concept': 'Q216353'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q216353 . resource:Q22954668 property:P512 ?b }
Doctor of Psychology
Doctor of Psychology was awarded to Sujata Tewari
Doctor of Psychology
action filter_type
action find
entity Sujata Tewari
relation academic degree
type title
['Sujata Tewari', 'academic degree', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:title . resource:Sujata_Tewari property:academic_degree ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22954668
P21
Q290
USER
Which sex does Sujata Tewari belong to ?
(Q22954668,P21,c(Q290))
action filter_type
action find
entity Q22954668
relation P21
type Q290
['Q22954668', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q22954668 property:P21 ?y . ?y rdf:type ontology:Q290 }
Sujata Tewari
action filter_type
action find
entity Sujata Tewari
relation gender
type sex
['Sujata Tewari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sujata_Tewari property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q22954668,P21,c(Q290))
action filter_type
action find
entity Q22954668
relation P21
type Q290
Sujata Tewari belongs to [ANSWER]
['Q22954668', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q22954668 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
Sujata Tewari belongs to female
female
action filter_type
action find
entity Sujata Tewari
relation gender
type sex
['Sujata Tewari', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Sujata_Tewari property:gender ?y . ?y rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q642693 Q22954668
P27
Q15617994
USER
Which administrative territories are Sujata Tewari or Ferran Laviña an inhabitant of ?
OR((Q22954668,P27,c(Q15617994)), (Q642693,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22954668
relation P27
action find
entity Q642693
relation P27
type Q15617994
{'OR': [['Q22954668', 'P27', {'concept': 'Q15617994'}], ['Q642693', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?v property:P27 ?h . VALUES ( ?v ) { ( resource:Q22954668 ) ( resource:Q642693 ) } } . ?h rdf:type ontology:Q15617994 }
Ferran Laviña Sujata Tewari
action filter_type
action union
action find
entity Sujata Tewari
relation country of citizenship
action find
entity Ferran Laviña
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sujata Tewari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ferran Laviña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?v property:country_of_citizenship ?h . VALUES ( ?v ) { ( resource:Sujata_Tewari ) ( resource:Ferran_Laviña ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q30 Q668
SYSTEM
Spain, United States of America, India
Q29 Q30 Q668
OR((Q22954668,P27,c(Q15617994)), (Q642693,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22954668
relation P27
action find
entity Q642693
relation P27
type Q15617994
Are Sujata Tewari or Ferran Laviña an inhabitant of Spain [ANSWERS]
{'OR': [['Q22954668', 'P27', {'concept': 'Q15617994'}], ['Q642693', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?v property:P27 ?h . VALUES ( ?v ) { ( resource:Q22954668 ) ( resource:Q642693 ) } } . ?h rdf:type ontology:Q15617994 }
Spain United States of America India
Are Sujata Tewari or Ferran Laviña an inhabitant of Spain Spain, United States of America and India
Spain United States of America India
action filter_type
action union
action find
entity Sujata Tewari
relation country of citizenship
action find
entity Ferran Laviña
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Sujata Tewari', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ferran Laviña', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?v property:country_of_citizenship ?h . VALUES ( ?v ) { ( resource:Sujata_Tewari ) ( resource:Ferran_Laviña ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1344978 Q30
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with United States of America or are FK Tomori Berat present in ?
OR((Q30,P530,c(Q15617994)), (Q1344978,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q1344978
relation P17
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q1344978', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q30 property:P530 ?g } UNION { resource:Q1344978 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
FK Tomori Berat United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity FK Tomori Berat
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['FK Tomori Berat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_of_America property:diplomatic_relation ?g } UNION { resource:FK_Tomori_Berat property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q414 Q17 Q347 Q403 Q38 Q668 Q155 Q953 Q796
SYSTEM
Some of them are People's Republic of China, Argentina, Japan, Liechtenstein, Serbia, Italy, India, Brazil, Zambia, Iraq
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q1344978,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q1344978
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with United States of America or are FK Tomori Berat present in
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q1344978', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q30 property:P530 ?g } UNION { resource:Q1344978 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina
People's Republic of China, Argentina, Japan, Liechtenstein, Serbia, Italy, India, Brazil, Zambia and Iraq have diplomatic relationships with United States of America or are FK Tomori Berat present in
People's Republic of China Argentina Japan Liechtenstein Serbia Italy India Brazil Zambia Iraq
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity FK Tomori Berat
relation country
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['FK Tomori Berat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_of_America property:diplomatic_relation ?g } UNION { resource:FK_Tomori_Berat property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q232
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with more number of administrative territories than Kazakhstan ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q232
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?b property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q232 property:P530 ?l } } . FILTER ( ?h > ?k ) }
Kazakhstan
action greater
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 Kazakhstan
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kazakhstan property:diplomatic_relation ?l } } . FILTER ( ?h > ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q232
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with more number of administrative territories than Kazakhstan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?b property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q232 property:P530 ?l } } . FILTER ( ?h > ?k ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America hold diplomatic relationship with more number of administrative territories than Kazakhstan
Italy Brazil United States of America
action greater
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 Kazakhstan
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?h ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kazakhstan property:diplomatic_relation ?l } } . FILTER ( ?h > ?k ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q796
P530
Q15617994 Q15617994
USER
And how about Iraq?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q796
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?d ) WHERE { ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?l property:P530 ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:P530 resource:Q796 . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?w ) }
Iraq
action greater
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_reverse
entity Iraq
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?d ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:diplomatic_relation resource:Iraq . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q796
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?d ) WHERE { ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 . ?l property:P530 ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:P530 resource:Q796 . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?w ) }
Israel Yemen India France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Libya Cape Verde Zambia
Italy Brazil United States of America
action greater
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_reverse
entity Iraq
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 ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?d ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { ?t property:diplomatic_relation resource:Iraq . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q43 Q403
P27
Q502895
USER
Which people are a native of Serbia and Turkey ?
AND((c(Q502895),P27,Q403), (c(Q502895),P27,Q43))
action filter_type
action intersection
action find_reverse
entity Q403
relation P27
action find_reverse
entity Q43
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q403'], [{'concept': 'Q502895'}, 'P27', 'Q43']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q43 . ?g property:P27 resource:Q403 . ?g rdf:type ontology:Q502895 }
Turkey Serbia
action filter_type
action intersection
action find_reverse
entity Serbia
relation country of citizenship
action find_reverse
entity Turkey
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Serbia'], [{'concept': 'common name'}, 'country of citizenship', 'Turkey']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Turkey . ?g property:country_of_citizenship resource:Serbia . ?g rdf:type ontology:common_name }
[]
common name
Q2839120
SYSTEM
Almir Gegić
Q2839120
AND((c(Q502895),P27,Q403), (c(Q502895),P27,Q43))
action filter_type
action intersection
action find_reverse
entity Q403
relation P27
action find_reverse
entity Q43
relation P27
type Q502895
[ANSWER] is a native of Serbia and Turkey
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q403'], [{'concept': 'Q502895'}, 'P27', 'Q43']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q43 . ?g property:P27 resource:Q403 . ?g rdf:type ontology:Q502895 }
Almir Gegić
Almir Gegić is a native of Serbia and Turkey
Almir Gegić
action filter_type
action intersection
action find_reverse
entity Serbia
relation country of citizenship
action find_reverse
entity Turkey
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Serbia'], [{'concept': 'common name'}, 'country of citizenship', 'Turkey']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Turkey . ?g property:country_of_citizenship resource:Serbia . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P1412
Q502895
USER
Who speaks Turkey ?
(c(Q502895),P1412,Q2839120)
action filter_type
action find_reverse
entity Q43
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q2839120']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1412 resource:Q43 }
Turkey
action filter_type
action find_reverse
entity Turkey
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Almir Gegić']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:languages_spoken,_written_or_signed resource:Turkey }
[]
common name
Q3656586
SYSTEM
Tsetska Tsacheva
Q3656586
(c(Q502895),P1412,Q2839120)
action filter_type
action find_reverse
entity Q43
relation P1412
type Q502895
[ANSWER] speaks Turkey
[{'concept': 'Q502895'}, 'P1412', 'Q2839120']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P1412 resource:Q43 }
Tsetska Tsacheva
Tsetska Tsacheva speaks Turkey
Tsetska Tsacheva
action filter_type
action find_reverse
entity Turkey
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Almir Gegić']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:languages_spoken,_written_or_signed resource:Turkey }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q842199 Q30
P530
Q15617994
USER
Which administrative territories holds diplomatic relationship with United States of America or Belarusian People's Republic ?
OR((Q30,P530,c(Q15617994)), (Q842199,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q842199
relation P530
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q842199', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?j ) { ( resource:Q30 ) ( resource:Q842199 ) } . ?j property:P530 ?b } . ?b rdf:type ontology:Q15617994 }
Belarusian People's Republic United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Belarusian People's Republic
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ["Belarusian People's Republic", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?j ) { ( resource:United_States_of_America ) ( resource:Belarusian_People's_Republic ) } . ?j property:diplomatic_relation ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q801 Q17 Q38 Q796 Q222 Q403 Q953 Q805 Q414 Q889
SYSTEM
Some of them are Israel, Japan, Italy, Iraq, Albania, Serbia, Zambia, Yemen, Argentina, Afghanistan
Q805 Q211 Q159 Q222 Q801 Q191 Q148 Q38 Q1011 Q889 Q796 Q33 Q155 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q842199,P530,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q842199
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with United States of America or Belarusian People's Republic
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q842199', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?j ) { ( resource:Q30 ) ( resource:Q842199 ) } . ?j property:P530 ?b } . ?b rdf:type ontology:Q15617994 }
Yemen Latvia Russia Albania Israel Estonia People's Republic of China Italy Cape Verde Afghanistan Iraq Finland Brazil Japan Lithuania Zambia India Serbia Liechtenstein Argentina
Israel, Japan, Italy, Iraq, Albania, Serbia, Zambia, Yemen, Argentina and Afghanistan hold diplomatic relationship with United States of America or Belarusian People's Republic
Israel Japan Italy Iraq Albania Serbia Zambia Yemen Argentina Afghanistan
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Belarusian People's Republic
relation diplomatic relation
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ["Belarusian People's Republic", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?j ) { ( resource:United_States_of_America ) ( resource:Belarusian_People's_Republic ) } . ?j property:diplomatic_relation ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1344978
P54 P21
Q502895
USER
Which people are a member of FK Tomori Berat and have the gender as male ?
AND((c(Q502895),P54,Q1344978), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1344978
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q1344978'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P54 resource:Q1344978 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male FK Tomori Berat
action filter_type
action intersection
action find_reverse
entity FK Tomori Berat
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'FK Tomori Berat'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:member_of_sports_team resource:FK_Tomori_Berat . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q4926171 Q16231969 Q16223439 Q21066180 Q3302809 Q4896326 Q19956683 Q3815855 Q3037013 Q5396077
SYSTEM
Some of them are Blerim Hasalla, Shaqir Stafa, Ylli Shameti, Ervin Rexha, Tefik Osmani, Besmir Arifaj, Ervis Çaço, Klodian Asllani, Dorjan Bubeqi, Ervis Kaja
Q19968650 Q16236949 Q4737908 Q6419616 Q18810938 Q21066180 Q16223439 Q16146321 Q5348046 Q5267560 Q5379500 Q4736700 Q20641571 Q19956683 Q5533608 Q3796436 Q4925837 Q16234592 Q5730194 Q5371736 Q16621248 Q3302809 Q3725151 Q963327 Q16231969 Q5396077 Q15971198 Q3607852 Q3197891 Q3926141 Q21063844 Q19578160 Q5360117 Q10274180 Q4008576 Q3037013 Q3815855 Q19957906 Q4896326 Q16233322 Q950051 Q19848773 Q16223853 Q2859636 Q19955762 Q16231816 Q19956218 Q17580021 Q5371728 Q19849863 Q4926171 Q16382986 Q10350863
AND((c(Q502895),P54,Q1344978), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1344978
relation P54
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a member of FK Tomori Berat and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P54', 'Q1344978'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P54 resource:Q1344978 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Mikel Kaloshi Kehinde Owoeye Alvaro Bishaj Klajdi Kuka Mario Bytyçi Ervin Rexha Ylli Shameti Segun Adeniyi Egland Haxho Devis Mema Enri Tafaj Altin Çuko Fatjon Topi Ervis Çaço Gentian Gjondeda Ilirjan Caushi Bledar Devolli Salvador Gjonaj Bledar Vashaku Emiliano Çela Viktor Gjyla Tefik Osmani Endri Bakiu Kliton Bozgo Shaqir Stafa Ervis Kaja Bledar Hodo Alban Muça Klodian Arbëri Pëllumb Jusufi Enriko Papa Myrto Uzuni Elham Galica Ervin Llani Vangjel Mile Dorjan Bubeqi Klodian Asllani Klevis Gjoni Besmir Arifaj Andrea Kule Përparim Kovaçi Dritan Krasniqi Charles Ofoyen Arben Arbëri Andi Bakiasi Aldo Mitraj Alban Bizhyti Onil Idrizaj Emiliano Veliaj Genti Gjondedaj Blerim Hasalla Ilir Caushllari Polizoi Arbëri
Blerim Hasalla, Shaqir Stafa, Ylli Shameti, Ervin Rexha, Tefik Osmani, Besmir Arifaj, Ervis Çaço, Klodian Asllani, Dorjan Bubeqi and Ervis Kaja are a member of FK Tomori Berat and have the gender as male
Blerim Hasalla Shaqir Stafa Ylli Shameti Ervin Rexha Tefik Osmani Besmir Arifaj Ervis Çaço Klodian Asllani Dorjan Bubeqi Ervis Kaja
action filter_type
action intersection
action find_reverse
entity FK Tomori Berat
relation member of sports team
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'member of sports team', 'FK Tomori Berat'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:member_of_sports_team resource:FK_Tomori_Berat . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]