Simple Question (Direct)
Simple Question
Q880826
P937
Q56061
USER
Which is the work location of George L. Shoup ?
(Q880826,P937,c(Q56061))
action filter_type
action find
entity Q880826
relation P937
type Q56061
['Q880826', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q880826 property:P937 ?g . ?g rdf:type ontology:Q56061 }
George L. Shoup
action filter_type
action find
entity George L. Shoup
relation work location
type administrative territorial entity
['George L. Shoup', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:George_L._Shoup property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q880826,P937,c(Q56061))
action filter_type
action find
entity Q880826
relation P937
type Q56061
The work location of George L. Shoup is in [ANSWER]
['Q880826', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q880826 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Washington, D.C.
The work location of George L. Shoup is in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity George L. Shoup
relation work location
type administrative territorial entity
['George L. Shoup', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:George_L._Shoup property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q880826
P39
Q12737077
USER
Which occupations were a position held by George L. Shoup ?
(Q880826,P39,c(Q12737077))
action filter_type
action find
entity Q880826
relation P39
type Q12737077
['Q880826', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q880826 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
George L. Shoup
action filter_type
action find
entity George L. Shoup
relation position held
type occupation
['George L. Shoup', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:George_L._Shoup property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q878260 Q13217683
SYSTEM
Governor of Idaho, United States Senator
Q878260 Q13217683
(Q880826,P39,c(Q12737077))
action filter_type
action find
entity Q880826
relation P39
type Q12737077
The [ANSWERS] were a position held by George L. Shoup
['Q880826', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q880826 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Governor of Idaho United States Senator
The Governor of Idaho and United States Senator were a position held by George L. Shoup
Governor of Idaho United States Senator
action filter_type
action find
entity George L. Shoup
relation position held
type occupation
['George L. Shoup', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:George_L._Shoup property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q880826
P551
Q56061
USER
Where did that person live ?
(Q878260,P551,c(Q56061)) (Q13217683,P551,c(Q56061))
action filter_type
action find
entity Q880826
relation P551
type Q56061
['Q878260', 'P551', {'concept': 'Q56061'}] ['Q13217683', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q880826 property:P551 ?v . ?v rdf:type ontology:Q56061 }
George L. Shoup
action filter_type
action find
entity George L. Shoup
relation residence
type administrative territorial entity
['Governor of Idaho', 'residence', {'concept': 'administrative territorial entity'}] ['United States Senator', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:George_L._Shoup property:residence ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1516936
SYSTEM
Salmon
Q1516936
(Q878260,P551,c(Q56061)) (Q13217683,P551,c(Q56061))
action filter_type
action find
entity Q880826
relation P551
type Q56061
That person lived on [ANSWER]
['Q878260', 'P551', {'concept': 'Q56061'}] ['Q13217683', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q880826 property:P551 ?v . ?v rdf:type ontology:Q56061 }
Salmon
That person lived on Salmon
Salmon
action filter_type
action find
entity George L. Shoup
relation residence
type administrative territorial entity
['Governor of Idaho', 'residence', {'concept': 'administrative territorial entity'}] ['United States Senator', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:George_L._Shoup property:residence ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3035647 Q13217683
P17
Q15617994
USER
Which administrative territories are United States Senator or Gornje Čičevo located in ?
OR((Q13217683,P17,c(Q15617994)), (Q3035647,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q13217683
relation P17
action find
entity Q3035647
relation P17
type Q15617994
{'OR': [['Q13217683', 'P17', {'concept': 'Q15617994'}], ['Q3035647', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?j ) { ( resource:Q3035647 ) ( resource:Q13217683 ) } . ?j property:P17 ?h } . ?h rdf:type ontology:Q15617994 }
Gornje Čičevo United States Senator
action filter_type
action union
action find
entity United States Senator
relation country
action find
entity Gornje Čičevo
relation country
type designation for an administrative territorial entity
{'OR': [['United States Senator', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gornje Čičevo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?j ) { ( resource:Gornje_Čičevo ) ( resource:United_States_Senator ) } . ?j property:country ?h } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q225 Q30
SYSTEM
Bosnia and Herzegovina, United States of America
Q225 Q30
OR((Q13217683,P17,c(Q15617994)), (Q3035647,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q13217683
relation P17
action find
entity Q3035647
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q13217683', 'P17', {'concept': 'Q15617994'}], ['Q3035647', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?j ) { ( resource:Q3035647 ) ( resource:Q13217683 ) } . ?j property:P17 ?h } . ?h rdf:type ontology:Q15617994 }
Bosnia and Herzegovina United States of America
Which administrative territories are United States Senator or Gornje Čičevo located in
Bosnia and Herzegovina United States of America
action filter_type
action union
action find
entity United States Senator
relation country
action find
entity Gornje Čičevo
relation country
type designation for an administrative territorial entity
{'OR': [['United States Senator', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Gornje Čičevo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?j ) { ( resource:Gornje_Čičevo ) ( resource:United_States_Senator ) } . ?j property:country ?h } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q30138
P530
Q15617994
USER
Do Xicheng District have diplomatic relations with those ones ?
(Q30138,P530,Q225) (Q30138,P530,Q30)
action is_in
entity prev_answer
action find
entity Q30138
relation P530
['Q30138', 'P530', 'Q225'] ['Q30138', 'P530', 'Q30']
ASK WHERE { resource:Q30138 property:P530 ?t . VALUES ( ?t ) { ( resource:Q225 ) ( resource:Q30 ) } }
Xicheng District
action is_in
entity prev_answer
action find
entity Xicheng District
relation diplomatic relation
['Xicheng District', 'diplomatic relation', 'Bosnia and Herzegovina'] ['Xicheng District', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Xicheng_District property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Bosnia_and_Herzegovina ) ( resource:United_States_of_America ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30138,P530,Q225) (Q30138,P530,Q30)
action is_in
entity prev_answer
action find
entity Q30138
relation P530
[ANSWER]
['Q30138', 'P530', 'Q225'] ['Q30138', 'P530', 'Q30']
ASK WHERE { resource:Q30138 property:P530 ?t . VALUES ( ?t ) { ( resource:Q225 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Xicheng District
relation diplomatic relation
['Xicheng District', 'diplomatic relation', 'Bosnia and Herzegovina'] ['Xicheng District', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Xicheng_District property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Bosnia_and_Herzegovina ) ( resource:United_States_of_America ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1516936 Q30
P17
Q15617994
USER
Is Salmon present in United States of America ?
(Q1516936,P17,Q30)
action is_in
entity Q30
action find
entity Q1516936
relation P17
['Q1516936', 'P17', 'Q30']
ASK WHERE { resource:Q1516936 property:P17 resource:Q30 }
Salmon United States of America
action is_in
entity United States of America
action find
entity Salmon
relation country
['Salmon', 'country', 'United States of America']
ASK WHERE { resource:Salmon property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1516936,P17,Q30)
action is_in
entity Q30
action find
entity Q1516936
relation P17
[ANSWER]
['Q1516936', 'P17', 'Q30']
ASK WHERE { resource:Q1516936 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Salmon
relation country
['Salmon', 'country', 'United States of America']
ASK WHERE { resource:Salmon property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q878260 Q30 Q1349369
P17
Q15617994
USER
Is Governor of Idaho located in United States of America and Fancheng District ?
(Q878260,P17,Q30) (Q878260,P17,Q1349369)
action is_in
entity Q878260
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1349369
relation P17
['Q878260', 'P17', 'Q30'] ['Q878260', 'P17', 'Q1349369']
ASK WHERE { resource:Q878260 property:P17 resource:Q30 . resource:Q878260 property:P17 resource:Q1349369 }
Governor of Idaho United States of America Fancheng District
action is_in
entity Governor of Idaho
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Fancheng District
relation country
['Governor of Idaho', 'country', 'United States of America'] ['Governor of Idaho', 'country', 'Fancheng District']
ASK WHERE { resource:Governor_of_Idaho property:country resource:United_States_of_America . resource:Governor_of_Idaho property:country resource:Fancheng_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q878260,P17,Q30) (Q878260,P17,Q1349369)
action is_in
entity Q878260
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1349369
relation P17
[ANSWER]
['Q878260', 'P17', 'Q30'] ['Q878260', 'P17', 'Q1349369']
ASK WHERE { resource:Q878260 property:P17 resource:Q30 . resource:Q878260 property:P17 resource:Q1349369 }
YES and NO respectively
action is_in
entity Governor of Idaho
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Fancheng District
relation country
['Governor of Idaho', 'country', 'United States of America'] ['Governor of Idaho', 'country', 'Fancheng District']
ASK WHERE { resource:Governor_of_Idaho property:country resource:United_States_of_America . resource:Governor_of_Idaho property:country resource:Fancheng_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q3037209
P6
Q502895
USER
Is Dorothée Koechlin de Bizemont the head of the government of United States of America ?
(Q30,P6,Q3037209)
action is_in
entity Q3037209
action find
entity Q30
relation P6
['Q30', 'P6', 'Q3037209']
ASK WHERE { resource:Q30 property:P6 resource:Q3037209 }
United States of America Dorothée Koechlin de Bizemont
action is_in
entity Dorothée Koechlin de Bizemont
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Dorothée Koechlin de Bizemont']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Dorothée_Koechlin_de_Bizemont }
[]
common name
SYSTEM
NO
(Q30,P6,Q3037209)
action is_in
entity Q3037209
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q3037209']
ASK WHERE { resource:Q30 property:P6 resource:Q3037209 }
No
action is_in
entity Dorothée Koechlin de Bizemont
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Dorothée Koechlin de Bizemont']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Dorothée_Koechlin_de_Bizemont }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q225 Q2613970
P463
Q484652
USER
Was Bosnia and Herzegovina a member of Benelux Court of Justice ?
(Q225,P463,Q2613970)
action is_in
entity Q2613970
action find
entity Q225
relation P463
['Q225', 'P463', 'Q2613970']
ASK WHERE { resource:Q225 property:P463 resource:Q2613970 }
Bosnia and Herzegovina Benelux Court of Justice
action is_in
entity Benelux Court of Justice
action find
entity Bosnia and Herzegovina
relation member of
['Bosnia and Herzegovina', 'member of', 'Benelux Court of Justice']
ASK WHERE { resource:Bosnia_and_Herzegovina property:member_of resource:Benelux_Court_of_Justice }
[]
international organization
SYSTEM
NO
(Q225,P463,Q2613970)
action is_in
entity Q2613970
action find
entity Q225
relation P463
[ANSWER]
['Q225', 'P463', 'Q2613970']
ASK WHERE { resource:Q225 property:P463 resource:Q2613970 }
No
action is_in
entity Benelux Court of Justice
action find
entity Bosnia and Herzegovina
relation member of
['Bosnia and Herzegovina', 'member of', 'Benelux Court of Justice']
ASK WHERE { resource:Bosnia_and_Herzegovina property:member_of resource:Benelux_Court_of_Justice }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q225 Q35
P530
Q1048835
USER
How many political territories holds diplomatic relationship with Bosnia and Herzegovina and Denmark ?
(Q225,P530,c(Q1048835)) (Q35,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q225
relation P530
type Q1048835
action filter_type
action find
entity Q35
relation P530
type Q1048835
['Q225', 'P530', {'concept': 'Q1048835'}] ['Q35', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Q225 property:P530 ?x . ?x rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Bosnia and Herzegovina Denmark
action count
action intersection
action filter_type
action find
entity Bosnia and Herzegovina
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
['Bosnia and Herzegovina', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Bosnia_and_Herzegovina property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q225,P530,c(Q1048835)) (Q35,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q225
relation P530
type Q1048835
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
['Q225', 'P530', {'concept': 'Q1048835'}] ['Q35', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Q225 property:P530 ?x . ?x rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Bosnia and Herzegovina
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
['Bosnia and Herzegovina', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { resource:Bosnia_and_Herzegovina property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q801
P1001
Q15617994 Q192350 Q35798
USER
How many administrative territories are judicially linked to lesser number of ministries and executive branches than Israel ?
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q801
relation P1001
type Q192350
type Q35798
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:Q35798 ) ( ontology:Q192350 ) } . ?x rdf:type ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1001 resource:Q801 . { VALUES ( ?l ) { ( ontology:Q192350 ) ( ontology:Q35798 ) } . ?k rdf:type ?l } } } . FILTER ( ?o < ?i ) }
Israel
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Israel
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:executive_branch ) ( ontology:ministry ) } . ?x rdf:type ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:applies_to_jurisdiction resource:Israel . { VALUES ( ?l ) { ( ontology:ministry ) ( ontology:executive_branch ) } . ?k rdf:type ?l } } } . FILTER ( ?o < ?i ) }
[]
designation for an administrative territorial entity ministry executive branch
SYSTEM
243
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 Q189 Q784 Q31 Q265 Q24764 Q2742 Q842 Q37 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q921 Q4712 Q924 Q928 Q155019 Q39 Q38 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q1904 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q801
relation P1001
type Q192350
type Q35798
[ANSWER]
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:Q35798 ) ( ontology:Q192350 ) } . ?x rdf:type ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:P1001 resource:Q801 . { VALUES ( ?l ) { ( ontology:Q192350 ) ( ontology:Q35798 ) } . ?k rdf:type ?l } } } . FILTER ( ?o < ?i ) }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria Iceland Dominica Belgium Uzbekistan municipality of the Philippines Münster Oman Lithuania Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Brunei Duchy of Burgundy Tanzania Philippines Duchy of Lorraine Switzerland Italy Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Ontario Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
243
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Israel
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:executive_branch ) ( ontology:ministry ) } . ?x rdf:type ?h } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { ?k property:applies_to_jurisdiction resource:Israel . { VALUES ( ?l ) { ( ontology:ministry ) ( ontology:executive_branch ) } . ?k rdf:type ?l } } } . FILTER ( ?o < ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q79
P1001
Q15617994 Q192350 Q35798
USER
And also tell me about Egypt?
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q79
relation P1001
type Q192350
type Q35798
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:P1001 resource:Q79 . { { ?c rdf:type ontology:Q192350 } UNION { ?c rdf:type ontology:Q35798 } } } } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?h WHERE { { ?a property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q35798 } UNION { ?a property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q192350 } } GROUP BY ?h } }
Egypt
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Egypt
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:applies_to_jurisdiction resource:Egypt . { { ?c rdf:type ontology:ministry } UNION { ?c rdf:type ontology:executive_branch } } } } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?h WHERE { { ?a property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:executive_branch } UNION { ?a property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:ministry } } GROUP BY ?h } }
[]
designation for an administrative territorial entity ministry executive branch
SYSTEM
183
Q701 Q702 Q804 Q705 Q707 Q709 Q811 Q706679 Q805 Q2765 Q163012 Q22273061 Q55 Q2871 Q784 Q265 Q24764 Q2742 Q842 Q398 Q874 Q712 Q711 Q710 Q717 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q657 Q258 Q6465 Q1979 Q792 Q790 Q4628 Q881 Q7688 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q244 Q11343 Q1142326 Q1019 Q2899 Q2758 Q921 Q4712 Q155019 Q39 Q3389 Q986 Q983 Q851 Q733 Q734 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q1948 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q223 Q221 Q229 Q347 Q1050 Q2838 Q902 Q1036 Q1037 Q1032 Q965 Q967 Q963 Q697 Q694 Q695 Q114 Q754 Q752 Q750 Q22274534 Q11337 Q11331 Q215 Q12642 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q878 Q775 Q774 Q776 Q770 Q773 Q772 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q329609 Q863 Q2938 Q2023 Q1231 Q953 Q1237
(c(Q192350)|c(Q35798),P1001,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action count
action filter_multi_types
action find_reverse
entity Q79
relation P1001
type Q192350
type Q35798
[ANSWER]
[[{'concept': 'Q192350'}, {'concept': 'Q35798'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:P1001 resource:Q79 . { { ?c rdf:type ontology:Q192350 } UNION { ?c rdf:type ontology:Q35798 } } } } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?h WHERE { { ?a property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q35798 } UNION { ?a property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q192350 } } GROUP BY ?h } }
North Holland Federated States of Micronesia Panama Zeeland Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Pankow Duchy of Nemours Netherlands Hagen Dominica Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Chad South Africa department of France Prince Edward Island El Salvador Haiti Faroe Islands Vietnam raion Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine Madagascar Mülheim an der Ruhr Mönchengladbach Brunei Duchy of Burgundy Duchy of Lorraine Switzerland Finistère Eritrea Equatorial Guinea Saudi Arabia Paraguay Guyana Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Manitoba Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Greenland Republic of Macedonia Cyprus Liechtenstein Swaziland Oberhausen Bangladesh Uganda Rwanda Niger Burkina Faso Burundi Botswana Nauru South Holland Palau Kenya Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Gevelsberg Slovenia Morbihan duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay United Arab Emirates Gelderland Guatemala Utrecht Friesland Overijssel Drenthe Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Lichtenberg Tajikistan Leverkusen Nunavut Kosovo Region Zambia Trentino-South Tyrol
183
action count
action less
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action count
action filter_multi_types
action find_reverse
entity Egypt
relation applies to jurisdiction
type ministry
type executive branch
[[{'concept': 'ministry'}, {'concept': 'executive branch'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c property:applies_to_jurisdiction resource:Egypt . { { ?c rdf:type ontology:ministry } UNION { ?c rdf:type ontology:executive_branch } } } } . FILTER ( ?w < ?u ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) ?h WHERE { { ?a property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:executive_branch } UNION { ?a property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:ministry } } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q686 Q30
P463
Q484652
USER
Which international organizations were United States of America and Vanuatu a member of ?
AND((Q30,P463,c(Q484652)), (Q686,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q30
relation P463
action find
entity Q686
relation P463
type Q484652
{'AND': [['Q30', 'P463', {'concept': 'Q484652'}], ['Q686', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?x WHERE { resource:Q30 property:P463 ?x . resource:Q686 property:P463 ?x . ?x rdf:type ontology:Q484652 }
Vanuatu United States of America
action filter_type
action intersection
action find
entity United States of America
relation member of
action find
entity Vanuatu
relation member of
type international organization
{'AND': [['United States of America', 'member of', {'concept': 'international organization'}], ['Vanuatu', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:member_of ?x . resource:Vanuatu property:member_of ?x . ?x rdf:type ontology:international_organization }
[]
international organization
Q1065 Q188822 Q1043527
SYSTEM
United Nations, Asian Development Bank, Multilateral Investment Guarantee Agency
Q1065 Q188822 Q1043527
AND((Q30,P463,c(Q484652)), (Q686,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q30
relation P463
action find
entity Q686
relation P463
type Q484652
[ANSWERS] were United States of America and Vanuatu a member of
{'AND': [['Q30', 'P463', {'concept': 'Q484652'}], ['Q686', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?x WHERE { resource:Q30 property:P463 ?x . resource:Q686 property:P463 ?x . ?x rdf:type ontology:Q484652 }
United Nations Asian Development Bank Multilateral Investment Guarantee Agency
United Nations, Asian Development Bank and Multilateral Investment Guarantee Agency were United States of America and Vanuatu a member of
United Nations Asian Development Bank Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity United States of America
relation member of
action find
entity Vanuatu
relation member of
type international organization
{'AND': [['United States of America', 'member of', {'concept': 'international organization'}], ['Vanuatu', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?x WHERE { resource:United_States_of_America property:member_of ?x . resource:Vanuatu property:member_of ?x . ?x rdf:type ontology:international_organization }
[]