Simple Question (Direct)
Simple Question
Q6119280
P27
Q15617994
USER
Which administrative territory does Jacob Sloat Fassett belong to ?
(Q6119280,P27,c(Q15617994))
action filter_type
action find
entity Q6119280
relation P27
type Q15617994
['Q6119280', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6119280 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Jacob Sloat Fassett
action filter_type
action find
entity Jacob Sloat Fassett
relation country of citizenship
type designation for an administrative territorial entity
['Jacob Sloat Fassett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jacob_Sloat_Fassett property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6119280,P27,c(Q15617994))
action filter_type
action find
entity Q6119280
relation P27
type Q15617994
Jacob Sloat Fassett belongs to [ANSWER]
['Q6119280', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6119280 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
Jacob Sloat Fassett belongs to United States of America
United States of America
action filter_type
action find
entity Jacob Sloat Fassett
relation country of citizenship
type designation for an administrative territorial entity
['Jacob Sloat Fassett', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jacob_Sloat_Fassett property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6119280
P106
Q12737077
USER
What is the job of that person ?
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q6119280
relation P106
type Q12737077
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6119280 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Jacob Sloat Fassett
action filter_type
action find
entity Jacob Sloat Fassett
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Jacob_Sloat_Fassett property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q6119280
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6119280 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Jacob Sloat Fassett
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Jacob_Sloat_Fassett property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q740631 Q6119280
P106
Q12737077
USER
And also Jon Michelet
AND((Q6119280,P106,c(Q12737077)), (Q740631,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6119280
relation P106
action find
entity Q740631
relation P106
type Q12737077
{'AND': [['Q6119280', 'P106', {'concept': 'Q12737077'}], ['Q740631', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { resource:Q6119280 property:P106 ?c . resource:Q740631 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Jon Michelet Jacob Sloat Fassett
action filter_type
action intersection
action find
entity Jacob Sloat Fassett
relation occupation
action find
entity Jon Michelet
relation occupation
type occupation
{'AND': [['Jacob Sloat Fassett', 'occupation', {'concept': 'occupation'}], ['Jon Michelet', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { resource:Jacob_Sloat_Fassett property:occupation ?c . resource:Jon_Michelet property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q6119280,P106,c(Q12737077)), (Q740631,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6119280
relation P106
action find
entity Q740631
relation P106
type Q12737077
[ANSWER]
{'AND': [['Q6119280', 'P106', {'concept': 'Q12737077'}], ['Q740631', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { resource:Q6119280 property:P106 ?c . resource:Q740631 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action intersection
action find
entity Jacob Sloat Fassett
relation occupation
action find
entity Jon Michelet
relation occupation
type occupation
{'AND': [['Jacob Sloat Fassett', 'occupation', {'concept': 'occupation'}], ['Jon Michelet', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { resource:Jacob_Sloat_Fassett property:occupation ?c . resource:Jon_Michelet property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q740631
P50
Q2342494
USER
Which collectable was written by Jon Michelet ?
(c(Q2342494),P50,Q82955)
action filter_type
action find_reverse
entity Q740631
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q82955']
SELECT DISTINCT ?j WHERE { ?j property:P50 resource:Q740631 . ?j rdf:type ontology:Q2342494 }
Jon Michelet
action filter_type
action find_reverse
entity Jon Michelet
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'politician']
SELECT DISTINCT ?j WHERE { ?j property:author resource:Jon_Michelet . ?j rdf:type ontology:collectable }
[]
collectable
Q7102749
SYSTEM
Orion's Belt
Q7102749
(c(Q2342494),P50,Q82955)
action filter_type
action find_reverse
entity Q740631
relation P50
type Q2342494
The [ANSWER] was written by Jon Michelet
[{'concept': 'Q2342494'}, 'P50', 'Q82955']
SELECT DISTINCT ?j WHERE { ?j property:P50 resource:Q740631 . ?j rdf:type ontology:Q2342494 }
Orion's Belt
The Orion's Belt was written by Jon Michelet
Orion's Belt
action filter_type
action find_reverse
entity Jon Michelet
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'politician']
SELECT DISTINCT ?j WHERE { ?j property:author resource:Jon_Michelet . ?j rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q8261 Q740631
P136 P50
Q2342494
USER
Which collectables have Jon Michelet as their author and have novel as their category ?
AND((c(Q2342494),P50,Q740631), (c(Q2342494),P136,Q8261))
action filter_type
action intersection
action find_reverse
entity Q740631
relation P50
action find_reverse
entity Q8261
relation P136
type Q2342494
{'AND': [[{'concept': 'Q2342494'}, 'P50', 'Q740631'], [{'concept': 'Q2342494'}, 'P136', 'Q8261']]}
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q8261 . ?y property:P50 resource:Q740631 . ?y rdf:type ontology:Q2342494 }
novel Jon Michelet
action filter_type
action intersection
action find_reverse
entity Jon Michelet
relation author
action find_reverse
entity novel
relation genre
type collectable
{'AND': [[{'concept': 'collectable'}, 'author', 'Jon Michelet'], [{'concept': 'collectable'}, 'genre', 'novel']]}
SELECT DISTINCT ?y WHERE { ?y property:genre resource:novel . ?y property:author resource:Jon_Michelet . ?y rdf:type ontology:collectable }
[]
collectable
Q7102749
SYSTEM
Orion's Belt
Q7102749
AND((c(Q2342494),P50,Q740631), (c(Q2342494),P136,Q8261))
action filter_type
action intersection
action find_reverse
entity Q740631
relation P50
action find_reverse
entity Q8261
relation P136
type Q2342494
[ANSWER] have Jon Michelet as their author and have novel as their category
{'AND': [[{'concept': 'Q2342494'}, 'P50', 'Q740631'], [{'concept': 'Q2342494'}, 'P136', 'Q8261']]}
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q8261 . ?y property:P50 resource:Q740631 . ?y rdf:type ontology:Q2342494 }
Orion's Belt
Orion's Belt have Jon Michelet as their author and have novel as their category
Orion's Belt
action filter_type
action intersection
action find_reverse
entity Jon Michelet
relation author
action find_reverse
entity novel
relation genre
type collectable
{'AND': [[{'concept': 'collectable'}, 'author', 'Jon Michelet'], [{'concept': 'collectable'}, 'genre', 'novel']]}
SELECT DISTINCT ?y WHERE { ?y property:genre resource:novel . ?y property:author resource:Jon_Michelet . ?y rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7102749 Q740631 Q11299232
P50
Q502895
USER
Is Jon Michelet and Kristina Kobaladze an author of Q7102749 ?
(Q7102749,P50,Q740631) (Q7102749,P50,Q11299232)
action is_in
entity Q7102749
action intersection
action find_reverse
entity Q740631
relation P50
action find_reverse
entity Q11299232
relation P50
['Q7102749', 'P50', 'Q740631'] ['Q7102749', 'P50', 'Q11299232']
ASK WHERE { resource:Q7102749 property:P50 resource:Q740631 . resource:Q7102749 property:P50 resource:Q11299232 }
Orion's Belt Jon Michelet Kristina Kobaladze
action is_in
entity Orion's Belt
action intersection
action find_reverse
entity Jon Michelet
relation author
action find_reverse
entity Kristina Kobaladze
relation author
["Orion's Belt", 'author', 'Jon Michelet'] ["Orion's Belt", 'author', 'Kristina Kobaladze']
ASK WHERE { resource:Orion's_Belt property:author resource:Jon_Michelet . resource:Orion's_Belt property:author resource:Kristina_Kobaladze }
[]
common name
SYSTEM
YES and NO respectively
(Q7102749,P50,Q740631) (Q7102749,P50,Q11299232)
action is_in
entity Q7102749
action intersection
action find_reverse
entity Q740631
relation P50
action find_reverse
entity Q11299232
relation P50
[ANSWER]
['Q7102749', 'P50', 'Q740631'] ['Q7102749', 'P50', 'Q11299232']
ASK WHERE { resource:Q7102749 property:P50 resource:Q740631 . resource:Q7102749 property:P50 resource:Q11299232 }
YES and NO respectively
action is_in
entity Orion's Belt
action intersection
action find_reverse
entity Jon Michelet
relation author
action find_reverse
entity Kristina Kobaladze
relation author
["Orion's Belt", 'author', 'Jon Michelet'] ["Orion's Belt", 'author', 'Kristina Kobaladze']
ASK WHERE { resource:Orion's_Belt property:author resource:Jon_Michelet . resource:Orion's_Belt property:author resource:Kristina_Kobaladze }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1041
P495
Q15617994 Q7725634 Q2088357
USER
Which administrative territories are the origin of lesser number of literary works and musical ensembles than Senegal ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q1041
relation P495
type Q7725634
type Q2088357
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?u ) WHERE { { ?q property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2088357 } UNION { ?q property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7725634 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P495 resource:Q1041 . { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?u < ?f ) }
Senegal
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Senegal
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?u ) WHERE { { ?q property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:musical_ensemble } UNION { ?q property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:literary_work } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:country_of_origin resource:Senegal . { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?u < ?f ) }
[]
designation for an administrative territorial entity literary work musical ensemble
Q1011 Q805 Q423
SYSTEM
Cape Verde, Yemen, North Korea
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q1460 Q657 Q792 Q796 Q954 Q889 Q958 Q986 Q242 Q244 Q811 Q153136 Q423 Q983 Q851 Q733 Q854 Q819 Q730 Q1013 Q159626 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1029 Q736 Q225 Q223 Q222 Q221 Q1036 Q1030 Q965 Q967 Q962 Q115 Q117 Q917 Q1007 Q1006 Q1005 Q1009 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q858 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q863
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q1041
relation P495
type Q7725634
type Q2088357
[ANSWERS] are the origin of lesser number of literary works and musical ensembles than Senegal
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?u ) WHERE { { ?q property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q2088357 } UNION { ?q property:P495 ?a . ?a rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7725634 } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:P495 resource:Q1041 . { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?u < ?f ) }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Sicily Chad El Salvador Iraq Zimbabwe Afghanistan South Sudan Eritrea Belize Barbados Nicaragua Habsburg Empire North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Laos Suriname Lesotho Württemberg San Marino Somalia Sierra Leone Brunei Sudan Mauritania Mozambique Ecuador Bosnia and Herzegovina Greenland Albania Republic of Macedonia Uganda Namibia Burkina Faso Burundi Benin Ethiopia Ghana Bhutan Guinea-Bissau Guinea Gambia Cameroon Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Tajikistan
Cape Verde, Yemen and North Korea are the origin of lesser number of literary works and musical ensembles than Senegal
Cape Verde Yemen North Korea
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Senegal
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?q ) AS ?u ) WHERE { { ?q property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:musical_ensemble } UNION { ?q property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:literary_work } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { ?x property:country_of_origin resource:Senegal . { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?u < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q924
P495
Q15617994 Q7725634 Q2088357
USER
And also tell me about Tanzania?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q924
relation P495
type Q7725634
type Q2088357
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?p ) WHERE { { ?c property:P495 ?u . ?c rdf:type ontology:Q7725634 . ?u rdf:type ontology:Q15617994 } UNION { ?c property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q2088357 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P495 resource:Q924 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q2088357 } } } } . FILTER ( ?p < ?e ) }
Tanzania
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Tanzania
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?p ) WHERE { { ?c property:country_of_origin ?u . ?c rdf:type ontology:literary_work . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:musical_ensemble } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:country_of_origin resource:Tanzania . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:musical_ensemble } } } } . FILTER ( ?p < ?e ) }
[]
designation for an administrative territorial entity literary work musical ensemble
Q1011 Q805 Q423
SYSTEM
Cape Verde, Yemen, North Korea
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q1460 Q657 Q792 Q796 Q954 Q889 Q958 Q986 Q242 Q244 Q811 Q153136 Q423 Q983 Q851 Q733 Q854 Q819 Q730 Q1013 Q159626 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1029 Q736 Q225 Q223 Q222 Q221 Q1036 Q1030 Q965 Q967 Q962 Q115 Q117 Q917 Q1007 Q1006 Q1005 Q1009 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q858 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q863
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q924
relation P495
type Q7725634
type Q2088357
[ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?p ) WHERE { { ?c property:P495 ?u . ?c rdf:type ontology:Q7725634 . ?u rdf:type ontology:Q15617994 } UNION { ?c property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q2088357 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P495 resource:Q924 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q2088357 } } } } . FILTER ( ?p < ?e ) }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Sicily Chad El Salvador Iraq Zimbabwe Afghanistan South Sudan Eritrea Belize Barbados Nicaragua Habsburg Empire North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Laos Suriname Lesotho Württemberg San Marino Somalia Sierra Leone Brunei Sudan Mauritania Mozambique Ecuador Bosnia and Herzegovina Greenland Albania Republic of Macedonia Uganda Namibia Burkina Faso Burundi Benin Ethiopia Ghana Bhutan Guinea-Bissau Guinea Gambia Cameroon Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Tajikistan
Cape Verde Yemen North Korea
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Tanzania
relation country of origin
type literary work
type musical ensemble
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?p ) WHERE { { ?c property:country_of_origin ?u . ?c rdf:type ontology:literary_work . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:musical_ensemble } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:country_of_origin resource:Tanzania . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:musical_ensemble } } } } . FILTER ( ?p < ?e ) }
[]