Simple Question (Direct)
Simple Question
Q365753
P39
Q12737077
USER
Which occupation was a position held by Jérôme-Adolphe Blanqui ?
(Q365753,P39,c(Q12737077))
action filter_type
action find
entity Q365753
relation P39
type Q12737077
['Q365753', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q365753 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
Jérôme-Adolphe Blanqui
action filter_type
action find
entity Jérôme-Adolphe Blanqui
relation position held
type occupation
['Jérôme-Adolphe Blanqui', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jérôme-Adolphe_Blanqui property:position_held ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q365753,P39,c(Q12737077))
action filter_type
action find
entity Q365753
relation P39
type Q12737077
The member of the French National Assembly was a position held by Jérôme-Adolphe Blanqui
['Q365753', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q365753 property:P39 ?g . ?g rdf:type ontology:Q12737077 }
member of the French National Assembly
The member of the French National Assembly was a position held by Jérôme-Adolphe Blanqui
member of the French National Assembly
action filter_type
action find
entity Jérôme-Adolphe Blanqui
relation position held
type occupation
['Jérôme-Adolphe Blanqui', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jérôme-Adolphe_Blanqui property:position_held ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P17
Q15617994
USER
Which administrative territory is that occupation present in ?
(Q3044918,P17,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3044918 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:member_of_the_French National_Assembly property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P17,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
That occupation is [ANSWER]
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3044918 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
That occupation is France
France
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:member_of_the_French National_Assembly property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of that occupation ?
(Q142,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q142', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q3044918 property:P1001 ?k }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?k }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q142,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
The [ANSWER] comes under the jurisdiction of that occupation
['Q142', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q3044918 property:P1001 ?k }
France
The France comes under the jurisdiction of that occupation
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['France', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?k }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with atmost 87 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 87
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?z <= 87 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?o property:P530 ?j } GROUP BY ?o } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 87
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?z <= 87 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?j } GROUP BY ?o } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 87
[ANSWERS] have diplomatic relations with atmost 87 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?z <= 87 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?o property:P530 ?j } GROUP BY ?o } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with atmost 87 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 87
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?z <= 87 ) . { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?z ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?j } GROUP BY ?o } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q183
P530
Q1048835 Q1048835
USER
How many political territories have ambassadorial relations with lesser number of political territories than Germany ?
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q183 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?c < ?w ) }
Germany
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Germany property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?c < ?w ) }
[]
political territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:P530 ?j . ?j rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1048835 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q183 property:P530 ?x . ?x rdf:type ontology:Q1048835 } } . FILTER ( ?c < ?w ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?c ) WHERE { ?t property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:political_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Germany property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity } } . FILTER ( ?c < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q664
P530
Q1048835 Q1048835
USER
And what about New Zealand?
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { ?b property:P530 ?h . ?b rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q664 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } . FILTER ( ?m < ?f ) }
New Zealand
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { ?b property:diplomatic_relation ?h . ?b rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:New_Zealand property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } . FILTER ( ?m < ?f ) }
[]
political territorial entity political territorial entity
SYSTEM
8
Q1000 Q40 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q1048835),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { ?b property:P530 ?h . ?b rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q664 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } . FILTER ( ?m < ?f ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
8
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?m ) WHERE { ?b property:diplomatic_relation ?h . ?b rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:New_Zealand property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } . FILTER ( ?m < ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P1346
Q1190554
USER
Where was Denmark decalred as a champion ?
(c(Q1190554),P1346,Q35)
action filter_type
action find_reverse
entity Q35
relation P1346
type Q1190554
[{'concept': 'Q1190554'}, 'P1346', 'Q35']
SELECT DISTINCT ?r WHERE { ?r property:P1346 resource:Q35 . ?r rdf:type ontology:Q1190554 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation winner
type event
[{'concept': 'event'}, 'winner', 'Denmark']
SELECT DISTINCT ?r WHERE { ?r property:winner resource:Denmark . ?r rdf:type ontology:event }
[]
event
Q1606958
SYSTEM
Battle of Bogesund
Q1606958
(c(Q1190554),P1346,Q35)
action filter_type
action find_reverse
entity Q35
relation P1346
type Q1190554
Denmark was decalred as a champion the [ANSWER]
[{'concept': 'Q1190554'}, 'P1346', 'Q35']
SELECT DISTINCT ?r WHERE { ?r property:P1346 resource:Q35 . ?r rdf:type ontology:Q1190554 }
Battle of Bogesund
Denmark was decalred as a champion the Battle of Bogesund
Battle of Bogesund
action filter_type
action find_reverse
entity Denmark
relation winner
type event
[{'concept': 'event'}, 'winner', 'Denmark']
SELECT DISTINCT ?r WHERE { ?r property:winner resource:Denmark . ?r rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1606958
P710
Q15617994
USER
Which administrative territory was a participant of that event ?
(Q1606958,P710,c(Q15617994))
action filter_type
action find
entity Q1606958
relation P710
type Q15617994
['Q1606958', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1606958 property:P710 ?a . ?a rdf:type ontology:Q15617994 }
Battle of Bogesund
action filter_type
action find
entity Battle of Bogesund
relation participant
type designation for an administrative territorial entity
['Battle of Bogesund', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Battle_of_Bogesund property:participant ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q1606958,P710,c(Q15617994))
action filter_type
action find
entity Q1606958
relation P710
type Q15617994
[ANSWER] was a participant of that event
['Q1606958', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1606958 property:P710 ?a . ?a rdf:type ontology:Q15617994 }
Sweden
Sweden was a participant of that event
Sweden
action filter_type
action find
entity Battle of Bogesund
relation participant
type designation for an administrative territorial entity
['Battle of Bogesund', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Battle_of_Bogesund property:participant ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34 Q188822
P463
Q484652
USER
Was Sweden a member of Asian Development Bank ?
(Q34,P463,Q188822)
action is_in
entity Q188822
action find
entity Q34
relation P463
['Q34', 'P463', 'Q188822']
ASK WHERE { resource:Q34 property:P463 resource:Q188822 }
Sweden Asian Development Bank
action is_in
entity Asian Development Bank
action find
entity Sweden
relation member of
['Sweden', 'member of', 'Asian Development Bank']
ASK WHERE { resource:Sweden property:member_of resource:Asian_Development_Bank }
[]
international organization
SYSTEM
YES
(Q34,P463,Q188822)
action is_in
entity Q188822
action find
entity Q34
relation P463
[ANSWER]
['Q34', 'P463', 'Q188822']
ASK WHERE { resource:Q34 property:P463 resource:Q188822 }
Yes
action is_in
entity Asian Development Bank
action find
entity Sweden
relation member of
['Sweden', 'member of', 'Asian Development Bank']
ASK WHERE { resource:Sweden property:member_of resource:Asian_Development_Bank }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with around the same number of administrative territories as Denmark ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 . ?n property:P530 ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q35 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?f ) }
Denmark
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Denmark property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?f ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 . ?n property:P530 ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Q35 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?f ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?o } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { resource:Denmark property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13857
P1376
Q1048835 Q56061 Q515
USER
Which political territories have less number of administrative territories or cities have their center of administration than Misamis Occidental ?
(c(Q56061)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13857
relation P1376
type Q56061
type Q515
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P1376 ?b . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q56061 } UNION { ?o property:P1376 ?b . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q515 } } GROUP BY ?b } . FILTER ( ?g < ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:P1376 resource:Q13857 . { VALUES ( ?q ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?a rdf:type ?q } } } }
Misamis Occidental
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Misamis Occidental
relation capital of
type administrative territorial entity
type city
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:capital_of ?b . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o property:capital_of ?b . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:city } } GROUP BY ?b } . FILTER ( ?g < ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:capital_of resource:Misamis_Occidental . { VALUES ( ?q ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?a rdf:type ?q } } } }
[]
political territorial entity administrative territorial entity city
Q10453 Q104891 Q166709
SYSTEM
Weißenburg-Gunzenhausen, Västernorrland County, Vinnytsia Oblast
Q7130037 Q13885 Q13887 Q13728 Q13721 Q13723 Q13727 Q3321945 Q10500690 Q10453 Q10459 Q13902 Q3317759 Q43448 Q1122980 Q1382499 Q2026858 Q13769 Q13767 Q13763 Q7906 Q3312902 Q173407 Q2702993 Q6156 Q13867 Q13866 Q13864 Q13789 Q104257 Q10469 Q2485101 Q10462 Q10466 Q10465 Q104891 Q971457 Q6337 Q13730 Q2846059 Q13861 Q6319070 Q105075 Q34617 Q2718534 Q5455586 Q6319759 Q25228 Q692946 Q3313430 Q5088519 Q13778 Q90027 Q3656379 Q642314 Q6318695 Q6308 Q10461 Q170213 Q2917 Q5945 Q10896751 Q13812 Q13810 Q6061 Q707771 Q3826003 Q10471 Q170604 Q166709 Q5096 Q3653113 Q13740 Q168856 Q7258563 Q922842 Q8050384 Q3314201 Q106789 Q1468315 Q7414539 Q1769672 Q13845 Q13846 Q13841 Q13840 Q104746 Q1229942 Q103679 Q1232887 Q6313 Q6317 Q13893 Q13895 Q5444794 Q593806 Q3903 Q10551 Q13711 Q2761218 Q778266 Q201697 Q7827062 Q4694508 Q13807 Q170672 Q151938 Q104877 Q3824193 Q106915 Q315840 Q13751 Q13750 Q571947 Q48106 Q2307775 Q5856660 Q2697637 Q10480 Q10483 Q10485 Q10487 Q339637 Q13871 Q13873 Q13875 Q13877 Q13879 Q6013498 Q10554 Q5924968 Q468378 Q35086 Q2367188 Q104940
(c(Q56061)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13857
relation P1376
type Q56061
type Q515
[ANSWERS] have less number of administrative territories or cities have their center of administration than Misamis Occidental
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P1376 ?b . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q56061 } UNION { ?o property:P1376 ?b . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q515 } } GROUP BY ?b } . FILTER ( ?g < ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:P1376 resource:Q13857 . { VALUES ( ?q ) { ( ontology:Q515 ) ( ontology:Q56061 ) } . ?a rdf:type ?q } } } }
Panao District Sultan Kudarat Sulu Apayao Agusan del Sur Aklan Antique Acarí District San Miguel District Weißenburg-Gunzenhausen Kitzingen Zamboanga Sibugay Putumayo District British Indian Ocean Territory Comtat Venaissin Hela Hudiksvall County Camiguin Camarines Sur Camarines Norte Limburg-Weilburg Coya District Ternopil Oblast Haquira District Oberspreewald-Lausitz Occidental Mindoro Nueva Vizcaya Northern Samar Compostela Valley Örebro County Main-Spessart County of Chiny Haßberge Bad Kissingen Rhön-Grabfeld Västernorrland County Lunahuaná District Vogtlandkreis Aurora Andahuaylillas District Mountain Province Magdalena de Cao District Västmanland County Saint Pierre and Miquelon Lurigancho Fitzcarrald Sicaya District Anguilla Gorizia and Gradisca Antioquia District Chavinillo District Catanduanes German-speaking Community of Belgium Davao Occidental County of Burgundy Pimentel Leipzig Schweinfurt Zakarpattia Oblast Vorpommern-Greifswald District Cloppenburg Llipa District Ifugao Guimaras Altmarkkreis Salzwedel County of Bentheim Chucuito District Aschaffenburg New France Vinnytsia Oblast West Papua Kingdom of Syunik Batanes Chernivtsi Oblast Puerto Inca District Skaraborg County Yavari District Achoma District Värmland County Pozuzo District San José de Sisa District La Sotonera Maguindanao Marinduque Lanao del Norte Laguna Kronoberg County La Jalca District Jämtland County County of Savoy Meissen Görlitz Tawi-Tawi Zambales Fernando Lores District Llata District North Kalimantan Middle Franconia Abra Jesús District County of Artois Leimebamba District Torres Causana District Aguas Verdes Dinagat Islands Dnipropetrovsk Oblast Neutral Moresnet Västerbotten county Querobamba District Södermanland County County of Veldenz Biliran Benguet Bautzen Suhl District Sepahua Mito District San Marcos District Dingolfing-Landau Regen Deggendorf Freyung-Grafenau Kristianstad County Pangasinan Quirino Romblon Sarangani Siquijor Inambari Upper Franconia Huacaybamba County of Hoya South Georgia and the South Sandwich Islands Härnösand County Östergötland County
Weißenburg-Gunzenhausen, Västernorrland County and Vinnytsia Oblast have less number of administrative territories or cities have their center of administration than Misamis Occidental
Weißenburg-Gunzenhausen Västernorrland County Vinnytsia Oblast
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Misamis Occidental
relation capital of
type administrative territorial entity
type city
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:capital_of ?b . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o property:capital_of ?b . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:city } } GROUP BY ?b } . FILTER ( ?g < ?k ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:capital_of resource:Misamis_Occidental . { VALUES ( ?q ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } . ?a rdf:type ?q } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q13829
P1376
Q1048835 Q56061 Q515
USER
And what about La Union?
(c(Q56061)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13829
relation P1376
type Q56061
type Q515
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q56061 . ?d property:P1376 ?o } UNION { ?d property:P1376 ?o . ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q515 } } GROUP BY ?o } . FILTER ( ?x < ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { { ?j rdf:type ontology:Q56061 } UNION { ?j rdf:type ontology:Q515 } } . ?j property:P1376 resource:Q13829 } } }
La Union
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity La Union
relation capital of
type administrative territorial entity
type city
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:administrative_territorial_entity . ?d property:capital_of ?o } UNION { ?d property:capital_of ?o . ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:city } } GROUP BY ?o } . FILTER ( ?x < ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { { ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j rdf:type ontology:city } } . ?j property:capital_of resource:La_Union } } }
[]
political territorial entity administrative territorial entity city
Q10453 Q104891 Q166709
SYSTEM
Weißenburg-Gunzenhausen, Västernorrland County, Vinnytsia Oblast
Q7130037 Q13885 Q13887 Q13728 Q13721 Q13723 Q13727 Q3321945 Q10500690 Q10453 Q10459 Q13902 Q3317759 Q43448 Q1122980 Q1382499 Q2026858 Q13769 Q13767 Q13763 Q7906 Q3312902 Q173407 Q2702993 Q6156 Q13867 Q13866 Q13864 Q13789 Q104257 Q10469 Q2485101 Q10462 Q10466 Q10465 Q104891 Q971457 Q6337 Q13730 Q2846059 Q13861 Q6319070 Q105075 Q34617 Q2718534 Q5455586 Q6319759 Q25228 Q692946 Q3313430 Q5088519 Q13778 Q90027 Q3656379 Q642314 Q6318695 Q6308 Q10461 Q170213 Q2917 Q5945 Q10896751 Q13812 Q13810 Q6061 Q707771 Q3826003 Q10471 Q170604 Q166709 Q5096 Q3653113 Q13740 Q168856 Q7258563 Q922842 Q8050384 Q3314201 Q106789 Q1468315 Q7414539 Q1769672 Q13845 Q13846 Q13841 Q13840 Q104746 Q1229942 Q103679 Q1232887 Q6313 Q6317 Q13893 Q13895 Q5444794 Q593806 Q3903 Q10551 Q13711 Q2761218 Q778266 Q201697 Q7827062 Q4694508 Q13807 Q170672 Q151938 Q104877 Q3824193 Q106915 Q315840 Q13751 Q13750 Q571947 Q48106 Q2307775 Q5856660 Q2697637 Q10480 Q10483 Q10485 Q10487 Q339637 Q13871 Q13873 Q13875 Q13877 Q13879 Q6013498 Q10554 Q5924968 Q468378 Q35086 Q2367188 Q104940
(c(Q56061)|c(Q515),P1376,c(Q1048835))
action less
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action count
action filter_multi_types
action find_reverse
entity Q13829
relation P1376
type Q56061
type Q515
[ANSWERS]
[[{'concept': 'Q56061'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q56061 . ?d property:P1376 ?o } UNION { ?d property:P1376 ?o . ?o rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q515 } } GROUP BY ?o } . FILTER ( ?x < ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { { ?j rdf:type ontology:Q56061 } UNION { ?j rdf:type ontology:Q515 } } . ?j property:P1376 resource:Q13829 } } }
Panao District Sultan Kudarat Sulu Apayao Agusan del Sur Aklan Antique Acarí District San Miguel District Weißenburg-Gunzenhausen Kitzingen Zamboanga Sibugay Putumayo District British Indian Ocean Territory Comtat Venaissin Hela Hudiksvall County Camiguin Camarines Sur Camarines Norte Limburg-Weilburg Coya District Ternopil Oblast Haquira District Oberspreewald-Lausitz Occidental Mindoro Nueva Vizcaya Northern Samar Compostela Valley Örebro County Main-Spessart County of Chiny Haßberge Bad Kissingen Rhön-Grabfeld Västernorrland County Lunahuaná District Vogtlandkreis Aurora Andahuaylillas District Mountain Province Magdalena de Cao District Västmanland County Saint Pierre and Miquelon Lurigancho Fitzcarrald Sicaya District Anguilla Gorizia and Gradisca Antioquia District Chavinillo District Catanduanes German-speaking Community of Belgium Davao Occidental County of Burgundy Pimentel Leipzig Schweinfurt Zakarpattia Oblast Vorpommern-Greifswald District Cloppenburg Llipa District Ifugao Guimaras Altmarkkreis Salzwedel County of Bentheim Chucuito District Aschaffenburg New France Vinnytsia Oblast West Papua Kingdom of Syunik Batanes Chernivtsi Oblast Puerto Inca District Skaraborg County Yavari District Achoma District Värmland County Pozuzo District San José de Sisa District La Sotonera Maguindanao Marinduque Lanao del Norte Laguna Kronoberg County La Jalca District Jämtland County County of Savoy Meissen Görlitz Tawi-Tawi Zambales Fernando Lores District Llata District North Kalimantan Middle Franconia Abra Jesús District County of Artois Leimebamba District Torres Causana District Aguas Verdes Dinagat Islands Dnipropetrovsk Oblast Neutral Moresnet Västerbotten county Querobamba District Södermanland County County of Veldenz Biliran Benguet Bautzen Suhl District Sepahua Mito District San Marcos District Dingolfing-Landau Regen Deggendorf Freyung-Grafenau Kristianstad County Pangasinan Quirino Romblon Sarangani Siquijor Inambari Upper Franconia Huacaybamba County of Hoya South Georgia and the South Sandwich Islands Härnösand County Östergötland County
Weißenburg-Gunzenhausen Västernorrland County Vinnytsia Oblast
action less
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity La Union
relation capital of
type administrative territorial entity
type city
[[{'concept': 'administrative territorial entity'}, {'concept': 'city'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) ?o WHERE { { ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:administrative_territorial_entity . ?d property:capital_of ?o } UNION { ?d property:capital_of ?o . ?o rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:city } } GROUP BY ?o } . FILTER ( ?x < ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { { ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j rdf:type ontology:city } } . ?j property:capital_of resource:La_Union } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q685
P530
Q1048835 Q1048835
USER
Which political territories holds diplomatic relationship with approximately the same number of political territories as Solomon Islands ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?o property:P530 ?m . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q685 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?g ) }
Solomon Islands
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?o property:diplomatic_relation ?m . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?g ) }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWERS] hold diplomatic relationship with approximately the same number of political territories as Solomon Islands
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?o property:P530 ?m . ?o rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q685 property:P530 ?a . ?a rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?g ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand hold diplomatic relationship with approximately the same number of political territories as Solomon Islands
Denmark Austria New Zealand
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?m ) AS ?z ) WHERE { ?o property:diplomatic_relation ?m . ?o rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?g ) }
[]