Simple Question (Direct)
Simple Question
Q1361909
P27
Q15617994
USER
Which administrative territory is Sonny Sharrock an inhabitant of ?
(Q1361909,P27,c(Q15617994))
action filter_type
action find
entity Q1361909
relation P27
type Q15617994
['Q1361909', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1361909 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Sonny Sharrock
action filter_type
action find
entity Sonny Sharrock
relation country of citizenship
type designation for an administrative territorial entity
['Sonny Sharrock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sonny_Sharrock property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1361909,P27,c(Q15617994))
action filter_type
action find
entity Q1361909
relation P27
type Q15617994
The [ANSWER] is Sonny Sharrock an inhabitant of
['Q1361909', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1361909 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
The United States of America is Sonny Sharrock an inhabitant of
United States of America
action filter_type
action find
entity Sonny Sharrock
relation country of citizenship
type designation for an administrative territorial entity
['Sonny Sharrock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sonny_Sharrock property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P85
Q484692
USER
What is the national anthem of that administrative territory ?
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P85 ?n . ?n rdf:type ontology:Q484692 }
United States of America
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:anthem ?n . ?n rdf:type ontology:hymn }
[]
hymn
Q44696
SYSTEM
The Star-Spangled Banner
Q44696
(Q30,P85,c(Q484692))
action filter_type
action find
entity Q30
relation P85
type Q484692
The national anthem of that administrative territory is [ANSWER]
['Q30', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P85 ?n . ?n rdf:type ontology:Q484692 }
The Star-Spangled Banner
The national anthem of that administrative territory is The Star-Spangled Banner
The Star-Spangled Banner
action filter_type
action find
entity United States of America
relation anthem
type hymn
['United States of America', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:anthem ?n . ?n rdf:type ontology:hymn }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with around 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P530 ?f . ?e rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?y = 8 ) }
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:diplomatic_relation ?f . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?y = 8 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
134
Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P530 ?f . ?e rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?y = 8 ) }
Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela 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 Barbados Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
134
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?d ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:diplomatic_relation ?f . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?y = 8 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P463
Q484652
USER
What international organizations had United States of America as their member ?
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P463 ?i . ?i rdf:type ontology:Q484652 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q19771 Q1065 Q188822 Q37143 Q674182 Q842490 Q7184 Q1043527
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS] had United States of America as their member
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?i WHERE { resource:Q30 property:P463 ?i . ?i rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe G20 United Nations Asian Development Bank G8 Arctic Council Organisation for the Prohibition of Chemical Weapons North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, G20 and United Nations had United States of America as their member
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?i WHERE { resource:United_States_of_America property:member_of ?i . ?i rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q30
Q874405
USER
And which social group?
(Q30,P463,c(Q874405))
action filter_type
action find
entity Q30
relation P463
type Q874405
['Q30', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P463 ?m . ?m rdf:type ontology:Q874405 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type social group
['United States of America', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:member_of ?m . ?m rdf:type ontology:social_group }
[]
social group
Q782942 Q295875
SYSTEM
Australia Group, ANZUS
Q782942 Q295875
(Q30,P463,c(Q874405))
action filter_type
action find
entity Q30
relation P463
type Q874405
[ANSWERS]
['Q30', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P463 ?m . ?m rdf:type ontology:Q874405 }
Australia Group ANZUS
Australia Group ANZUS
action filter_type
action find
entity United States of America
relation member of
type social group
['United States of America', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:member_of ?m . ?m rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q591089
P138
Q22988604 Q874405
USER
Which mythological Greek characters are the etymology of lesser number of social groups than Alcmaeon ?
(c(Q874405),P138,c(Q22988604))
action less
action find_reverse_tuple_counts
relation P138
type Q22988604
type Q874405
action count
action filter_type
action find_reverse
entity Q591089
relation P138
type Q874405
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q22988604'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P138 resource:Q591089 . ?z rdf:type ontology:Q874405 } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P138 ?n . ?n rdf:type ontology:Q22988604 . ?e rdf:type ontology:Q874405 } GROUP BY ?n } }
Alcmaeon
action less
action find_reverse_tuple_counts
relation named after
type mythological Greek character
type social group
action count
action filter_type
action find_reverse
entity Alcmaeon
relation named after
type social group
[{'concept': 'social group'}, 'named after', {'concept': 'mythological Greek character'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:named_after resource:Alcmaeon . ?z rdf:type ontology:social_group } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:named_after ?n . ?n rdf:type ontology:mythological_Greek_character . ?e rdf:type ontology:social_group } GROUP BY ?n } }
[]
mythological Greek character social group
Q170473 Q131203 Q37340
SYSTEM
Priam, Nyx, Apollo
Q184353 Q207681 Q858116 Q182019 Q570434 Q163920 Q25074 Q131203 Q192407 Q45967 Q164061 Q606422 Q208256 Q172725 Q1358973 Q47231 Q194012 Q1330532 Q1120723 Q129866 Q192485 Q106240 Q184874 Q105019 Q170473 Q660196 Q617753 Q1178583 Q192107 Q196865 Q658523 Q45713 Q203236 Q496595 Q2723619 Q165769 Q644921 Q192469 Q2316900 Q1317994 Q373916 Q308398 Q6612 Q271891 Q749966 Q193433 Q37340 Q7145232 Q379828 Q690613 Q622504 Q2391785 Q200073 Q131157 Q184570 Q83223 Q781867 Q278930 Q140001 Q182101 Q762520 Q1061782 Q151480 Q130832 Q580862 Q23168 Q180287 Q178641 Q502156 Q331327 Q878246 Q41419 Q102561 Q223152 Q1884324 Q210303 Q41410 Q207663 Q572133 Q392631 Q41746 Q189347 Q171839 Q223690 Q476682 Q334817 Q27613 Q332324 Q193609 Q374275 Q1469237
(c(Q874405),P138,c(Q22988604))
action less
action find_reverse_tuple_counts
relation P138
type Q22988604
type Q874405
action count
action filter_type
action find_reverse
entity Q591089
relation P138
type Q874405
[ANSWERS] are the etymology of lesser number of social groups than Alcmaeon
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q22988604'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P138 resource:Q591089 . ?z rdf:type ontology:Q874405 } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P138 ?n . ?n rdf:type ontology:Q22988604 . ?e rdf:type ontology:Q874405 } GROUP BY ?n } }
Charites Cassiopeia Cepheus, King of Aethiopia Leda Idomeneus Adonis Tantalus Nyx Orestes Persephone Helen of Troy Arcas Diomedes Ajax the Great Oecles Odysseus Morpheus Lycomedes Pheme Minotaur Pelops Deimos Ariadne Phobos Priam Ascalaphus Belus Laodice Hemera Zethos Hermione Titan Pasiphaë Alcinous Agasthenes Penelope Erichthonius Atreus Leucippus Aletheia nymph Midas Charon Ixion Oeneus Hecuba Apollo Patreus Penthesilea Tlepolemus Thyestes Queen Rhodope Lamia Clytemnestra Iris Asclepius Menestheus Epeius Eris Tantalus Sarpedon Rhesus of Thrace sphinx Perseus Antiope Minos Moirae Peleus Pirithous Telamon Cinyras Hestia Sisyphus Adrastus Magnes Hippolyta Hades Augeias of Elis Anteros Agenor Achilles Hypnos Menelaus Ino Anemoi Polynices Cadmus Laomedon Rhadamanthus Anius Sciron
Priam, Nyx and Apollo are the etymology of lesser number of social groups than Alcmaeon
Priam Nyx Apollo
action less
action find_reverse_tuple_counts
relation named after
type mythological Greek character
type social group
action count
action filter_type
action find_reverse
entity Alcmaeon
relation named after
type social group
[{'concept': 'social group'}, 'named after', {'concept': 'mythological Greek character'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?p < ?s ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:named_after resource:Alcmaeon . ?z rdf:type ontology:social_group } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:named_after ?n . ?n rdf:type ontology:mythological_Greek_character . ?e rdf:type ontology:social_group } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P39
Q502895
USER
Which person was appointed for the position of United Nations ?
(c(Q502895),P39,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1065']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q1065 . ?l rdf:type ontology:Q502895 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United Nations']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:United_Nations . ?l rdf:type ontology:common_name }
[]
common name
Q548710
SYSTEM
Jaja Wachuku
Q548710
(c(Q502895),P39,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P39
type Q502895
[ANSWER] was appointed for the position of United Nations
[{'concept': 'Q502895'}, 'P39', 'Q1065']
SELECT DISTINCT ?l WHERE { ?l property:P39 resource:Q1065 . ?l rdf:type ontology:Q502895 }
Jaja Wachuku
Jaja Wachuku was appointed for the position of United Nations
Jaja Wachuku
action filter_type
action find_reverse
entity United Nations
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United Nations']
SELECT DISTINCT ?l WHERE { ?l property:position_held resource:United_Nations . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P664
Q2558684
USER
Who event did United Nations serve as the organizer for ?
(c(Q2558684),P664,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P664
type Q2558684
[{'concept': 'Q2558684'}, 'P664', 'Q1065']
SELECT DISTINCT ?n WHERE { ?n property:P664 resource:Q1065 . ?n rdf:type ontology:Q2558684 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation organizer
type world day
[{'concept': 'world day'}, 'organizer', 'United Nations']
SELECT DISTINCT ?n WHERE { ?n property:organizer resource:United_Nations . ?n rdf:type ontology:world_day }
[]
world day
Q339544
SYSTEM
United Nations' International Day of Persons with Disabilities
Q339544
(c(Q2558684),P664,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P664
type Q2558684
Event for United Nations served as the organizer of [ANSWER]
[{'concept': 'Q2558684'}, 'P664', 'Q1065']
SELECT DISTINCT ?n WHERE { ?n property:P664 resource:Q1065 . ?n rdf:type ontology:Q2558684 }
United Nations' International Day of Persons with Disabilities
Event for United Nations served as the organizer of United Nations' International Day of Persons with Disabilities
United Nations' International Day of Persons with Disabilities
action filter_type
action find_reverse
entity United Nations
relation organizer
type world day
[{'concept': 'world day'}, 'organizer', 'United Nations']
SELECT DISTINCT ?n WHERE { ?n property:organizer resource:United_Nations . ?n rdf:type ontology:world_day }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1065
P112
Q2558684
USER
Which world days were established by United Nations ?
(c(Q2558684),P112,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P112
type Q2558684
[{'concept': 'Q2558684'}, 'P112', 'Q1065']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q1065 . ?k rdf:type ontology:Q2558684 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation founder
type world day
[{'concept': 'world day'}, 'founder', 'United Nations']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:United_Nations . ?k rdf:type ontology:world_day }
[]
world day
Q861945 Q592588 Q463884
SYSTEM
International Day for the Eradication of Poverty, World Press Freedom Day, International Day for Biological Diversity
Q1064568 Q1028114 Q861945 Q246959 Q2406253 Q592588 Q470642 Q864881 Q327632 Q1142844 Q1192002 Q152960 Q1466741 Q463884 Q1667619
(c(Q2558684),P112,Q1065)
action filter_type
action find_reverse
entity Q1065
relation P112
type Q2558684
[ANSWERS] were established by United Nations
[{'concept': 'Q2558684'}, 'P112', 'Q1065']
SELECT DISTINCT ?k WHERE { ?k property:P112 resource:Q1065 . ?k rdf:type ontology:Q2558684 }
International Youth Day International Day in Support of Victims of Torture International Day for the Eradication of Poverty International Day of Families International Day of the World's Indigenous People World Press Freedom Day International Day for the Elimination of Violence against Women World Teachers' Day International Day of Peace International Day of Older Persons International Migrants Day International Holocaust Remembrance Day Mandela Day International Day for Biological Diversity International Day of the Girl Child
International Day for the Eradication of Poverty, World Press Freedom Day and International Day for Biological Diversity were established by United Nations
International Day for the Eradication of Poverty World Press Freedom Day International Day for Biological Diversity
action filter_type
action find_reverse
entity United Nations
relation founder
type world day
[{'concept': 'world day'}, 'founder', 'United Nations']
SELECT DISTINCT ?k WHERE { ?k property:founder resource:United_Nations . ?k rdf:type ontology:world_day }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1065
P138
Q79007
USER
Which street is the eponym of that international organization ?
(c(Q79007),P138,Q861945) (c(Q79007),P138,Q592588) (c(Q79007),P138,Q463884)
action filter_type
action find_reverse
entity Q1065
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q861945'] [{'concept': 'Q79007'}, 'P138', 'Q592588'] [{'concept': 'Q79007'}, 'P138', 'Q463884']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q1065 . ?x rdf:type ontology:Q79007 }
United Nations
action filter_type
action find_reverse
entity United Nations
relation named after
type street
[{'concept': 'street'}, 'named after', 'International Day for the Eradication of Poverty'] [{'concept': 'street'}, 'named after', 'World Press Freedom Day'] [{'concept': 'street'}, 'named after', 'International Day for Biological Diversity']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:United_Nations . ?x rdf:type ontology:street }
[]
street
Q2387543
SYSTEM
avenue des Nations-Unies
Q2387543
(c(Q79007),P138,Q861945) (c(Q79007),P138,Q592588) (c(Q79007),P138,Q463884)
action filter_type
action find_reverse
entity Q1065
relation P138
type Q79007
[ANSWER] is the eponym of that international organization
[{'concept': 'Q79007'}, 'P138', 'Q861945'] [{'concept': 'Q79007'}, 'P138', 'Q592588'] [{'concept': 'Q79007'}, 'P138', 'Q463884']
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q1065 . ?x rdf:type ontology:Q79007 }
avenue des Nations-Unies
Avenue des Nations-Unies is the eponym of that international organization
avenue des Nations-Unies
action filter_type
action find_reverse
entity United Nations
relation named after
type street
[{'concept': 'street'}, 'named after', 'International Day for the Eradication of Poverty'] [{'concept': 'street'}, 'named after', 'World Press Freedom Day'] [{'concept': 'street'}, 'named after', 'International Day for Biological Diversity']
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:United_Nations . ?x rdf:type ontology:street }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1457391
P669
Q79007 Q2668072
USER
How many collections are located on less number of streets than Galerie de paléontologie et d'anatomie comparée ?
(c(Q2668072),P669,c(Q79007))
action count
action less
action find_tuple_counts
relation P669
type Q2668072
type Q79007
action count
action filter_type
action find
entity Q1457391
relation P669
type Q79007
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?w ) WHERE { ?u property:P669 ?m . ?u rdf:type ontology:Q2668072 . ?m rdf:type ontology:Q79007 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q1457391 property:P669 ?g . ?g rdf:type ontology:Q79007 } } . FILTER ( ?w < ?h ) }
Galerie de paléontologie et d'anatomie comparée
action count
action less
action find_tuple_counts
relation located on street
type collection
type street
action count
action filter_type
action find
entity Galerie de paléontologie et d'anatomie comparée
relation located on street
type street
[{'concept': 'collection'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?w ) WHERE { ?u property:located_on_street ?m . ?u rdf:type ontology:collection . ?m rdf:type ontology:street } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Galerie_de_paléontologie_et_d'anatomie_comparée property:located_on_street ?g . ?g rdf:type ontology:street } } . FILTER ( ?w < ?h ) }
[]
street collection
SYSTEM
163
Q2233016 Q3145715 Q408081 Q2087161 Q1822513 Q15961602 Q390003 Q547789 Q15912151 Q10686523 Q1820897 Q4642494 Q1890584 Q1142142 Q2628596 Q17298534 Q2383603 Q1769851 Q17744530 Q5304210 Q6033943 Q2177577 Q774570 Q7077703 Q3329390 Q284902 Q306604 Q1520230 Q3317663 Q679527 Q2549659 Q2563745 Q4902448 Q1056152 Q21559920 Q2077489 Q631056 Q21551904 Q10590647 Q3329270 Q5267653 Q1619084 Q2036143 Q2382575 Q3100297 Q165366 Q1505892 Q15124806 Q17372626 Q1560511 Q1121835 Q394832 Q24807940 Q2157583 Q825232 Q1051928 Q3611008 Q493160 Q3329860 Q630461 Q2114028 Q17339437 Q193563 Q4360916 Q1726607 Q213322 Q17329530 Q1229917 Q187840 Q2296362 Q667906 Q2873581 Q26847027 Q206101 Q21609273 Q1136137 Q692381 Q2754878 Q2801130 Q2680466 Q1519288 Q1849293 Q17511676 Q959650 Q3097795 Q2017571 Q847166 Q1592523 Q2252756 Q1250541 Q1576733 Q3329688 Q1997549 Q7921517 Q2776719 Q7138915 Q2021677 Q6402206 Q2034395 Q190260 Q2398527 Q23212 Q2031357 Q11722011 Q2135085 Q4488641 Q1488700 Q2191110 Q23779394 Q273593 Q2267622 Q22006174 Q1538826 Q1782422 Q976019 Q6737052 Q15876504 Q7200579 Q7618027 Q4465808 Q3140928 Q22246632 Q2412016 Q277316 Q2676195 Q3329213 Q1278103 Q3318319 Q15159013 Q690002 Q15874141 Q386570 Q16647941 Q517249 Q3329119 Q573322 Q3208624 Q315187 Q2050166 Q1938001 Q1499958 Q1819945 Q2298844 Q27732004 Q2399655 Q3357825 Q3330592 Q19908749 Q1750428 Q6974501 Q2743819 Q23402 Q1371375 Q4086362 Q281903 Q26832671 Q18219959 Q1278593 Q256507 Q1968711 Q2599177 Q15707843 Q19911795
(c(Q2668072),P669,c(Q79007))
action count
action less
action find_tuple_counts
relation P669
type Q2668072
type Q79007
action count
action filter_type
action find
entity Q1457391
relation P669
type Q79007
[ANSWER]
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?w ) WHERE { ?u property:P669 ?m . ?u rdf:type ontology:Q2668072 . ?m rdf:type ontology:Q79007 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Q1457391 property:P669 ?g . ?g rdf:type ontology:Q79007 } } . FILTER ( ?w < ?h ) }
Pier Pander Museum hôtel d'Assézat Airborne Museum 'Hartenstein' Heineken Experience Palais Rohan, Bordeaux Ajax Experience Einsteinhaus Maison de Balzac Shanghai Museum of Arts And Crafts Swedish Music Hall of Fame Amsterdam Museum 6 Burlington Gardens Strindberg Museum Nordic Museum Palais des Beaux-Arts de Lille Artis Library Dutch Funeral museum Bibliothèque Medem Hermanusje van Alles Dr Johnson's House Cordoba Fine Arts Museum Castle Loevestein Bibliothèque Mazarine Odessa Archeological Museum Whipple Museum of the History of Science Vienna Künstlerhaus Filmmuseum Austria Gevangenpoort Mobilier national Museum Boijmans Van Beuningen Bornrif Vrouwenhuis Bialik House Royal Palace of Amsterdam Lotta Museum Museum of Bags and Purses Bavarian National Museum Cenacolo di Ognissanti Music and Theatre library musée Masséna Streekmuseum Goeree-Overflakkee Palais Longchamp Salt museum Westfries Museum maison européenne de la photographie Anne Frank House Rijksmuseum Twenthe Pianola museum Zuiderzeemuseum Binnenmuseum Günter Grass House Ir.D.F. Woudagemaal Convent of St Agnes of Bohemia bibliothèque Château-d'Eau Museum "Het Tramstation" Computerspielemuseum Berlin Kröller-Müller Museum De Wachter Ons' Lieve Heer op Solder Musée de l'Éventail Bibliothèque nationale et universitaire Museum Arnhem National Museum of Ethnology Bibliothèque nationale de France Museum Gouda Swedish Museum of National Antiquities Victoria and Albert Museum Pier Pandertempel Palais de la Légion d'Honneur Palais Garnier musée Gustave-Moreau Museum De Cruquius Flehite Museum of Scotland Rosenborg Castle ICER National September 11 Memorial & Museum Het Loo Palace Museum Meermanno Schielandshuis Sciences Po Bibliothèque Sonnenborgh Observatory De Eendracht, Anjum American Library in Paris Casa di Goethe Hôtel Biron Amsterdam University Library Nederlands Spoorwegmuseum Sorolla Museum Trippenhuis Monnaie de Paris Hortus Botanicus (Amsterdam) Musée d'Histoire Naturelle de Lille North America Native Museum Vermeer Centre Museum De Valk Parliament Interpretive Centre Hofje van Mevrouw van Aerden Musée du Barreau de Paris Belarusian National History and Culture Museum Zentralbibliothek Zürich Museum of Copenhagen Evoluon Helsinki City Museum Haags Historisch Museum Skierstins DAF Museum Powder Tower Museum Van Loon Muntpunt École nationale supérieure des Beaux-Arts Tresoar Miramar Zeemuseum Musée des Arts et Métiers Van Abbemuseum Museum Cerralbo Maison d'Auguste Comte Van Zessen House Plai Nern Palace Stockholm Music and Theatre Museum Turgenev Library hospice Comtesse Memorial Center Camp Westerbork Maastricht Natural History Museum Rembrandt House Museum Chabot Museum musée Hébert Historisch Openluchtmuseum Eindhoven former Historical Museum of Arnhem Odessa Museum of Regional History Swedish Army Museum Cuypershuis Museum of Lázaro Galdiano Ellert en Brammert (museum) Sainte-Geneviève Library Musée Clemenceau DDR Museum Médiathèque Musicale Mahler Buddenbrookhaus Het Dolhuys Efteling Museum Gemeentemuseum Den Haag Royal Museum Museum Voorlinden Kotopo Museumpark Geijersgården Lund University Historical Museum Ivan Turgenev museum Royal Coin Cabinet Museum of Romanticism ABBA: The Museum Musée d'Orsay Museum of Ethnography Pushkin Library in Moscow Prinsenhof Moco Museum Governors' Cottage Museum of Chinese in America Bavarian State Library Nobel Museum Maison de Victor Hugo FBU "Russian Forest Museum" Leo Tolstoy's Museum (Moscow, Prechistenka)
163
action count
action less
action find_tuple_counts
relation located on street
type collection
type street
action count
action filter_type
action find
entity Galerie de paléontologie et d'anatomie comparée
relation located on street
type street
[{'concept': 'collection'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?w ) WHERE { ?u property:located_on_street ?m . ?u rdf:type ontology:collection . ?m rdf:type ontology:street } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { resource:Galerie_de_paléontologie_et_d'anatomie_comparée property:located_on_street ?g . ?g rdf:type ontology:street } } . FILTER ( ?w < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2142138
P669
Q79007 Q2668072
USER
And how about Verweyhal?
(c(Q2668072),P669,c(Q79007))
action count
action less
action find_tuple_counts
relation P669
type Q2668072
type Q79007
action count
action filter_type
action find
entity Q2142138
relation P669
type Q79007
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?n ) WHERE { ?p rdf:type ontology:Q2668072 . ?q rdf:type ontology:Q79007 . ?p property:P669 ?q } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q2142138 property:P669 ?r . ?r rdf:type ontology:Q79007 } } . FILTER ( ?n < ?g ) }
Verweyhal
action count
action less
action find_tuple_counts
relation located on street
type collection
type street
action count
action filter_type
action find
entity Verweyhal
relation located on street
type street
[{'concept': 'collection'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?n ) WHERE { ?p rdf:type ontology:collection . ?q rdf:type ontology:street . ?p property:located_on_street ?q } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Verweyhal property:located_on_street ?r . ?r rdf:type ontology:street } } . FILTER ( ?n < ?g ) }
[]
street collection
SYSTEM
163
Q2233016 Q3145715 Q408081 Q2087161 Q1822513 Q15961602 Q390003 Q547789 Q15912151 Q10686523 Q1820897 Q4642494 Q1890584 Q1142142 Q2628596 Q17298534 Q2383603 Q1769851 Q17744530 Q5304210 Q6033943 Q2177577 Q774570 Q7077703 Q3329390 Q284902 Q306604 Q1520230 Q3317663 Q679527 Q2549659 Q2563745 Q4902448 Q1056152 Q21559920 Q2077489 Q631056 Q21551904 Q10590647 Q3329270 Q5267653 Q1619084 Q2036143 Q2382575 Q3100297 Q165366 Q1505892 Q15124806 Q17372626 Q1560511 Q1121835 Q394832 Q24807940 Q2157583 Q825232 Q1051928 Q3611008 Q493160 Q3329860 Q630461 Q2114028 Q17339437 Q193563 Q4360916 Q1726607 Q213322 Q17329530 Q1229917 Q187840 Q2296362 Q667906 Q2873581 Q26847027 Q206101 Q21609273 Q1136137 Q692381 Q2754878 Q2801130 Q2680466 Q1519288 Q1849293 Q17511676 Q959650 Q3097795 Q2017571 Q847166 Q1592523 Q2252756 Q1250541 Q1576733 Q3329688 Q1997549 Q7921517 Q2776719 Q7138915 Q2021677 Q6402206 Q2034395 Q190260 Q2398527 Q23212 Q2031357 Q11722011 Q2135085 Q4488641 Q1488700 Q2191110 Q23779394 Q273593 Q2267622 Q22006174 Q1538826 Q1782422 Q976019 Q6737052 Q15876504 Q7200579 Q7618027 Q4465808 Q3140928 Q22246632 Q2412016 Q277316 Q2676195 Q3329213 Q1278103 Q3318319 Q15159013 Q690002 Q15874141 Q386570 Q16647941 Q517249 Q3329119 Q573322 Q3208624 Q315187 Q2050166 Q1938001 Q1499958 Q1819945 Q2298844 Q27732004 Q2399655 Q3357825 Q3330592 Q19908749 Q1750428 Q6974501 Q2743819 Q23402 Q1371375 Q4086362 Q281903 Q26832671 Q18219959 Q1278593 Q256507 Q1968711 Q2599177 Q15707843 Q19911795
(c(Q2668072),P669,c(Q79007))
action count
action less
action find_tuple_counts
relation P669
type Q2668072
type Q79007
action count
action filter_type
action find
entity Q2142138
relation P669
type Q79007
[ANSWER]
[{'concept': 'Q2668072'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?n ) WHERE { ?p rdf:type ontology:Q2668072 . ?q rdf:type ontology:Q79007 . ?p property:P669 ?q } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q2142138 property:P669 ?r . ?r rdf:type ontology:Q79007 } } . FILTER ( ?n < ?g ) }
Pier Pander Museum hôtel d'Assézat Airborne Museum 'Hartenstein' Heineken Experience Palais Rohan, Bordeaux Ajax Experience Einsteinhaus Maison de Balzac Shanghai Museum of Arts And Crafts Swedish Music Hall of Fame Amsterdam Museum 6 Burlington Gardens Strindberg Museum Nordic Museum Palais des Beaux-Arts de Lille Artis Library Dutch Funeral museum Bibliothèque Medem Hermanusje van Alles Dr Johnson's House Cordoba Fine Arts Museum Castle Loevestein Bibliothèque Mazarine Odessa Archeological Museum Whipple Museum of the History of Science Vienna Künstlerhaus Filmmuseum Austria Gevangenpoort Mobilier national Museum Boijmans Van Beuningen Bornrif Vrouwenhuis Bialik House Royal Palace of Amsterdam Lotta Museum Museum of Bags and Purses Bavarian National Museum Cenacolo di Ognissanti Music and Theatre library musée Masséna Streekmuseum Goeree-Overflakkee Palais Longchamp Salt museum Westfries Museum maison européenne de la photographie Anne Frank House Rijksmuseum Twenthe Pianola museum Zuiderzeemuseum Binnenmuseum Günter Grass House Ir.D.F. Woudagemaal Convent of St Agnes of Bohemia bibliothèque Château-d'Eau Museum "Het Tramstation" Computerspielemuseum Berlin Kröller-Müller Museum De Wachter Ons' Lieve Heer op Solder Musée de l'Éventail Bibliothèque nationale et universitaire Museum Arnhem National Museum of Ethnology Bibliothèque nationale de France Museum Gouda Swedish Museum of National Antiquities Victoria and Albert Museum Pier Pandertempel Palais de la Légion d'Honneur Palais Garnier musée Gustave-Moreau Museum De Cruquius Flehite Museum of Scotland Rosenborg Castle ICER National September 11 Memorial & Museum Het Loo Palace Museum Meermanno Schielandshuis Sciences Po Bibliothèque Sonnenborgh Observatory De Eendracht, Anjum American Library in Paris Casa di Goethe Hôtel Biron Amsterdam University Library Nederlands Spoorwegmuseum Sorolla Museum Trippenhuis Monnaie de Paris Hortus Botanicus (Amsterdam) Musée d'Histoire Naturelle de Lille North America Native Museum Vermeer Centre Museum De Valk Parliament Interpretive Centre Hofje van Mevrouw van Aerden Musée du Barreau de Paris Belarusian National History and Culture Museum Zentralbibliothek Zürich Museum of Copenhagen Evoluon Helsinki City Museum Haags Historisch Museum Skierstins DAF Museum Powder Tower Museum Van Loon Muntpunt École nationale supérieure des Beaux-Arts Tresoar Miramar Zeemuseum Musée des Arts et Métiers Van Abbemuseum Museum Cerralbo Maison d'Auguste Comte Van Zessen House Plai Nern Palace Stockholm Music and Theatre Museum Turgenev Library hospice Comtesse Memorial Center Camp Westerbork Maastricht Natural History Museum Rembrandt House Museum Chabot Museum musée Hébert Historisch Openluchtmuseum Eindhoven former Historical Museum of Arnhem Odessa Museum of Regional History Swedish Army Museum Cuypershuis Museum of Lázaro Galdiano Ellert en Brammert (museum) Sainte-Geneviève Library Musée Clemenceau DDR Museum Médiathèque Musicale Mahler Buddenbrookhaus Het Dolhuys Efteling Museum Gemeentemuseum Den Haag Royal Museum Museum Voorlinden Kotopo Museumpark Geijersgården Lund University Historical Museum Ivan Turgenev museum Royal Coin Cabinet Museum of Romanticism ABBA: The Museum Musée d'Orsay Museum of Ethnography Pushkin Library in Moscow Prinsenhof Moco Museum Governors' Cottage Museum of Chinese in America Bavarian State Library Nobel Museum Maison de Victor Hugo FBU "Russian Forest Museum" Leo Tolstoy's Museum (Moscow, Prechistenka)
163
action count
action less
action find_tuple_counts
relation located on street
type collection
type street
action count
action filter_type
action find
entity Verweyhal
relation located on street
type street
[{'concept': 'collection'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?q ) AS ?n ) WHERE { ?p rdf:type ontology:collection . ?q rdf:type ontology:street . ?p property:located_on_street ?q } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Verweyhal property:located_on_street ?r . ?r rdf:type ontology:street } } . FILTER ( ?n < ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P559
Q79007 Q79007
USER
Which streets are the endpoints for around 1 street ?
(c(Q79007),P559,c(Q79007))
action approx
action find_reverse_tuple_counts
relation P559
type Q79007
type Q79007
value 1
[{'concept': 'Q79007'}, 'P559', {'concept': 'Q79007'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P559 ?e . ?x rdf:type ontology:Q79007 . ?e rdf:type ontology:Q79007 } GROUP BY ?e } . FILTER ( ?g = 1 ) }
action approx
action find_reverse_tuple_counts
relation terminus
type street
type street
value 1
[{'concept': 'street'}, 'terminus', {'concept': 'street'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:terminus ?e . ?x rdf:type ontology:street . ?e rdf:type ontology:street } GROUP BY ?e } . FILTER ( ?g = 1 ) }
[]
street street
Q7534638 Q11043354 Q5510955
SYSTEM
Skeppar Olofs gränd, Zhanlanguan Road, Fuxingmen Inner Street
Q11043354 Q10869787 Q1007019 Q5510955 Q10881627 Q10869791 Q7534638 Q34484
(c(Q79007),P559,c(Q79007))
action approx
action find_reverse_tuple_counts
relation P559
type Q79007
type Q79007
value 1
[ANSWERS] are the endpoints for around 1 street
[{'concept': 'Q79007'}, 'P559', {'concept': 'Q79007'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:P559 ?e . ?x rdf:type ontology:Q79007 . ?e rdf:type ontology:Q79007 } GROUP BY ?e } . FILTER ( ?g = 1 ) }
Zhanlanguan Road Dongsishitiao Bundesstraße 307 Fuxingmen Inner Street May 4th Street Dongsi West Street Skeppar Olofs gränd Bundesstraße 19
Skeppar Olofs gränd, Zhanlanguan Road and Fuxingmen Inner Street are the endpoints for around 1 street
Skeppar Olofs gränd Zhanlanguan Road Fuxingmen Inner Street
action approx
action find_reverse_tuple_counts
relation terminus
type street
type street
value 1
[{'concept': 'street'}, 'terminus', {'concept': 'street'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?g ) WHERE { ?x property:terminus ?e . ?x rdf:type ontology:street . ?e rdf:type ontology:street } GROUP BY ?e } . FILTER ( ?g = 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P559
Q79007 Q79007
USER
How many streets are a terminus for greater number of streets than that street ?
(c(Q79007),P559,c(Q79007))
[{'concept': 'Q79007'}, 'P559', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 ?z . ?z rdf:type ontology:Q79007 }
[{'concept': 'street'}, 'terminus', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus ?z . ?z rdf:type ontology:street }
[]
street street
Comparative|Count over More/Less|Single entity type|Clarification
Q7534638
SYSTEM
Did you mean Skeppar Olofs gränd ?
(c(Q79007),P559,c(Q79007))
[ANSWER]
[{'concept': 'Q79007'}, 'P559', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 ?z . ?z rdf:type ontology:Q79007 }
Did you mean Skeppar Olofs gränd ?
Skeppar Olofs gränd
[{'concept': 'street'}, 'terminus', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus ?z . ?z rdf:type ontology:street }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Zhanlanguan Road. Could you tell me the answer for that?
(c(Q79007),P559,c(Q79007))
Q11043354
[{'concept': 'Q79007'}, 'P559', {'concept': 'Q79007'}]
[{'concept': 'street'}, 'terminus', {'concept': 'street'}]
[]
SYSTEM
1
Q7849103
(c(Q79007),P559,c(Q79007))
[ANSWER]
[{'concept': 'Q79007'}, 'P559', {'concept': 'Q79007'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q20202072 ?z . ?z rdf:type ontology:Q79007 }
Trädgårdsgatan
1
[{'concept': 'street'}, 'terminus', {'concept': 'street'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:terminus ?z . ?z rdf:type ontology:street }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P921
Q838948
USER
Which works of art have United States of America as their principal topic ?
(c(Q838948),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q30 . ?y rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:United_States_of_America . ?y rdf:type ontology:work_of_art }
[]
work of art
Q3201948 Q5225923 Q5652328
SYSTEM
America As Seen by a Frenchman, Darwin, Happiness Is
Q7714895 Q5567488 Q7759774 Q7990968 Q7156451 Q5652328 Q12126242 Q16997904 Q7501322 Q3201948 Q5225923 Q7598480 Q7769252
(c(Q838948),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q838948
America As seen by a Frenchman, Darwin and Happiness Is have United States of America as their principal topic
[{'concept': 'Q838948'}, 'P921', 'Q30']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q30 . ?y rdf:type ontology:Q838948 }
The Augustas Gleeful: The Real Show Choirs of America The Recess Ends What America Needs Pax Americana and the Weaponization of Space Happiness Is Money-Driven Medicine Mirage Men Shore Things America As Seen by a Frenchman Darwin Standing Army The Tiger Next Door
America As seen by a Frenchman, Darwin and Happiness Is have United States of America as their principal topic
America As Seen by a Frenchman Darwin Happiness Is
action filter_type
action find_reverse
entity United States of America
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'United States of America']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:United_States_of_America . ?y rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3201948
P161
Q502895
USER
Which people are in that work of art ?
(Q3201948,P161,c(Q502895))
action filter_type
action find
entity Q3201948
relation P161
type Q502895
['Q3201948', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3201948 property:P161 ?o . ?o rdf:type ontology:Q502895 }
America As Seen by a Frenchman
action filter_type
action find
entity America As Seen by a Frenchman
relation cast member
type common name
['America As Seen by a Frenchman', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:America_As_Seen_by_a_Frenchman property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5652328
SYSTEM
Did you mean Happiness Is ?
Q3201948 Q5225923 Q5652328
(Q3201948,P161,c(Q502895)) (Q5225923,P161,c(Q502895)) (Q5652328,P161,c(Q502895))
[ANSWER]
['Q3201948', 'P161', {'concept': 'Q502895'}] ['Q5225923', 'P161', {'concept': 'Q502895'}] ['Q5652328', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3201948 property:P161 ?o . ?o rdf:type ontology:Q502895 }
America As Seen by a Frenchman Darwin Happiness Is
Did you mean Happiness Is ?
Happiness Is
['America As Seen by a Frenchman', 'cast member', {'concept': 'common name'}] ['Darwin', 'cast member', {'concept': 'common name'}] ['Happiness Is', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:America_As_Seen_by_a_Frenchman property:cast_member ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant America As Seen by a Frenchman. Could you tell me the answer for that?
(Q3201948,P161,c(Q502895))
Q3201948
['Q3201948', 'P161', {'concept': 'Q502895'}]
['America As Seen by a Frenchman', 'cast member', {'concept': 'common name'}]
[]
Q1263824 Q89509
SYSTEM
June Richmond, Paul Klinger
Q1263824 Q89509
(Q3201948,P161,c(Q502895))
action filter_type
action find
entity Q3201948
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q3201948', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3201948 property:P161 ?o . ?o rdf:type ontology:Q502895 }
June Richmond Paul Klinger
June Richmond and Paul Klinger are in that work of art
June Richmond Paul Klinger
action filter_type
action find
entity America As Seen by a Frenchman
relation cast member
type common name
['America As Seen by a Frenchman', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:America_As_Seen_by_a_Frenchman property:cast_member ?o . ?o rdf:type ontology:common_name }
[]