Simple Question (Direct)
Simple Question
Q77495
P140
Q874405
USER
Which social group is the religion of Johann Joachim Lange ?
(Q77495,P140,c(Q874405))
action filter_type
action find
entity Q77495
relation P140
type Q874405
['Q77495', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q77495 property:P140 ?g . ?g rdf:type ontology:Q874405 }
Johann Joachim Lange
action filter_type
action find
entity Johann Joachim Lange
relation religion
type social group
['Johann Joachim Lange', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Joachim_Lange property:religion ?g . ?g rdf:type ontology:social_group }
[]
social group
Q75809
SYSTEM
Lutheranism
Q75809
(Q77495,P140,c(Q874405))
action filter_type
action find
entity Q77495
relation P140
type Q874405
Church [ANSWER] is the religion of Johann Joachim Lange
['Q77495', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q77495 property:P140 ?g . ?g rdf:type ontology:Q874405 }
Lutheranism
Church Lutheranism is the religion of Johann Joachim Lange
Lutheranism
action filter_type
action find
entity Johann Joachim Lange
relation religion
type social group
['Johann Joachim Lange', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Johann_Joachim_Lange property:religion ?g . ?g rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77495
P937
Q56061
USER
What are the work locations of Johann Joachim Lange ?
(Q77495,P937,c(Q56061))
action filter_type
action find
entity Q77495
relation P937
type Q56061
['Q77495', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q77495 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Johann Joachim Lange
action filter_type
action find
entity Johann Joachim Lange
relation work location
type administrative territorial entity
['Johann Joachim Lange', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Johann_Joachim_Lange property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q2814
SYSTEM
Berlin, Halle (Saale)
Q64 Q2814
(Q77495,P937,c(Q56061))
action filter_type
action find
entity Q77495
relation P937
type Q56061
The work locations of Johann Joachim Lange are in [ANSWERS]
['Q77495', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q77495 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Berlin Halle (Saale)
The work locations of Johann Joachim Lange are in Berlin and Halle (Saale)
Berlin Halle (Saale)
action filter_type
action find
entity Johann Joachim Lange
relation work location
type administrative territorial entity
['Johann Joachim Lange', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Johann_Joachim_Lange property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20155429
P937
Q502895
USER
Does Peter Prier work at those administrative territories ?
(Q20155429,P937,Q64) (Q20155429,P937,Q2814)
action is_in
entity prev_answer
action find
entity Q20155429
relation P937
['Q20155429', 'P937', 'Q64'] ['Q20155429', 'P937', 'Q2814']
ASK WHERE { resource:Q20155429 property:P937 ?x . VALUES ( ?x ) { ( resource:Q64 ) ( resource:Q2814 ) } }
Peter Prier
action is_in
entity prev_answer
action find
entity Peter Prier
relation work location
['Peter Prier', 'work location', 'Berlin'] ['Peter Prier', 'work location', 'Halle (Saale)']
ASK WHERE { resource:Peter_Prier property:work_location ?x . VALUES ( ?x ) { ( resource:Berlin ) ( resource:Halle_(Saale) ) } }
[]
common name
SYSTEM
NO
(Q20155429,P937,Q64) (Q20155429,P937,Q2814)
action is_in
entity prev_answer
action find
entity Q20155429
relation P937
[ANSWER]
['Q20155429', 'P937', 'Q64'] ['Q20155429', 'P937', 'Q2814']
ASK WHERE { resource:Q20155429 property:P937 ?x . VALUES ( ?x ) { ( resource:Q64 ) ( resource:Q2814 ) } }
No
action is_in
entity prev_answer
action find
entity Peter Prier
relation work location
['Peter Prier', 'work location', 'Berlin'] ['Peter Prier', 'work location', 'Halle (Saale)']
ASK WHERE { resource:Peter_Prier property:work_location ?x . VALUES ( ?x ) { ( resource:Berlin ) ( resource:Halle_(Saale) ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77495
P106
Q12737077
USER
Which occupations have Johann Joachim Lange as his/her 's career ?
(Q77495,P106,c(Q12737077))
action filter_type
action find
entity Q77495
relation P106
type Q12737077
['Q77495', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q77495 property:P106 ?o }
Johann Joachim Lange
action filter_type
action find
entity Johann Joachim Lange
relation occupation
type occupation
['Johann Joachim Lange', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Johann_Joachim_Lange property:occupation ?o }
[]
occupation
Q1234713 Q1622272
SYSTEM
theologian, university teacher
Q1234713 Q1622272
(Q77495,P106,c(Q12737077))
action filter_type
action find
entity Q77495
relation P106
type Q12737077
The [ANSWERS] have Johann Joachim Lange as his/her 's career
['Q77495', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q77495 property:P106 ?o }
theologian university teacher
The theologian and university teacher have Johann Joachim Lange as his/her 's career
theologian university teacher
action filter_type
action find
entity Johann Joachim Lange
relation occupation
type occupation
['Johann Joachim Lange', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Johann_Joachim_Lange property:occupation ?o }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q77495
Q151885
USER
And which concept?
(Q77495,P106,c(Q151885))
action filter_type
action find
entity Q77495
relation P106
type Q151885
['Q77495', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q151885 . resource:Q77495 property:P106 ?h }
Johann Joachim Lange
action filter_type
action find
entity Johann Joachim Lange
relation occupation
type concept
['Johann Joachim Lange', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:concept . resource:Johann_Joachim_Lange property:occupation ?h }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q77495,P106,c(Q151885))
action filter_type
action find
entity Q77495
relation P106
type Q151885
[ANSWER]
['Q77495', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q151885 . resource:Q77495 property:P106 ?h }
philosopher
philosopher
action filter_type
action find
entity Johann Joachim Lange
relation occupation
type concept
['Johann Joachim Lange', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:concept . resource:Johann_Joachim_Lange property:occupation ?h }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4964182 Q16058526
P106
Q502895
USER
Does Robert Sitwell have the profession as that concept ?
(Q16058526,P106,Q4964182)
action is_in
entity Q16058526
action find
entity Q4964182
relation P106
['Q16058526', 'P106', 'Q4964182']
ASK WHERE { resource:Q4964182 property:P106 resource:Q16058526 }
philosopher Robert Sitwell
action is_in
entity Robert Sitwell
action find
entity philosopher
relation occupation
['Robert Sitwell', 'occupation', 'philosopher']
ASK WHERE { resource:philosopher property:occupation resource:Robert_Sitwell }
[]
common name
SYSTEM
NO
(Q16058526,P106,Q4964182)
action is_in
entity Q16058526
action find
entity Q4964182
relation P106
[ANSWER]
['Q16058526', 'P106', 'Q4964182']
ASK WHERE { resource:Q4964182 property:P106 resource:Q16058526 }
No
action is_in
entity Robert Sitwell
action find
entity philosopher
relation occupation
['Robert Sitwell', 'occupation', 'philosopher']
ASK WHERE { resource:philosopher property:occupation resource:Robert_Sitwell }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q75809 Q4932817
P138
Q502895
USER
Is Bob Holden namesake of Lutheranism ?
(Q75809,P138,Q4932817)
action is_in
entity Q4932817
action find
entity Q75809
relation P138
['Q75809', 'P138', 'Q4932817']
ASK WHERE { resource:Q75809 property:P138 resource:Q4932817 }
Lutheranism Bob Holden
action is_in
entity Bob Holden
action find
entity Lutheranism
relation named after
['Lutheranism', 'named after', 'Bob Holden']
ASK WHERE { resource:Lutheranism property:named_after resource:Bob_Holden }
[]
common name
SYSTEM
NO
(Q75809,P138,Q4932817)
action is_in
entity Q4932817
action find
entity Q75809
relation P138
[ANSWER]
['Q75809', 'P138', 'Q4932817']
ASK WHERE { resource:Q75809 property:P138 resource:Q4932817 }
No
action is_in
entity Bob Holden
action find
entity Lutheranism
relation named after
['Lutheranism', 'named after', 'Bob Holden']
ASK WHERE { resource:Lutheranism property:named_after resource:Bob_Holden }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2814 Q1289 Q12658282
P190
Q56061
USER
Is Halle (Saale) twin town of Grenoble and Juodiškė ?
(Q2814,P190,Q1289) (Q2814,P190,Q12658282)
action is_in
entity Q2814
action intersection
action find_reverse
entity Q1289
relation P190
action find_reverse
entity Q12658282
relation P190
['Q2814', 'P190', 'Q1289'] ['Q2814', 'P190', 'Q12658282']
ASK WHERE { resource:Q2814 property:P190 resource:Q1289 . resource:Q2814 property:P190 resource:Q12658282 }
Halle (Saale) Grenoble Juodiškė
action is_in
entity Halle (Saale)
action intersection
action find_reverse
entity Grenoble
relation sister city
action find_reverse
entity Juodiškė
relation sister city
['Halle (Saale)', 'sister city', 'Grenoble'] ['Halle (Saale)', 'sister city', 'Juodiškė']
ASK WHERE { resource:Halle_(Saale) property:sister_city resource:Grenoble . resource:Halle_(Saale) property:sister_city resource:Juodiškė }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q2814,P190,Q1289) (Q2814,P190,Q12658282)
action is_in
entity Q2814
action intersection
action find_reverse
entity Q1289
relation P190
action find_reverse
entity Q12658282
relation P190
[ANSWER]
['Q2814', 'P190', 'Q1289'] ['Q2814', 'P190', 'Q12658282']
ASK WHERE { resource:Q2814 property:P190 resource:Q1289 . resource:Q2814 property:P190 resource:Q12658282 }
YES and NO respectively
action is_in
entity Halle (Saale)
action intersection
action find_reverse
entity Grenoble
relation sister city
action find_reverse
entity Juodiškė
relation sister city
['Halle (Saale)', 'sister city', 'Grenoble'] ['Halle (Saale)', 'sister city', 'Juodiškė']
ASK WHERE { resource:Halle_(Saale) property:sister_city resource:Grenoble . resource:Halle_(Saale) property:sister_city resource:Juodiškė }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8062377 Q77495
P27
Q1048835
USER
Which political territories do Johann Joachim Lange or Yvette McLellan belong to ?
OR((Q77495,P27,c(Q1048835)), (Q8062377,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q77495
relation P27
action find
entity Q8062377
relation P27
type Q1048835
{'OR': [['Q77495', 'P27', {'concept': 'Q1048835'}], ['Q8062377', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?w ) { ( resource:Q8062377 ) ( resource:Q77495 ) } . ?w property:P27 ?h } . ?h rdf:type ontology:Q1048835 }
Yvette McLellan Johann Joachim Lange
action filter_type
action union
action find
entity Johann Joachim Lange
relation country of citizenship
action find
entity Yvette McLellan
relation country of citizenship
type political territorial entity
{'OR': [['Johann Joachim Lange', 'country of citizenship', {'concept': 'political territorial entity'}], ['Yvette McLellan', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?w ) { ( resource:Yvette_McLellan ) ( resource:Johann_Joachim_Lange ) } . ?w property:country_of_citizenship ?h } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q77495,P27,c(Q1048835)), (Q8062377,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q77495
relation P27
action find
entity Q8062377
relation P27
type Q1048835
Johann Joachim Lange or Yvette McLellan belong to both [ANSWERS]
{'OR': [['Q77495', 'P27', {'concept': 'Q1048835'}], ['Q8062377', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?w ) { ( resource:Q8062377 ) ( resource:Q77495 ) } . ?w property:P27 ?h } . ?h rdf:type ontology:Q1048835 }
Australia Germany
Johann Joachim Lange or Yvette McLellan belong to both Australia and Germany
Australia Germany
action filter_type
action union
action find
entity Johann Joachim Lange
relation country of citizenship
action find
entity Yvette McLellan
relation country of citizenship
type political territorial entity
{'OR': [['Johann Joachim Lange', 'country of citizenship', {'concept': 'political territorial entity'}], ['Yvette McLellan', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?w ) { ( resource:Yvette_McLellan ) ( resource:Johann_Joachim_Lange ) } . ?w property:country_of_citizenship ?h } . ?h rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1427
Q1048835 Q2912397
USER
Which political territories do more number of single-day races originate from than that political territory ?
(c(Q2912397),P1427,c(Q1048835))
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity single-day race
Comparative|More/Less|Single entity type|Clarification
Q408
SYSTEM
Did you mean Australia ?
(c(Q2912397),P1427,c(Q1048835))
[ANSWER]
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
Did you mean Australia ?
Australia
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q2912397),P1427,c(Q1048835))
Q183
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
[]
Q492420 Q672483
SYSTEM
Getxo, Ordizia
Q492420 Q672483
(c(Q2912397),P1427,c(Q1048835))
[ANSWERS] more number of single-day races originate from than that political territory
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
Getxo Ordizia
Getxo and Ordizia more number of single-day races originate from than that political territory
Getxo Ordizia
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q730
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with lesser number of political territories than Suriname ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q730
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?b < ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q730 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } }
Suriname
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Suriname
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?b < ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Suriname property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q730
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with lesser number of political territories than Suriname
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } GROUP BY ?h } . FILTER ( ?b < ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q730 property:P530 ?q . ?q rdf:type ontology:Q1048835 } } }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have diplomatic relations with lesser number of political territories than Suriname
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Suriname
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } GROUP BY ?h } . FILTER ( ?b < ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Suriname property:diplomatic_relation ?q . ?q rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q228
P530
Q15617994 Q1048835
USER
And what about Andorra?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q228
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q228 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?x ) }
Andorra
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Andorra
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Andorra property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?x ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q228
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q228 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?x ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Andorra
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Andorra property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q27
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with lesser number of administrative territories than Ireland ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q27
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?u ) WHERE { ?r property:P530 ?w . ?r rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Q27 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?l ) }
Ireland
action less
action find_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 Ireland
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 ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?u ) WHERE { ?r property:diplomatic_relation ?w . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Ireland property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q27
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with lesser number of administrative territories than Ireland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?u ) WHERE { ?r property:P530 ?w . ?r rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Q27 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?l ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia 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 Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Luxembourg have diplomatic associations with lesser number of administrative territories than Ireland
Netherlands Poland Luxembourg
action less
action find_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 Ireland
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 ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?u ) WHERE { ?r property:diplomatic_relation ?w . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { resource:Ireland property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q219
P530
Q15617994 Q15617994
USER
And how about Bulgaria?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?k ) WHERE { ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?p property:P530 ?h } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q219 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?o ) }
Bulgaria
action less
action find_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 Bulgaria
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?k ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?h } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Bulgaria property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q219
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?k ) WHERE { ?p rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 . ?p property:P530 ?h } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q219 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?o ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
action find_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 Bulgaria
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?h ) AS ?k ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?h } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Bulgaria property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?o ) }
[]