Simple Question (Direct)
Simple Question
Q3905461
P106
Q12737077
USER
What is the job of Piotr Gawęcki ?
(Q3905461,P106,c(Q12737077))
action filter_type
action find
entity Q3905461
relation P106
type Q12737077
['Q3905461', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3905461 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Piotr Gawęcki
action filter_type
action find
entity Piotr Gawęcki
relation occupation
type occupation
['Piotr Gawęcki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Gawęcki property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3905461,P106,c(Q12737077))
action filter_type
action find
entity Q3905461
relation P106
type Q12737077
The job of Piotr Gawęcki is an [ANSWER]
['Q3905461', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q3905461 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
The job of Piotr Gawęcki is an association football player
association football player
action filter_type
action find
entity Piotr Gawęcki
relation occupation
type occupation
['Piotr Gawęcki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Gawęcki property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3905461
P641
Q349
USER
Which sport was Piotr Gawęcki a part of ?
(Q3905461,P641,c(Q349))
action filter_type
action find
entity Q3905461
relation P641
type Q349
['Q3905461', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3905461 property:P641 ?w . ?w rdf:type ontology:Q349 }
Piotr Gawęcki
action filter_type
action find
entity Piotr Gawęcki
relation sport
type sport
['Piotr Gawęcki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Gawęcki property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3905461,P641,c(Q349))
action filter_type
action find
entity Q3905461
relation P641
type Q349
The [ANSWER] was Piotr Gawęcki a part of
['Q3905461', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q3905461 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
The association football was Piotr Gawęcki a part of
association football
action filter_type
action find
entity Piotr Gawęcki
relation sport
type sport
['Piotr Gawęcki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Piotr_Gawęcki property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3905461
P19
Q486972
USER
Which human settlement is the place of birth of that person ?
(Q2736,P19,c(Q486972))
action filter_type
action find
entity Q3905461
relation P19
type Q486972
['Q2736', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q3905461 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Piotr Gawęcki
action filter_type
action find
entity Piotr Gawęcki
relation place of birth
type human settlement
['association football', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Piotr_Gawęcki property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
human settlement
Q102317
SYSTEM
Kielce
Q102317
(Q2736,P19,c(Q486972))
action filter_type
action find
entity Q3905461
relation P19
type Q486972
[ANSWER] is the place of birth of that person
['Q2736', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q3905461 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Kielce
Kielce is the place of birth of that person
Kielce
action filter_type
action find
entity Piotr Gawęcki
relation place of birth
type human settlement
['association football', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Piotr_Gawęcki property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3905461
P27
Q15617994
USER
Which administrative territory is Piotr Gawęcki a civilian of ?
(Q3905461,P27,c(Q15617994))
action filter_type
action find
entity Q3905461
relation P27
type Q15617994
['Q3905461', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3905461 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Piotr Gawęcki
action filter_type
action find
entity Piotr Gawęcki
relation country of citizenship
type designation for an administrative territorial entity
['Piotr Gawęcki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Piotr_Gawęcki property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q3905461,P27,c(Q15617994))
action filter_type
action find
entity Q3905461
relation P27
type Q15617994
[ANSWER] is Piotr Gawęcki a civilian of
['Q3905461', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q3905461 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Poland
Poland is Piotr Gawęcki a civilian of
Poland
action filter_type
action find
entity Piotr Gawęcki
relation country of citizenship
type designation for an administrative territorial entity
['Piotr Gawęcki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Piotr_Gawęcki property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36 Q11766051
P27
Q502895
USER
Is Magdalena Komorowska a citizen of that administrative territory ?
(Q11766051,P27,Q36)
action is_in
entity Q36
action find
entity Q11766051
relation P27
['Q11766051', 'P27', 'Q36']
ASK WHERE { resource:Q11766051 property:P27 resource:Q36 }
Poland Magdalena Komorowska
action is_in
entity Poland
action find
entity Magdalena Komorowska
relation country of citizenship
['Magdalena Komorowska', 'country of citizenship', 'Poland']
ASK WHERE { resource:Magdalena_Komorowska property:country_of_citizenship resource:Poland }
[]
common name
SYSTEM
YES
(Q11766051,P27,Q36)
action is_in
entity Q36
action find
entity Q11766051
relation P27
[ANSWER]
['Q11766051', 'P27', 'Q36']
ASK WHERE { resource:Q11766051 property:P27 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Magdalena Komorowska
relation country of citizenship
['Magdalena Komorowska', 'country of citizenship', 'Poland']
ASK WHERE { resource:Magdalena_Komorowska property:country_of_citizenship resource:Poland }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11763329 Q11766051
P27
Q15617994
USER
Which administrative territories are the native countriesof Magdalena Komorowska or Lucjan Słowakiewicz ?
OR((Q11766051,P27,c(Q15617994)), (Q11763329,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11766051
relation P27
action find
entity Q11763329
relation P27
type Q15617994
{'OR': [['Q11766051', 'P27', {'concept': 'Q15617994'}], ['Q11763329', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Q11766051 ) ( resource:Q11763329 ) } . ?e property:P27 ?j } . ?j rdf:type ontology:Q15617994 }
Lucjan Słowakiewicz Magdalena Komorowska
action filter_type
action union
action find
entity Magdalena Komorowska
relation country of citizenship
action find
entity Lucjan Słowakiewicz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Magdalena Komorowska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lucjan Słowakiewicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Magdalena_Komorowska ) ( resource:Lucjan_Słowakiewicz ) } . ?e property:country_of_citizenship ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
OR((Q11766051,P27,c(Q15617994)), (Q11763329,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11766051
relation P27
action find
entity Q11763329
relation P27
type Q15617994
[ANSWER] is the native countriesof Magdalena Komorowska or Lucjan Słowakiewicz
{'OR': [['Q11766051', 'P27', {'concept': 'Q15617994'}], ['Q11763329', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Q11766051 ) ( resource:Q11763329 ) } . ?e property:P27 ?j } . ?j rdf:type ontology:Q15617994 }
Poland
Poland is the native countriesof Magdalena Komorowska or Lucjan Słowakiewicz
Poland
action filter_type
action union
action find
entity Magdalena Komorowska
relation country of citizenship
action find
entity Lucjan Słowakiewicz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Magdalena Komorowska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lucjan Słowakiewicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Magdalena_Komorowska ) ( resource:Lucjan_Słowakiewicz ) } . ?e property:country_of_citizenship ?j } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q15617994 Q2342494 Q15416
USER
Which administrative territories are the countries of origin of min number of collectables or television programs ?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } } GROUP BY ?m } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?o } } }
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } UNION { ?b property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } } GROUP BY ?m } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?o } } }
[]
designation for an administrative territorial entity collectable television program
Q184 Q347 Q805
SYSTEM
Belarus, Liechtenstein, Yemen
Q805 Q1462 Q265 Q36678 Q711 Q1460 Q657 Q958 Q986 Q826 Q244 Q811 Q153136 Q924 Q423 Q983 Q29999 Q819 Q730 Q159626 Q236 Q233 Q238 Q1045 Q1044 Q1025 Q1027 Q1020 Q184 Q1029 Q227 Q223 Q221 Q347 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q962 Q963 Q115 Q917 Q1007 Q1009 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q948 Q1019 Q813 Q1016 Q945 Q672 Q176 Q863
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
[ANSWERS] are the countries of origin of min number of collectables or television programs
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P495 ?m . ?m rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q2342494 } } GROUP BY ?m } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?o } } }
Yemen Sardinia Uzbekistan West Bank Mongolia Sicily Chad South Sudan Eritrea Maldives Barbados Nicaragua Habsburg Empire Tanzania North Korea Equatorial Guinea Kingdom of the Netherlands Laos Suriname Württemberg Montenegro Malta San Marino Somalia Sierra Leone Mauritania Mauritius Malawi Belarus Mozambique Azerbaijan Greenland Republic of Macedonia Liechtenstein Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Benin Botswana Ethiopia Bhutan Guinea-Bissau Cameroon Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Tunisia Madagascar Kyrgyzstan Libya Togo Tuvalu Quebec Tajikistan
Belarus, Liechtenstein and Yemen are the countries of origin of min number of collectables or television programs
Belarus Liechtenstein Yemen
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?a ) WHERE { { ?b property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } UNION { ?b property:country_of_origin ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:collectable } } GROUP BY ?m } . FILTER ( ?a = ?e ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?e ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P463
Q43229 Q484652
USER
How many organizations or international organizations were Poland a member of ?
(Q36,P463,c(Q43229)) (Q36,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q36
relation P463
type Q43229
action filter_type
action find
entity Q36
relation P463
type Q484652
['Q36', 'P463', {'concept': 'Q43229'}] ['Q36', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?l ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } . ?t rdf:type ?l }
Poland
action count
action union
action filter_type
action find
entity Poland
relation member of
type organization
action filter_type
action find
entity Poland
relation member of
type international organization
['Poland', 'member of', {'concept': 'organization'}] ['Poland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?l ) { ( ontology:international_organization ) ( ontology:organization ) } . ?t rdf:type ?l }
[]
organization international organization
SYSTEM
17
Q81299 Q191384 Q177773 Q1065 Q41550 Q826700 Q656801 Q17495 Q789769 Q566397 Q7184 Q42262 Q7804 Q7809 Q7825 Q1043527 Q827525
(Q36,P463,c(Q43229)) (Q36,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q36
relation P463
type Q43229
action filter_type
action find
entity Q36
relation P463
type Q484652
[ANSWER]
['Q36', 'P463', {'concept': 'Q43229'}] ['Q36', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?l ) { ( ontology:Q484652 ) ( ontology:Q43229 ) } . ?t rdf:type ?l }
Organization for Security and Co-operation in Europe International Bank for Reconstruction and Development World Intellectual Property Organization United Nations Organisation for Economic Co-operation and Development International Energy Agency International Finance Corporation Universal Postal Union Council of the Baltic Sea States Weimar Triangle North Atlantic Treaty Organisation European Space Agency International Monetary Fund United Nations Educational, Scientific and Cultural Organization World Trade Organization Multilateral Investment Guarantee Agency International Development Association
17
action count
action union
action filter_type
action find
entity Poland
relation member of
type organization
action filter_type
action find
entity Poland
relation member of
type international organization
['Poland', 'member of', {'concept': 'organization'}] ['Poland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { VALUES ( ?l ) { ( ontology:international_organization ) ( ontology:organization ) } . ?t rdf:type ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P137
Q811979 Q43229
USER
How many architectural structures or organizations can be described as service operator of Poland ?
(c(Q811979),P137,Q36) (c(Q43229),P137,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P137
type Q811979
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
[{'concept': 'Q811979'}, 'P137', 'Q36'] [{'concept': 'Q43229'}, 'P137', 'Q36']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P137 resource:Q36 . ?i rdf:type ontology:Q43229 } UNION { ?i property:P137 resource:Q36 . ?i rdf:type ontology:Q811979 } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation operator
type architectural structure
action filter_type
action find_reverse
entity Poland
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', 'Poland'] [{'concept': 'organization'}, 'operator', 'Poland']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:operator resource:Poland . ?i rdf:type ontology:organization } UNION { ?i property:operator resource:Poland . ?i rdf:type ontology:architectural_structure } }
[]
architectural structure organization
SYSTEM
2
Q5369828 Q129110
(c(Q811979),P137,Q36) (c(Q43229),P137,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P137
type Q811979
action filter_type
action find_reverse
entity Q36
relation P137
type Q43229
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q36'] [{'concept': 'Q43229'}, 'P137', 'Q36']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P137 resource:Q36 . ?i rdf:type ontology:Q43229 } UNION { ?i property:P137 resource:Q36 . ?i rdf:type ontology:Q811979 } }
Embassy of Poland, Stockholm Telewizja Polska
2
action count
action union
action filter_type
action find_reverse
entity Poland
relation operator
type architectural structure
action filter_type
action find_reverse
entity Poland
relation operator
type organization
[{'concept': 'architectural structure'}, 'operator', 'Poland'] [{'concept': 'organization'}, 'operator', 'Poland']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:operator resource:Poland . ?i rdf:type ontology:organization } UNION { ?i property:operator resource:Poland . ?i rdf:type ontology:architectural_structure } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184
P530
Q15617994
USER
What administrative territories have diplomatic relationships with Belarus ?
(Q184,P530,c(Q15617994))
action filter_type
action find
entity Q184
relation P530
type Q15617994
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q184 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Belarus
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Belarus property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q843 Q241 Q668 Q414 Q227 Q224 Q55 Q262 Q148 Q233 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q833 Q1016 Q298 Q403 Q159 Q142 Q212 Q213 Q211 Q230 Q217 Q214 Q215 Q155 Q41 Q794 Q27
(Q184,P530,c(Q15617994))
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with Belarus
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q184 property:P530 ?d . ?d rdf:type ontology:Q15617994 }
Israel Pakistan Cuba India Argentina Azerbaijan Croatia Netherlands Algeria People's Republic of China Malta Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh Malaysia Libya Chile Serbia Russia France Ukraine Czech Republic Latvia Georgia Republic of Moldova Slovakia Slovenia Brazil Greece Iran Ireland
Italy, Brazil and United States of America have diplomatic relationships with Belarus
Italy Brazil United States of America
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Belarus property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q114
Q15617994
USER
And how about Kenya?
(Q114,P530,c(Q15617994))
action filter_type
action find
entity Q114
relation P530
type Q15617994
['Q114', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q114 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Kenya
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Kenya property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q953 Q145
SYSTEM
Italy, Zambia, United Kingdom
Q1036 Q1037 Q1030 Q145 Q953 Q262 Q1016 Q1049 Q954 Q115 Q1033 Q79 Q924 Q38 Q958 Q258 Q916
(Q114,P530,c(Q15617994))
action filter_type
action find
entity Q114
relation P530
type Q15617994
[ANSWERS]
['Q114', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q114 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Uganda Rwanda Namibia United Kingdom Zambia Algeria Libya Sudan Zimbabwe Ethiopia Nigeria Egypt Tanzania Italy South Sudan South Africa Angola
Italy Zambia United Kingdom
action filter_type
action find
entity Kenya
relation diplomatic relation
type designation for an administrative territorial entity
['Kenya', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Kenya property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q953 Q145
P530
Q15617994
USER
What administrative territories have diplomatic relationships with those ones ?
(Q38,P530,c(Q15617994)) (Q953,P530,c(Q15617994)) (Q145,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q953', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?f property:P530 ?w . ?w rdf:type ontology:Q15617994 . VALUES ( ?f ) { ( resource:Q1036 ) ( resource:Q1037 ) ( resource:Q1030 ) } }
Italy Zambia United Kingdom
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Zambia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?f property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?f ) { ( resource:Uganda ) ( resource:Rwanda ) ( resource:Namibia ) } }
[]
designation for an administrative territorial entity
Q38 Q155 Q155
SYSTEM
Brazil for 2nd, 3rd, Italy for 1st
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114 Q1020 Q801 Q974 Q1029 Q668 Q148 Q924 Q79 Q1033 Q1030 Q1016 Q963 Q115 Q30 Q258 Q159 Q155 Q954 Q27 Q916 Q114 Q142 Q805 Q801 Q155 Q37 Q403 Q38
(Q38,P530,c(Q15617994)) (Q953,P530,c(Q15617994)) (Q145,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
[ANSWERS]
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q953', 'P530', {'concept': 'Q15617994'}] ['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?f property:P530 ?w . ?w rdf:type ontology:Q15617994 . VALUES ( ?f ) { ( resource:Q1036 ) ( resource:Q1037 ) ( resource:Q1030 ) } }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya Malawi Israel Democratic Republic of the Congo Mozambique India People's Republic of China Tanzania Egypt Nigeria Namibia Libya Botswana Ethiopia United States of America South Africa Russia Brazil Zimbabwe Ireland Angola Kenya France Yemen Israel Brazil Lithuania Serbia Italy
Italy, Brazil and Brazil have diplomatic relationships with those ones
Italy Brazil Brazil
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Zambia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?f property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?f ) { ( resource:Uganda ) ( resource:Rwanda ) ( resource:Namibia ) } }
[]