Simple Question (Direct)
Simple Question
Q818108
P106
Q12737077
USER
What are the professions of Benoît Daeninck ?
(Q818108,P106,c(Q12737077))
action filter_type
action find
entity Q818108
relation P106
type Q12737077
['Q818108', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q818108 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Benoît Daeninck
action filter_type
action find
entity Benoît Daeninck
relation occupation
type occupation
['Benoît Daeninck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Benoît_Daeninck property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q2309784 Q15117395
SYSTEM
sport cyclist, track cyclist
Q2309784 Q15117395
(Q818108,P106,c(Q12737077))
action filter_type
action find
entity Q818108
relation P106
type Q12737077
The professions of Benoît Daeninck are a [ANSWERS]
['Q818108', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q818108 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
sport cyclist track cyclist
The professions of Benoît Daeninck are a sport cyclist and track cyclist
sport cyclist track cyclist
action filter_type
action find
entity Benoît Daeninck
relation occupation
type occupation
['Benoît Daeninck', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Benoît_Daeninck property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q818108
P27
Q15617994
USER
Which administrative territory does Benoît Daeninck belong to ?
(Q818108,P27,c(Q15617994))
action filter_type
action find
entity Q818108
relation P27
type Q15617994
['Q818108', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q818108 property:P27 ?f }
Benoît Daeninck
action filter_type
action find
entity Benoît Daeninck
relation country of citizenship
type designation for an administrative territorial entity
['Benoît Daeninck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benoît_Daeninck property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q818108,P27,c(Q15617994))
action filter_type
action find
entity Q818108
relation P27
type Q15617994
Benoît Daeninck belongs to [ANSWER]
['Q818108', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q818108 property:P27 ?f }
France
Benoît Daeninck belongs to France
France
action filter_type
action find
entity Benoît Daeninck
relation country of citizenship
type designation for an administrative territorial entity
['Benoît Daeninck', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benoît_Daeninck property:country_of_citizenship ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q183 Q13116
P47
Q1048835
USER
Does France share border with Germany and Benelux ?
(Q142,P47,Q183) (Q142,P47,Q13116)
action is_in
entity Q142
action intersection
action find_reverse
entity Q183
relation P47
action find_reverse
entity Q13116
relation P47
['Q142', 'P47', 'Q183'] ['Q142', 'P47', 'Q13116']
ASK WHERE { resource:Q142 property:P47 resource:Q183 . resource:Q142 property:P47 resource:Q13116 }
France Germany Benelux
action is_in
entity France
action intersection
action find_reverse
entity Germany
relation shares border with
action find_reverse
entity Benelux
relation shares border with
['France', 'shares border with', 'Germany'] ['France', 'shares border with', 'Benelux']
ASK WHERE { resource:France property:shares_border_with resource:Germany . resource:France property:shares_border_with resource:Benelux }
[]
political territorial entity
SYSTEM
YES
(Q142,P47,Q183) (Q142,P47,Q13116)
action is_in
entity Q142
action intersection
action find_reverse
entity Q183
relation P47
action find_reverse
entity Q13116
relation P47
[ANSWER]
['Q142', 'P47', 'Q183'] ['Q142', 'P47', 'Q13116']
ASK WHERE { resource:Q142 property:P47 resource:Q183 . resource:Q142 property:P47 resource:Q13116 }
Yes
action is_in
entity France
action intersection
action find_reverse
entity Germany
relation shares border with
action find_reverse
entity Benelux
relation shares border with
['France', 'shares border with', 'Germany'] ['France', 'shares border with', 'Benelux']
ASK WHERE { resource:France property:shares_border_with resource:Germany . resource:France property:shares_border_with resource:Benelux }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q114 Q183
P530
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany but not Kenya ?
AND((Q183,P530,c(Q15617994)), NOT((Q114,P530,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q114
relation P530
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q114', 'P530', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Q183 property:P530 ?k . MINUS { resource:Q114 property:P530 ?k } . ?k rdf:type ontology:Q15617994 }
Kenya Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Germany property:diplomatic_relation ?k . MINUS { resource:Kenya property:diplomatic_relation ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q711 Q889 Q929 Q32 Q736 Q423 Q945 Q917 Q974 Q232
SYSTEM
Some of them are Mongolia, Afghanistan, Central African Republic, Luxembourg, Ecuador, North Korea, Togo, Bhutan, Democratic Republic of the Congo, Kazakhstan
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q986 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q36 Q34 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1008 Q1032 Q965 Q967 Q962 Q963 Q298 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q77 Q878 Q774 Q948 Q810 Q1019 Q1011 Q945 Q869
AND((Q183,P530,c(Q15617994)), NOT((Q114,P530,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q114
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with Germany but not Kenya
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q114', 'P530', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Q183 property:P530 ?k . MINUS { resource:Q114 property:P530 ?k } . ?k rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Eritrea Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Poland Sweden Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Côte d'Ivoire Niger Burkina Faso Burundi Benin Botswana Chile Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Cape Verde Togo Thailand
Mongolia, Afghanistan, Central African Republic, Luxembourg, Ecuador, North Korea, Togo, Bhutan, Democratic Republic of the Congo and Kazakhstan have diplomatic relationships with Germany but not Kenya
Mongolia Afghanistan Central African Republic Luxembourg Ecuador North Korea Togo Bhutan Democratic Republic of the Congo Kazakhstan
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Germany property:diplomatic_relation ?k . MINUS { resource:Kenya property:diplomatic_relation ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q711) (Q183,P530,Q889) (Q183,P530,Q929) (Q183,P530,Q32) (Q183,P530,Q736) (Q183,P530,Q423) (Q183,P530,Q945) (Q183,P530,Q917) (Q183,P530,Q974) (Q183,P530,Q232)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q711'] ['Q183', 'P530', 'Q889'] ['Q183', 'P530', 'Q929'] ['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q736'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q945'] ['Q183', 'P530', 'Q917'] ['Q183', 'P530', 'Q974'] ['Q183', 'P530', 'Q232']
ASK WHERE { VALUES ( ?k ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?k }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Mongolia'] ['Germany', 'diplomatic relation', 'Afghanistan'] ['Germany', 'diplomatic relation', 'Central African Republic'] ['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Ecuador'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'Togo'] ['Germany', 'diplomatic relation', 'Bhutan'] ['Germany', 'diplomatic relation', 'Democratic Republic of the Congo'] ['Germany', 'diplomatic relation', 'Kazakhstan']
ASK WHERE { VALUES ( ?k ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?k }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q711) (Q183,P530,Q889) (Q183,P530,Q929) (Q183,P530,Q32) (Q183,P530,Q736) (Q183,P530,Q423) (Q183,P530,Q945) (Q183,P530,Q917) (Q183,P530,Q974) (Q183,P530,Q232)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q711'] ['Q183', 'P530', 'Q889'] ['Q183', 'P530', 'Q929'] ['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q736'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q945'] ['Q183', 'P530', 'Q917'] ['Q183', 'P530', 'Q974'] ['Q183', 'P530', 'Q232']
ASK WHERE { VALUES ( ?k ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?k }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Mongolia'] ['Germany', 'diplomatic relation', 'Afghanistan'] ['Germany', 'diplomatic relation', 'Central African Republic'] ['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Ecuador'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'Togo'] ['Germany', 'diplomatic relation', 'Bhutan'] ['Germany', 'diplomatic relation', 'Democratic Republic of the Congo'] ['Germany', 'diplomatic relation', 'Kazakhstan']
ASK WHERE { VALUES ( ?k ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q818108 Q724462 Q203285
P19
Q20667921
USER
Does Benoît Daeninck have location of birth at Brocourt-en-Argonne and Provins ?
(Q818108,P19,Q724462) (Q818108,P19,Q203285)
action is_in
entity Q818108
action intersection
action find_reverse
entity Q724462
relation P19
action find_reverse
entity Q203285
relation P19
['Q818108', 'P19', 'Q724462'] ['Q818108', 'P19', 'Q203285']
ASK WHERE { resource:Q818108 property:P19 resource:Q724462 . resource:Q818108 property:P19 resource:Q203285 }
Benoît Daeninck Brocourt-en-Argonne Provins
action is_in
entity Benoît Daeninck
action intersection
action find_reverse
entity Brocourt-en-Argonne
relation place of birth
action find_reverse
entity Provins
relation place of birth
['Benoît Daeninck', 'place of birth', 'Brocourt-en-Argonne'] ['Benoît Daeninck', 'place of birth', 'Provins']
ASK WHERE { resource:Benoît_Daeninck property:place_of_birth resource:Brocourt-en-Argonne . resource:Benoît_Daeninck property:place_of_birth resource:Provins }
[]
type of french administrative division
SYSTEM
NO and YES respectively
(Q818108,P19,Q724462) (Q818108,P19,Q203285)
action is_in
entity Q818108
action intersection
action find_reverse
entity Q724462
relation P19
action find_reverse
entity Q203285
relation P19
[ANSWER]
['Q818108', 'P19', 'Q724462'] ['Q818108', 'P19', 'Q203285']
ASK WHERE { resource:Q818108 property:P19 resource:Q724462 . resource:Q818108 property:P19 resource:Q203285 }
NO and YES respectively
action is_in
entity Benoît Daeninck
action intersection
action find_reverse
entity Brocourt-en-Argonne
relation place of birth
action find_reverse
entity Provins
relation place of birth
['Benoît Daeninck', 'place of birth', 'Brocourt-en-Argonne'] ['Benoît Daeninck', 'place of birth', 'Provins']
ASK WHERE { resource:Benoît_Daeninck property:place_of_birth resource:Brocourt-en-Argonne . resource:Benoît_Daeninck property:place_of_birth resource:Provins }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q33
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of administrative territories as Finland ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?l ) WHERE { ?a property:P530 ?c . ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q33 property:P530 ?x } } . FILTER ( ?l = ?p ) }
Finland
action approx
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 Finland
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?l ) WHERE { ?a property:diplomatic_relation ?c . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Finland property:diplomatic_relation ?x } } . FILTER ( ?l = ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 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 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of administrative territories as Finland
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?l ) WHERE { ?a property:P530 ?c . ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q33 property:P530 ?x } } . FILTER ( ?l = ?p ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey 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 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with around the same number of administrative territories as Finland
Netherlands Poland People's Republic of China
action approx
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 Finland
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?l ) WHERE { ?a property:diplomatic_relation ?c . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Finland property:diplomatic_relation ?x } } . FILTER ( ?l = ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q786
P530
Q15617994 Q15617994
USER
And how about Dominican Republic?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q786
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:P530 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q786 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?s ) }
Dominican Republic
action approx
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 Dominican Republic
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 { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 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 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 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 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q786
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:P530 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q786 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?s ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey 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 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
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 Dominican Republic
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 { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?e ) WHERE { ?n property:diplomatic_relation ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Dominican_Republic property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?s ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q55) (Q408,P530,Q36) (Q408,P530,Q148)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q36'] ['Q408', 'P530', 'Q148']
ASK WHERE { resource:Q408 property:P530 ?t . VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'Poland'] ['Australia', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Australia property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q55) (Q408,P530,Q36) (Q408,P530,Q148)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q36'] ['Q408', 'P530', 'Q148']
ASK WHERE { resource:Q408 property:P530 ?t . VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', 'Poland'] ['Australia', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Australia property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P1071
Q838948
USER
Which work of art has Luxembourg as its finally place of assembly ?
(c(Q838948),P1071,Q32)
action filter_type
action find_reverse
entity Q32
relation P1071
type Q838948
[{'concept': 'Q838948'}, 'P1071', 'Q32']
SELECT DISTINCT ?l WHERE { ?l property:P1071 resource:Q32 . ?l rdf:type ontology:Q838948 }
Luxembourg
action filter_type
action find_reverse
entity Luxembourg
relation location of final assembly
type work of art
[{'concept': 'work of art'}, 'location of final assembly', 'Luxembourg']
SELECT DISTINCT ?l WHERE { ?l property:location_of_final_assembly resource:Luxembourg . ?l rdf:type ontology:work_of_art }
[]
work of art
Q13105422
SYSTEM
When the Music's Over
Q13105422
(c(Q838948),P1071,Q32)
action filter_type
action find_reverse
entity Q32
relation P1071
type Q838948
[ANSWER] has Luxembourg as its finally place of assembly
[{'concept': 'Q838948'}, 'P1071', 'Q32']
SELECT DISTINCT ?l WHERE { ?l property:P1071 resource:Q32 . ?l rdf:type ontology:Q838948 }
When the Music's Over
When the Music's Over has Luxembourg as its finally place of assembly
When the Music's Over
action filter_type
action find_reverse
entity Luxembourg
relation location of final assembly
type work of art
[{'concept': 'work of art'}, 'location of final assembly', 'Luxembourg']
SELECT DISTINCT ?l WHERE { ?l property:location_of_final_assembly resource:Luxembourg . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q32
P463
Q484652
USER
Which international organizations were Luxembourg a member of ?
(Q32,P463,c(Q484652))
action filter_type
action find
entity Q32
relation P463
type Q484652
['Q32', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { resource:Q32 property:P463 ?y . ?y rdf:type ontology:Q484652 }
Luxembourg
action filter_type
action find
entity Luxembourg
relation member of
type international organization
['Luxembourg', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { resource:Luxembourg property:member_of ?y . ?y rdf:type ontology:international_organization }
[]
international organization
Q81299 Q42262 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, European Space Agency, United Nations
Q81299 Q1065 Q188822 Q7184 Q42262 Q1043527
(Q32,P463,c(Q484652))
action filter_type
action find
entity Q32
relation P463
type Q484652
[ANSWERS]
['Q32', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { resource:Q32 property:P463 ?y . ?y rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
Which international organizations were Luxembourg a member of
Organization for Security and Co-operation in Europe European Space Agency United Nations
action filter_type
action find
entity Luxembourg
relation member of
type international organization
['Luxembourg', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { resource:Luxembourg property:member_of ?y . ?y rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3876251
Q484652
USER
And how about Nicola Lapenta?
(Q3876251,P463,c(Q484652))
action filter_type
action find
entity Q3876251
relation P463
type Q484652
['Q3876251', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { resource:Q3876251 property:P463 ?y . ?y rdf:type ontology:Q484652 }
Nicola Lapenta
action filter_type
action find
entity Nicola Lapenta
relation member of
type international organization
['Nicola Lapenta', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { resource:Nicola_Lapenta property:member_of ?y . ?y rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q3876251,P463,c(Q484652))
action filter_type
action find
entity Q3876251
relation P463
type Q484652
[ANSWER]
['Q3876251', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?y WHERE { resource:Q3876251 property:P463 ?y . ?y rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Nicola Lapenta
relation member of
type international organization
['Nicola Lapenta', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?y WHERE { resource:Nicola_Lapenta property:member_of ?y . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q838948 Q166142
USER
How many administrative territories are exactly 5 works of art or applications set in ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 5
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q166142 . ?v property:P840 ?r } UNION { ?v property:P840 ?r . ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q838948 } } GROUP BY ?r } }
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 5
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:application . ?v property:narrative_location ?r } UNION { ?v property:narrative_location ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:work_of_art } } GROUP BY ?r } }
[]
designation for an administrative territorial entity work of art application
SYSTEM
2
Q189 Q796
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 5
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q166142 . ?v property:P840 ?r } UNION { ?v property:P840 ?r . ?r rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q838948 } } GROUP BY ?r } }
Iceland Iraq
2
action count
action equal
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 5
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { FILTER ( ?p = 5 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?r WHERE { { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:application . ?v property:narrative_location ?r } UNION { ?v property:narrative_location ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:work_of_art } } GROUP BY ?r } }
[]