Simple Question (Direct)
Simple Question
Q5724018
P21
Q290
USER
Which sex does Henry Johnson possess ?
(Q5724018,P21,c(Q290))
action filter_type
action find
entity Q5724018
relation P21
type Q290
['Q5724018', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q5724018 property:P21 ?k . ?k rdf:type ontology:Q290 }
Henry Johnson
action filter_type
action find
entity Henry Johnson
relation gender
type sex
['Henry Johnson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Henry_Johnson property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5724018,P21,c(Q290))
action filter_type
action find
entity Q5724018
relation P21
type Q290
Henry Johnson possesses a [ANSWER]
['Q5724018', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q5724018 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Henry Johnson possesses a male
male
action filter_type
action find
entity Henry Johnson
relation gender
type sex
['Henry Johnson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Henry_Johnson property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5724018
P102
Q7210356
USER
Which party does Henry Johnson belong to ?
(Q5724018,P102,c(Q7210356))
action filter_type
action find
entity Q5724018
relation P102
type Q7210356
['Q5724018', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . resource:Q5724018 property:P102 ?e }
Henry Johnson
action filter_type
action find
entity Henry Johnson
relation member of political party
type political organization
['Henry Johnson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . resource:Henry_Johnson property:member_of_political_party ?e }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q5724018,P102,c(Q7210356))
action filter_type
action find
entity Q5724018
relation P102
type Q7210356
Henry Johnson belongs to [ANSWER]
['Q5724018', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . resource:Q5724018 property:P102 ?e }
Republican Party
Henry Johnson belongs to Republican Party
Republican Party
action filter_type
action find
entity Henry Johnson
relation member of political party
type political organization
['Henry Johnson', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . resource:Henry_Johnson property:member_of_political_party ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5724018
P19
Q1048835
USER
Which political territory is the place of birth of Henry Johnson ?
(Q5724018,P19,c(Q1048835))
action filter_type
action find
entity Q5724018
relation P19
type Q1048835
['Q5724018', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q5724018 property:P19 ?v . ?v rdf:type ontology:Q1048835 }
Henry Johnson
action filter_type
action find
entity Henry Johnson
relation place of birth
type political territorial entity
['Henry Johnson', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Henry_Johnson property:place_of_birth ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q5724018,P19,c(Q1048835))
action filter_type
action find
entity Q5724018
relation P19
type Q1048835
[ANSWER] is the place of birth of Henry Johnson
['Q5724018', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q5724018 property:P19 ?v . ?v rdf:type ontology:Q1048835 }
Denmark
Denmark is the place of birth of Henry Johnson
Denmark
action filter_type
action find
entity Henry Johnson
relation place of birth
type political territorial entity
['Henry Johnson', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Henry_Johnson property:place_of_birth ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6113298
Q1048835
USER
And also tell me about Rubén Mascato?
(Q6113298,P19,c(Q1048835))
action filter_type
action find
entity Q6113298
relation P19
type Q1048835
['Q6113298', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q6113298 property:P19 ?m . ?m rdf:type ontology:Q1048835 }
Rubén Mascato
action filter_type
action find
entity Rubén Mascato
relation place of birth
type political territorial entity
['Rubén Mascato', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rubén_Mascato property:place_of_birth ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q929161
SYSTEM
O Grove
Q929161
(Q6113298,P19,c(Q1048835))
action filter_type
action find
entity Q6113298
relation P19
type Q1048835
[ANSWER]
['Q6113298', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q6113298 property:P19 ?m . ?m rdf:type ontology:Q1048835 }
O Grove
O Grove
action filter_type
action find
entity Rubén Mascato
relation place of birth
type political territorial entity
['Rubén Mascato', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Rubén_Mascato property:place_of_birth ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q929161 Q1270838
P19
Q502895
USER
Was Friedrich II. von Sommerschenburg born at that political territory ?
(Q1270838,P19,Q929161)
action is_in
entity Q1270838
action find
entity Q929161
relation P19
['Q1270838', 'P19', 'Q929161']
ASK WHERE { resource:Q929161 property:P19 resource:Q1270838 }
O Grove Friedrich II. von Sommerschenburg
action is_in
entity Friedrich II. von Sommerschenburg
action find
entity O Grove
relation place of birth
['Friedrich II. von Sommerschenburg', 'place of birth', 'O Grove']
ASK WHERE { resource:O_Grove property:place_of_birth resource:Friedrich_II._von_Sommerschenburg }
[]
common name
SYSTEM
NO
(Q1270838,P19,Q929161)
action is_in
entity Q1270838
action find
entity Q929161
relation P19
[ANSWER]
['Q1270838', 'P19', 'Q929161']
ASK WHERE { resource:Q929161 property:P19 resource:Q1270838 }
No
action is_in
entity Friedrich II. von Sommerschenburg
action find
entity O Grove
relation place of birth
['Friedrich II. von Sommerschenburg', 'place of birth', 'O Grove']
ASK WHERE { resource:O_Grove property:place_of_birth resource:Friedrich_II._von_Sommerschenburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q929161
P1001
Q12737077
USER
Which occupation has jurisdiction over O Grove ?
(c(Q12737077),P1001,Q929161)
action filter_type
action find_reverse
entity Q929161
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q929161']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P1001 resource:Q929161 }
O Grove
action filter_type
action find_reverse
entity O Grove
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'O Grove']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:applies_to_jurisdiction resource:O_Grove }
[]
occupation
Q26701061
SYSTEM
mayor of El Grove
Q26701061
(c(Q12737077),P1001,Q929161)
action filter_type
action find_reverse
entity Q929161
relation P1001
type Q12737077
The [ANSWER] has jurisdiction over O Grove
[{'concept': 'Q12737077'}, 'P1001', 'Q929161']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . ?a property:P1001 resource:Q929161 }
mayor of El Grove
The mayor of El Grove has jurisdiction over O Grove
mayor of El Grove
action filter_type
action find_reverse
entity O Grove
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'O Grove']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . ?a property:applies_to_jurisdiction resource:O_Grove }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q929161
P17
Q15617994
USER
Which administrative territory is that political territory situated in ?
(Q26701061,P17,c(Q15617994))
action filter_type
action find
entity Q929161
relation P17
type Q15617994
['Q26701061', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q929161 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
O Grove
action filter_type
action find
entity O Grove
relation country
type designation for an administrative territorial entity
['mayor of El Grove', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:O_Grove property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q26701061,P17,c(Q15617994))
action filter_type
action find
entity Q929161
relation P17
type Q15617994
That political territory is situated in [ANSWER]
['Q26701061', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q929161 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Spain
That political territory is situated in Spain
Spain
action filter_type
action find
entity O Grove
relation country
type designation for an administrative territorial entity
['mayor of El Grove', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:O_Grove property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did lesser number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q29
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2031291 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P495 resource:Q29 . ?d rdf:type ontology:Q2031291 } } . FILTER ( ?k < ?v ) }
action count
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity Spain
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:release } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:country_of_origin resource:Spain . ?d rdf:type ontology:release } } . FILTER ( ?k < ?v ) }
[]
designation for an administrative territorial entity release
SYSTEM
158
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q31 Q924 Q36 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find_reverse
entity Q29
relation P495
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P495 ?h . ?h rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2031291 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P495 resource:Q29 . ?d rdf:type ontology:Q2031291 } } . FILTER ( ?k < ?v ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Belgium Tanzania Poland Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
158
action count
action less
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find_reverse
entity Spain
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:release } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:country_of_origin resource:Spain . ?d rdf:type ontology:release } } . FILTER ( ?k < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q766
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with greater number of administrative territories than Jamaica ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?v ) WHERE { ?n rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 . ?n property:P530 ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q766 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?v > ?y ) }
Jamaica
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?v ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Jamaica property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?v > ?y ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Jamaica
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?v ) WHERE { ?n rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 . ?n property:P530 ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q766 property:P530 ?e . ?e rdf:type ontology:Q1048835 } } . FILTER ( ?v > ?y ) }
Austria Germany Australia Denmark Canada New Zealand
Germany, Australia and Denmark have diplomatic relationships with greater number of administrative territories than Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?v ) WHERE { ?n rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n property:diplomatic_relation ?q } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Jamaica property:diplomatic_relation ?e . ?e rdf:type ontology:political_territorial_entity } } . FILTER ( ?v > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q685
P530
Q1048835 Q15617994
USER
And how about Solomon Islands?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?g ) WHERE { ?z property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q685 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?v ) }
Solomon Islands
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?g ) WHERE { ?z property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?v ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?g ) WHERE { ?z property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Q685 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?g > ?v ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?g ) WHERE { ?z property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g > ?v ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q527868
P530
Q15617994
USER
Are Ebringen known to have diplomatic connections with those political territories ?
(Q527868,P530,Q183) (Q527868,P530,Q408) (Q527868,P530,Q35)
action is_in
entity prev_answer
action find
entity Q527868
relation P530
['Q527868', 'P530', 'Q183'] ['Q527868', 'P530', 'Q408'] ['Q527868', 'P530', 'Q35']
ASK WHERE { resource:Q527868 property:P530 ?y . VALUES ( ?y ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
Ebringen
action is_in
entity prev_answer
action find
entity Ebringen
relation diplomatic relation
['Ebringen', 'diplomatic relation', 'Germany'] ['Ebringen', 'diplomatic relation', 'Australia'] ['Ebringen', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Ebringen property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q527868,P530,Q183) (Q527868,P530,Q408) (Q527868,P530,Q35)
action is_in
entity prev_answer
action find
entity Q527868
relation P530
[ANSWER]
['Q527868', 'P530', 'Q183'] ['Q527868', 'P530', 'Q408'] ['Q527868', 'P530', 'Q35']
ASK WHERE { resource:Q527868 property:P530 ?y . VALUES ( ?y ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } }
No
action is_in
entity prev_answer
action find
entity Ebringen
relation diplomatic relation
['Ebringen', 'diplomatic relation', 'Germany'] ['Ebringen', 'diplomatic relation', 'Australia'] ['Ebringen', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Ebringen property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P740
Q131257 Q334453
USER
How many intellectual properties or divisions were formed at Germany ?
(c(Q131257),P740,Q183) (c(Q334453),P740,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P740
type Q131257
action filter_type
action find_reverse
entity Q183
relation P740
type Q334453
[{'concept': 'Q131257'}, 'P740', 'Q183'] [{'concept': 'Q334453'}, 'P740', 'Q183']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:Q131257 ) ( ontology:Q334453 ) } . ?d rdf:type ?g }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation location of formation
type intellectual property
action filter_type
action find_reverse
entity Germany
relation location of formation
type division
[{'concept': 'intellectual property'}, 'location of formation', 'Germany'] [{'concept': 'division'}, 'location of formation', 'Germany']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:intellectual_property ) ( ontology:division ) } . ?d rdf:type ?g }
[]
intellectual property division
SYSTEM
2
Q155152 Q614920
(c(Q131257),P740,Q183) (c(Q334453),P740,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P740
type Q131257
action filter_type
action find_reverse
entity Q183
relation P740
type Q334453
[ANSWER]
[{'concept': 'Q131257'}, 'P740', 'Q183'] [{'concept': 'Q334453'}, 'P740', 'Q183']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:Q131257 ) ( ontology:Q334453 ) } . ?d rdf:type ?g }
Polydor Records BSH Hausgeräte
2
action count
action union
action filter_type
action find_reverse
entity Germany
relation location of formation
type intellectual property
action filter_type
action find_reverse
entity Germany
relation location of formation
type division
[{'concept': 'intellectual property'}, 'location of formation', 'Germany'] [{'concept': 'division'}, 'location of formation', 'Germany']
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { VALUES ( ?g ) { ( ontology:intellectual_property ) ( ontology:division ) } . ?d rdf:type ?g }
[]