Simple Question (Direct)
Simple Question
Q8017097
P21
Q290
USER
Which sex does William Pringle belong to ?
(Q8017097,P21,c(Q290))
action filter_type
action find
entity Q8017097
relation P21
type Q290
['Q8017097', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q8017097 property:P21 ?z . ?z rdf:type ontology:Q290 }
William Pringle
action filter_type
action find
entity William Pringle
relation gender
type sex
['William Pringle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:William_Pringle property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8017097,P21,c(Q290))
action filter_type
action find
entity Q8017097
relation P21
type Q290
William Pringle belongs to [ANSWER]
['Q8017097', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q8017097 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
William Pringle belongs to male
male
action filter_type
action find
entity William Pringle
relation gender
type sex
['William Pringle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:William_Pringle property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8017097
P937
Q56061
USER
Which is the work location of that person ?
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q8017097
relation P937
type Q56061
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q8017097 property:P937 ?k }
William Pringle
action filter_type
action find
entity William Pringle
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:William_Pringle property:work_location ?k }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q8017097
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q8017097 property:P937 ?k }
London
The work location of that person is in London
London
action filter_type
action find
entity William Pringle
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:William_Pringle property:work_location ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q8017097
P27
Q15617994
USER
How many administrative territories are William Pringle an inhabitant of ?
(Q8017097,P27,c(Q15617994))
action count
action filter_type
action find
entity Q8017097
relation P27
type Q15617994
['Q8017097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q8017097 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
William Pringle
action count
action filter_type
action find
entity William Pringle
relation country of citizenship
type designation for an administrative territorial entity
['William Pringle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:William_Pringle property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q8017097,P27,c(Q15617994))
action count
action filter_type
action find
entity Q8017097
relation P27
type Q15617994
[ANSWER]
['Q8017097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q8017097 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity William Pringle
relation country of citizenship
type designation for an administrative territorial entity
['William Pringle', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:William_Pringle property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6846520
Q15617994
USER
And how about Mike Dawson?
(Q6846520,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6846520
relation P27
type Q15617994
['Q6846520', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q6846520 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Mike Dawson
action count
action filter_type
action find
entity Mike Dawson
relation country of citizenship
type designation for an administrative territorial entity
['Mike Dawson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Mike_Dawson property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q6846520,P27,c(Q15617994))
action count
action filter_type
action find
entity Q6846520
relation P27
type Q15617994
[ANSWER]
['Q6846520', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Q6846520 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Mike Dawson
relation country of citizenship
type designation for an administrative territorial entity
['Mike Dawson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { resource:Mike_Dawson property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q494707 Q84
P190
Q515
USER
Which cities are twin towns of London or Corona ?
OR((Q84,P190,c(Q515)), (Q494707,P190,c(Q515)))
action filter_type
action union
action find
entity Q84
relation P190
action find
entity Q494707
relation P190
type Q515
{'OR': [['Q84', 'P190', {'concept': 'Q515'}], ['Q494707', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . { ?i property:P190 ?s . VALUES ( ?i ) { ( resource:Q84 ) ( resource:Q494707 ) } } }
Corona London
action filter_type
action union
action find
entity London
relation sister city
action find
entity Corona
relation sister city
type city
{'OR': [['London', 'sister city', {'concept': 'city'}], ['Corona', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . { ?i property:sister_city ?s . VALUES ( ?i ) { ( resource:London ) ( resource:Corona ) } } }
[]
city
Q1486 Q3616 Q19660 Q1865 Q850395
SYSTEM
Buenos Aires, Tehran, Bucharest, Kuala Lumpur, Gōtsu
Q1486 Q3616 Q19660 Q1865 Q850395
OR((Q84,P190,c(Q515)), (Q494707,P190,c(Q515)))
action filter_type
action union
action find
entity Q84
relation P190
action find
entity Q494707
relation P190
type Q515
[ANSWERS] are twin towns of London or Corona
{'OR': [['Q84', 'P190', {'concept': 'Q515'}], ['Q494707', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q515 . { ?i property:P190 ?s . VALUES ( ?i ) { ( resource:Q84 ) ( resource:Q494707 ) } } }
Buenos Aires Tehran Bucharest Kuala Lumpur Gōtsu
Buenos Aires, Tehran, Bucharest, Kuala Lumpur and Gōtsu are twin towns of London or Corona
Buenos Aires Tehran Bucharest Kuala Lumpur Gōtsu
action filter_type
action union
action find
entity London
relation sister city
action find
entity Corona
relation sister city
type city
{'OR': [['London', 'sister city', {'concept': 'city'}], ['Corona', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:city . { ?i property:sister_city ?s . VALUES ( ?i ) { ( resource:London ) ( resource:Corona ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q494707
P17
Q15617994
USER
Which administrative territory is Corona present in ?
(Q1486,P17,c(Q15617994)) (Q3616,P17,c(Q15617994)) (Q19660,P17,c(Q15617994)) (Q1865,P17,c(Q15617994)) (Q850395,P17,c(Q15617994))
action filter_type
action find
entity Q494707
relation P17
type Q15617994
['Q1486', 'P17', {'concept': 'Q15617994'}] ['Q3616', 'P17', {'concept': 'Q15617994'}] ['Q19660', 'P17', {'concept': 'Q15617994'}] ['Q1865', 'P17', {'concept': 'Q15617994'}] ['Q850395', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q494707 property:P17 ?o }
Corona
action filter_type
action find
entity Corona
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tehran', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bucharest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kuala Lumpur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gōtsu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Corona property:country ?o }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1486,P17,c(Q15617994)) (Q3616,P17,c(Q15617994)) (Q19660,P17,c(Q15617994)) (Q1865,P17,c(Q15617994)) (Q850395,P17,c(Q15617994))
action filter_type
action find
entity Q494707
relation P17
type Q15617994
Corona is the [ANSWER]
['Q1486', 'P17', {'concept': 'Q15617994'}] ['Q3616', 'P17', {'concept': 'Q15617994'}] ['Q19660', 'P17', {'concept': 'Q15617994'}] ['Q1865', 'P17', {'concept': 'Q15617994'}] ['Q850395', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q494707 property:P17 ?o }
United States of America
Corona is the United States of America
United States of America
action filter_type
action find
entity Corona
relation country
type designation for an administrative territorial entity
['Buenos Aires', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tehran', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bucharest', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kuala Lumpur', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Gōtsu', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Corona property:country ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q838948
USER
Which administrative territories are the origin of lesser number of musical ensembles and works of art than that administrative territory ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q2088357
type Q838948
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?s WHERE { VALUES ( ?r ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?c rdf:type ?r } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P495 resource:Q30 . { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?t < ?k ) }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
type work of art
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?s WHERE { VALUES ( ?r ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?c rdf:type ?r } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:country_of_origin resource:United_States_of_America . { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?t < ?k ) }
[]
designation for an administrative territorial entity musical ensemble work of art
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 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 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 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 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 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 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q2088357
type Q838948
[ANSWERS] are the origin of lesser number of musical ensembles and works of art than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?s WHERE { VALUES ( ?r ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?c rdf:type ?r } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P495 resource:Q30 . { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:Q838948 ) ( ontology:Q2088357 ) } } } } . FILTER ( ?t < ?k ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom 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 Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy 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 Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 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 Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origin of lesser number of musical ensembles and works of art than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
type work of art
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?s WHERE { VALUES ( ?r ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?c rdf:type ?r } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:country_of_origin resource:United_States_of_America . { ?e rdf:type ?w . VALUES ( ?w ) { ( ontology:work_of_art ) ( ontology:musical_ensemble ) } } } } . FILTER ( ?t < ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with max number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?o ) WHERE { ?t property:P530 ?c . ?t rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?t } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?m ) WHERE { ?s property:P530 ?n . ?s rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?m = ?h ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?o ) WHERE { ?t property:diplomatic_relation ?c . ?t rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?m ) WHERE { ?s property:diplomatic_relation ?n . ?s rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?m = ?h ) }
[]
political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q15617994),P530,Q766)
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?o ) WHERE { ?t property:P530 ?c . ?t rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?t } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?m ) WHERE { ?s property:P530 ?n . ?s rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?m = ?h ) }
Germany
Germany have diplomatic relations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?h ) { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?o ) WHERE { ?t property:diplomatic_relation ?c . ?t rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?m ) WHERE { ?s property:diplomatic_relation ?n . ?s rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?m = ?h ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q1560214
P27
Q502895
USER
Is Sigmund Henle a civilian of that political territory ?
(Q1560214,P27,Q183)
action is_in
entity Q183
action find
entity Q1560214
relation P27
['Q1560214', 'P27', 'Q183']
ASK WHERE { resource:Q1560214 property:P27 resource:Q183 }
Germany Sigmund Henle
action is_in
entity Germany
action find
entity Sigmund Henle
relation country of citizenship
['Sigmund Henle', 'country of citizenship', 'Germany']
ASK WHERE { resource:Sigmund_Henle property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q1560214,P27,Q183)
action is_in
entity Q183
action find
entity Q1560214
relation P27
[ANSWER]
['Q1560214', 'P27', 'Q183']
ASK WHERE { resource:Q1560214 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Sigmund Henle
relation country of citizenship
['Sigmund Henle', 'country of citizenship', 'Germany']
ASK WHERE { resource:Sigmund_Henle property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q155 Q858650
P530
Q1048835
USER
Does Carmen de Areco Partido hold diplomatic relationship with Brazil ?
(Q155,P530,Q858650)
action is_in
entity Q858650
action find
entity Q155
relation P530
['Q155', 'P530', 'Q858650']
ASK WHERE { resource:Q155 property:P530 resource:Q858650 }
Brazil Carmen de Areco Partido
action is_in
entity Carmen de Areco Partido
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Carmen de Areco Partido']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Carmen_de_Areco_Partido }
[]
political territorial entity
SYSTEM
NO
(Q155,P530,Q858650)
action is_in
entity Q858650
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q858650']
ASK WHERE { resource:Q155 property:P530 resource:Q858650 }
No
action is_in
entity Carmen de Areco Partido
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Carmen de Areco Partido']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Carmen_de_Areco_Partido }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q564621 Q39727
P530
Q15617994
USER
Does Germany have diplomatic relations with Klosterkumbd and San Tomaso Agordino ?
(Q183,P530,Q564621) (Q183,P530,Q39727)
action is_in
entity Q183
action intersection
action find_reverse
entity Q564621
relation P530
action find_reverse
entity Q39727
relation P530
['Q183', 'P530', 'Q564621'] ['Q183', 'P530', 'Q39727']
ASK WHERE { resource:Q183 property:P530 resource:Q564621 . resource:Q183 property:P530 resource:Q39727 }
Germany Klosterkumbd San Tomaso Agordino
action is_in
entity Germany
action intersection
action find_reverse
entity Klosterkumbd
relation diplomatic relation
action find_reverse
entity San Tomaso Agordino
relation diplomatic relation
['Germany', 'diplomatic relation', 'Klosterkumbd'] ['Germany', 'diplomatic relation', 'San Tomaso Agordino']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Klosterkumbd . resource:Germany property:diplomatic_relation resource:San_Tomaso_Agordino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P530,Q564621) (Q183,P530,Q39727)
action is_in
entity Q183
action intersection
action find_reverse
entity Q564621
relation P530
action find_reverse
entity Q39727
relation P530
[ANSWER]
['Q183', 'P530', 'Q564621'] ['Q183', 'P530', 'Q39727']
ASK WHERE { resource:Q183 property:P530 resource:Q564621 . resource:Q183 property:P530 resource:Q39727 }
No
action is_in
entity Germany
action intersection
action find_reverse
entity Klosterkumbd
relation diplomatic relation
action find_reverse
entity San Tomaso Agordino
relation diplomatic relation
['Germany', 'diplomatic relation', 'Klosterkumbd'] ['Germany', 'diplomatic relation', 'San Tomaso Agordino']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Klosterkumbd . resource:Germany property:diplomatic_relation resource:San_Tomaso_Agordino }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?v }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?v }
[]
designation for an administrative territorial entity
SYSTEM
124
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 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 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
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?v }
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 Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein 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
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1016
P530
Q15617994
USER
And also tell me about Libya?
(Q1016,P530,c(Q15617994))
action count
action filter_type
action find
entity Q1016
relation P530
type Q15617994
['Q1016', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q1016 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Libya
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
['Libya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Libya property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q155 Q805 Q38
(Q1016,P530,c(Q15617994))
action count
action filter_type
action find
entity Q1016
relation P530
type Q15617994
[ANSWER]
['Q1016', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q1016 property:P530 ?t . ?t rdf:type ontology:Q15617994 }
Brazil Yemen Italy
3
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
['Libya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Libya property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]