Simple Question (Direct)
Simple Question
Q3288645
P69
Q3918
USER
Which university was William O'Leary educated at ?
(Q3288645,P69,c(Q3918))
action filter_type
action find
entity Q3288645
relation P69
type Q3918
['Q3288645', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3918 . resource:Q3288645 property:P69 ?l }
William O'Leary
action filter_type
action find
entity William O'Leary
relation educated at
type university
["William O'Leary", 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:university . resource:William_O'Leary property:educated_at ?l }
[]
university
Q219563
SYSTEM
University of Washington
Q219563
(Q3288645,P69,c(Q3918))
action filter_type
action find
entity Q3288645
relation P69
type Q3918
William O'Leary was educated [ANSWER]
['Q3288645', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q3918 . resource:Q3288645 property:P69 ?l }
University of Washington
William O'Leary was educated University of Washington
University of Washington
action filter_type
action find
entity William O'Leary
relation educated at
type university
["William O'Leary", 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:university . resource:William_O'Leary property:educated_at ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219563
P17
Q15617994
USER
Which administrative territory is that university situated in ?
(Q219563,P17,c(Q15617994))
action filter_type
action find
entity Q219563
relation P17
type Q15617994
['Q219563', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q219563 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
University of Washington
action filter_type
action find
entity University of Washington
relation country
type designation for an administrative territorial entity
['University of Washington', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:University_of_Washington property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q219563,P17,c(Q15617994))
action filter_type
action find
entity Q219563
relation P17
type Q15617994
That university is situated in [ANSWER]
['Q219563', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q219563 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
That university is situated in United States of America
United States of America
action filter_type
action find
entity University of Washington
relation country
type designation for an administrative territorial entity
['University of Washington', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:University_of_Washington property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q963
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as Botswana ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q963
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?o property:P530 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q963 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?w ) }
Botswana
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Botswana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?o property:diplomatic_relation ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Botswana property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q963
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?o property:P530 ?h . ?o rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q963 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?q = ?w ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Botswana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?q ) WHERE { ?o property:diplomatic_relation ?h . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Botswana property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q55
P530
Q15617994 Q15617994
USER
And what about Netherlands?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?v ) WHERE { ?p property:P530 ?a . ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q55 property:P530 ?b } } . FILTER ( ?v = ?l ) }
Netherlands
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?v ) WHERE { ?p property:diplomatic_relation ?a . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Netherlands property:diplomatic_relation ?b } } . FILTER ( ?v = ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?v ) WHERE { ?p property:P530 ?a . ?p rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q55 property:P530 ?b } } . FILTER ( ?v = ?l ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?v ) WHERE { ?p property:diplomatic_relation ?a . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Netherlands property:diplomatic_relation ?b } } . FILTER ( ?v = ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219563
P159
Q56061
USER
Which administrative territory is the HQ of University of Washington ?
(Q219563,P159,c(Q56061))
action filter_type
action find
entity Q219563
relation P159
type Q56061
['Q219563', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q219563 property:P159 ?d . ?d rdf:type ontology:Q56061 }
University of Washington
action filter_type
action find
entity University of Washington
relation headquarters location
type administrative territorial entity
['University of Washington', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:University_of_Washington property:headquarters_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q5083
SYSTEM
Seattle
Q5083
(Q219563,P159,c(Q56061))
action filter_type
action find
entity Q219563
relation P159
type Q56061
[ANSWER] is the HQ of University of Washington
['Q219563', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q219563 property:P159 ?d . ?d rdf:type ontology:Q56061 }
Seattle
Seattle is the HQ of University of Washington
Seattle
action filter_type
action find
entity University of Washington
relation headquarters location
type administrative territorial entity
['University of Washington', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:University_of_Washington property:headquarters_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5083
P194
Q1752346
USER
Which assembly represents that administrative territory ?
(Q5083,P194,c(Q1752346))
action filter_type
action find
entity Q5083
relation P194
type Q1752346
['Q5083', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { resource:Q5083 property:P194 ?u . ?u rdf:type ontology:Q1752346 }
Seattle
action filter_type
action find
entity Seattle
relation legislative body
type assembly
['Seattle', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { resource:Seattle property:legislative_body ?u . ?u rdf:type ontology:assembly }
[]
assembly
Q7442079
SYSTEM
Seattle City Council
Q7442079
(Q5083,P194,c(Q1752346))
action filter_type
action find
entity Q5083
relation P194
type Q1752346
[ANSWER] represents that administrative territory
['Q5083', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { resource:Q5083 property:P194 ?u . ?u rdf:type ontology:Q1752346 }
Seattle City Council
Seattle City Council represents that administrative territory
Seattle City Council
action filter_type
action find
entity Seattle
relation legislative body
type assembly
['Seattle', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { resource:Seattle property:legislative_body ?u . ?u rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q1751443
P915
Q838948
USER
How many works of art were filmed in the location United States of America or Testaccio ?
(c(Q838948),P915,Q30) (c(Q838948),P915,Q1751443)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
action filter_type
action find_reverse
entity Q1751443
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q30'] [{'concept': 'Q838948'}, 'P915', 'Q1751443']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:P915 resource:Q30 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P915 resource:Q1751443 . ?g rdf:type ontology:Q838948 } }
United States of America Testaccio
action count
action union
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
action filter_type
action find_reverse
entity Testaccio
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United States of America'] [{'concept': 'work of art'}, 'filming location', 'Testaccio']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:filming_location resource:United_States_of_America . ?g rdf:type ontology:work_of_art } UNION { ?g property:filming_location resource:Testaccio . ?g rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
4
Q1127828 Q19946486 Q16251439 Q18602670
(c(Q838948),P915,Q30) (c(Q838948),P915,Q1751443)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P915
type Q838948
action filter_type
action find_reverse
entity Q1751443
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q30'] [{'concept': 'Q838948'}, 'P915', 'Q1751443']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:P915 resource:Q30 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P915 resource:Q1751443 . ?g rdf:type ontology:Q838948 } }
Koyaanisqatsi Til Vesterheimen A Hologram for the King Spectre
4
action count
action union
action filter_type
action find_reverse
entity United States of America
relation filming location
type work of art
action filter_type
action find_reverse
entity Testaccio
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United States of America'] [{'concept': 'work of art'}, 'filming location', 'Testaccio']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:filming_location resource:United_States_of_America . ?g rdf:type ontology:work_of_art } UNION { ?g property:filming_location resource:Testaccio . ?g rdf:type ontology:work_of_art } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q127448
P805
Q15617994 Q1752346
USER
How many administrative territories have less number of assemblies as a subject than municipality of Sweden ?
(c(Q1752346),P805,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find_reverse
entity Q127448
relation P805
type Q1752346
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P805 ?w . ?n rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P805 resource:Q127448 . ?k rdf:type ontology:Q1752346 } } . FILTER ( ?u < ?a ) }
municipality of Sweden
action count
action less
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find_reverse
entity municipality of Sweden
relation subject of
type assembly
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:subject_of ?w . ?n rdf:type ontology:assembly . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:subject_of resource:municipality_of_Sweden . ?k rdf:type ontology:assembly } } . FILTER ( ?u < ?a ) }
[]
designation for an administrative territorial entity assembly
SYSTEM
2
Q928 Q856076
(c(Q1752346),P805,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P805
type Q15617994
type Q1752346
action count
action filter_type
action find_reverse
entity Q127448
relation P805
type Q1752346
[ANSWER]
[{'concept': 'Q1752346'}, 'P805', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:P805 ?w . ?n rdf:type ontology:Q1752346 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P805 resource:Q127448 . ?k rdf:type ontology:Q1752346 } } . FILTER ( ?u < ?a ) }
Philippines municipality of Finland
2
action count
action less
action find_reverse_tuple_counts
relation subject of
type designation for an administrative territorial entity
type assembly
action count
action filter_type
action find_reverse
entity municipality of Sweden
relation subject of
type assembly
[{'concept': 'assembly'}, 'subject of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?u ) WHERE { ?n property:subject_of ?w . ?n rdf:type ontology:assembly . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:subject_of resource:municipality_of_Sweden . ?k rdf:type ontology:assembly } } . FILTER ( ?u < ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P1071
Q3305213
USER
Which paintings have United States of America as their final assembly location ?
(c(Q3305213),P1071,Q30)
action filter_type
action find_reverse
entity Q30
relation P1071
type Q3305213
[{'concept': 'Q3305213'}, 'P1071', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P1071 resource:Q30 . ?j rdf:type ontology:Q3305213 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:location_of_final_assembly resource:United_States_of_America . ?j rdf:type ontology:painting }
[]
painting
Q18713914 Q18572502 Q18346971
SYSTEM
Water Lily in Sunlight, Pendant with Miniature Portrait of Ellen Percy, Resurrection
Q18713914 Q18572502 Q18346971
(c(Q3305213),P1071,Q30)
action filter_type
action find_reverse
entity Q30
relation P1071
type Q3305213
[ANSWERS] have United States of America as their final assembly location
[{'concept': 'Q3305213'}, 'P1071', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P1071 resource:Q30 . ?j rdf:type ontology:Q3305213 }
Water Lily in Sunlight Pendant with Miniature Portrait of Ellen Percy Resurrection
Water Lily in Sunlight, Pendant with Miniature Portrait of Ellen Percy and Resurrection have United States of America as their final assembly location
Water Lily in Sunlight Pendant with Miniature Portrait of Ellen Percy Resurrection
action filter_type
action find_reverse
entity United States of America
relation location of final assembly
type painting
[{'concept': 'painting'}, 'location of final assembly', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:location_of_final_assembly resource:United_States_of_America . ?j rdf:type ontology:painting }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18572502
P136
Q483394
USER
What can be considered as category for that painting ?
(Q18572502,P136,c(Q483394))
action filter_type
action find
entity Q18572502
relation P136
type Q483394
['Q18572502', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483394 . resource:Q18572502 property:P136 ?m }
Pendant with Miniature Portrait of Ellen Percy
action filter_type
action find
entity Pendant with Miniature Portrait of Ellen Percy
relation genre
type genre
['Pendant with Miniature Portrait of Ellen Percy', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:genre . resource:Pendant_with_Miniature_Portrait_of_Ellen_Percy property:genre ?m }
[]
genre
Clarification for simple ques.
Q18572502
SYSTEM
Did you mean Pendant with Miniature Portrait of Ellen Percy ?
Q18713914 Q18572502 Q18346971
(Q18713914,P136,c(Q483394)) (Q18572502,P136,c(Q483394)) (Q18346971,P136,c(Q483394))
[ANSWER]
['Q18713914', 'P136', {'concept': 'Q483394'}] ['Q18572502', 'P136', {'concept': 'Q483394'}] ['Q18346971', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483394 . resource:Q18572502 property:P136 ?m }
Water Lily in Sunlight Pendant with Miniature Portrait of Ellen Percy Resurrection
Did you mean Pendant with Miniature Portrait of Ellen Percy ?
Pendant with Miniature Portrait of Ellen Percy
['Water Lily in Sunlight', 'genre', {'concept': 'genre'}] ['Pendant with Miniature Portrait of Ellen Percy', 'genre', {'concept': 'genre'}] ['Resurrection', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:genre . resource:Pendant_with_Miniature_Portrait_of_Ellen_Percy property:genre ?m }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18572502,P136,c(Q483394))
['Q18572502', 'P136', {'concept': 'Q483394'}]
['Pendant with Miniature Portrait of Ellen Percy', 'genre', {'concept': 'genre'}]
[]
Q134307
SYSTEM
portrait
Q134307
(Q18572502,P136,c(Q483394))
action filter_type
action find
entity Q18572502
relation P136
type Q483394
[ANSWER] can be considered as category for that painting
['Q18572502', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q483394 . resource:Q18572502 property:P136 ?m }
portrait
Portrait can be considered as category for that painting
portrait
action filter_type
action find
entity Pendant with Miniature Portrait of Ellen Percy
relation genre
type genre
['Pendant with Miniature Portrait of Ellen Percy', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:genre . resource:Pendant_with_Miniature_Portrait_of_Ellen_Percy property:genre ?m }
[]