Simple Question (Direct)
Simple Question
Q440700
P1344
Q18608583
USER
Which recurring sporting events did Marina Aitova compete in ?
(Q440700,P1344,c(Q18608583))
action filter_type
action find
entity Q440700
relation P1344
type Q18608583
['Q440700', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q18608583 . resource:Q440700 property:P1344 ?a }
Marina Aitova
action filter_type
action find
entity Marina Aitova
relation participant of
type recurring sporting event
['Marina Aitova', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:recurring_sporting_event . resource:Marina_Aitova property:participant_of ?a }
[]
recurring sporting event
Q494906 Q329679
SYSTEM
2002 Asian Games, 2006 Asian Games
Q494906 Q329679
(Q440700,P1344,c(Q18608583))
action filter_type
action find
entity Q440700
relation P1344
type Q18608583
Marina Aitova competed in [ANSWERS]
['Q440700', 'P1344', {'concept': 'Q18608583'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q18608583 . resource:Q440700 property:P1344 ?a }
2002 Asian Games 2006 Asian Games
Marina Aitova competed in 2002 Asian Games and 2006 Asian Games
2002 Asian Games 2006 Asian Games
action filter_type
action find
entity Marina Aitova
relation participant of
type recurring sporting event
['Marina Aitova', 'participant of', {'concept': 'recurring sporting event'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:recurring_sporting_event . resource:Marina_Aitova property:participant_of ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q440700
P2416
Q31629
USER
Which type of sport did Marina Aitova compete in ?
(Q440700,P2416,c(Q31629))
action filter_type
action find
entity Q440700
relation P2416
type Q31629
['Q440700', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q440700 property:P2416 ?d . ?d rdf:type ontology:Q31629 }
Marina Aitova
action filter_type
action find
entity Marina Aitova
relation sports discipline competed in
type type of sport
['Marina Aitova', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Marina_Aitova property:sports_discipline_competed_in ?d . ?d rdf:type ontology:type_of_sport }
[]
type of sport
Q165704
SYSTEM
high jump
Q165704
(Q440700,P2416,c(Q31629))
action filter_type
action find
entity Q440700
relation P2416
type Q31629
Marina Aitova competed in [ANSWER]
['Q440700', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { resource:Q440700 property:P2416 ?d . ?d rdf:type ontology:Q31629 }
high jump
Marina Aitova competed in high jump
high jump
action filter_type
action find
entity Marina Aitova
relation sports discipline competed in
type type of sport
['Marina Aitova', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { resource:Marina_Aitova property:sports_discipline_competed_in ?d . ?d rdf:type ontology:type_of_sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15591644
Q31629
USER
And what about William Goldsboro?
(Q15591644,P2416,c(Q31629))
action filter_type
action find
entity Q15591644
relation P2416
type Q31629
['Q15591644', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q15591644 property:P2416 ?k . ?k rdf:type ontology:Q31629 }
William Goldsboro
action filter_type
action find
entity William Goldsboro
relation sports discipline competed in
type type of sport
['William Goldsboro', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:William_Goldsboro property:sports_discipline_competed_in ?k . ?k rdf:type ontology:type_of_sport }
[]
type of sport
Q40244
SYSTEM
marathon
Q40244
(Q15591644,P2416,c(Q31629))
action filter_type
action find
entity Q15591644
relation P2416
type Q31629
[ANSWER]
['Q15591644', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { resource:Q15591644 property:P2416 ?k . ?k rdf:type ontology:Q31629 }
marathon
marathon
action filter_type
action find
entity William Goldsboro
relation sports discipline competed in
type type of sport
['William Goldsboro', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { resource:William_Goldsboro property:sports_discipline_competed_in ?k . ?k rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15591644
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q40244,P27,c(Q1048835))
action filter_type
action find
entity Q15591644
relation P27
type Q1048835
['Q40244', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q15591644 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
William Goldsboro
action filter_type
action find
entity William Goldsboro
relation country of citizenship
type political territorial entity
['marathon', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:William_Goldsboro property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q40244,P27,c(Q1048835))
action filter_type
action find
entity Q15591644
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q40244', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q15591644 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Canada
Canada is the native country of that person
Canada
action filter_type
action find
entity William Goldsboro
relation country of citizenship
type political territorial entity
['marathon', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:William_Goldsboro property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q3294614
P1313
Q12737077
USER
How many occupations serve as the political office that are fulfilled by the head of the government of Canada or San Lucas Municipality ?
(Q16,P1313,c(Q12737077)) (Q3294614,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q16
relation P1313
type Q12737077
action filter_type
action find
entity Q3294614
relation P1313
type Q12737077
['Q16', 'P1313', {'concept': 'Q12737077'}] ['Q3294614', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?g property:P1313 ?d . VALUES ( ?g ) { ( resource:Q16 ) ( resource:Q3294614 ) } }
Canada San Lucas Municipality
action count
action union
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
action filter_type
action find
entity San Lucas Municipality
relation office held by head of government
type occupation
['Canada', 'office held by head of government', {'concept': 'occupation'}] ['San Lucas Municipality', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?g property:office_held_by_head_of_government ?d . VALUES ( ?g ) { ( resource:Canada ) ( resource:San_Lucas_Municipality ) } }
[]
occupation
SYSTEM
2
Q30185 Q839078
(Q16,P1313,c(Q12737077)) (Q3294614,P1313,c(Q12737077))
action count
action union
action filter_type
action find
entity Q16
relation P1313
type Q12737077
action filter_type
action find
entity Q3294614
relation P1313
type Q12737077
[ANSWER]
['Q16', 'P1313', {'concept': 'Q12737077'}] ['Q3294614', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?g property:P1313 ?d . VALUES ( ?g ) { ( resource:Q16 ) ( resource:Q3294614 ) } }
mayor Prime Minister of Canada
2
action count
action union
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
action filter_type
action find
entity San Lucas Municipality
relation office held by head of government
type occupation
['Canada', 'office held by head of government', {'concept': 'occupation'}] ['San Lucas Municipality', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?g property:office_held_by_head_of_government ?d . VALUES ( ?g ) { ( resource:Canada ) ( resource:San_Lucas_Municipality ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q746529 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are not Mukim present in ?
AND((Q16,P530,c(Q15617994)), NOT((Q746529,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q16
relation P530
action find
entity Q746529
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q746529', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?s WHERE { MINUS { resource:Q746529 property:P17 ?s } . resource:Q16 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
Mukim Canada
action filter_type
action difference
action find
entity Canada
relation diplomatic relation
action find
entity Mukim
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Mukim', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?s WHERE { MINUS { resource:Mukim property:country ?s } . resource:Canada property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q1028 Q252 Q159 Q928 Q851 Q36 Q77 Q878 Q804
SYSTEM
Some of them are Norway, Morocco, Indonesia, Russia, Philippines, Saudi Arabia, Poland, Uruguay, United Arab Emirates, Panama
Q804 Q801 Q843 Q1029 Q1028 Q145 Q229 Q33 Q30 Q36 Q79 Q34 Q77 Q39 Q38 Q878 Q739 Q711 Q1030 Q851 Q29999 Q928 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
AND((Q16,P530,c(Q15617994)), NOT((Q746529,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q16
relation P530
action find
entity Q746529
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Canada and are not Mukim present in
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q746529', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?s WHERE { MINUS { resource:Q746529 property:P17 ?s } . resource:Q16 property:P530 ?s . ?s rdf:type ontology:Q15617994 }
Panama Israel Pakistan Mozambique Morocco United Kingdom Cyprus Finland United States of America Poland Egypt Sweden Uruguay Switzerland Italy United Arab Emirates Colombia Mongolia Namibia Saudi Arabia Kingdom of the Netherlands Philippines Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
Norway, Morocco, Indonesia, Russia, Philippines, Saudi Arabia, Poland, Uruguay, United Arab Emirates and Panama have diplomatic relationships with Canada and are not Mukim present in
Norway Morocco Indonesia Russia Philippines Saudi Arabia Poland Uruguay United Arab Emirates Panama
action filter_type
action difference
action find
entity Canada
relation diplomatic relation
action find
entity Mukim
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Mukim', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?s WHERE { MINUS { resource:Mukim property:country ?s } . resource:Canada property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q878 Q40
P530
Q1048835
USER
How many political territories have ambassadorial relations with United Arab Emirates and Austria ?
(c(Q1048835),P530,Q878) (c(Q1048835),P530,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q878
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q878'] [{'concept': 'Q1048835'}, 'P530', 'Q40']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P530 resource:Q878 . ?x rdf:type ontology:Q1048835 . ?x property:P530 resource:Q40 . ?x rdf:type ontology:Q1048835 }
United Arab Emirates Austria
action count
action intersection
action filter_type
action find_reverse
entity United Arab Emirates
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Arab Emirates'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Austria']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:diplomatic_relation resource:United_Arab_Emirates . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation resource:Austria . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q878) (c(Q1048835),P530,Q40)
action count
action intersection
action filter_type
action find_reverse
entity Q878
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q878'] [{'concept': 'Q1048835'}, 'P530', 'Q40']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P530 resource:Q878 . ?x rdf:type ontology:Q1048835 . ?x property:P530 resource:Q40 . ?x rdf:type ontology:Q1048835 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity United Arab Emirates
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'United Arab Emirates'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Austria']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:diplomatic_relation resource:United_Arab_Emirates . ?x rdf:type ontology:political_territorial_entity . ?x property:diplomatic_relation resource:Austria . ?x rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q298
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with lesser number of administrative territories than Chile ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q298
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?i ) WHERE { ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?y property:P530 ?f } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q298 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?q ) }
Chile
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?i ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?f } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Chile property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q20 Q33
SYSTEM
Netherlands, Norway, Finland
Q702 Q804 Q800 Q55 Q262 Q783 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q983 Q851 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q224 Q221 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q298
relation P530
type Q15617994
[ANSWERS] have tactful political relations with lesser number of administrative territories than Chile
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?i ) WHERE { ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?y property:P530 ?f } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q298 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?i < ?q ) }
Federated States of Micronesia Panama Costa Rica Netherlands Algeria Honduras Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Croatia Republic of Macedonia Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga New Caledonia Thailand
Netherlands, Norway and Finland have tactful political relations with lesser number of administrative territories than Chile
Netherlands Norway Finland
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Chile
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?i ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation ?f } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Chile property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i < ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q403
P530
Q15617994 Q15617994
USER
And how about Serbia?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q403
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?p property:P530 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q403 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?o ) }
Serbia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?p property:diplomatic_relation ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Serbia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q403
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?p property:P530 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q403 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?o ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands Poland Luxembourg
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Serbia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?w ) WHERE { ?p property:diplomatic_relation ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Serbia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?o ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q954
P530
Q15617994
USER
Do Zimbabwe have tactful political relations with those ones ?
(Q954,P530,Q55) (Q954,P530,Q36) (Q954,P530,Q32)
action is_in
entity prev_answer
action find
entity Q954
relation P530
['Q954', 'P530', 'Q55'] ['Q954', 'P530', 'Q36'] ['Q954', 'P530', 'Q32']
ASK WHERE { VALUES ( ?i ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q954 property:P530 ?i }
Zimbabwe
action is_in
entity prev_answer
action find
entity Zimbabwe
relation diplomatic relation
['Zimbabwe', 'diplomatic relation', 'Netherlands'] ['Zimbabwe', 'diplomatic relation', 'Poland'] ['Zimbabwe', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?i ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Zimbabwe property:diplomatic_relation ?i }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q954,P530,Q55) (Q954,P530,Q36) (Q954,P530,Q32)
action is_in
entity prev_answer
action find
entity Q954
relation P530
[ANSWER]
['Q954', 'P530', 'Q55'] ['Q954', 'P530', 'Q36'] ['Q954', 'P530', 'Q32']
ASK WHERE { VALUES ( ?i ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q954 property:P530 ?i }
No
action is_in
entity prev_answer
action find
entity Zimbabwe
relation diplomatic relation
['Zimbabwe', 'diplomatic relation', 'Netherlands'] ['Zimbabwe', 'diplomatic relation', 'Poland'] ['Zimbabwe', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?i ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Zimbabwe property:diplomatic_relation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P463
Q35749
USER
What was Russia a member of ?
(Q159,P463,c(Q35749))
action filter_type
action find
entity Q159
relation P463
type Q35749
['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q35749 . resource:Q159 property:P463 ?o }
Russia
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:parliament . resource:Russia property:member_of ?o }
[]
parliament
Q37470
SYSTEM
United Nations Security Council
Q37470
(Q159,P463,c(Q35749))
action filter_type
action find
entity Q159
relation P463
type Q35749
Russia was a member of [ANSWER]
['Q159', 'P463', {'concept': 'Q35749'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q35749 . resource:Q159 property:P463 ?o }
United Nations Security Council
Russia was a member of United Nations Security Council
United Nations Security Council
action filter_type
action find
entity Russia
relation member of
type parliament
['Russia', 'member of', {'concept': 'parliament'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:parliament . resource:Russia property:member_of ?o }
[]