Simple Question (Direct)
Simple Question
Q3894375
P21
Q290
USER
What is the sex of Paolo Pillonca ?
(Q3894375,P21,c(Q290))
action filter_type
action find
entity Q3894375
relation P21
type Q290
['Q3894375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q3894375 property:P21 ?b }
Paolo Pillonca
action filter_type
action find
entity Paolo Pillonca
relation gender
type sex
['Paolo Pillonca', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Paolo_Pillonca property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3894375,P21,c(Q290))
action filter_type
action find
entity Q3894375
relation P21
type Q290
The sex of Paolo Pillonca is the [ANSWER]
['Q3894375', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q3894375 property:P21 ?b }
male
The sex of Paolo Pillonca is the male
male
action filter_type
action find
entity Paolo Pillonca
relation gender
type sex
['Paolo Pillonca', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Paolo_Pillonca property:gender ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q22236482 Q3894375
P27
Q15617994
USER
Which administrative territories do Paolo Pillonca or Stelios Bisbas belong to ?
OR((Q3894375,P27,c(Q15617994)), (Q22236482,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3894375
relation P27
action find
entity Q22236482
relation P27
type Q15617994
{'OR': [['Q3894375', 'P27', {'concept': 'Q15617994'}], ['Q22236482', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3894375 property:P27 ?b } UNION { resource:Q22236482 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Stelios Bisbas Paolo Pillonca
action filter_type
action union
action find
entity Paolo Pillonca
relation country of citizenship
action find
entity Stelios Bisbas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Paolo Pillonca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stelios Bisbas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Paolo_Pillonca property:country_of_citizenship ?b } UNION { resource:Stelios_Bisbas property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q41
SYSTEM
Italy, Greece
Q38 Q41
OR((Q3894375,P27,c(Q15617994)), (Q22236482,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3894375
relation P27
action find
entity Q22236482
relation P27
type Q15617994
Paolo Pillonca or Stelios Bisbas belong to the [ANSWERS]
{'OR': [['Q3894375', 'P27', {'concept': 'Q15617994'}], ['Q22236482', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3894375 property:P27 ?b } UNION { resource:Q22236482 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Italy Greece
Paolo Pillonca or Stelios Bisbas belong to the Italy and Greece
Italy Greece
action filter_type
action union
action find
entity Paolo Pillonca
relation country of citizenship
action find
entity Stelios Bisbas
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Paolo Pillonca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Stelios Bisbas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Paolo_Pillonca property:country_of_citizenship ?b } UNION { resource:Stelios_Bisbas property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q484692 Q7725634 Q15617994
USER
Which administrative territories have approximately 1 hymns or literary works as their anthem ?
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
value 1
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k property:P85 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q484692 } UNION { ?k property:P85 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q7725634 } } GROUP BY ?k } . FILTER ( ?i = 1 ) }
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k property:anthem ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:hymn } UNION { ?k property:anthem ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:literary_work } } GROUP BY ?k } . FILTER ( ?i = 1 ) }
[]
hymn literary work designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q484692)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q484692
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
value 1
[ANSWERS] have approximately 1 hymns or literary works as their anthem
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k property:P85 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q484692 } UNION { ?k property:P85 ?z . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q7725634 } } GROUP BY ?k } . FILTER ( ?i = 1 ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen 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 Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
Italy, Brazil and United States of America have approximately 1 hymns or literary works as their anthem
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { { ?k property:anthem ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:hymn } UNION { ?k property:anthem ?z . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:literary_work } } GROUP BY ?k } . FILTER ( ?i = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P610
Q14524493
USER
Which are the highest point of Italy, Brazil and United States of America ?
(Q38,P610,c(Q14524493)) (Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493))
action union
action filter_type
action find
entity Q38
relation P610
type Q14524493
action filter_type
action find
entity Q155
relation P610
type Q14524493
action filter_type
action find
entity Q30
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}] ['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?m WHERE { { resource:Q38 property:P610 ?m . ?m rdf:type ontology:Q14524493 } UNION { resource:Q155 property:P610 ?m . ?m rdf:type ontology:Q14524493 } }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation highest point
type terrain
action filter_type
action find
entity Brazil
relation highest point
type terrain
action filter_type
action find
entity United States of America
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}] ['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?m WHERE { { resource:Italy property:highest_point ?m . ?m rdf:type ontology:terrain } UNION { resource:Brazil property:highest_point ?m . ?m rdf:type ontology:terrain } }
[]
terrain
Q583 Q739484 Q130018
SYSTEM
Mont Blanc, Pico da Neblina, Denali
Q583 Q739484 Q130018
(Q38,P610,c(Q14524493)) (Q155,P610,c(Q14524493)) (Q30,P610,c(Q14524493))
action union
action filter_type
action find
entity Q38
relation P610
type Q14524493
action filter_type
action find
entity Q155
relation P610
type Q14524493
action filter_type
action find
entity Q30
relation P610
type Q14524493
[ANSWERS] are the highest point of Italy, Brazil and United States of America
['Q38', 'P610', {'concept': 'Q14524493'}] ['Q155', 'P610', {'concept': 'Q14524493'}] ['Q30', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?m WHERE { { resource:Q38 property:P610 ?m . ?m rdf:type ontology:Q14524493 } UNION { resource:Q155 property:P610 ?m . ?m rdf:type ontology:Q14524493 } }
Mont Blanc Pico da Neblina Denali
Mont Blanc, Pico da Neblina and Denali are the highest point of Italy, Brazil and United States of America
Mont Blanc Pico da Neblina Denali
action union
action filter_type
action find
entity Italy
relation highest point
type terrain
action filter_type
action find
entity Brazil
relation highest point
type terrain
action filter_type
action find
entity United States of America
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}] ['Brazil', 'highest point', {'concept': 'terrain'}] ['United States of America', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?m WHERE { { resource:Italy property:highest_point ?m . ?m rdf:type ontology:terrain } UNION { resource:Brazil property:highest_point ?m . ?m rdf:type ontology:terrain } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q583 Q739484 Q130018
P610
Q15617994
USER
Which administrative territories are Mont Blanc, Pico da Neblina and Denali the zenith of ?
(c(Q15617994),P610,Q583) (c(Q15617994),P610,Q739484) (c(Q15617994),P610,Q130018)
action union
action filter_type
action find_reverse
entity Q583
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q739484
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q130018
relation P610
type Q15617994
[{'concept': 'Q15617994'}, 'P610', 'Q583'] [{'concept': 'Q15617994'}, 'P610', 'Q739484'] [{'concept': 'Q15617994'}, 'P610', 'Q130018']
SELECT DISTINCT ?v WHERE { ?v property:P610 ?k . VALUES ( ?k ) { ( resource:Q583 ) ( resource:Q739484 ) } }
Mont Blanc Pico da Neblina Denali
action union
action filter_type
action find_reverse
entity Mont Blanc
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pico da Neblina
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denali
relation highest point
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mont Blanc'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Pico da Neblina'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Denali']
SELECT DISTINCT ?v WHERE { ?v property:highest_point ?k . VALUES ( ?k ) { ( resource:Mont_Blanc ) ( resource:Pico_da_Neblina ) } }
[]
designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q12751 Q142 Q38 Q155 Q30
(c(Q15617994),P610,Q583) (c(Q15617994),P610,Q739484) (c(Q15617994),P610,Q130018)
action union
action filter_type
action find_reverse
entity Q583
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q739484
relation P610
type Q15617994
action filter_type
action find_reverse
entity Q130018
relation P610
type Q15617994
[ANSWERS] are Mont Blanc, Pico da Neblina and Denali the zenith of
[{'concept': 'Q15617994'}, 'P610', 'Q583'] [{'concept': 'Q15617994'}, 'P610', 'Q739484'] [{'concept': 'Q15617994'}, 'P610', 'Q130018']
SELECT DISTINCT ?v WHERE { ?v property:P610 ?k . VALUES ( ?k ) { ( resource:Q583 ) ( resource:Q739484 ) } }
Haute-Savoie France Italy Brazil United States of America
Italy, Brazil and United States of America are Mont Blanc, Pico da Neblina and Denali the zenith of
Italy Brazil United States of America
action union
action filter_type
action find_reverse
entity Mont Blanc
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Pico da Neblina
relation highest point
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Denali
relation highest point
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Mont Blanc'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Pico da Neblina'] [{'concept': 'designation for an administrative territorial entity'}, 'highest point', 'Denali']
SELECT DISTINCT ?v WHERE { ?v property:highest_point ?k . VALUES ( ?k ) { ( resource:Mont_Blanc ) ( resource:Pico_da_Neblina ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P138
Q16521
USER
Which taxons are the etymology of that administrative territory ?
(Q38,P138,c(Q16521)) (Q155,P138,c(Q16521)) (Q30,P138,c(Q16521))
action filter_type
action find
entity Q155
relation P138
type Q16521
['Q38', 'P138', {'concept': 'Q16521'}] ['Q155', 'P138', {'concept': 'Q16521'}] ['Q30', 'P138', {'concept': 'Q16521'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16521 . resource:Q155 property:P138 ?e }
Brazil
action filter_type
action find
entity Brazil
relation named after
type taxon
['Italy', 'named after', {'concept': 'taxon'}] ['Brazil', 'named after', {'concept': 'taxon'}] ['United States of America', 'named after', {'concept': 'taxon'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:taxon . resource:Brazil property:named_after ?e }
[]
taxon
Q216469 Q14080
SYSTEM
Caesalpinia echinata, Arecaceae
Q216469 Q14080
(Q38,P138,c(Q16521)) (Q155,P138,c(Q16521)) (Q30,P138,c(Q16521))
action filter_type
action find
entity Q155
relation P138
type Q16521
[ANSWERS] are the etymology of that administrative territory
['Q38', 'P138', {'concept': 'Q16521'}] ['Q155', 'P138', {'concept': 'Q16521'}] ['Q30', 'P138', {'concept': 'Q16521'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q16521 . resource:Q155 property:P138 ?e }
Caesalpinia echinata Arecaceae
Caesalpinia echinata and Arecaceae are the etymology of that administrative territory
Caesalpinia echinata Arecaceae
action filter_type
action find
entity Brazil
relation named after
type taxon
['Italy', 'named after', {'concept': 'taxon'}] ['Brazil', 'named after', {'concept': 'taxon'}] ['United States of America', 'named after', {'concept': 'taxon'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:taxon . resource:Brazil property:named_after ?e }
[]