Simple Question (Direct)
Simple Question
Q15437393
P735
Q82799
USER
What the name that Young Jean Lee is known by ?
(Q15437393,P735,c(Q82799))
action filter_type
action find
entity Q15437393
relation P735
type Q82799
['Q15437393', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q15437393 property:P735 ?b }
Young Jean Lee
action filter_type
action find
entity Young Jean Lee
relation given name
type name
['Young Jean Lee', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Young_Jean_Lee property:given_name ?b }
[]
name
Q16256914
SYSTEM
Young
Q16256914
(Q15437393,P735,c(Q82799))
action filter_type
action find
entity Q15437393
relation P735
type Q82799
[ANSWER]
['Q15437393', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q82799 . resource:Q15437393 property:P735 ?b }
Young
Young
action filter_type
action find
entity Young Jean Lee
relation given name
type name
['Young Jean Lee', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:name . resource:Young_Jean_Lee property:given_name ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q838948 Q17335294
USER
How many names are depicted in approximately 31 works of art or coats of arms ?
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 31
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?o = 31 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:P180 ?j . ?j rdf:type ontology:Q82799 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P180 ?j . ?j rdf:type ontology:Q82799 . ?b rdf:type ontology:Q17335294 } } GROUP BY ?j } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 31
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?o = 31 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:depicts ?j . ?j rdf:type ontology:name . ?b rdf:type ontology:work_of_art } UNION { ?b property:depicts ?j . ?j rdf:type ontology:name . ?b rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?j } }
[]
name work of art flag or coat of arms
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q838948)|c(Q17335294),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
value 31
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?o = 31 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:P180 ?j . ?j rdf:type ontology:Q82799 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P180 ?j . ?j rdf:type ontology:Q82799 . ?b rdf:type ontology:Q17335294 } } GROUP BY ?j } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type work of art
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
value 31
[[{'concept': 'work of art'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?o = 31 ) . { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?o ) WHERE { { ?b property:depicts ?j . ?j rdf:type ontology:name . ?b rdf:type ontology:work_of_art } UNION { ?b property:depicts ?j . ?j rdf:type ontology:name . ?b rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17380506 Q15437393
P27
Q15617994
USER
Which administrative territories do Young Jean Lee or Sulo Haltsonen belong to ?
OR((Q15437393,P27,c(Q15617994)), (Q17380506,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15437393
relation P27
action find
entity Q17380506
relation P27
type Q15617994
{'OR': [['Q15437393', 'P27', {'concept': 'Q15617994'}], ['Q17380506', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Q15437393 ) ( resource:Q17380506 ) } . ?v property:P27 ?t } . ?t rdf:type ontology:Q15617994 }
Sulo Haltsonen Young Jean Lee
action filter_type
action union
action find
entity Young Jean Lee
relation country of citizenship
action find
entity Sulo Haltsonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Young Jean Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sulo Haltsonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Young_Jean_Lee ) ( resource:Sulo_Haltsonen ) } . ?v property:country_of_citizenship ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q30
SYSTEM
Finland, United States of America
Q33 Q30
OR((Q15437393,P27,c(Q15617994)), (Q17380506,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15437393
relation P27
action find
entity Q17380506
relation P27
type Q15617994
Young Jean Lee or Sulo Haltsonen belong to [ANSWERS]
{'OR': [['Q15437393', 'P27', {'concept': 'Q15617994'}], ['Q17380506', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Q15437393 ) ( resource:Q17380506 ) } . ?v property:P27 ?t } . ?t rdf:type ontology:Q15617994 }
Finland United States of America
Young Jean Lee or Sulo Haltsonen belong to Finland and United States of America
Finland United States of America
action filter_type
action union
action find
entity Young Jean Lee
relation country of citizenship
action find
entity Sulo Haltsonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Young Jean Lee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sulo Haltsonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { VALUES ( ?v ) { ( resource:Young_Jean_Lee ) ( resource:Sulo_Haltsonen ) } . ?v property:country_of_citizenship ?t } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q311338
P27
Q502895
USER
Are Hannes Kolehmainen a native of those administrative territories ?
(Q311338,P27,Q33) (Q311338,P27,Q30)
action is_in
entity prev_answer
action find
entity Q311338
relation P27
['Q311338', 'P27', 'Q33'] ['Q311338', 'P27', 'Q30']
ASK WHERE { VALUES ( ?i ) { ( resource:Q33 ) ( resource:Q30 ) } . resource:Q311338 property:P27 ?i }
Hannes Kolehmainen
action is_in
entity prev_answer
action find
entity Hannes Kolehmainen
relation country of citizenship
['Hannes Kolehmainen', 'country of citizenship', 'Finland'] ['Hannes Kolehmainen', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?i ) { ( resource:Finland ) ( resource:United_States_of_America ) } . resource:Hannes_Kolehmainen property:country_of_citizenship ?i }
[]
common name
SYSTEM
YES
(Q311338,P27,Q33) (Q311338,P27,Q30)
action is_in
entity prev_answer
action find
entity Q311338
relation P27
[ANSWER]
['Q311338', 'P27', 'Q33'] ['Q311338', 'P27', 'Q30']
ASK WHERE { VALUES ( ?i ) { ( resource:Q33 ) ( resource:Q30 ) } . resource:Q311338 property:P27 ?i }
Yes
action is_in
entity prev_answer
action find
entity Hannes Kolehmainen
relation country of citizenship
['Hannes Kolehmainen', 'country of citizenship', 'Finland'] ['Hannes Kolehmainen', 'country of citizenship', 'United States of America']
ASK WHERE { VALUES ( ?i ) { ( resource:Finland ) ( resource:United_States_of_America ) } . resource:Hannes_Kolehmainen property:country_of_citizenship ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q33 Q1043527
P463
Q484652
USER
Was Finland a member of Multilateral Investment Guarantee Agency ?
(Q33,P463,Q1043527)
action is_in
entity Q1043527
action find
entity Q33
relation P463
['Q33', 'P463', 'Q1043527']
ASK WHERE { resource:Q33 property:P463 resource:Q1043527 }
Finland Multilateral Investment Guarantee Agency
action is_in
entity Multilateral Investment Guarantee Agency
action find
entity Finland
relation member of
['Finland', 'member of', 'Multilateral Investment Guarantee Agency']
ASK WHERE { resource:Finland property:member_of resource:Multilateral_Investment_Guarantee_Agency }
[]
international organization
SYSTEM
YES
(Q33,P463,Q1043527)
action is_in
entity Q1043527
action find
entity Q33
relation P463
[ANSWER]
['Q33', 'P463', 'Q1043527']
ASK WHERE { resource:Q33 property:P463 resource:Q1043527 }
Yes
action is_in
entity Multilateral Investment Guarantee Agency
action find
entity Finland
relation member of
['Finland', 'member of', 'Multilateral Investment Guarantee Agency']
ASK WHERE { resource:Finland property:member_of resource:Multilateral_Investment_Guarantee_Agency }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with atleast 37 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 37
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?j ) WHERE { ?x property:P530 ?q . ?x rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?j >= 37 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?j ) WHERE { ?x property:diplomatic_relation ?q . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?j >= 37 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 37
[ANSWERS] have diplomatic relationships with atleast 37 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?j ) WHERE { ?x property:P530 ?q . ?x rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?j >= 37 ) }
Brazil Italy
Brazil and Italy have diplomatic relationships with atleast 37 administrative territories
Brazil Italy
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?j ) WHERE { ?x property:diplomatic_relation ?q . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?j >= 37 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38
P276
Q645883
USER
Which military operation is located at that administrative territory ?
(c(Q645883),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q645883
[{'concept': 'Q645883'}, 'P276', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q38 . ?k rdf:type ontology:Q645883 }
Italy
action filter_type
action find_reverse
entity Italy
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Italy . ?k rdf:type ontology:military_operation }
[]
military operation
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q155 Q38
(c(Q645883),P276,Q155) (c(Q645883),P276,Q38)
[ANSWER]
[{'concept': 'Q645883'}, 'P276', 'Q155'] [{'concept': 'Q645883'}, 'P276', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q38 . ?k rdf:type ontology:Q645883 }
Brazil Italy
Did you mean Italy ?
Italy
[{'concept': 'military operation'}, 'location', 'Brazil'] [{'concept': 'military operation'}, 'location', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Italy . ?k rdf:type ontology:military_operation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q645883),P276,Q38)
[{'concept': 'Q645883'}, 'P276', 'Q38']
[{'concept': 'military operation'}, 'location', 'Italy']
[]
Q162333
SYSTEM
Italian Campaign
Q162333
(c(Q645883),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q645883
The [ANSWER] is located at that administrative territory
[{'concept': 'Q645883'}, 'P276', 'Q38']
SELECT DISTINCT ?k WHERE { ?k property:P276 resource:Q38 . ?k rdf:type ontology:Q645883 }
Italian Campaign
The Italian Campaign is located at that administrative territory
Italian Campaign
action filter_type
action find_reverse
entity Italy
relation location
type military operation
[{'concept': 'military operation'}, 'location', 'Italy']
SELECT DISTINCT ?k WHERE { ?k property:location resource:Italy . ?k rdf:type ontology:military_operation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P417
Q1509831
USER
Who is the patron saint of Brazil ?
(Q155,P417,c(Q1509831))
action filter_type
action find
entity Q155
relation P417
type Q1509831
['Q155', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?f WHERE { resource:Q155 property:P417 ?f . ?f rdf:type ontology:Q1509831 }
Brazil
action filter_type
action find
entity Brazil
relation patron saint
type titles of Mary
['Brazil', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?f WHERE { resource:Brazil property:patron_saint ?f . ?f rdf:type ontology:titles_of_Mary }
[]
titles of Mary
Q2469225
SYSTEM
Our Lady of Aparecida
Q2469225
(Q155,P417,c(Q1509831))
action filter_type
action find
entity Q155
relation P417
type Q1509831
The patron saint of Brazil is [ANSWER]
['Q155', 'P417', {'concept': 'Q1509831'}]
SELECT DISTINCT ?f WHERE { resource:Q155 property:P417 ?f . ?f rdf:type ontology:Q1509831 }
Our Lady of Aparecida
The patron saint of Brazil is Our Lady of Aparecida
Our Lady of Aparecida
action filter_type
action find
entity Brazil
relation patron saint
type titles of Mary
['Brazil', 'patron saint', {'concept': 'titles of Mary'}]
SELECT DISTINCT ?f WHERE { resource:Brazil property:patron_saint ?f . ?f rdf:type ontology:titles_of_Mary }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q183
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with less number of administrative territories than Germany ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?u ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?u < ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } }
Germany
action less
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 Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?u ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?u < ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with less number of administrative territories than Germany
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?u ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?u < ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q183 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Australia, Denmark and Canada have diplomatic associations with less number of administrative territories than Germany
Australia Denmark Canada
action less
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 Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?u ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?u < ?c ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Germany property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40
P530
Q15617994 Q1048835
USER
And what about Austria?
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?h property:P530 ?d . ?h rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q40 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?t ) }
Austria
action less
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 Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?h property:diplomatic_relation ?d . ?h rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Austria property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?t ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q664 Q1000
SYSTEM
Denmark, New Zealand, Gabon
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?h property:P530 ?d . ?h rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Q40 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?t ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark New Zealand Gabon
action less
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 Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?u ) WHERE { ?h property:diplomatic_relation ?d . ?h rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { resource:Austria property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?t ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1441329
P530
Q1048835
USER
Do Hernani have ambassadorial relations with those ones ?
(Q1441329,P530,Q35) (Q1441329,P530,Q664) (Q1441329,P530,Q1000)
action is_in
entity prev_answer
action find
entity Q1441329
relation P530
['Q1441329', 'P530', 'Q35'] ['Q1441329', 'P530', 'Q664'] ['Q1441329', 'P530', 'Q1000']
ASK WHERE { resource:Q1441329 property:P530 ?k . VALUES ( ?k ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
Hernani
action is_in
entity prev_answer
action find
entity Hernani
relation diplomatic relation
['Hernani', 'diplomatic relation', 'Denmark'] ['Hernani', 'diplomatic relation', 'New Zealand'] ['Hernani', 'diplomatic relation', 'Gabon']
ASK WHERE { resource:Hernani property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]
political territorial entity
SYSTEM
NO
(Q1441329,P530,Q35) (Q1441329,P530,Q664) (Q1441329,P530,Q1000)
action is_in
entity prev_answer
action find
entity Q1441329
relation P530
[ANSWER]
['Q1441329', 'P530', 'Q35'] ['Q1441329', 'P530', 'Q664'] ['Q1441329', 'P530', 'Q1000']
ASK WHERE { resource:Q1441329 property:P530 ?k . VALUES ( ?k ) { ( resource:Q1000 ) ( resource:Q781 ) ( resource:Q778 ) } }
No
action is_in
entity prev_answer
action find
entity Hernani
relation diplomatic relation
['Hernani', 'diplomatic relation', 'Denmark'] ['Hernani', 'diplomatic relation', 'New Zealand'] ['Hernani', 'diplomatic relation', 'Gabon']
ASK WHERE { resource:Hernani property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Gabon ) ( resource:Antigua_and_Barbuda ) ( resource:The_Bahamas ) } }
[]