Simple Question (Direct)
Simple Question
Q591449
P39
Q12737077
USER
What were the positions held by Anton Lehemeir ?
(Q591449,P39,c(Q12737077))
action filter_type
action find
entity Q591449
relation P39
type Q12737077
['Q591449', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q591449 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Anton Lehemeir
action filter_type
action find
entity Anton Lehemeir
relation position held
type occupation
['Anton Lehemeir', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Anton_Lehemeir property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q30185 Q17854096
SYSTEM
mayor, member of the Reichstag of the German Empire
Q30185 Q17854096
(Q591449,P39,c(Q12737077))
action filter_type
action find
entity Q591449
relation P39
type Q12737077
The positions held by Anton Lehemeir were [ANSWERS]
['Q591449', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q591449 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
mayor member of the Reichstag of the German Empire
The positions held by Anton Lehemeir were mayor and member of the Reichstag of the German Empire
mayor member of the Reichstag of the German Empire
action filter_type
action find
entity Anton Lehemeir
relation position held
type occupation
['Anton Lehemeir', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Anton_Lehemeir property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q591449
P102
Q7210356
USER
Which party does that person belong to ?
(Q30185,P102,c(Q7210356)) (Q17854096,P102,c(Q7210356))
action filter_type
action find
entity Q591449
relation P102
type Q7210356
['Q30185', 'P102', {'concept': 'Q7210356'}] ['Q17854096', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q591449 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Anton Lehemeir
action filter_type
action find
entity Anton Lehemeir
relation member of political party
type political organization
['mayor', 'member of political party', {'concept': 'political organization'}] ['member of the Reichstag of the German Empire', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Anton_Lehemeir property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
political organization
Q157537
SYSTEM
Centre Party
Q157537
(Q30185,P102,c(Q7210356)) (Q17854096,P102,c(Q7210356))
action filter_type
action find
entity Q591449
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q30185', 'P102', {'concept': 'Q7210356'}] ['Q17854096', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?t WHERE { resource:Q591449 property:P102 ?t . ?t rdf:type ontology:Q7210356 }
Centre Party
That person belongs to Centre Party
Centre Party
action filter_type
action find
entity Anton Lehemeir
relation member of political party
type political organization
['mayor', 'member of political party', {'concept': 'political organization'}] ['member of the Reichstag of the German Empire', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?t WHERE { resource:Anton_Lehemeir property:member_of_political_party ?t . ?t rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q100615 Q591449
P102
Q7210356
USER
Or Yvonne Ploetz?
OR((Q591449,P102,c(Q7210356)), (Q100615,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q591449
relation P102
action find
entity Q100615
relation P102
type Q7210356
{'OR': [['Q591449', 'P102', {'concept': 'Q7210356'}], ['Q100615', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Q591449 ) ( resource:Q100615 ) } . ?p property:P102 ?f } . ?f rdf:type ontology:Q7210356 }
Yvonne Ploetz Anton Lehemeir
action filter_type
action union
action find
entity Anton Lehemeir
relation member of political party
action find
entity Yvonne Ploetz
relation member of political party
type political organization
{'OR': [['Anton Lehemeir', 'member of political party', {'concept': 'political organization'}], ['Yvonne Ploetz', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Anton_Lehemeir ) ( resource:Yvonne_Ploetz ) } . ?p property:member_of_political_party ?f } . ?f rdf:type ontology:political_organization }
[]
political organization
Q152554 Q157537 Q49764
SYSTEM
The Left Party.PDS, Centre Party, The Left
Q152554 Q157537 Q49764
OR((Q591449,P102,c(Q7210356)), (Q100615,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q591449
relation P102
action find
entity Q100615
relation P102
type Q7210356
[ANSWERS]
{'OR': [['Q591449', 'P102', {'concept': 'Q7210356'}], ['Q100615', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Q591449 ) ( resource:Q100615 ) } . ?p property:P102 ?f } . ?f rdf:type ontology:Q7210356 }
The Left Party.PDS Centre Party The Left
The Left Party.PDS Centre Party The Left
action filter_type
action union
action find
entity Anton Lehemeir
relation member of political party
action find
entity Yvonne Ploetz
relation member of political party
type political organization
{'OR': [['Anton Lehemeir', 'member of political party', {'concept': 'political organization'}], ['Yvonne Ploetz', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?p ) { ( resource:Anton_Lehemeir ) ( resource:Yvonne_Ploetz ) } . ?p property:member_of_political_party ?f } . ?f rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q121391 Q591449
P27
Q1048835
USER
Which political territories do Anton Lehemeir and Eckhard Meinrenken belong to ?
AND((Q591449,P27,c(Q1048835)), (Q121391,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q591449
relation P27
action find
entity Q121391
relation P27
type Q1048835
{'AND': [['Q591449', 'P27', {'concept': 'Q1048835'}], ['Q121391', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q591449 property:P27 ?r . resource:Q121391 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Eckhard Meinrenken Anton Lehemeir
action filter_type
action intersection
action find
entity Anton Lehemeir
relation country of citizenship
action find
entity Eckhard Meinrenken
relation country of citizenship
type political territorial entity
{'AND': [['Anton Lehemeir', 'country of citizenship', {'concept': 'political territorial entity'}], ['Eckhard Meinrenken', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Anton_Lehemeir property:country_of_citizenship ?r . resource:Eckhard_Meinrenken property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q591449,P27,c(Q1048835)), (Q121391,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q591449
relation P27
action find
entity Q121391
relation P27
type Q1048835
Anton Lehemeir and Eckhard Meinrenken belong to Nazi [ANSWER]
{'AND': [['Q591449', 'P27', {'concept': 'Q1048835'}], ['Q121391', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q591449 property:P27 ?r . resource:Q121391 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Anton Lehemeir and Eckhard Meinrenken belong to Nazi Germany
Germany
action filter_type
action intersection
action find
entity Anton Lehemeir
relation country of citizenship
action find
entity Eckhard Meinrenken
relation country of citizenship
type political territorial entity
{'AND': [['Anton Lehemeir', 'country of citizenship', {'concept': 'political territorial entity'}], ['Eckhard Meinrenken', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Anton_Lehemeir property:country_of_citizenship ?r . resource:Eckhard_Meinrenken property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q1116326
P27
Q502895
USER
Is Phil Räbiger a civilian of that political territory ?
(Q1116326,P27,Q183)
action is_in
entity Q183
action find
entity Q1116326
relation P27
['Q1116326', 'P27', 'Q183']
ASK WHERE { resource:Q1116326 property:P27 resource:Q183 }
Germany Phil Räbiger
action is_in
entity Germany
action find
entity Phil Räbiger
relation country of citizenship
['Phil Räbiger', 'country of citizenship', 'Germany']
ASK WHERE { resource:Phil_Räbiger property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q1116326,P27,Q183)
action is_in
entity Q183
action find
entity Q1116326
relation P27
[ANSWER]
['Q1116326', 'P27', 'Q183']
ASK WHERE { resource:Q1116326 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Phil Räbiger
relation country of citizenship
['Phil Räbiger', 'country of citizenship', 'Germany']
ASK WHERE { resource:Phil_Räbiger property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2896692 Q183
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany or are Bensalem Smili an inhabitant of ?
OR((Q183,P530,c(Q15617994)), (Q2896692,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q2896692
relation P27
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q2896692', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q183 property:P530 ?o } UNION { resource:Q2896692 property:P27 ?o } } }
Bensalem Smili Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Bensalem Smili
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Bensalem Smili', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Germany property:diplomatic_relation ?o } UNION { resource:Bensalem_Smili property:country_of_citizenship ?o } } }
[]
designation for an administrative territorial entity
Q232 Q423 Q39 Q971 Q298 Q794 Q739 Q711 Q783 Q974
SYSTEM
Some of them are Kazakhstan, North Korea, Switzerland, Republic of the Congo, Chile, Iran, Colombia, Mongolia, Honduras, Democratic Republic of the Congo
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q2896692,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q2896692
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany or are Bensalem Smili an inhabitant of
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q2896692', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . { { resource:Q183 property:P530 ?o } UNION { resource:Q2896692 property:P27 ?o } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Kazakhstan, North Korea, Switzerland, Republic of the Congo, Chile, Iran, Colombia, Mongolia, Honduras and Democratic Republic of the Congo have a diplomatic relationship with Germany or are Bensalem Smili an inhabitant of
Kazakhstan North Korea Switzerland Republic of the Congo Chile Iran Colombia Mongolia Honduras Democratic Republic of the Congo
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Bensalem Smili
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Bensalem Smili', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Germany property:diplomatic_relation ?o } UNION { resource:Bensalem_Smili property:country_of_citizenship ?o } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic associations with those administrative territories ?
(Q183,P530,Q232) (Q183,P530,Q423) (Q183,P530,Q39) (Q183,P530,Q971) (Q183,P530,Q298) (Q183,P530,Q794) (Q183,P530,Q739) (Q183,P530,Q711) (Q183,P530,Q783) (Q183,P530,Q974)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q232'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q39'] ['Q183', 'P530', 'Q971'] ['Q183', 'P530', 'Q298'] ['Q183', 'P530', 'Q794'] ['Q183', 'P530', 'Q739'] ['Q183', 'P530', 'Q711'] ['Q183', 'P530', 'Q783'] ['Q183', 'P530', 'Q974']
ASK WHERE { resource:Q183 property:P530 ?a . VALUES ( ?a ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Kazakhstan'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'Switzerland'] ['Germany', 'diplomatic relation', 'Republic of the Congo'] ['Germany', 'diplomatic relation', 'Chile'] ['Germany', 'diplomatic relation', 'Iran'] ['Germany', 'diplomatic relation', 'Colombia'] ['Germany', 'diplomatic relation', 'Mongolia'] ['Germany', 'diplomatic relation', 'Honduras'] ['Germany', 'diplomatic relation', 'Democratic Republic of the Congo']
ASK WHERE { resource:Germany property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q232) (Q183,P530,Q423) (Q183,P530,Q39) (Q183,P530,Q971) (Q183,P530,Q298) (Q183,P530,Q794) (Q183,P530,Q739) (Q183,P530,Q711) (Q183,P530,Q783) (Q183,P530,Q974)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q232'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q39'] ['Q183', 'P530', 'Q971'] ['Q183', 'P530', 'Q298'] ['Q183', 'P530', 'Q794'] ['Q183', 'P530', 'Q739'] ['Q183', 'P530', 'Q711'] ['Q183', 'P530', 'Q783'] ['Q183', 'P530', 'Q974']
ASK WHERE { resource:Q183 property:P530 ?a . VALUES ( ?a ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Kazakhstan'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'Switzerland'] ['Germany', 'diplomatic relation', 'Republic of the Congo'] ['Germany', 'diplomatic relation', 'Chile'] ['Germany', 'diplomatic relation', 'Iran'] ['Germany', 'diplomatic relation', 'Colombia'] ['Germany', 'diplomatic relation', 'Mongolia'] ['Germany', 'diplomatic relation', 'Honduras'] ['Germany', 'diplomatic relation', 'Democratic Republic of the Congo']
ASK WHERE { resource:Germany property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q39 Q265707
P17
Q15617994
USER
Is Switzerland present in Iffeldorf ?
(Q39,P17,Q265707)
action is_in
entity Q265707
action find
entity Q39
relation P17
['Q39', 'P17', 'Q265707']
ASK WHERE { resource:Q39 property:P17 resource:Q265707 }
Switzerland Iffeldorf
action is_in
entity Iffeldorf
action find
entity Switzerland
relation country
['Switzerland', 'country', 'Iffeldorf']
ASK WHERE { resource:Switzerland property:country resource:Iffeldorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q39,P17,Q265707)
action is_in
entity Q265707
action find
entity Q39
relation P17
[ANSWER]
['Q39', 'P17', 'Q265707']
ASK WHERE { resource:Q39 property:P17 resource:Q265707 }
No
action is_in
entity Iffeldorf
action find
entity Switzerland
relation country
['Switzerland', 'country', 'Iffeldorf']
ASK WHERE { resource:Switzerland property:country resource:Iffeldorf }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1007
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with less number of administrative territories than Guinea-Bissau ?
(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 Q1007
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?i ) WHERE { ?r property:P530 ?n . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Q1007 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?c ) }
Guinea-Bissau
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 Guinea-Bissau
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 ( ?n ) AS ?i ) WHERE { ?r property:diplomatic_relation ?n . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Guinea-Bissau property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 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 Q1007
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with less number of administrative territories than Guinea-Bissau
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?i ) WHERE { ?r property:P530 ?n . ?r rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Q1007 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?c ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relations with less number of administrative territories than Guinea-Bissau
Central African Republic Kingdom of the Netherlands Kazakhstan
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 Guinea-Bissau
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 ( ?n ) AS ?i ) WHERE { ?r property:diplomatic_relation ?n . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { resource:Guinea-Bissau property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q115
P530
Q15617994 Q15617994
USER
And how about Ethiopia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q115
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P530 resource:Q115 . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?i ) }
Ethiopia
action less
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_reverse
entity Ethiopia
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:diplomatic_relation resource:Ethiopia . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q115
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P530 resource:Q115 . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?i ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan 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 Madagascar Togo Tonga New Caledonia Thailand
Georgia Netherlands Belarus
action less
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_reverse
entity Ethiopia
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 ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:diplomatic_relation resource:Ethiopia . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?i ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q55 Q184
P17
Q874405
USER
Which social groups are present in Georgia, Netherlands and Belarus ?
(c(Q874405),P17,Q230) (c(Q874405),P17,Q55) (c(Q874405),P17,Q184)
action union
action filter_type
action find_reverse
entity Q230
relation P17
type Q874405
action filter_type
action find_reverse
entity Q55
relation P17
type Q874405
action filter_type
action find_reverse
entity Q184
relation P17
type Q874405
[{'concept': 'Q874405'}, 'P17', 'Q230'] [{'concept': 'Q874405'}, 'P17', 'Q55'] [{'concept': 'Q874405'}, 'P17', 'Q184']
SELECT DISTINCT ?d WHERE { { ?d property:P17 resource:Q230 . ?d rdf:type ontology:Q874405 } UNION { ?d property:P17 resource:Q55 . ?d rdf:type ontology:Q874405 } }
Georgia Netherlands Belarus
action union
action filter_type
action find_reverse
entity Georgia
relation country
type social group
action filter_type
action find_reverse
entity Netherlands
relation country
type social group
action filter_type
action find_reverse
entity Belarus
relation country
type social group
[{'concept': 'social group'}, 'country', 'Georgia'] [{'concept': 'social group'}, 'country', 'Netherlands'] [{'concept': 'social group'}, 'country', 'Belarus']
SELECT DISTINCT ?d WHERE { { ?d property:country resource:Georgia . ?d rdf:type ontology:social_group } UNION { ?d property:country resource:Netherlands . ?d rdf:type ontology:social_group } }
[]
social group
Q22137382 Q22807016 Q1897576
SYSTEM
Certification Centre for ACT & FACT, VSBfonds, VHOK
Q25540463 Q14740334 Q15725879 Q2525480 Q2066737 Q2279061 Q18635333 Q2117140 Q2803129 Q2059185 Q20651325 Q20651323 Q2553736 Q1848273 Q22137382 Q19520762 Q22695398 Q1987232 Q2662371 Q2391154 Q1910702 Q1504968 Q28261 Q20366048 Q2603373 Q22807016 Q19845736 Q2357614 Q1973991 Q2197381 Q4450156 Q1897576 Q21015633 Q2406409 Q21866858 Q10536235 Q2151535 Q2357081 Q743300 Q1903970 Q19376109 Q2840190 Q2588412 Q2785684 Q2066202 Q2059384 Q1899448 Q1808041 Q2070406 Q3917324 Q2413280 Q4503981 Q13771521 Q14340731 Q1199926 Q4134783 Q3919420
(c(Q874405),P17,Q230) (c(Q874405),P17,Q55) (c(Q874405),P17,Q184)
action union
action filter_type
action find_reverse
entity Q230
relation P17
type Q874405
action filter_type
action find_reverse
entity Q55
relation P17
type Q874405
action filter_type
action find_reverse
entity Q184
relation P17
type Q874405
[ANSWERS] are present in Georgia, Netherlands and Belarus
[{'concept': 'Q874405'}, 'P17', 'Q230'] [{'concept': 'Q874405'}, 'P17', 'Q55'] [{'concept': 'Q874405'}, 'P17', 'Q184']
SELECT DISTINCT ?d WHERE { { ?d property:P17 resource:Q230 . ?d rdf:type ontology:Q874405 } UNION { ?d property:P17 resource:Q55 . ?d rdf:type ontology:Q874405 } }
Writers Union of Georgia Staatscommissie Dutch Lenten Campaign Foundation Maatschappij tot Nut van 't Algemeen Netherlands Institute for Cultural Heritage Nederlands Instituut voor Zorg en Welzijn Royal Dutch Antiquarian Society Dutch Society for the Protection of Animals Association of Netherlands Municipalities Royal Dutch Transport Federation Nederlandse Raad der Europese Beweging Oecumenische Vereeniging in Nederland Kennisnet Jong Nederland Certification Centre for ACT & FACT Zaaijer family Lentis Flevolandschap Edmund Burke Foundation Birdlife Netherlands Benelux Office for Intellectual Property Réseaux IP Européens Network Coordination Centre Frisian council Amsterdam Fund for the Arts Reformed Comprehensive School Randstad VSBfonds Vrije Universiteit, Faculty of Sciences, division of Math. and Computer Science Esperanto Netherlands Dutch Zoo Federation Fryske Rie foar Heraldyk Royal Dutch Plant Protection Association VHOK Arbeid Adelt Leiden University Medical Center Phrenos International Guild of Professional Butlers CS-6 Tactus Vereniging tegen de Kwakzalverij Nationaal Bureau voor Vrouwenarbeid Society instituted at Amsterdam in favour of Drowned Persons ZLTO KWF Kankerbestrijding Dutch Equal Treatment Commission Royal Netherlands Chemical Society Stichting Skepsis Cordaid Gemeente Vervoerbedrijf Three Sisters World Association of Belarusians Belarusian Association of Journalists Foreign Policy and Security Research Center Smart Networks Belaya Rus Miss Belarus Gaybelarus.by Belarusian Association of Military People
Certification Centre for ACT & FACT, VSBfonds and VHOK are present in Georgia, Netherlands and Belarus
Certification Centre for ACT & FACT VSBfonds VHOK
action union
action filter_type
action find_reverse
entity Georgia
relation country
type social group
action filter_type
action find_reverse
entity Netherlands
relation country
type social group
action filter_type
action find_reverse
entity Belarus
relation country
type social group
[{'concept': 'social group'}, 'country', 'Georgia'] [{'concept': 'social group'}, 'country', 'Netherlands'] [{'concept': 'social group'}, 'country', 'Belarus']
SELECT DISTINCT ?d WHERE { { ?d property:country resource:Georgia . ?d rdf:type ontology:social_group } UNION { ?d property:country resource:Netherlands . ?d rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22137382 Q22807016 Q1897576
P17
Q15617994
USER
Which administrative territories are Certification Centre for ACT & FACT, VSBfonds and VHOK a part of ?
(Q22137382,P17,c(Q15617994)) (Q22807016,P17,c(Q15617994)) (Q1897576,P17,c(Q15617994))
action union
action filter_type
action find
entity Q22137382
relation P17
type Q15617994
action filter_type
action find
entity Q22807016
relation P17
type Q15617994
action filter_type
action find
entity Q1897576
relation P17
type Q15617994
['Q22137382', 'P17', {'concept': 'Q15617994'}] ['Q22807016', 'P17', {'concept': 'Q15617994'}] ['Q1897576', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { resource:Q22137382 property:P17 ?g . ?g rdf:type ontology:Q15617994 } UNION { resource:Q22807016 property:P17 ?g . ?g rdf:type ontology:Q15617994 } }
Certification Centre for ACT & FACT VSBfonds VHOK
action union
action filter_type
action find
entity Certification Centre for ACT & FACT
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity VSBfonds
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity VHOK
relation country
type designation for an administrative territorial entity
['Certification Centre for ACT & FACT', 'country', {'concept': 'designation for an administrative territorial entity'}] ['VSBfonds', 'country', {'concept': 'designation for an administrative territorial entity'}] ['VHOK', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Certification_Centre_for_ACT_&_FACT property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:VSBfonds property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q55 Q55 Q55
SYSTEM
Netherlands
Q55 Q55 Q55
(Q22137382,P17,c(Q15617994)) (Q22807016,P17,c(Q15617994)) (Q1897576,P17,c(Q15617994))
action union
action filter_type
action find
entity Q22137382
relation P17
type Q15617994
action filter_type
action find
entity Q22807016
relation P17
type Q15617994
action filter_type
action find
entity Q1897576
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Certification Centre for ACT & FACT, VSBfonds and VHOK a part of
['Q22137382', 'P17', {'concept': 'Q15617994'}] ['Q22807016', 'P17', {'concept': 'Q15617994'}] ['Q1897576', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { resource:Q22137382 property:P17 ?g . ?g rdf:type ontology:Q15617994 } UNION { resource:Q22807016 property:P17 ?g . ?g rdf:type ontology:Q15617994 } }
Netherlands Netherlands Netherlands
Netherlands, Netherlands and Netherlands are Certification Centre for ACT & FACT, VSBfonds and VHOK a part of
Netherlands Netherlands Netherlands
action union
action filter_type
action find
entity Certification Centre for ACT & FACT
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity VSBfonds
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity VHOK
relation country
type designation for an administrative territorial entity
['Certification Centre for ACT & FACT', 'country', {'concept': 'designation for an administrative territorial entity'}] ['VSBfonds', 'country', {'concept': 'designation for an administrative territorial entity'}] ['VHOK', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { resource:Certification_Centre_for_ACT_&_FACT property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:VSBfonds property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]