Simple Question (Direct)
Simple Question
Q7786961
P1412
Q34770
USER
Which language is spoken by Thomas Agar-Robartes, 1st Baron Robartes ?
(Q7786961,P1412,c(Q34770))
action filter_type
action find
entity Q7786961
relation P1412
type Q34770
['Q7786961', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q7786961 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Thomas Agar-Robartes, 1st Baron Robartes
action filter_type
action find
entity Thomas Agar-Robartes, 1st Baron Robartes
relation languages spoken, written or signed
type language
['Thomas Agar-Robartes, 1st Baron Robartes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Thomas_Agar-Robartes,_1st_Baron_Robartes property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7786961,P1412,c(Q34770))
action filter_type
action find
entity Q7786961
relation P1412
type Q34770
[ANSWER] is spoken by Thomas Agar-Robartes, 1st Baron Robartes
['Q7786961', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q7786961 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
English
English is spoken by Thomas Agar-Robartes, 1st Baron Robartes
English
action filter_type
action find
entity Thomas Agar-Robartes, 1st Baron Robartes
relation languages spoken, written or signed
type language
['Thomas Agar-Robartes, 1st Baron Robartes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Thomas_Agar-Robartes,_1st_Baron_Robartes property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7786961
P937
Q56061
USER
Which is the work location of that person ?
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q7786961
relation P937
type Q56061
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7786961 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Thomas Agar-Robartes, 1st Baron Robartes
action filter_type
action find
entity Thomas Agar-Robartes, 1st Baron Robartes
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Thomas_Agar-Robartes,_1st_Baron_Robartes property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q7786961
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7786961 property:P937 ?z . ?z rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity Thomas Agar-Robartes, 1st Baron Robartes
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Thomas_Agar-Robartes,_1st_Baron_Robartes property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7786961
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q7786961
relation P27
type Q15617994
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7786961 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Thomas Agar-Robartes, 1st Baron Robartes
action filter_type
action find
entity Thomas Agar-Robartes, 1st Baron Robartes
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Agar-Robartes,_1st_Baron_Robartes property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q7786961
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q7786961 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Thomas Agar-Robartes, 1st Baron Robartes
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Agar-Robartes,_1st_Baron_Robartes property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origins of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q145
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2031291 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q145 property:P495 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?u ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United Kingdom
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:release } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:United_Kingdom property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?u ) }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q145
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P495 ?o . ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q2031291 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q145 property:P495 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?k = ?u ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United Kingdom
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:release } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:United_Kingdom property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k = ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16004451
P608
Q667276 Q464980 Q502895
USER
How many people were exhibited at less number of art exhibitions and exhibitions than Jennifer Bolande ?
(c(Q502895),P608,c(Q667276)|c(Q464980))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
action count
action filter_multi_types
action find
entity Q16004451
relation P608
type Q667276
type Q464980
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?w ) WHERE { { ?u property:P608 ?p . ?u rdf:type ontology:Q502895 . ?p rdf:type ontology:Q667276 } UNION { ?u property:P608 ?p . ?u rdf:type ontology:Q502895 . ?p rdf:type ontology:Q464980 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q16004451 property:P608 ?i . { VALUES ( ?r ) { ( ontology:Q667276 ) ( ontology:Q464980 ) } . ?i rdf:type ?r } } } . FILTER ( ?w < ?n ) }
Jennifer Bolande
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action count
action filter_multi_types
action find
entity Jennifer Bolande
relation exhibition history
type art exhibition
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?w ) WHERE { { ?u property:exhibition_history ?p . ?u rdf:type ontology:common_name . ?p rdf:type ontology:art_exhibition } UNION { ?u property:exhibition_history ?p . ?u rdf:type ontology:common_name . ?p rdf:type ontology:exhibition } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Jennifer_Bolande property:exhibition_history ?i . { VALUES ( ?r ) { ( ontology:art_exhibition ) ( ontology:exhibition ) } . ?i rdf:type ?r } } } . FILTER ( ?w < ?n ) }
[]
art exhibition exhibition common name
SYSTEM
32
Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q4945678 Q4648360 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q5040332 Q6687160 Q3289592 Q20888837 Q22815085 Q5375139 Q805807 Q16080418 Q16121375 Q15527965 Q15873898 Q55192 Q16968866
(c(Q502895),P608,c(Q667276)|c(Q464980))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
action count
action filter_multi_types
action find
entity Q16004451
relation P608
type Q667276
type Q464980
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?w ) WHERE { { ?u property:P608 ?p . ?u rdf:type ontology:Q502895 . ?p rdf:type ontology:Q667276 } UNION { ?u property:P608 ?p . ?u rdf:type ontology:Q502895 . ?p rdf:type ontology:Q464980 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q16004451 property:P608 ?i . { VALUES ( ?r ) { ( ontology:Q667276 ) ( ontology:Q464980 ) } . ?i rdf:type ?r } } } . FILTER ( ?w < ?n ) }
René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Martha Edelheit A. S. Baylinson Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Carl Holty Louis Ferstadt Moniek Toebosch Angélique Bègue Georges Violet Ena Swansea Balto Alyce Frank Judith Lowry Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Lydia Schouten
32
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action count
action filter_multi_types
action find
entity Jennifer Bolande
relation exhibition history
type art exhibition
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?w ) WHERE { { ?u property:exhibition_history ?p . ?u rdf:type ontology:common_name . ?p rdf:type ontology:art_exhibition } UNION { ?u property:exhibition_history ?p . ?u rdf:type ontology:common_name . ?p rdf:type ontology:exhibition } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Jennifer_Bolande property:exhibition_history ?i . { VALUES ( ?r ) { ( ontology:art_exhibition ) ( ontology:exhibition ) } . ?i rdf:type ?r } } } . FILTER ( ?w < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3335569
P608
Q667276 Q464980 Q502895
USER
And also tell me about Nancy Elizabeth Prophet?
(c(Q502895),P608,c(Q667276)|c(Q464980))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
action count
action filter_multi_types
action find
entity Q3335569
relation P608
type Q667276
type Q464980
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?z WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q667276 ) ( ontology:Q464980 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q3335569 property:P608 ?e . { { ?e rdf:type ontology:Q464980 } UNION { ?e rdf:type ontology:Q667276 } } } } . FILTER ( ?w < ?y ) }
Nancy Elizabeth Prophet
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action count
action filter_multi_types
action find
entity Nancy Elizabeth Prophet
relation exhibition history
type art exhibition
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?z WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:art_exhibition ) ( ontology:exhibition ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Nancy_Elizabeth_Prophet property:exhibition_history ?e . { { ?e rdf:type ontology:exhibition } UNION { ?e rdf:type ontology:art_exhibition } } } } . FILTER ( ?w < ?y ) }
[]
art exhibition exhibition common name
SYSTEM
32
Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q4945678 Q4648360 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q5040332 Q6687160 Q3289592 Q20888837 Q22815085 Q5375139 Q805807 Q16080418 Q16121375 Q15527965 Q15873898 Q55192 Q16968866
(c(Q502895),P608,c(Q667276)|c(Q464980))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q464980
action count
action filter_multi_types
action find
entity Q3335569
relation P608
type Q667276
type Q464980
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?z WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q667276 ) ( ontology:Q464980 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Q3335569 property:P608 ?e . { { ?e rdf:type ontology:Q464980 } UNION { ?e rdf:type ontology:Q667276 } } } } . FILTER ( ?w < ?y ) }
René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Martha Edelheit A. S. Baylinson Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Carl Holty Louis Ferstadt Moniek Toebosch Angélique Bègue Georges Violet Ena Swansea Balto Alyce Frank Judith Lowry Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Lydia Schouten
32
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action count
action filter_multi_types
action find
entity Nancy Elizabeth Prophet
relation exhibition history
type art exhibition
type exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?z WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:art_exhibition ) ( ontology:exhibition ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { resource:Nancy_Elizabeth_Prophet property:exhibition_history ?e . { { ?e rdf:type ontology:exhibition } UNION { ?e rdf:type ontology:art_exhibition } } } } . FILTER ( ?w < ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?b ) WHERE { ?k property:P530 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?a ) WHERE { ?h property:P530 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?a = ?d ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?b ) WHERE { ?k property:diplomatic_relation ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?a ) WHERE { ?h property:diplomatic_relation ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?a = ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have diplomatic relationships with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?b ) WHERE { ?k property:P530 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?a ) WHERE { ?h property:P530 ?n . ?h rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?a = ?d ) }
Italy
Italy have diplomatic relationships with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?d ) { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?b ) WHERE { ?k property:diplomatic_relation ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?a ) WHERE { ?h property:diplomatic_relation ?n . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?a = ?d ) }
[]
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 diplomatic associations with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?r ) WHERE { ?i property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?r = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?r ) WHERE { ?i property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?r = 1 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
43
Q800 Q55 Q783 Q398 Q790 Q954 Q958 Q244 Q33 Q983 Q851 Q734 Q736 Q236 Q233 Q238 Q20 Q1045 Q1041 Q1049 Q189 Q842 Q1029 Q224 Q221 Q229 Q1033 Q191 Q962 Q750 Q211 Q217 Q214 Q215 Q219 Q917 Q833 Q977 Q34020 Q574 Q878 Q810 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?r ) WHERE { ?i property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?r = 1 ) }
Costa Rica Netherlands Honduras Bahrain Haiti Zimbabwe South Sudan Barbados Finland Equatorial Guinea Saudi Arabia Guyana Ecuador Montenegro Malta San Marino Norway Somalia Senegal Sudan Iceland Oman Mozambique Croatia Republic of Macedonia Cyprus Nigeria Estonia Benin Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Bhutan Malaysia Djibouti Niue East Timor United Arab Emirates Jordan Thailand
43
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?r ) WHERE { ?i property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?r = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q146659
P559
Q56061 Q728937 Q628179
USER
Which administrative territories are the endpoints for more number of railroad lines or trails than Clapham ?
(c(Q728937)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q146659
relation P559
type Q728937
type Q628179
[[{'concept': 'Q728937'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?s ) WHERE { { ?l property:P559 ?p . ?l rdf:type ontology:Q728937 . ?p rdf:type ontology:Q56061 } UNION { ?l property:P559 ?p . ?l rdf:type ontology:Q628179 . ?p rdf:type ontology:Q56061 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P559 resource:Q146659 . { { ?v rdf:type ontology:Q628179 } UNION { ?v rdf:type ontology:Q728937 } } } } . FILTER ( ?s > ?o ) }
Clapham
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Clapham
relation terminus
type railroad line
type trail
[[{'concept': 'railroad line'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?s ) WHERE { { ?l property:terminus ?p . ?l rdf:type ontology:railroad_line . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?l property:terminus ?p . ?l rdf:type ontology:trail . ?p rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:terminus resource:Clapham . { { ?v rdf:type ontology:trail } UNION { ?v rdf:type ontology:railroad_line } } } } . FILTER ( ?s > ?o ) }
[]
administrative territorial entity railroad line trail
Q727 Q33959 Q12191
SYSTEM
Amsterdam, Nice, Nantes
Q3112707 Q837211 Q2814 Q82490 Q172157 Q796625 Q130191 Q727 Q7986745 Q28327 Q33959 Q586 Q1017331 Q1020951 Q257034 Q1571025 Q856860 Q517381 Q1248150 Q1781385 Q375905 Q643160 Q17872 Q129610 Q766594 Q12191 Q237253 Q485186 Q1729 Q865872
(c(Q728937)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q146659
relation P559
type Q728937
type Q628179
[ANSWERS] are the endpoints for more number of railroad lines or trails than Clapham
[[{'concept': 'Q728937'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?s ) WHERE { { ?l property:P559 ?p . ?l rdf:type ontology:Q728937 . ?p rdf:type ontology:Q56061 } UNION { ?l property:P559 ?p . ?l rdf:type ontology:Q628179 . ?p rdf:type ontology:Q56061 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:P559 resource:Q146659 . { { ?v rdf:type ontology:Q628179 } UNION { ?v rdf:type ontology:Q728937 } } } } . FILTER ( ?s > ?o ) }
Sedbury Scheveningen Halle (Saale) Lyme Regis Winchester Edale Norwich Amsterdam West Vale Örnsköldsvik Nice Bonn Westport, County Mayo Ilkley Kemble Mullan Hammond Dillenburg Wallsend Björkhagen Deerfield Farnham Alice Springs Galway Bewdley Nantes Great Yarmouth Key West Erfurt Birstall
Amsterdam, Nice and Nantes are the endpoints for more number of railroad lines or trails than Clapham
Amsterdam Nice Nantes
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Clapham
relation terminus
type railroad line
type trail
[[{'concept': 'railroad line'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?s ) WHERE { { ?l property:terminus ?p . ?l rdf:type ontology:railroad_line . ?p rdf:type ontology:administrative_territorial_entity } UNION { ?l property:terminus ?p . ?l rdf:type ontology:trail . ?p rdf:type ontology:administrative_territorial_entity } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v property:terminus resource:Clapham . { { ?v rdf:type ontology:trail } UNION { ?v rdf:type ontology:railroad_line } } } } . FILTER ( ?s > ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q38511
P559
Q56061 Q728937 Q628179
USER
And what about Turku?
(c(Q728937)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q38511
relation P559
type Q728937
type Q628179
[[{'concept': 'Q728937'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q728937 ) ( ontology:Q628179 ) } . ?x rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P559 resource:Q38511 . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q728937 ) ( ontology:Q628179 ) } } } } . FILTER ( ?m > ?z ) }
Turku
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Turku
relation terminus
type railroad line
type trail
[[{'concept': 'railroad line'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?l WHERE { VALUES ( ?h ) { ( ontology:railroad_line ) ( ontology:trail ) } . ?x rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:terminus resource:Turku . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:railroad_line ) ( ontology:trail ) } } } } . FILTER ( ?m > ?z ) }
[]
administrative territorial entity railroad line trail
Q727 Q33959 Q12191
SYSTEM
Amsterdam, Nice, Nantes
Q3112707 Q837211 Q2814 Q82490 Q172157 Q796625 Q130191 Q727 Q7986745 Q28327 Q33959 Q586 Q1017331 Q1020951 Q257034 Q1571025 Q856860 Q517381 Q1248150 Q1781385 Q375905 Q643160 Q17872 Q129610 Q766594 Q12191 Q237253 Q485186 Q1729 Q865872
(c(Q728937)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q38511
relation P559
type Q728937
type Q628179
[ANSWERS]
[[{'concept': 'Q728937'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q728937 ) ( ontology:Q628179 ) } . ?x rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P559 resource:Q38511 . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:Q728937 ) ( ontology:Q628179 ) } } } } . FILTER ( ?m > ?z ) }
Sedbury Scheveningen Halle (Saale) Lyme Regis Winchester Edale Norwich Amsterdam West Vale Örnsköldsvik Nice Bonn Westport, County Mayo Ilkley Kemble Mullan Hammond Dillenburg Wallsend Björkhagen Deerfield Farnham Alice Springs Galway Bewdley Nantes Great Yarmouth Key West Erfurt Birstall
Amsterdam Nice Nantes
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Turku
relation terminus
type railroad line
type trail
[[{'concept': 'railroad line'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?l WHERE { VALUES ( ?h ) { ( ontology:railroad_line ) ( ontology:trail ) } . ?x rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:terminus resource:Turku . { ?n rdf:type ?j . VALUES ( ?j ) { ( ontology:railroad_line ) ( ontology:trail ) } } } } . FILTER ( ?m > ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1842800
P190
Q56061
USER
Are Mount Lorne-Southern Lakes a sister city of those ones ?
(Q1842800,P190,Q727) (Q1842800,P190,Q33959) (Q1842800,P190,Q12191)
action is_in
entity prev_answer
action find
entity Q1842800
relation P190
['Q1842800', 'P190', 'Q727'] ['Q1842800', 'P190', 'Q33959'] ['Q1842800', 'P190', 'Q12191']
ASK WHERE { VALUES ( ?t ) { ( resource:Q3112707 ) ( resource:Q837211 ) ( resource:Q2814 ) } . resource:Q1842800 property:P190 ?t }
Mount Lorne-Southern Lakes
action is_in
entity prev_answer
action find
entity Mount Lorne-Southern Lakes
relation sister city
['Mount Lorne-Southern Lakes', 'sister city', 'Amsterdam'] ['Mount Lorne-Southern Lakes', 'sister city', 'Nice'] ['Mount Lorne-Southern Lakes', 'sister city', 'Nantes']
ASK WHERE { VALUES ( ?t ) { ( resource:Sedbury ) ( resource:Scheveningen ) ( resource:Halle_(Saale) ) } . resource:Mount_Lorne-Southern_Lakes property:sister_city ?t }
[]
administrative territorial entity
SYSTEM
NO
(Q1842800,P190,Q727) (Q1842800,P190,Q33959) (Q1842800,P190,Q12191)
action is_in
entity prev_answer
action find
entity Q1842800
relation P190
[ANSWER]
['Q1842800', 'P190', 'Q727'] ['Q1842800', 'P190', 'Q33959'] ['Q1842800', 'P190', 'Q12191']
ASK WHERE { VALUES ( ?t ) { ( resource:Q3112707 ) ( resource:Q837211 ) ( resource:Q2814 ) } . resource:Q1842800 property:P190 ?t }
No
action is_in
entity prev_answer
action find
entity Mount Lorne-Southern Lakes
relation sister city
['Mount Lorne-Southern Lakes', 'sister city', 'Amsterdam'] ['Mount Lorne-Southern Lakes', 'sister city', 'Nice'] ['Mount Lorne-Southern Lakes', 'sister city', 'Nantes']
ASK WHERE { VALUES ( ?t ) { ( resource:Sedbury ) ( resource:Scheveningen ) ( resource:Halle_(Saale) ) } . resource:Mount_Lorne-Southern_Lakes property:sister_city ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q664
P530
Q1048835
USER
Does New Zealand have a diplomatic relationship with Italy ?
(Q38,P530,Q664)
action is_in
entity Q664
action find
entity Q38
relation P530
['Q38', 'P530', 'Q664']
ASK WHERE { resource:Q38 property:P530 resource:Q664 }
Italy New Zealand
action is_in
entity New Zealand
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Italy property:diplomatic_relation resource:New_Zealand }
[]
political territorial entity
SYSTEM
YES
(Q38,P530,Q664)
action is_in
entity Q664
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q664']
ASK WHERE { resource:Q38 property:P530 resource:Q664 }
Yes
action is_in
entity New Zealand
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Italy property:diplomatic_relation resource:New_Zealand }
[]