Simple Question (Direct)
Simple Question
Q7292326
P21
Q290
USER
What is the sex of Randy Milligan ?
(Q7292326,P21,c(Q290))
action filter_type
action find
entity Q7292326
relation P21
type Q290
['Q7292326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7292326 property:P21 ?j . ?j rdf:type ontology:Q290 }
Randy Milligan
action filter_type
action find
entity Randy Milligan
relation gender
type sex
['Randy Milligan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Randy_Milligan property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7292326,P21,c(Q290))
action filter_type
action find
entity Q7292326
relation P21
type Q290
The sex of Randy Milligan is a [ANSWER]
['Q7292326', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q7292326 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
The sex of Randy Milligan is a male
male
action filter_type
action find
entity Randy Milligan
relation gender
type sex
['Randy Milligan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Randy_Milligan property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7292326
P106
Q151885
USER
What does Randy Milligan do for a living ?
(Q7292326,P106,c(Q151885))
action filter_type
action find
entity Q7292326
relation P106
type Q151885
['Q7292326', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q7292326 property:P106 ?n . ?n rdf:type ontology:Q151885 }
Randy Milligan
action filter_type
action find
entity Randy Milligan
relation occupation
type concept
['Randy Milligan', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Randy_Milligan property:occupation ?n . ?n rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q7292326,P106,c(Q151885))
action filter_type
action find
entity Q7292326
relation P106
type Q151885
Randy Milligan does a [ANSWER] for a living
['Q7292326', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q7292326 property:P106 ?n . ?n rdf:type ontology:Q151885 }
baseball player
Randy Milligan does a baseball player for a living
baseball player
action filter_type
action find
entity Randy Milligan
relation occupation
type concept
['Randy Milligan', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Randy_Milligan property:occupation ?n . ?n rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7292326
P27
Q15617994
USER
Which administrative territory does Randy Milligan belong to ?
(Q7292326,P27,c(Q15617994))
action filter_type
action find
entity Q7292326
relation P27
type Q15617994
['Q7292326', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q7292326 property:P27 ?j }
Randy Milligan
action filter_type
action find
entity Randy Milligan
relation country of citizenship
type designation for an administrative territorial entity
['Randy Milligan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Randy_Milligan property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7292326,P27,c(Q15617994))
action filter_type
action find
entity Q7292326
relation P27
type Q15617994
Randy Milligan belongs to [ANSWER]
['Q7292326', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q7292326 property:P27 ?j }
United States of America
Randy Milligan belongs to United States of America
United States of America
action filter_type
action find
entity Randy Milligan
relation country of citizenship
type designation for an administrative territorial entity
['Randy Milligan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Randy_Milligan property:country_of_citizenship ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P47
Q1048835 Q7275
USER
How many political territories and states have a shared border with United States of America ?
(Q30,P47,c(Q1048835)) (Q30,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q7275
['Q30', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type state
['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
political territorial entity state
SYSTEM
2 political territories and 1 states
Q248452 Q16 Q778
(Q30,P47,c(Q1048835)) (Q30,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q1048835
action filter_type
action find
entity Q30
relation P47
type Q7275
[ANSWER]
['Q30', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
British North America Canada The Bahamas
2 political territories and 1 states
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type political territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type state
['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { ?f rdf:type ?c . VALUES ( ?c ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q553036 Q2221906 Q15617994
USER
Which administrative territories are located in max number of natural region of Germanys or geographic locations ?
(c(Q15617994),P706,c(Q553036)|c(Q2221906))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?p WHERE { { ?p property:P706 ?h . ?h rdf:type ontology:Q553036 . ?p rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q2221906 . ?p rdf:type ontology:Q15617994 . ?p property:P706 ?h } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?i WHERE { { ?i property:P706 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q553036 } UNION { ?i property:P706 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2221906 } } GROUP BY ?i } . FILTER ( ?s = ?r ) }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?p WHERE { { ?p property:located_on_terrain_feature ?h . ?h rdf:type ontology:natural_region_of_Germany . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:geographic_location . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:located_on_terrain_feature ?h } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?i WHERE { { ?i property:located_on_terrain_feature ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:natural_region_of_Germany } UNION { ?i property:located_on_terrain_feature ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:geographic_location } } GROUP BY ?i } . FILTER ( ?s = ?r ) }
[]
natural region of Germany geographic location designation for an administrative territorial entity
Q33 Q786 Q754
SYSTEM
Finland, Dominican Republic, Trinidad and Tobago
Q489215 Q784 Q786 Q790 Q244 Q33 Q754 Q262684 Q628095 Q522992 Q760 Q153969
(c(Q15617994),P706,c(Q553036)|c(Q2221906))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q553036
action find_tuple_counts
relation P706
type Q15617994
type Q2221906
[ANSWERS] are located in max number of natural region of Germanys or geographic locations
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?p WHERE { { ?p property:P706 ?h . ?h rdf:type ontology:Q553036 . ?p rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q2221906 . ?p rdf:type ontology:Q15617994 . ?p property:P706 ?h } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?i WHERE { { ?i property:P706 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q553036 } UNION { ?i property:P706 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2221906 } } GROUP BY ?i } . FILTER ( ?s = ?r ) }
Oberhof Dominica Dominican Republic Haiti Barbados Finland Trinidad and Tobago Füssen Nürburg Braunlage Saint Lucia Lindau
Finland, Dominican Republic and Trinidad and Tobago are located in max number of natural region of Germanys or geographic locations
Finland Dominican Republic Trinidad and Tobago
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic location
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) ?p WHERE { { ?p property:located_on_terrain_feature ?h . ?h rdf:type ontology:natural_region_of_Germany . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:geographic_location . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:located_on_terrain_feature ?h } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?i WHERE { { ?i property:located_on_terrain_feature ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:natural_region_of_Germany } UNION { ?i property:located_on_terrain_feature ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:geographic_location } } GROUP BY ?i } . FILTER ( ?s = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q27
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with around the same number of administrative territories as Ireland ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q27
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?z property:P530 ?w . ?z rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q27 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Ireland
action count
action approx
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 Ireland
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 ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?z property:diplomatic_relation ?w . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Ireland property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
149
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 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 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q27
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?z property:P530 ?w . ?z rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q27 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia 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 Bosnia and Herzegovina Croatia 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 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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
149
action count
action approx
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 Ireland
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 ( COUNT ( ?z ) AS ?l ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?z property:diplomatic_relation ?w . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?o = ?i ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Ireland property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P85
Q484692
USER
What is the anthem for Dominican Republic ?
(Q786,P85,c(Q484692))
action filter_type
action find
entity Q786
relation P85
type Q484692
['Q786', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q786 property:P85 ?p . ?p rdf:type ontology:Q484692 }
Dominican Republic
action filter_type
action find
entity Dominican Republic
relation anthem
type hymn
['Dominican Republic', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Dominican_Republic property:anthem ?p . ?p rdf:type ontology:hymn }
[]
hymn
Q866223
SYSTEM
National Anthem of the Dominican Republic
Q866223
(Q786,P85,c(Q484692))
action filter_type
action find
entity Q786
relation P85
type Q484692
The anthem for Dominican Republic is the [ANSWER]
['Q786', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?p WHERE { resource:Q786 property:P85 ?p . ?p rdf:type ontology:Q484692 }
National Anthem of the Dominican Republic
The anthem for Dominican Republic is the National Anthem of the Dominican Republic
National Anthem of the Dominican Republic
action filter_type
action find
entity Dominican Republic
relation anthem
type hymn
['Dominican Republic', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?p WHERE { resource:Dominican_Republic property:anthem ?p . ?p rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P610
Q14524493
USER
Which is the zenith of Finland ?
(Q33,P610,c(Q14524493))
action filter_type
action find
entity Q33
relation P610
type Q14524493
['Q33', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q33 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Finland
action filter_type
action find
entity Finland
relation highest point
type terrain
['Finland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:Finland property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
terrain
Q216035
SYSTEM
Halti
Q216035
(Q33,P610,c(Q14524493))
action filter_type
action find
entity Q33
relation P610
type Q14524493
[ANSWER] is the zenith of Finland
['Q33', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { resource:Q33 property:P610 ?h . ?h rdf:type ontology:Q14524493 }
Halti
Halti is the zenith of Finland
Halti
action filter_type
action find
entity Finland
relation highest point
type terrain
['Finland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { resource:Finland property:highest_point ?h . ?h rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1859297
Q14524493
USER
And how about Strážov Mountains?
(Q1859297,P610,c(Q14524493))
action filter_type
action find
entity Q1859297
relation P610
type Q14524493
['Q1859297', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { resource:Q1859297 property:P610 ?z . ?z rdf:type ontology:Q14524493 }
Strážov Mountains
action filter_type
action find
entity Strážov Mountains
relation highest point
type terrain
['Strážov Mountains', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { resource:Strážov_Mountains property:highest_point ?z . ?z rdf:type ontology:terrain }
[]
terrain
Q3488890
SYSTEM
Strážov
Q3488890
(Q1859297,P610,c(Q14524493))
action filter_type
action find
entity Q1859297
relation P610
type Q14524493
[ANSWER]
['Q1859297', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?z WHERE { resource:Q1859297 property:P610 ?z . ?z rdf:type ontology:Q14524493 }
Strážov
Strážov
action filter_type
action find
entity Strážov Mountains
relation highest point
type terrain
['Strážov Mountains', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?z WHERE { resource:Strážov_Mountains property:highest_point ?z . ?z rdf:type ontology:terrain }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q79519 Q30
P6
Q502895
USER
Which people are the heads of the government of United States of America or Dothan ?
OR((Q30,P6,c(Q502895)), (Q79519,P6,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q79519
relation P6
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q79519', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q30 property:P6 ?m } UNION { resource:Q79519 property:P6 ?m } } . ?m rdf:type ontology:Q502895 }
Dothan United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Dothan
relation head of government
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Dothan', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:United_States_of_America property:head_of_government ?m } UNION { resource:Dothan property:head_of_government ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q23 Q23505 Q11891 Q35171 Q9640 Q11806 Q22686 Q35236 Q35286 Q11881
SYSTEM
Some of them are George Washington, George H. W. Bush, James K. Polk, Grover Cleveland, Lyndon B. Johnson, John Adams, Donald Trump, Herbert Hoover, Warren G. Harding, John Tyler
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q3313531 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q79519,P6,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q79519
relation P6
type Q502895
[ANSWERS] are the heads of the government of United States of America or Dothan
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q79519', 'P6', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q30 property:P6 ?m } UNION { resource:Q79519 property:P6 ?m } } . ?m rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Mike Schmitz Chester A. Arthur Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
George Washington, George H. W. Bush, James K. Polk, Grover Cleveland, Lyndon B. Johnson, John Adams, Donald Trump, Herbert Hoover, Warren G. Harding and John Tyler are the heads of the government of United States of America or Dothan
George Washington George H. W. Bush James K. Polk Grover Cleveland Lyndon B. Johnson John Adams Donald Trump Herbert Hoover Warren G. Harding John Tyler
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Dothan
relation head of government
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Dothan', 'head of government', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:United_States_of_America property:head_of_government ?m } UNION { resource:Dothan property:head_of_government ?m } } . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q80284
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as viola ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q80284
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q80284 property:P1303 ?o } } . FILTER ( ?m = ?r ) }
viola
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:musical_instrument . resource:viola property:instrument ?o } } . FILTER ( ?m = ?r ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q80284
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as viola
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q80284 property:P1303 ?o } } . FILTER ( ?m = ?r ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can around the same number of people perform with as viola
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity viola
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o rdf:type ontology:musical_instrument . resource:viola property:instrument ?o } } . FILTER ( ?m = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q483994
P1303
Q34379 Q502895
USER
How many musical instruments can less number of people perform with than Kazoo ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q483994
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P1303 resource:Q483994 . ?v rdf:type ontology:Q502895 } } . FILTER ( ?n < ?j ) }
Kazoo
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kazoo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:instrument resource:Kazoo . ?v rdf:type ontology:common_name } } . FILTER ( ?n < ?j ) }
[]
musical instrument common name
SYSTEM
36
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q483994
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P1303 resource:Q483994 . ?v rdf:type ontology:Q502895 } } . FILTER ( ?n < ?j ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
36
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kazoo
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?n ) WHERE { ?p property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:instrument resource:Kazoo . ?v rdf:type ontology:common_name } } . FILTER ( ?n < ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1099153
P1303
Q34379 Q502895
USER
And how about clavinet?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1099153
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P1303 resource:Q1099153 . ?b rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?e } }
clavinet
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity clavinet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:instrument resource:clavinet . ?b rdf:type ontology:common_name } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?e } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1099153
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:P1303 resource:Q1099153 . ?b rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?e } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity clavinet
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { ?b property:instrument resource:clavinet . ?b rdf:type ontology:common_name } } . { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?e } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q34379 Q1792379
USER
Which art genres express min number of musical instruments ?
(c(Q1792379),P180,c(Q34379))
action argmin
action find_tuple_counts
relation P180
type Q1792379
type Q34379
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:P180 ?c . ?v rdf:type ontology:Q1792379 . ?c rdf:type ontology:Q34379 } GROUP BY ?v } } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?z ) WHERE { ?j property:P180 ?s . ?j rdf:type ontology:Q1792379 . ?s rdf:type ontology:Q34379 } GROUP BY ?j } }
action argmin
action find_tuple_counts
relation depicts
type art genre
type musical instrument
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:depicts ?c . ?v rdf:type ontology:art_genre . ?c rdf:type ontology:musical_instrument } GROUP BY ?v } } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?z ) WHERE { ?j property:depicts ?s . ?j rdf:type ontology:art_genre . ?s rdf:type ontology:musical_instrument } GROUP BY ?j } }
[]
musical instrument art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q34379))
action argmin
action find_tuple_counts
relation P180
type Q1792379
type Q34379
[ANSWERS] express min number of musical instruments
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:P180 ?c . ?v rdf:type ontology:Q1792379 . ?c rdf:type ontology:Q34379 } GROUP BY ?v } } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?z ) WHERE { ?j property:P180 ?s . ?j rdf:type ontology:Q1792379 . ?s rdf:type ontology:Q34379 } GROUP BY ?j } }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire express min number of musical instruments
Self-Portrait with Monkey Above and Below The Ring of Fire
action argmin
action find_tuple_counts
relation depicts
type art genre
type musical instrument
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ?v ( COUNT ( ?c ) AS ?h ) WHERE { ?v property:depicts ?c . ?v rdf:type ontology:art_genre . ?c rdf:type ontology:musical_instrument } GROUP BY ?v } } . FILTER ( ?z = ?o ) . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?z ) WHERE { ?j property:depicts ?s . ?j rdf:type ontology:art_genre . ?s rdf:type ontology:musical_instrument } GROUP BY ?j } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3207118
P17
Q15617994
USER
Which administrative territory is that art genre present in ?
(Q3207118,P17,c(Q15617994))
action filter_type
action find
entity Q3207118
relation P17
type Q15617994
['Q3207118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3207118 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
The Ring of Fire
action filter_type
action find
entity The Ring of Fire
relation country
type designation for an administrative territorial entity
['The Ring of Fire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Ring_of_Fire property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3207118
SYSTEM
Did you mean The Ring of Fire ?
Q5712848 Q4668641 Q3207118
(Q5712848,P17,c(Q15617994)) (Q4668641,P17,c(Q15617994)) (Q3207118,P17,c(Q15617994))
[ANSWER]
['Q5712848', 'P17', {'concept': 'Q15617994'}] ['Q4668641', 'P17', {'concept': 'Q15617994'}] ['Q3207118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3207118 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Self-Portrait with Monkey Above and Below The Ring of Fire
Did you mean The Ring of Fire ?
The Ring of Fire
['Self-Portrait with Monkey', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Above and Below', 'country', {'concept': 'designation for an administrative territorial entity'}] ['The Ring of Fire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Ring_of_Fire property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3207118,P17,c(Q15617994))
['Q3207118', 'P17', {'concept': 'Q15617994'}]
['The Ring of Fire', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q3207118,P17,c(Q15617994))
action filter_type
action find
entity Q3207118
relation P17
type Q15617994
That art genre is in [ANSWER]
['Q3207118', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3207118 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
France
That art genre is in France
France
action filter_type
action find
entity The Ring of Fire
relation country
type designation for an administrative territorial entity
['The Ring of Fire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:The_Ring_of_Fire property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]