Simple Question (Direct)
Simple Question
Q15638612
P20
Q15617994
USER
Where did the demise of Jacob Müller occur ?
(Q15638612,P20,c(Q15617994))
action filter_type
action find
entity Q15638612
relation P20
type Q15617994
['Q15638612', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15638612 property:P20 ?o . ?o rdf:type ontology:Q15617994 }
Jacob Müller
action filter_type
action find
entity Jacob Müller
relation place of death
type designation for an administrative territorial entity
['Jacob Müller', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jacob_Müller property:place_of_death ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q8738
SYSTEM
Meissen
Q8738
(Q15638612,P20,c(Q15617994))
action filter_type
action find
entity Q15638612
relation P20
type Q15617994
The demise of Jacob Müller occurred in [ANSWER]
['Q15638612', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q15638612 property:P20 ?o . ?o rdf:type ontology:Q15617994 }
Meissen
The demise of Jacob Müller occurred in Meissen
Meissen
action filter_type
action find
entity Jacob Müller
relation place of death
type designation for an administrative territorial entity
['Jacob Müller', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Jacob_Müller property:place_of_death ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15638612
P21
Q290
USER
What is the sex of Jacob Müller ?
(Q15638612,P21,c(Q290))
action filter_type
action find
entity Q15638612
relation P21
type Q290
['Q15638612', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q15638612 property:P21 ?j . ?j rdf:type ontology:Q290 }
Jacob Müller
action filter_type
action find
entity Jacob Müller
relation gender
type sex
['Jacob Müller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Jacob_Müller property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15638612,P21,c(Q290))
action filter_type
action find
entity Q15638612
relation P21
type Q290
The sex of Jacob Müller is the [ANSWER]
['Q15638612', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q15638612 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of Jacob Müller is the male
male
action filter_type
action find
entity Jacob Müller
relation gender
type sex
['Jacob Müller', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Jacob_Müller property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15638612
P734
Q82799
USER
Who has the surname that person ?
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q15638612
relation P734
type Q82799
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q15638612 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Jacob Müller
action filter_type
action find
entity Jacob Müller
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Jacob_Müller property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q8157228
SYSTEM
Müller
Q8157228
(Q6581097,P734,c(Q82799))
action filter_type
action find
entity Q15638612
relation P734
type Q82799
[ANSWER] has the surname that person
['Q6581097', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q15638612 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Müller
Müller has the surname that person
Müller
action filter_type
action find
entity Jacob Müller
relation family name
type name
['male', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Jacob_Müller property:family_name ?c . ?c rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8785
P407
Q34770 Q82799
USER
Which languages are around the same number of names composed in as Armenian ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q8785
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q82799 . ?r rdf:type ontology:Q34770 . ?h property:P407 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q8785 property:P407 ?e . ?e rdf:type ontology:Q34770 } } . FILTER ( ?y = ?v ) }
Armenian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Armenian
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:name . ?r rdf:type ontology:language . ?h property:language_of_work_or_name ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Armenian property:language_of_work_or_name ?e . ?e rdf:type ontology:language } } . FILTER ( ?y = ?v ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q8785
relation P407
type Q34770
[ANSWERS] are around the same number of names composed in as Armenian
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q82799 . ?r rdf:type ontology:Q34770 . ?h property:P407 ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q8785 property:P407 ?e . ?e rdf:type ontology:Q34770 } } . FILTER ( ?y = ?v ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are around the same number of names composed in as Armenian
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Armenian
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:name . ?r rdf:type ontology:language . ?h property:language_of_work_or_name ?r } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Armenian property:language_of_work_or_name ?e . ?e rdf:type ontology:language } } . FILTER ( ?y = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q37015
P407
Q34770 Q82799
USER
And what about Riksmål?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q37015
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P407 ?c . ?c rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q37015 property:P407 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?j = ?q ) }
Riksmål
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Riksmål
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:language_of_work_or_name ?c . ?c rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Riksmål property:language_of_work_or_name ?w . ?w rdf:type ontology:language } } . FILTER ( ?j = ?q ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q37015
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P407 ?c . ?c rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Q37015 property:P407 ?w . ?w rdf:type ontology:Q34770 } } . FILTER ( ?j = ?q ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Riksmål
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:language_of_work_or_name ?c . ?c rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { resource:Riksmål property:language_of_work_or_name ?w . ?w rdf:type ontology:language } } . FILTER ( ?j = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8738
P1376
Q1048835
USER
Which political territory has Meissen has its center of administration ?
(Q8738,P1376,c(Q1048835))
action filter_type
action find
entity Q8738
relation P1376
type Q1048835
['Q8738', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q8738 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Meissen
action filter_type
action find
entity Meissen
relation capital of
type political territorial entity
['Meissen', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Meissen property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6313
SYSTEM
Meissen
Q6313
(Q8738,P1376,c(Q1048835))
action filter_type
action find
entity Q8738
relation P1376
type Q1048835
Had [ANSWER] has [ANSWER] has its center of administration
['Q8738', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q8738 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Meissen
Had Meissen has Meissen has its center of administration
Meissen
action filter_type
action find
entity Meissen
relation capital of
type political territorial entity
['Meissen', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Meissen property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6313 Q5973
P17
Q1048835
USER
Is that one situated in Holzminden ?
(Q6313,P17,Q5973)
action is_in
entity Q5973
action find
entity Q6313
relation P17
['Q6313', 'P17', 'Q5973']
ASK WHERE { resource:Q6313 property:P17 resource:Q5973 }
Meissen Holzminden
action is_in
entity Holzminden
action find
entity Meissen
relation country
['Meissen', 'country', 'Holzminden']
ASK WHERE { resource:Meissen property:country resource:Holzminden }
[]
political territorial entity
SYSTEM
NO
(Q6313,P17,Q5973)
action is_in
entity Q5973
action find
entity Q6313
relation P17
[ANSWER]
['Q6313', 'P17', 'Q5973']
ASK WHERE { resource:Q6313 property:P17 resource:Q5973 }
No
action is_in
entity Holzminden
action find
entity Meissen
relation country
['Meissen', 'country', 'Holzminden']
ASK WHERE { resource:Meissen property:country resource:Holzminden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8738
P190
Q56061
USER
How many administrative territories are twin towns of Meissen ?
(Q8738,P190,c(Q56061))
action count
action filter_type
action find
entity Q8738
relation P190
type Q56061
['Q8738', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Q8738 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Meissen
action count
action filter_type
action find
entity Meissen
relation sister city
type administrative territorial entity
['Meissen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Meissen property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q205832 Q7022 Q23443
(Q8738,P190,c(Q56061))
action count
action filter_type
action find
entity Q8738
relation P190
type Q56061
[ANSWER]
['Q8738', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Q8738 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Corfu Fellbach Provo
3
action count
action filter_type
action find
entity Meissen
relation sister city
type administrative territorial entity
['Meissen', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { resource:Meissen property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q196486
Q56061
USER
And also tell me about Stary Oskol?
(Q196486,P190,c(Q56061))
action count
action filter_type
action find
entity Q196486
relation P190
type Q56061
['Q196486', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q196486 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Stary Oskol
action count
action filter_type
action find
entity Stary Oskol
relation sister city
type administrative territorial entity
['Stary Oskol', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Stary_Oskol property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q196486,P190,c(Q56061))
action count
action filter_type
action find
entity Q196486
relation P190
type Q56061
[ANSWER]
['Q196486', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q196486 property:P190 ?j . ?j rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Stary Oskol
relation sister city
type administrative territorial entity
['Stary Oskol', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Stary_Oskol property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q115
P530
Q1048835 Q15617994
USER
Which administrative territories have ambassadorial relations with lesser number of political territories than Ethiopia ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q115
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { ?p property:P530 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q115 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?y < ?i ) }
Ethiopia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ethiopia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { ?p property:diplomatic_relation ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Ethiopia property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?y < ?i ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q115
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with lesser number of political territories than Ethiopia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { ?p property:P530 ?x . ?p rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q115 property:P530 ?t . ?t rdf:type ontology:Q1048835 } } . FILTER ( ?y < ?i ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, People's Republic of China and Belarus have ambassadorial relations with lesser number of political territories than Ethiopia
Netherlands People's Republic of China Belarus
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Ethiopia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?y ) WHERE { ?p property:diplomatic_relation ?x . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Ethiopia property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } } . FILTER ( ?y < ?i ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q184 Q33946
P47
Q15617994
USER
How many administrative territories have a shared border with Belarus and Czechoslovakia ?
(Q184,P47,c(Q15617994)) (Q33946,P47,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q184
relation P47
type Q15617994
action filter_type
action find
entity Q33946
relation P47
type Q15617994
['Q184', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q33946 property:P47 ?b . resource:Q184 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Belarus Czechoslovakia
action count
action intersection
action filter_type
action find
entity Belarus
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Czechoslovakia
relation shares border with
type designation for an administrative territorial entity
['Belarus', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Czechoslovakia property:shares_border_with ?b . resource:Belarus property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q212 Q36
(Q184,P47,c(Q15617994)) (Q33946,P47,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q184
relation P47
type Q15617994
action filter_type
action find
entity Q33946
relation P47
type Q15617994
[ANSWER]
['Q184', 'P47', {'concept': 'Q15617994'}] ['Q33946', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q33946 property:P47 ?b . resource:Q184 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Ukraine Poland
2
action count
action intersection
action filter_type
action find
entity Belarus
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Czechoslovakia
relation shares border with
type designation for an administrative territorial entity
['Belarus', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Czechoslovakia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Czechoslovakia property:shares_border_with ?b . resource:Belarus property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]