Simple Question (Direct)
Simple Question
Q12321355
P19
Q56061
USER
Where was Karina Sørensen born ?
(Q12321355,P19,c(Q56061))
action filter_type
action find
entity Q12321355
relation P19
type Q56061
['Q12321355', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q12321355 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Karina Sørensen
action filter_type
action find
entity Karina Sørensen
relation place of birth
type administrative territorial entity
['Karina Sørensen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Karina_Sørensen property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q27119
SYSTEM
Kolding
Q27119
(Q12321355,P19,c(Q56061))
action filter_type
action find
entity Q12321355
relation P19
type Q56061
Karina Sørensen was born in [ANSWER]
['Q12321355', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q12321355 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Kolding
Karina Sørensen was born in Kolding
Kolding
action filter_type
action find
entity Karina Sørensen
relation place of birth
type administrative territorial entity
['Karina Sørensen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Karina_Sørensen property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12321355
P734
Q82799
USER
Who has the surname Karina Sørensen ?
(Q12321355,P734,c(Q82799))
action filter_type
action find
entity Q12321355
relation P734
type Q82799
['Q12321355', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q12321355 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Karina Sørensen
action filter_type
action find
entity Karina Sørensen
relation family name
type name
['Karina Sørensen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Karina_Sørensen property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q21493124
SYSTEM
Sørensen
Q21493124
(Q12321355,P734,c(Q82799))
action filter_type
action find
entity Q12321355
relation P734
type Q82799
[ANSWER] has the surname Karina [ANSWER]
['Q12321355', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q12321355 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Sørensen
Sørensen has the surname Karina Sørensen
Sørensen
action filter_type
action find
entity Karina Sørensen
relation family name
type name
['Karina Sørensen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Karina_Sørensen property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27119
P190
Q13220204
USER
Which administrative country subdivision is partner town of Kolding ?
(Q27119,P190,c(Q13220204))
action filter_type
action find
entity Q27119
relation P190
type Q13220204
['Q27119', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q27119 property:P190 ?f . ?f rdf:type ontology:Q13220204 }
Kolding
action filter_type
action find
entity Kolding
relation sister city
type second-level administrative country subdivision
['Kolding', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Kolding property:sister_city ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1719466
SYSTEM
Panevėžys
Q1719466
(Q27119,P190,c(Q13220204))
action filter_type
action find
entity Q27119
relation P190
type Q13220204
[ANSWER] is partner town of Kolding
['Q27119', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q27119 property:P190 ?f . ?f rdf:type ontology:Q13220204 }
Panevėžys
Panevėžys is partner town of Kolding
Panevėžys
action filter_type
action find
entity Kolding
relation sister city
type second-level administrative country subdivision
['Kolding', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Kolding property:sister_city ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1719466
P20
Q502895
USER
Which people have that administrative country subdivision as the location of death ?
(c(Q502895),P20,Q1719466)
action filter_type
action find_reverse
entity Q1719466
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1719466']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q1719466 . ?y rdf:type ontology:Q502895 }
Panevėžys
action filter_type
action find_reverse
entity Panevėžys
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Panevėžys']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Panevėžys . ?y rdf:type ontology:common_name }
[]
common name
Q2070464 Q204599 Q2025557
SYSTEM
Irmantas Stumbrys, Jurgis Bielinis, Juozas Miltinis
Q4972658 Q4074452 Q12156144 Q204599 Q2070464 Q2025557
(c(Q502895),P20,Q1719466)
action filter_type
action find_reverse
entity Q1719466
relation P20
type Q502895
[ANSWERS] have that administrative country subdivision as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q1719466']
SELECT DISTINCT ?y WHERE { ?y property:P20 resource:Q1719466 . ?y rdf:type ontology:Q502895 }
Gabrielė Petkevičaitė-Bitė Bronius Babkauskas Mykolas Karka Jurgis Bielinis Irmantas Stumbrys Juozas Miltinis
Irmantas Stumbrys, Jurgis Bielinis and Juozas Miltinis have that administrative country subdivision as the location of death
Irmantas Stumbrys Jurgis Bielinis Juozas Miltinis
action filter_type
action find_reverse
entity Panevėžys
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Panevėžys']
SELECT DISTINCT ?y WHERE { ?y property:place_of_death resource:Panevėžys . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q3305213
USER
Which names are depicted in approximately 2 art genres or paintings ?
(c(Q1792379)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 2
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P180 ?v . ?p rdf:type ontology:Q1792379 . ?v rdf:type ontology:Q82799 } UNION { ?p property:P180 ?v . ?v rdf:type ontology:Q82799 . ?p rdf:type ontology:Q3305213 } } GROUP BY ?v } . FILTER ( ?h = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 2
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:depicts ?v . ?p rdf:type ontology:art_genre . ?v rdf:type ontology:name } UNION { ?p property:depicts ?v . ?v rdf:type ontology:name . ?p rdf:type ontology:painting } } GROUP BY ?v } . FILTER ( ?h = 2 ) }
[]
name art genre painting
Q1807269 Q876933 Q152
SYSTEM
leek, magi, fish
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q3305213),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 2
[ANSWERS] are depicted in approximately 2 art genres or paintings
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:P180 ?v . ?p rdf:type ontology:Q1792379 . ?v rdf:type ontology:Q82799 } UNION { ?p property:P180 ?v . ?v rdf:type ontology:Q82799 . ?p rdf:type ontology:Q3305213 } } GROUP BY ?v } . FILTER ( ?h = 2 ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Leek, magi and fish are depicted in approximately 2 art genres or paintings
leek magi fish
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 2
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?h ) WHERE { { ?p property:depicts ?v . ?p rdf:type ontology:art_genre . ?v rdf:type ontology:name } UNION { ?p property:depicts ?v . ?v rdf:type ontology:name . ?p rdf:type ontology:painting } } GROUP BY ?v } . FILTER ( ?h = 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q152
P138
Q82799
USER
Which name is named after that one ?
(c(Q82799),P138,Q152)
action filter_type
action find_reverse
entity Q152
relation P138
type Q82799
[{'concept': 'Q82799'}, 'P138', 'Q152']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q152 . ?o rdf:type ontology:Q82799 }
fish
action filter_type
action find_reverse
entity fish
relation named after
type name
[{'concept': 'name'}, 'named after', 'fish']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:fish . ?o rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q876933
SYSTEM
Did you mean magi ?
Q1807269 Q876933 Q152
(c(Q82799),P138,Q1807269) (c(Q82799),P138,Q876933) (c(Q82799),P138,Q152)
[ANSWER]
[{'concept': 'Q82799'}, 'P138', 'Q1807269'] [{'concept': 'Q82799'}, 'P138', 'Q876933'] [{'concept': 'Q82799'}, 'P138', 'Q152']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q152 . ?o rdf:type ontology:Q82799 }
leek magi fish
Did you mean magi ?
magi
[{'concept': 'name'}, 'named after', 'leek'] [{'concept': 'name'}, 'named after', 'magi'] [{'concept': 'name'}, 'named after', 'fish']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:fish . ?o rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant fish. Could you tell me the answer for that?
(c(Q82799),P138,Q152)
Q152
[{'concept': 'Q82799'}, 'P138', 'Q152']
[{'concept': 'name'}, 'named after', 'fish']
[]
Q23727105
SYSTEM
Poisson
Q23727105
(c(Q82799),P138,Q152)
action filter_type
action find_reverse
entity Q152
relation P138
type Q82799
[ANSWER] is named after that one
[{'concept': 'Q82799'}, 'P138', 'Q152']
SELECT DISTINCT ?o WHERE { ?o property:P138 resource:Q152 . ?o rdf:type ontology:Q82799 }
Poisson
Poisson is named after that one
Poisson
action filter_type
action find_reverse
entity fish
relation named after
type name
[{'concept': 'name'}, 'named after', 'fish']
SELECT DISTINCT ?o WHERE { ?o property:named_after resource:fish . ?o rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23727105 Q2113029 Q152
P138
Q82799
USER
Is that name the eponym of Hayley and fish ?
(Q23727105,P138,Q2113029) (Q23727105,P138,Q152)
action is_in
entity Q23727105
action intersection
action find_reverse
entity Q2113029
relation P138
action find_reverse
entity Q152
relation P138
['Q23727105', 'P138', 'Q2113029'] ['Q23727105', 'P138', 'Q152']
ASK WHERE { resource:Q23727105 property:P138 resource:Q2113029 . resource:Q23727105 property:P138 resource:Q152 }
Poisson Hayley fish
action is_in
entity Poisson
action intersection
action find_reverse
entity Hayley
relation named after
action find_reverse
entity fish
relation named after
['Poisson', 'named after', 'Hayley'] ['Poisson', 'named after', 'fish']
ASK WHERE { resource:Poisson property:named_after resource:Hayley . resource:Poisson property:named_after resource:fish }
[]
name
SYSTEM
NO and YES respectively
(Q23727105,P138,Q2113029) (Q23727105,P138,Q152)
action is_in
entity Q23727105
action intersection
action find_reverse
entity Q2113029
relation P138
action find_reverse
entity Q152
relation P138
[ANSWER]
['Q23727105', 'P138', 'Q2113029'] ['Q23727105', 'P138', 'Q152']
ASK WHERE { resource:Q23727105 property:P138 resource:Q2113029 . resource:Q23727105 property:P138 resource:Q152 }
NO and YES respectively
action is_in
entity Poisson
action intersection
action find_reverse
entity Hayley
relation named after
action find_reverse
entity fish
relation named after
['Poisson', 'named after', 'Hayley'] ['Poisson', 'named after', 'fish']
ASK WHERE { resource:Poisson property:named_after resource:Hayley . resource:Poisson property:named_after resource:fish }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12321355 Q35 Q4150882
P27
Q1048835
USER
Is Karina Sørensen a citizen of Denmark and Hrushivka ?
(Q12321355,P27,Q35) (Q12321355,P27,Q4150882)
action is_in
entity Q12321355
action intersection
action find_reverse
entity Q35
relation P27
action find_reverse
entity Q4150882
relation P27
['Q12321355', 'P27', 'Q35'] ['Q12321355', 'P27', 'Q4150882']
ASK WHERE { resource:Q12321355 property:P27 resource:Q4150882 . resource:Q12321355 property:P27 resource:Q35 }
Karina Sørensen Denmark Hrushivka
action is_in
entity Karina Sørensen
action intersection
action find_reverse
entity Denmark
relation country of citizenship
action find_reverse
entity Hrushivka
relation country of citizenship
['Karina Sørensen', 'country of citizenship', 'Denmark'] ['Karina Sørensen', 'country of citizenship', 'Hrushivka']
ASK WHERE { resource:Karina_Sørensen property:country_of_citizenship resource:Hrushivka . resource:Karina_Sørensen property:country_of_citizenship resource:Denmark }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q12321355,P27,Q35) (Q12321355,P27,Q4150882)
action is_in
entity Q12321355
action intersection
action find_reverse
entity Q35
relation P27
action find_reverse
entity Q4150882
relation P27
[ANSWER]
['Q12321355', 'P27', 'Q35'] ['Q12321355', 'P27', 'Q4150882']
ASK WHERE { resource:Q12321355 property:P27 resource:Q4150882 . resource:Q12321355 property:P27 resource:Q35 }
YES and NO respectively
action is_in
entity Karina Sørensen
action intersection
action find_reverse
entity Denmark
relation country of citizenship
action find_reverse
entity Hrushivka
relation country of citizenship
['Karina Sørensen', 'country of citizenship', 'Denmark'] ['Karina Sørensen', 'country of citizenship', 'Hrushivka']
ASK WHERE { resource:Karina_Sørensen property:country_of_citizenship resource:Hrushivka . resource:Karina_Sørensen property:country_of_citizenship resource:Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1719466
P17
Q15617994
USER
Which administrative territory does Panevėžys belong to ?
(Q1719466,P17,c(Q15617994))
action filter_type
action find
entity Q1719466
relation P17
type Q15617994
['Q1719466', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1719466 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Panevėžys
action filter_type
action find
entity Panevėžys
relation country
type designation for an administrative territorial entity
['Panevėžys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Panevėžys property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
(Q1719466,P17,c(Q15617994))
action filter_type
action find
entity Q1719466
relation P17
type Q15617994
Panevėžys belongs to [ANSWER]
['Q1719466', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1719466 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Lithuania
Panevėžys belongs to Lithuania
Lithuania
action filter_type
action find
entity Panevėžys
relation country
type designation for an administrative territorial entity
['Panevėžys', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Panevėžys property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11579843
Q15617994
USER
And also tell me about Shirane?
(Q11579843,P17,c(Q15617994))
action filter_type
action find
entity Q11579843
relation P17
type Q15617994
['Q11579843', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q11579843 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Shirane
action filter_type
action find
entity Shirane
relation country
type designation for an administrative territorial entity
['Shirane', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Shirane property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11579843,P17,c(Q15617994))
action filter_type
action find
entity Q11579843
relation P17
type Q15617994
[ANSWER]
['Q11579843', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q11579843 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Shirane
relation country
type designation for an administrative territorial entity
['Shirane', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Shirane property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q17 Q142 Q801
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with France and Israel ?
(Q17,P530,Q142) (Q17,P530,Q801)
action is_in
entity Q17
action intersection
action find_reverse
entity Q142
relation P530
action find_reverse
entity Q801
relation P530
['Q17', 'P530', 'Q142'] ['Q17', 'P530', 'Q801']
ASK WHERE { resource:Q17 property:P530 resource:Q142 . resource:Q17 property:P530 resource:Q801 }
Japan France Israel
action is_in
entity Japan
action intersection
action find_reverse
entity France
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['Japan', 'diplomatic relation', 'France'] ['Japan', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Japan property:diplomatic_relation resource:France . resource:Japan property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17,P530,Q142) (Q17,P530,Q801)
action is_in
entity Q17
action intersection
action find_reverse
entity Q142
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q17', 'P530', 'Q142'] ['Q17', 'P530', 'Q801']
ASK WHERE { resource:Q17 property:P530 resource:Q142 . resource:Q17 property:P530 resource:Q801 }
Yes
action is_in
entity Japan
action intersection
action find_reverse
entity France
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['Japan', 'diplomatic relation', 'France'] ['Japan', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Japan property:diplomatic_relation resource:France . resource:Japan property:diplomatic_relation resource:Israel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1719466 Q2879028
P190
Q56061
USER
Is Ryhill twin town of Panevėžys ?
(Q1719466,P190,Q2879028)
action is_in
entity Q2879028
action find
entity Q1719466
relation P190
['Q1719466', 'P190', 'Q2879028']
ASK WHERE { resource:Q1719466 property:P190 resource:Q2879028 }
Panevėžys Ryhill
action is_in
entity Ryhill
action find
entity Panevėžys
relation sister city
['Panevėžys', 'sister city', 'Ryhill']
ASK WHERE { resource:Panevėžys property:sister_city resource:Ryhill }
[]
administrative territorial entity
SYSTEM
NO
(Q1719466,P190,Q2879028)
action is_in
entity Q2879028
action find
entity Q1719466
relation P190
[ANSWER]
['Q1719466', 'P190', 'Q2879028']
ASK WHERE { resource:Q1719466 property:P190 resource:Q2879028 }
No
action is_in
entity Ryhill
action find
entity Panevėžys
relation sister city
['Panevėžys', 'sister city', 'Ryhill']
ASK WHERE { resource:Panevėžys property:sister_city resource:Ryhill }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1041
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of administrative territories as Senegal ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1041
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q1041 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } }
Senegal
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Senegal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Senegal property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1041
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of administrative territories as Senegal
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Q1041 property:P530 ?u . ?u rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:P530 ?n . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relations with around the same number of administrative territories as Senegal
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Senegal
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?o = ?h ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { resource:Senegal property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?o ) WHERE { ?i property:diplomatic_relation ?n . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q917
P530
Q15617994 Q15617994
USER
And what about Bhutan?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q917 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Bhutan
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bhutan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Bhutan property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q917 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bhutan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?h = ?q ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Bhutan property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]