Simple Question (Direct)
Simple Question
Q6233280
P69
Q3914
USER
Which school was John FitzPatrick, 1st Baron Castletown educated at ?
(Q6233280,P69,c(Q3914))
action filter_type
action find
entity Q6233280
relation P69
type Q3914
['Q6233280', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { resource:Q6233280 property:P69 ?p . ?p rdf:type ontology:Q3914 }
John FitzPatrick, 1st Baron Castletown
action filter_type
action find
entity John FitzPatrick, 1st Baron Castletown
relation educated at
type school
['John FitzPatrick, 1st Baron Castletown', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { resource:John_FitzPatrick,_1st_Baron_Castletown property:educated_at ?p . ?p rdf:type ontology:school }
[]
school
Q192088
SYSTEM
Eton College
Q192088
(Q6233280,P69,c(Q3914))
action filter_type
action find
entity Q6233280
relation P69
type Q3914
[ANSWER] was John FitzPatrick, 1st Baron Castletown educated at
['Q6233280', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?p WHERE { resource:Q6233280 property:P69 ?p . ?p rdf:type ontology:Q3914 }
Eton College
Eton College was John FitzPatrick, 1st Baron Castletown educated at
Eton College
action filter_type
action find
entity John FitzPatrick, 1st Baron Castletown
relation educated at
type school
['John FitzPatrick, 1st Baron Castletown', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?p WHERE { resource:John_FitzPatrick,_1st_Baron_Castletown property:educated_at ?p . ?p rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6233280
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q192088,P39,c(Q12737077))
action filter_type
action find
entity Q6233280
relation P39
type Q12737077
['Q192088', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q6233280 property:P39 ?y }
John FitzPatrick, 1st Baron Castletown
action filter_type
action find
entity John FitzPatrick, 1st Baron Castletown
relation position held
type occupation
['Eton College', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:John_FitzPatrick,_1st_Baron_Castletown property:position_held ?y }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q192088,P39,c(Q12737077))
action filter_type
action find
entity Q6233280
relation P39
type Q12737077
Kingdom [ANSWER]
['Q192088', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q6233280 property:P39 ?y }
Member of Parliament in the United Kingdom
Kingdom Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity John FitzPatrick, 1st Baron Castletown
relation position held
type occupation
['Eton College', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:John_FitzPatrick,_1st_Baron_Castletown property:position_held ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16707842 Q4876592
P1001
Q15617994
USER
Does Bear Valley Unified School District come under the supervision of that occupation ?
(Q16707842,P1001,Q4876592)
action is_in
entity Q4876592
action find
entity Q16707842
relation P1001
['Q16707842', 'P1001', 'Q4876592']
ASK WHERE { resource:Q16707842 property:P1001 resource:Q4876592 }
Member of Parliament in the United Kingdom Bear Valley Unified School District
action is_in
entity Bear Valley Unified School District
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', 'Bear Valley Unified School District']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction resource:Bear_Valley_Unified_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16707842,P1001,Q4876592)
action is_in
entity Q4876592
action find
entity Q16707842
relation P1001
[ANSWER]
['Q16707842', 'P1001', 'Q4876592']
ASK WHERE { resource:Q16707842 property:P1001 resource:Q4876592 }
No
action is_in
entity Bear Valley Unified School District
action find
entity Member of Parliament in the United Kingdom
relation applies to jurisdiction
['Member of Parliament in the United Kingdom', 'applies to jurisdiction', 'Bear Valley Unified School District']
ASK WHERE { resource:Member_of_Parliament_in_the_United_Kingdom property:applies_to_jurisdiction resource:Bear_Valley_Unified_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16707842 Q134737
P921
Q2342494
USER
How many collectables are Member of Parliament in the United Kingdom or nobility a main subject of ?
(c(Q2342494),P921,Q16707842) (c(Q2342494),P921,Q134737)
action count
action union
action filter_type
action find_reverse
entity Q16707842
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q134737
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q16707842'] [{'concept': 'Q2342494'}, 'P921', 'Q134737']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:P921 ?g . VALUES ( ?g ) { ( resource:Q16707842 ) ( resource:Q134737 ) } }
Member of Parliament in the United Kingdom nobility
action count
action union
action filter_type
action find_reverse
entity Member of Parliament in the United Kingdom
relation main subject
type collectable
action filter_type
action find_reverse
entity nobility
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Member of Parliament in the United Kingdom'] [{'concept': 'collectable'}, 'main subject', 'nobility']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:main_subject ?g . VALUES ( ?g ) { ( resource:Member_of_Parliament_in_the_United_Kingdom ) ( resource:nobility ) } }
[]
collectable
SYSTEM
2
Q22697091 Q24254921
(c(Q2342494),P921,Q16707842) (c(Q2342494),P921,Q134737)
action count
action union
action filter_type
action find_reverse
entity Q16707842
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q134737
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q16707842'] [{'concept': 'Q2342494'}, 'P921', 'Q134737']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:P921 ?g . VALUES ( ?g ) { ( resource:Q16707842 ) ( resource:Q134737 ) } }
Nejstarší pečeti šlechty české až do roku 1300 Complete baronetage
2
action count
action union
action filter_type
action find_reverse
entity Member of Parliament in the United Kingdom
relation main subject
type collectable
action filter_type
action find_reverse
entity nobility
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Member of Parliament in the United Kingdom'] [{'concept': 'collectable'}, 'main subject', 'nobility']
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { ?c property:main_subject ?g . VALUES ( ?g ) { ( resource:Member_of_Parliament_in_the_United_Kingdom ) ( resource:nobility ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192088
P17
Q15617994
USER
Which administrative territory is Eton College situated in ?
(Q192088,P17,c(Q15617994))
action filter_type
action find
entity Q192088
relation P17
type Q15617994
['Q192088', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q192088 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Eton College
action filter_type
action find
entity Eton College
relation country
type designation for an administrative territorial entity
['Eton College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Eton_College property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q192088,P17,c(Q15617994))
action filter_type
action find
entity Q192088
relation P17
type Q15617994
Which administrative territory is Eton College situated in
['Q192088', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q192088 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Eton College situated in
United Kingdom
action filter_type
action find
entity Eton College
relation country
type designation for an administrative territorial entity
['Eton College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Eton_College property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q838948
USER
How many administrative territories are the countries of origin of lesser number of releases or works of art than that administrative territory ?
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q2031291
type Q838948
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P495 resource:Q145 . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } } } . FILTER ( ?v < ?g ) }
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type release
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:release ) ( ontology:work_of_art ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:country_of_origin resource:United_Kingdom . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:release ) ( ontology:work_of_art ) } } } } . FILTER ( ?v < ?g ) }
[]
designation for an administrative territorial entity release work of art
SYSTEM
166
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q142 Q55 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)|c(Q838948),P495,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q145
relation P495
type Q2031291
type Q838948
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P495 resource:Q145 . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } } } . FILTER ( ?v < ?g ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina France Netherlands 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
166
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United Kingdom
relation country of origin
type release
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?w WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:release ) ( ontology:work_of_art ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:country_of_origin resource:United_Kingdom . { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:release ) ( ontology:work_of_art ) } } } } . FILTER ( ?v < ?g ) }
[]