Simple Question (Direct)
Simple Question
Q3928657
P21
Q290
USER
Which sex does Radim Wozniak have ?
(Q3928657,P21,c(Q290))
action filter_type
action find
entity Q3928657
relation P21
type Q290
['Q3928657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3928657 property:P21 ?h . ?h rdf:type ontology:Q290 }
Radim Wozniak
action filter_type
action find
entity Radim Wozniak
relation gender
type sex
['Radim Wozniak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Radim_Wozniak property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3928657,P21,c(Q290))
action filter_type
action find
entity Q3928657
relation P21
type Q290
Radim Wozniak has a [ANSWER]
['Q3928657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q3928657 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Radim Wozniak has a male
male
action filter_type
action find
entity Radim Wozniak
relation gender
type sex
['Radim Wozniak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Radim_Wozniak property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3928657
P641
Q349
USER
What was the sport that Radim Wozniak was a part of ?
(Q3928657,P641,c(Q349))
action filter_type
action find
entity Q3928657
relation P641
type Q349
['Q3928657', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q3928657 property:P641 ?i }
Radim Wozniak
action filter_type
action find
entity Radim Wozniak
relation sport
type sport
['Radim Wozniak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Radim_Wozniak property:sport ?i }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3928657,P641,c(Q349))
action filter_type
action find
entity Q3928657
relation P641
type Q349
The sport that Radim Wozniak was a part of was the [ANSWER]
['Q3928657', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . resource:Q3928657 property:P641 ?i }
association football
The sport that Radim Wozniak was a part of was the association football
association football
action filter_type
action find
entity Radim Wozniak
relation sport
type sport
['Radim Wozniak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . resource:Radim_Wozniak property:sport ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?q }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?q }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?q }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?q }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15840519 Q3928657
P27
Q15617994
USER
Which administrative territories are Radim Wozniak or Pierre La Harpe an inhabitant of ?
OR((Q3928657,P27,c(Q15617994)), (Q15840519,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3928657
relation P27
action find
entity Q15840519
relation P27
type Q15617994
{'OR': [['Q3928657', 'P27', {'concept': 'Q15617994'}], ['Q15840519', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3928657 property:P27 ?i } UNION { resource:Q15840519 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Pierre La Harpe Radim Wozniak
action filter_type
action union
action find
entity Radim Wozniak
relation country of citizenship
action find
entity Pierre La Harpe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Radim Wozniak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pierre La Harpe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Radim_Wozniak property:country_of_citizenship ?i } UNION { resource:Pierre_La_Harpe property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q39
SYSTEM
Czech Republic, Switzerland
Q213 Q39
OR((Q3928657,P27,c(Q15617994)), (Q15840519,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3928657
relation P27
action find
entity Q15840519
relation P27
type Q15617994
[ANSWERS] are Radim Wozniak or Pierre La Harpe an inhabitant of
{'OR': [['Q3928657', 'P27', {'concept': 'Q15617994'}], ['Q15840519', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3928657 property:P27 ?i } UNION { resource:Q15840519 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Czech Republic Switzerland
Czech Republic and Switzerland are Radim Wozniak or Pierre La Harpe an inhabitant of
Czech Republic Switzerland
action filter_type
action union
action find
entity Radim Wozniak
relation country of citizenship
action find
entity Pierre La Harpe
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Radim Wozniak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pierre La Harpe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Radim_Wozniak property:country_of_citizenship ?i } UNION { resource:Pierre_La_Harpe property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10263954 Q3928657
P27
Q15617994
USER
Which administrative territories do Radim Wozniak or Daniel Gomes de Freitas belong to ?
OR((Q3928657,P27,c(Q15617994)), (Q10263954,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3928657
relation P27
action find
entity Q10263954
relation P27
type Q15617994
{'OR': [['Q3928657', 'P27', {'concept': 'Q15617994'}], ['Q10263954', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q3928657 property:P27 ?h } UNION { resource:Q10263954 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Daniel Gomes de Freitas Radim Wozniak
action filter_type
action union
action find
entity Radim Wozniak
relation country of citizenship
action find
entity Daniel Gomes de Freitas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Radim Wozniak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Daniel Gomes de Freitas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Radim_Wozniak property:country_of_citizenship ?h } UNION { resource:Daniel_Gomes_de_Freitas property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q213
SYSTEM
Brazil, Czech Republic
Q155 Q213
OR((Q3928657,P27,c(Q15617994)), (Q10263954,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3928657
relation P27
action find
entity Q10263954
relation P27
type Q15617994
Radim Wozniak or Daniel Gomes de Freitas belong to both [ANSWERS]
{'OR': [['Q3928657', 'P27', {'concept': 'Q15617994'}], ['Q10263954', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q3928657 property:P27 ?h } UNION { resource:Q10263954 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Brazil Czech Republic
Radim Wozniak or Daniel Gomes de Freitas belong to both Brazil and Czech Republic
Brazil Czech Republic
action filter_type
action union
action find
entity Radim Wozniak
relation country of citizenship
action find
entity Daniel Gomes de Freitas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Radim Wozniak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Daniel Gomes de Freitas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Radim_Wozniak property:country_of_citizenship ?h } UNION { resource:Daniel_Gomes_de_Freitas property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 . ?n property:P530 ?m } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?f = ?v ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?m } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?f = ?v ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have ambassadorial relations with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 . ?n property:P530 ?m } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?s property:P530 ?t . ?s rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?f = ?v ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have ambassadorial relations with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?m } GROUP BY ?n } } . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { ?s property:diplomatic_relation ?t . ?s rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?f = ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P530
Q1048835 Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with max number of political territories and administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?d rdf:type ?m } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?z WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?z } . FILTER ( ?a = ?n ) }
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?d rdf:type ?m } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?z WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?z } . FILTER ( ?a = ?n ) }
[]
political territorial entity political territorial entity designation for an administrative territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835)|c(Q15617994),P530,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relationships with max number of political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?d rdf:type ?m } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?z WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?z } . FILTER ( ?a = ?n ) }
Germany
Germany have diplomatic relationships with max number of political territories and administrative territories
Germany
action argmax
action union
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?k WHERE { VALUES ( ?m ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?d rdf:type ?m } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) ?z WHERE { ?u rdf:type ?x . VALUES ( ?x ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?z } . FILTER ( ?a = ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q15416 Q166142
USER
Which administrative territories are atmost 63 television programs and applications set in ?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 63
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } . ?s rdf:type ?f } GROUP BY ?n } . FILTER ( ?v <= 63 ) }
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 63
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:television_program ) ( ontology:application ) } . ?s rdf:type ?f } GROUP BY ?n } . FILTER ( ?v <= 63 ) }
[]
designation for an administrative territorial entity television program application
Q30 Q230 Q55
SYSTEM
United States of America, Georgia, Netherlands
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q668 Q414 Q3278 Q55 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q41 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action atmost
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 63
Atmost 63 television programs and applications are set in the [ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:Q15416 ) ( ontology:Q166142 ) } . ?s rdf:type ?f } GROUP BY ?n } . FILTER ( ?v <= 63 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre India Argentina Charente-Maritime Netherlands Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Greece Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
Atmost 63 television programs and applications are set in the United States of America, Georgia and Netherlands
United States of America Georgia Netherlands
action atmost
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 63
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?f ) { ( ontology:television_program ) ( ontology:application ) } . ?s rdf:type ?f } GROUP BY ?n } . FILTER ( ?v <= 63 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11886126 Q3928657
P27 P17
Q15617994
USER
Which administrative territories do Radim Wozniak belong to or do Oulunkylä Ice Rink belong to ?
OR((Q3928657,P27,c(Q15617994)), (Q11886126,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3928657
relation P27
action find
entity Q11886126
relation P17
type Q15617994
{'OR': [['Q3928657', 'P27', {'concept': 'Q15617994'}], ['Q11886126', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3928657 property:P27 ?i } UNION { resource:Q11886126 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Oulunkylä Ice Rink Radim Wozniak
action filter_type
action union
action find
entity Radim Wozniak
relation country of citizenship
action find
entity Oulunkylä Ice Rink
relation country
type designation for an administrative territorial entity
{'OR': [['Radim Wozniak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oulunkylä Ice Rink', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Radim_Wozniak property:country_of_citizenship ?i } UNION { resource:Oulunkylä_Ice_Rink property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q213
SYSTEM
Finland, Czech Republic
Q33 Q213
OR((Q3928657,P27,c(Q15617994)), (Q11886126,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3928657
relation P27
action find
entity Q11886126
relation P17
type Q15617994
Radim Wozniak belong to [ANSWERS]
{'OR': [['Q3928657', 'P27', {'concept': 'Q15617994'}], ['Q11886126', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3928657 property:P27 ?i } UNION { resource:Q11886126 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Finland Czech Republic
Radim Wozniak belong to Finland and Czech Republic
Finland Czech Republic
action filter_type
action union
action find
entity Radim Wozniak
relation country of citizenship
action find
entity Oulunkylä Ice Rink
relation country
type designation for an administrative territorial entity
{'OR': [['Radim Wozniak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Oulunkylä Ice Rink', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Radim_Wozniak property:country_of_citizenship ?i } UNION { resource:Oulunkylä_Ice_Rink property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]