Simple Question (Direct)
Simple Question
Q122947
P607
Q198
USER
What was was Gerhard Tappen a part of ?
(Q122947,P607,c(Q198))
action filter_type
action find
entity Q122947
relation P607
type Q198
['Q122947', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q122947 property:P607 ?y . ?y rdf:type ontology:Q198 }
Gerhard Tappen
action filter_type
action find
entity Gerhard Tappen
relation conflict
type war
['Gerhard Tappen', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:Gerhard_Tappen property:conflict ?y . ?y rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q122947,P607,c(Q198))
action filter_type
action find
entity Q122947
relation P607
type Q198
Gerhard Tappen was a part of [ANSWER]
['Q122947', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?y WHERE { resource:Q122947 property:P607 ?y . ?y rdf:type ontology:Q198 }
World War I
Gerhard Tappen was a part of World War I
World War I
action filter_type
action find
entity Gerhard Tappen
relation conflict
type war
['Gerhard Tappen', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?y WHERE { resource:Gerhard_Tappen property:conflict ?y . ?y rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q122947
P166
Q618779
USER
Which award was received by that person ?
(Q361,P166,c(Q618779))
action filter_type
action find
entity Q122947
relation P166
type Q618779
['Q361', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q122947 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Gerhard Tappen
action filter_type
action find
entity Gerhard Tappen
relation award received
type award
['World War I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Gerhard_Tappen property:award_received ?e . ?e rdf:type ontology:award }
[]
award
Q571115
SYSTEM
Albert Order
Q571115
(Q361,P166,c(Q618779))
action filter_type
action find
entity Q122947
relation P166
type Q618779
The [ANSWER] was received by that person
['Q361', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?e WHERE { resource:Q122947 property:P166 ?e . ?e rdf:type ontology:Q618779 }
Albert Order
The Albert Order was received by that person
Albert Order
action filter_type
action find
entity Gerhard Tappen
relation award received
type award
['World War I', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?e WHERE { resource:Gerhard_Tappen property:award_received ?e . ?e rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q122947
P106
Q12737077
USER
What is the profession of Gerhard Tappen ?
(Q122947,P106,c(Q12737077))
action filter_type
action find
entity Q122947
relation P106
type Q12737077
['Q122947', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q122947 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Gerhard Tappen
action filter_type
action find
entity Gerhard Tappen
relation occupation
type occupation
['Gerhard Tappen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Gerhard_Tappen property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q122947,P106,c(Q12737077))
action filter_type
action find
entity Q122947
relation P106
type Q12737077
The profession of Gerhard Tappen is an [ANSWER]
['Q122947', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q122947 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
officer
The profession of Gerhard Tappen is an officer
officer
action filter_type
action find
entity Gerhard Tappen
relation occupation
type occupation
['Gerhard Tappen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Gerhard_Tappen property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q122947
P19
Q15617994
USER
Which administrative territory is the birthplace of Gerhard Tappen ?
(Q122947,P19,c(Q15617994))
action filter_type
action find
entity Q122947
relation P19
type Q15617994
['Q122947', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q122947 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Gerhard Tappen
action filter_type
action find
entity Gerhard Tappen
relation place of birth
type designation for an administrative territorial entity
['Gerhard Tappen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Gerhard_Tappen property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q509338
SYSTEM
Esens, Lower Saxony
Q509338
(Q122947,P19,c(Q15617994))
action filter_type
action find
entity Q122947
relation P19
type Q15617994
[ANSWER] is the birthplace of Gerhard Tappen
['Q122947', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q122947 property:P19 ?p . ?p rdf:type ontology:Q15617994 }
Esens, Lower Saxony
Esens, Lower Saxony is the birthplace of Gerhard Tappen
Esens, Lower Saxony
action filter_type
action find
entity Gerhard Tappen
relation place of birth
type designation for an administrative territorial entity
['Gerhard Tappen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Gerhard_Tappen property:place_of_birth ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2615084
Q15617994
USER
And how about Klaus Bargsten?
(Q2615084,P19,c(Q15617994))
action filter_type
action find
entity Q2615084
relation P19
type Q15617994
['Q2615084', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q2615084 property:P19 ?j }
Klaus Bargsten
action filter_type
action find
entity Klaus Bargsten
relation place of birth
type designation for an administrative territorial entity
['Klaus Bargsten', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Klaus_Bargsten property:place_of_birth ?j }
[]
designation for an administrative territorial entity
Q155226
SYSTEM
Bad Oldesloe
Q155226
(Q2615084,P19,c(Q15617994))
action filter_type
action find
entity Q2615084
relation P19
type Q15617994
[ANSWER]
['Q2615084', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q2615084 property:P19 ?j }
Bad Oldesloe
Bad Oldesloe
action filter_type
action find
entity Klaus Bargsten
relation place of birth
type designation for an administrative territorial entity
['Klaus Bargsten', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Klaus_Bargsten property:place_of_birth ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q155226 Q183 Q3825210
P17
Q1048835
USER
Is that administrative territory present in Germany and Sancos District ?
(Q155226,P17,Q183) (Q155226,P17,Q3825210)
action is_in
entity Q155226
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q3825210
relation P17
['Q155226', 'P17', 'Q183'] ['Q155226', 'P17', 'Q3825210']
ASK WHERE { resource:Q155226 property:P17 resource:Q3825210 . resource:Q155226 property:P17 resource:Q183 }
Bad Oldesloe Germany Sancos District
action is_in
entity Bad Oldesloe
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Sancos District
relation country
['Bad Oldesloe', 'country', 'Germany'] ['Bad Oldesloe', 'country', 'Sancos District']
ASK WHERE { resource:Bad_Oldesloe property:country resource:Sancos_District . resource:Bad_Oldesloe property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q155226,P17,Q183) (Q155226,P17,Q3825210)
action is_in
entity Q155226
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q3825210
relation P17
[ANSWER]
['Q155226', 'P17', 'Q183'] ['Q155226', 'P17', 'Q3825210']
ASK WHERE { resource:Q155226 property:P17 resource:Q3825210 . resource:Q155226 property:P17 resource:Q183 }
YES and NO respectively
action is_in
entity Bad Oldesloe
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity Sancos District
relation country
['Bad Oldesloe', 'country', 'Germany'] ['Bad Oldesloe', 'country', 'Sancos District']
ASK WHERE { resource:Bad_Oldesloe property:country resource:Sancos_District . resource:Bad_Oldesloe property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with exactly 3 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:P530 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?m = 3 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:diplomatic_relation ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?m = 3 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q36 Q29 Q114
SYSTEM
Poland, Spain, Kenya
Q262 Q45 Q954 Q36 Q928 Q39 Q739 Q851 Q1049 Q228 Q224 Q974 Q298 Q115 Q114 Q212 Q211 Q215 Q810 Q29
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 3
[ANSWERS] have diplomatic relations with exactly 3 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:P530 ?v . ?j rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?m = 3 ) }
Algeria Portugal Zimbabwe Poland Philippines Switzerland Colombia Saudi Arabia Sudan Andorra Croatia Democratic Republic of the Congo Chile Ethiopia Kenya Ukraine Latvia Slovenia Jordan Spain
Poland, Spain and Kenya have diplomatic relations with exactly 3 administrative territories
Poland Spain Kenya
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?m ) WHERE { ?j property:diplomatic_relation ?v . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?m = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q192350 Q17335294
USER
Which administrative territories belong to jurisdiction of min number of ministries or coats of arms ?
(c(Q192350)|c(Q17335294),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
[[{'concept': 'Q192350'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?u = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P1001 ?i . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q192350 } UNION { ?l property:P1001 ?i . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q17335294 } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?q ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?q ) WHERE { VALUES ( ?h ) { ( ontology:Q17335294 ) ( ontology:Q192350 ) } . ?g rdf:type ?h } GROUP BY ?w } } }
action argmin
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 flag or coat of arms
[[{'concept': 'ministry'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?u = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:ministry } UNION { ?l property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?q ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?q ) WHERE { VALUES ( ?h ) { ( ontology:flag_or_coat_of_arms ) ( ontology:ministry ) } . ?g rdf:type ?h } GROUP BY ?w } } }
[]
designation for an administrative territorial entity ministry flag or coat of arms
Q55 Q953 Q184
SYSTEM
Netherlands, Zambia, Belarus
Q702 Q804 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 Q1974 Q1019 Q2899 Q2758 Q1952 Q921 Q4712 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q734 Q163966 Q3068 Q730 Q1013 Q11323 Q236 Q1948 Q233 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q2007 Q184 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q223 Q221 Q229 Q347 Q1050 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q965 Q967 Q963 Q697 Q695 Q114 Q754 Q750 Q22274534 Q11337 Q11331 Q214 Q215 Q12642 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q971 Q970 Q34020 Q2380910 Q686 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q77 Q878 Q774 Q810 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q800 Q1039 Q672 Q929 Q329609 Q863 Q2938 Q2023 Q1231 Q953 Q1237
(c(Q192350)|c(Q17335294),P1001,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
[ANSWERS] belong to jurisdiction of min number of ministries or coats of arms
[[{'concept': 'Q192350'}, {'concept': 'Q17335294'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?u = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:P1001 ?i . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q192350 } UNION { ?l property:P1001 ?i . ?i rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q17335294 } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?q ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?q ) WHERE { VALUES ( ?h ) { ( ontology:Q17335294 ) ( ontology:Q192350 ) } . ?g rdf:type ?h } GROUP BY ?w } } }
Federated States of Micronesia Panama 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 British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Brunei Duchy of Burgundy Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Mitte Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Manitoba Malta San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Sudan Mauritania Mauritius Honduras Malawi Yukon Northwest Territories Belarus Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Greenland Republic of Macedonia Cyprus Liechtenstein Swaziland Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Burkina Faso Burundi Botswana Nauru Palau Kenya Trinidad and Tobago Bolivia Duchy of Elbeuf Herdecke Gevelsberg Slovakia 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 Niue Duchy of Zaslawye Vanuatu Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Uruguay United Arab Emirates Guatemala Jordan Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga Costa Rica Sao Tomé and Príncipe Tuvalu Central African Republic Lichtenberg Tajikistan Leverkusen Nunavut Kosovo Region Zambia Trentino-South Tyrol
Netherlands, Zambia and Belarus belong to jurisdiction of min number of ministries or coats of arms
Netherlands Zambia Belarus
action argmin
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 flag or coat of arms
[[{'concept': 'ministry'}, {'concept': 'flag or coat of arms'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?u = ?t ) . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?u ) WHERE { { ?l property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:ministry } UNION { ?l property:applies_to_jurisdiction ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?i } . { SELECT DISTINCT ( MIN ( ?q ) AS ?t ) { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?q ) WHERE { VALUES ( ?h ) { ( ontology:flag_or_coat_of_arms ) ( ontology:ministry ) } . ?g rdf:type ?h } GROUP BY ?w } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q56061 Q486972 Q15617994
USER
How many administrative territories are exactly 3 administrative territories or human settlements the capital of ?
(c(Q15617994),P36,c(Q56061)|c(Q486972))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 3
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { { ?p property:P36 ?h . ?h rdf:type ontology:Q56061 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P36 ?h . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q486972 } } GROUP BY ?p } . FILTER ( ?i = 3 ) }
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { { ?p property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:capital ?h . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:human_settlement } } GROUP BY ?p } . FILTER ( ?i = 3 ) }
[]
administrative territorial entity human settlement designation for an administrative territorial entity
SYSTEM
1
Q160307
(c(Q15617994),P36,c(Q56061)|c(Q486972))
action count
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { { ?p property:P36 ?h . ?h rdf:type ontology:Q56061 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P36 ?h . ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q486972 } } GROUP BY ?p } . FILTER ( ?i = 3 ) }
Fatimid caliphate
1
action count
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?i ) WHERE { { ?p property:capital ?h . ?h rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:capital ?h . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:human_settlement } } GROUP BY ?p } . FILTER ( ?i = 3 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q90 Q155226
P159
Q43229
USER
Which organizations have their HQ location at Bad Oldesloe or Paris ?
OR((c(Q43229),P159,Q155226), (c(Q43229),P159,Q90))
action filter_type
action union
action find_reverse
entity Q155226
relation P159
action find_reverse
entity Q90
relation P159
type Q43229
{'OR': [[{'concept': 'Q43229'}, 'P159', 'Q155226'], [{'concept': 'Q43229'}, 'P159', 'Q90']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P159 resource:Q155226 } UNION { ?u property:P159 resource:Q90 } } . ?u rdf:type ontology:Q43229 }
Paris Bad Oldesloe
action filter_type
action union
action find_reverse
entity Bad Oldesloe
relation headquarters location
action find_reverse
entity Paris
relation headquarters location
type organization
{'OR': [[{'concept': 'organization'}, 'headquarters location', 'Bad Oldesloe'], [{'concept': 'organization'}, 'headquarters location', 'Paris']]}
SELECT DISTINCT ?u WHERE { { { ?u property:headquarters_location resource:Bad_Oldesloe } UNION { ?u property:headquarters_location resource:Paris } } . ?u rdf:type ontology:organization }
[]
organization
Q1578717 Q1010514 Q664399 Q542767 Q177814 Q7208205 Q129842 Q1944230 Q4037549 Q17397911
SYSTEM
Some of them are Rochas, Bureau of International Expositions, Keolis, Christian Dior S.A., Suez Environnement, Point du Jour International, World Association of Newspapers and News Publishers, Mondial Assistance Group, DotEmu, Neyco
Q141644 Q7169633 Q3554165 Q3059202 Q2529131 Q634960 Q762953 Q21021580 Q3480809 Q885235 Q3041774 Q16980134 Q1582074 Q875294 Q3348066 Q3150930 Q2961310 Q1239347 Q7855892 Q15298319 Q3460106 Q276689 Q1869471 Q2029945 Q2995071 Q2081650 Q156077 Q6963996 Q1253995 Q3272874 Q693802 Q3020233 Q1165843 Q2420096 Q144105 Q3454997 Q1069374 Q1474785 Q837049 Q3473599 Q3112837 Q2040289 Q2922382 Q5964551 Q1886126 Q1361656 Q2877318 Q24206519 Q15214965 Q3073116 Q658635 Q2877535 Q2928736 Q15224941 Q2931412 Q17011854 Q1131326 Q2937327 Q16533733 Q3410445 Q683802 Q3153960 Q455484 Q2735739 Q479220 Q294520 Q7154824 Q1530892 Q3118052 Q974107 Q1537378 Q3153868 Q17354555 Q3314346 Q2377931 Q1850648 Q7551992 Q912413 Q1497417 Q16980311 Q1276709 Q2836529 Q212599 Q3043077 Q3485326 Q4796780 Q5423961 Q16533905 Q24206483 Q15981097 Q3003211 Q2852650 Q3523270 Q3550673 Q2294659 Q1872841 Q3567000 Q16534578 Q2871839 Q1144929 Q3494194 Q6763276 Q4736978 Q288694 Q383592 Q7252210 Q1934428 Q1667005 Q3459809 Q3561446 Q1374315 Q3562024 Q3365072 Q962489 Q3056982 Q3036861 Q373724 Q731438 Q4024629 Q3206175 Q645498 Q1017587 Q3117512 Q1184680 Q13493800 Q1305281 Q3300250 Q1439858 Q7839926 Q931207 Q3091941 Q3399837 Q1075391 Q682599 Q1432809 Q185334 Q19903434 Q21199606 Q2985179 Q5971984 Q7242678 Q4809290 Q3146666 Q1908856 Q3488304 Q2938848 Q17114090 Q1169068 Q430152 Q4998454 Q723423 Q2883419 Q19845187 Q2924503 Q7403643 Q2439098 Q3091443 Q22921009 Q3067334 Q1056200 Q5061074 Q3446514 Q3359849 Q3060526 Q168311 Q17530951 Q15521881 Q723691 Q759210 Q1880627 Q3156436 Q11148082 Q869576 Q1114878 Q3575678 Q3344746 Q5324407 Q3564407 Q3086767 Q2814507 Q7427651 Q2058517 Q1944230 Q3415245 Q17144493 Q3339185 Q1941622 Q938437 Q22248146 Q2861413 Q3090748 Q2392255 Q1970410 Q14343356 Q6911563 Q3001891 Q21715015 Q7809 Q407448 Q2874707 Q15221267 Q15263093 Q2467627 Q15241938 Q5745049 Q1227345 Q1632461 Q820035 Q3279066 Q2989968 Q913864 Q3349469 Q1162568 Q1540740 Q1570016 Q1977631 Q1974503 Q17173066 Q1458528 Q3402627 Q1227511 Q322644 Q3278692 Q282967 Q2260605 Q537608 Q3361835 Q3323664 Q1598474 Q1121141 Q4943722 Q4678090 Q3091294 Q978082 Q2990117 Q1023930 Q3149807 Q847141 Q20899876 Q664399 Q262037 Q976481 Q294213 Q15321663 Q22317486 Q15208154 Q5514400 Q1316175 Q3093154 Q2282172 Q4646835 Q3075839 Q2558951 Q998257 Q3147573 Q788088 Q17070187 Q848553 Q6455604 Q275623 Q1010514 Q2864808 Q177814 Q2940704 Q8405 Q3047389 Q3307467 Q3154409 Q1128357 Q2840309 Q612617 Q3482878 Q18810362 Q2901568 Q16927916 Q1275627 Q7377788 Q3257772 Q274591 Q6523325 Q775931 Q16642486 Q2120364 Q3562294 Q6125150 Q1672300 Q2981838 Q1881809 Q1578717 Q15623641 Q1726925 Q917717 Q1345059 Q2076889 Q2870745 Q160054 Q2822371 Q7433424 Q15242318 Q154330 Q7392715 Q5060610 Q658546 Q3075576 Q3041606 Q1376256 Q2836031 Q7857683 Q3414269 Q20950509 Q3095097 Q1076645 Q3029396 Q2925147 Q18389328 Q3339193 Q1450805 Q1144387 Q2826074 Q3352748 Q5449288 Q7134521 Q15242622 Q2178795 Q3257587 Q3339109 Q129842 Q1545216 Q3339107 Q2990138 Q111546 Q460487 Q1972480 Q3046689 Q16466338 Q362280 Q3023799 Q372899 Q18207790 Q3359105 Q2823384 Q2824958 Q832545 Q3225161 Q386814 Q17397911 Q2517551 Q1676608 Q17079978 Q3365450 Q585903 Q3437504 Q1798553 Q948531 Q1121065 Q5474027 Q7208205 Q42814 Q14900217 Q1043403 Q378131 Q16781931 Q892991 Q2658878 Q17126122 Q8078086 Q16544736 Q1275908 Q3152057 Q1347160 Q17642121 Q910727 Q542767 Q5426546 Q1888471 Q795981 Q2355325 Q3025419 Q3320524 Q796826 Q7573970 Q743344 Q895325 Q2819353 Q833111 Q7276589 Q27550 Q2845958 Q608518 Q16546558 Q15227703 Q294532 Q218140 Q806575 Q3075536 Q158205 Q2421484 Q504998 Q3195842 Q1385309 Q3907708 Q3480651 Q4037549 Q7709616 Q3231301 Q17056754 Q41007 Q605307 Q5364466 Q3345328 Q1093004 Q3075695 Q2990265 Q15813203 Q576316 Q495007 Q5618790 Q309031 Q195071 Q18330597 Q16040901 Q2883029 Q481356 Q522070 Q3306372 Q3300193 Q1412968 Q2274634 Q1431486 Q2825661 Q1431285 Q12033173 Q843887 Q1551864 Q1296309 Q15242433 Q2501552 Q7813561 Q1936941 Q3218273 Q24206460 Q3458237 Q3356698 Q3197950 Q1886006 Q1894793 Q20088908 Q906438 Q846484 Q3334516 Q1347990 Q2974458 Q3117483 Q3240853 Q3488775
OR((c(Q43229),P159,Q155226), (c(Q43229),P159,Q90))
action filter_type
action union
action find_reverse
entity Q155226
relation P159
action find_reverse
entity Q90
relation P159
type Q43229
[ANSWERS] have their HQ location at Bad Oldesloe or Paris
{'OR': [[{'concept': 'Q43229'}, 'P159', 'Q155226'], [{'concept': 'Q43229'}, 'P159', 'Q90']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P159 resource:Q155226 } UNION { ?u property:P159 resource:Q90 } } . ?u rdf:type ontology:Q43229 }
Nexans Perrin Paris Valtech etam Vizada Architecture-Studio Perenco Sopra Steria Seventure Partners Alcatel Duvelleroy Neptune Technologies Kazé Morpho Oberthur Cash Protection Ingenico Group Charvet Place Vendôme Iliad Turner Broadcasting System France État libre d'Orange STEF Motul Longchamp SEPPIC Constellium Berthillon L'Oréal Nanobiotix Société Parisienne MEGA International Srl. SeaFrance De Particulier à Particulier Dargaud Franprix Sipa Press RIVP Chemins de fer de l'Ouest Pleyel et Cie Pernod Ricard Sarenza Goyard Orange Business Services Bourjois Hôtel Première Classe Safran REN21 BNP Paribas Real Estate Maje Ardian Fives Group Compagnie Française d'Assurance pour le Commerce Extérieur BVA Business & Decision Noodles Production CGGVeritas Make Up For Ever Mazars Captain Train Bourse Direct Royalties Xilam Invivo Areva Priceminister Citect Alten Paule Ka Balenciaga GIFAS Sinequa Publicis Inventel Akosh Szelevenyi Ensemble Millimages Froggy Software Henri Selmer Paris Societe de Constructions et d'Aviation Legere France Telecom Gecina Callicore Vicat Alice ADSL Accor Défense conseil international Sisley Art Director Management F. Lorée Brandalley Sandro Studio 100 Animation CDF Croisières de France MoonScoop Group The Walt Disney Company France Uniross Clickteam Parfums Lubin Webhelp Bygmalion Auralog Lafarge Spotless Group Marigaux Altran Foundation for Innovation Ballot Cycles Peugeot Protécréa SOGEADE International Union of Biological Sciences SNCF Participations Vivarte Eurazeo Vocalcom Paribas Rexel Ernest Goüin et Cie Dontnod Entertainment Groupe La Poste Euro Cargo Rail Zodiak Media Group LTU Technologies Lyxor Asset Management Business Objects PRO BTP Delphine Software International Appsfire Valeo Maurel & Prom Nina Ricci Triago Kering Fédération internationale des professeurs de français Postes, télégraphes et téléphones Chloé Veolia Water Relais & Châteaux Rhône-Poulenc Mailjet Nintendo European Research & Development Comexposium IMDS Group Pricing Partners Cie Association L'APPEL IGN FI MATIS Group Société française de constructions mécaniques Carita MyGayTrip Relaxnews Vandoren Burelle Bricostore Banque nationale pour le commerce et l'industrie Michel de Maule Brentano's Salans Darty Anarchist Federation Pierre Cardin Fauchon Cerruti Central Films Rubis PROPARCO Les Cinémas Gaumont Pathé Gaz de France Mirakl Manoir Industries Asendia Givenchy L'Association Ixxi Caudalie Mandriva International Committee of Architectural Critics Zodiak Media Notre Europe EServGlobal Vétra Fred & Farid Group Criteo Sav! The World Productions Free Mobile Mondial Assistance Group RMC Sport Revue Noire Nexity Mobipocket CFM International BonneGueule Aristophil Fullsix Teleperformance SE AGF Publicis Omnicom Group Morgan Coyote ONG CNRJ United Nations Educational, Scientific and Cultural Organization Air Liquide Axalto Appaloosa Films IRFE Free Grizouille Production Hervé Chapelier Diptyque Veolia Environnement GRTgaz Worms & Cie Société des forges de Châtillon-Commentry-Neuves-Maisons Mariage Frères Oeneo International Council for Science La Redoute Hako GmbH Neopost Bureau Veritas 360Learning PAI Partners Presstalis DCNS Hutchinson SA Devambez Agnès b. Scorpio Music Cortal Consors Pan-Européenne Morabito Technip Compagnie Internationale des Wagons-Lits Boonty AdForum Futurikon Sennelier Compagnie du chemin de fer de Paris à Saint-Germain CNP Assurances Inca production Thello G. Peignot et Fils Keolis Areva NC IOMA Akka Technologies Liaison Cinématographique Barbier, Benard, et Turenne Moteur s'il vous plaît GRAITEC SYSTRAN GECI International Yves Saint Laurent A+b kasha Pensions Reserve Fund Wendel Waterman pens Icade Baccarat Multiposting Boucheron L'Artisan Parfumeur PSA Peugeot Citroën Bureau of International Expositions Artcurial Suez Environnement carven Bateau Mouche Eden Park Metropolitan Filmexport Iris Capital Construction Mecanique de Normandie Altarea SCA Powernext Sia Partners Stylomine Libraries without borders MKG Group EPEX SPOT SE Rue du Mail Locotracteurs Gaston Moyse Électricité de France Lenthéric Exalead Hugo & Victor Radio France VFLI Sequans Communications Ipsos Cofinoga MSLGROUP Rochas Impala SAS Maison Martin Margiela Imerys Rémy Cointreau Nord-Sud Company Audika Axa Academy of Cinema Arts and Techniques Sciapode Toloda Reporters Without Borders SPiDCOM Central Color Constructions industrielles de la Méditerranée Saint-Simon Foundation Studio Harcourt Europcar Algérie Ferries Twenga Questel Peclers Gandi Club Med Direct Énergie Bricomarché Pomme de pain NextRadioTV Française des Jeux Institut français d'opinion publique Affine Online Fimat Banque Paraffection Rectangle Productions Réseau de Transport d'Électricité Load Inc. Newfund World Association of Newspapers and News Publishers SYSTRA Newedge Group Compagnie du chemin de fer métropolitain de Paris Ipsen Dassault Aviation PowerJet Eau de Paris Hello bank! Office de Radiodiffusion Télévision Française Derichebourg Magnum Photos AIRTAG Oxygen Acome AdopteUnMec Europ Assistance Le Palais des Thés Butler Capital Partners Neyco Wengo JJW Hotels & Resorts Sema Group Parkeon Antoine Courtois Roche Bobois LaCie Céline Compagnie Générale Transatlantique Fotovista Point du Jour International Euskadi Ta Askatasuna Obrey Carlson Wagonlit Travel Sogeti CDU SEDES Bookeen Bell & Ross Hotchkiss Ordnance Company Éditions de l'Oiseau-Lyre Courrèges ESI Group Institute of Environmental Medicine SAGEM Illumination Mac Guff Théâtre du Soleil Christian Dior S.A. FLMNE Hachette Filipacchi Médias Société Bic Fondation de France Devialet Mondeca BNP Paribas Investment Partners Sparx Animation Studios Facel Bouygues AREP Louis Dreyfus Group RFQ-hub Delage Anciens Établissements Cail Unibail-Rodamco SE Decleor JBA Production Altran Zodiac Marine & Pool Banijay Entertainment Fondation PPR Sanofi Les Films du Poisson LVMH Kewego Balmain Eurosam Société d'études techniques et économiques DotEmu Thales Optronics Les Cartooneurs Associés Viz Media Europe Richard-Brasier Les films du losange Ella Baché Nova Press Trudon Fondation Nationale des Sciences Politiques Compagnie Électro-Mécanique Spiders Cacharel Pechiney Gunhild Lacoste Digimind Isabel Maran RATP Dev Banque de l'Union Parisienne IG Group Presans Mercialys Mauna Kea Technologies NRJ Group Groupe Eurotunnel SE Orange Aerophile Pierre et Vacances Léon & Lévy Hermès International S.A. Suez Epica Awards Les Films de Pierre Disneynature Tokheim Minimax LaSer SMCP Révillon Frères ORSYP S.A Klépierre PolySpot Parrot Pullman Hotels and Resorts aircraft maintenance Caisse des dépôts et consignations NRJ Mobile Eramet Citizenside Groupe Lucien Barrière Liligo.com Sodiaal
Rochas, Bureau of International Expositions, Keolis, Christian Dior S.A., Suez Environnement, Point du Jour International, World Association of Newspapers and News Publishers, Mondial Assistance Group, DotEmu and Neyco have their HQ location at Bad Oldesloe or Paris
Rochas Bureau of International Expositions Keolis Christian Dior S.A. Suez Environnement Point du Jour International World Association of Newspapers and News Publishers Mondial Assistance Group DotEmu Neyco
action filter_type
action union
action find_reverse
entity Bad Oldesloe
relation headquarters location
action find_reverse
entity Paris
relation headquarters location
type organization
{'OR': [[{'concept': 'organization'}, 'headquarters location', 'Bad Oldesloe'], [{'concept': 'organization'}, 'headquarters location', 'Paris']]}
SELECT DISTINCT ?u WHERE { { { ?u property:headquarters_location resource:Bad_Oldesloe } UNION { ?u property:headquarters_location resource:Paris } } . ?u rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q854
P194
Q701632 Q11204 Q15617994
USER
Which administrative territories have more number of municipal councils and legislatures as their legislative body than Sri Lanka ?
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q854
relation P194
type Q701632
type Q11204
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?q ) WHERE { { ?l property:P194 ?t . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q701632 } UNION { ?l property:P194 ?t . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q11204 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q854 property:P194 ?b . { { ?b rdf:type ontology:Q701632 } UNION { ?b rdf:type ontology:Q11204 } } } } . FILTER ( ?q > ?o ) }
Sri Lanka
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity Sri Lanka
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?q ) WHERE { { ?l property:legislative_body ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:municipal_council } UNION { ?l property:legislative_body ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:legislature } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Sri_Lanka property:legislative_body ?b . { { ?b rdf:type ontology:municipal_council } UNION { ?b rdf:type ontology:legislature } } } } . FILTER ( ?q > ?o ) }
[]
municipal council legislature designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q805 Q800 Q1462 Q1250 Q2806757 Q148 Q189 Q786 Q710 Q1460 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q948 Q1016 Q27 Q1243 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q701632)|c(Q11204))
action greater
action union
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_multi_types
action find
entity Q854
relation P194
type Q701632
type Q11204
[ANSWERS] have more number of municipal councils and legislatures as their legislative body than Sri Lanka
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q701632'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?q ) WHERE { { ?l property:P194 ?t . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q701632 } UNION { ?l property:P194 ?t . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q11204 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q854 property:P194 ?b . { { ?b rdf:type ontology:Q701632 } UNION { ?b rdf:type ontology:Q11204 } } } } . FILTER ( ?q > ?o ) }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia 105 Mile Post Indian Reserve No. 2 People's Republic of China Iceland Dominican Republic Kiribati Sicily Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Tunisia Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America, Russia and People's Republic of China have more number of municipal councils and legislatures as their legislative body than Sri Lanka
United States of America Russia People's Republic of China
action greater
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find
entity Sri Lanka
relation legislative body
type municipal council
type legislature
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'municipal council'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?q ) WHERE { { ?l property:legislative_body ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:municipal_council } UNION { ?l property:legislative_body ?t . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:legislature } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Sri_Lanka property:legislative_body ?b . { { ?b rdf:type ontology:municipal_council } UNION { ?b rdf:type ontology:legislature } } } } . FILTER ( ?q > ?o ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q858
P530
Q15617994
USER
Do Syria have diplomatic associations with those ones ?
(Q858,P530,Q30) (Q858,P530,Q159) (Q858,P530,Q148)
action is_in
entity prev_answer
action find
entity Q858
relation P530
['Q858', 'P530', 'Q30'] ['Q858', 'P530', 'Q159'] ['Q858', 'P530', 'Q148']
ASK WHERE { resource:Q858 property:P530 ?x . VALUES ( ?x ) { ( resource:Q805 ) ( resource:Q800 ) ( resource:Q1462 ) } }
Syria
action is_in
entity prev_answer
action find
entity Syria
relation diplomatic relation
['Syria', 'diplomatic relation', 'United States of America'] ['Syria', 'diplomatic relation', 'Russia'] ['Syria', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Syria property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Yemen ) ( resource:Costa_Rica ) ( resource:Sardinia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q858,P530,Q30) (Q858,P530,Q159) (Q858,P530,Q148)
action is_in
entity prev_answer
action find
entity Q858
relation P530
[ANSWER]
['Q858', 'P530', 'Q30'] ['Q858', 'P530', 'Q159'] ['Q858', 'P530', 'Q148']
ASK WHERE { resource:Q858 property:P530 ?x . VALUES ( ?x ) { ( resource:Q805 ) ( resource:Q800 ) ( resource:Q1462 ) } }
Yes
action is_in
entity prev_answer
action find
entity Syria
relation diplomatic relation
['Syria', 'diplomatic relation', 'United States of America'] ['Syria', 'diplomatic relation', 'Russia'] ['Syria', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Syria property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Yemen ) ( resource:Costa_Rica ) ( resource:Sardinia ) } }
[]