Simple Question (Direct)
Simple Question
Q1381018
P140
Q9174
USER
What is the religious affiliation of William Stukeley ?
(Q1381018,P140,c(Q9174))
action filter_type
action find
entity Q1381018
relation P140
type Q9174
['Q1381018', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?l WHERE { resource:Q1381018 property:P140 ?l . ?l rdf:type ontology:Q9174 }
William Stukeley
action filter_type
action find
entity William Stukeley
relation religion
type religion
['William Stukeley', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?l WHERE { resource:William_Stukeley property:religion ?l . ?l rdf:type ontology:religion }
[]
religion
Q6423963
SYSTEM
Anglicanism
Q6423963
(Q1381018,P140,c(Q9174))
action filter_type
action find
entity Q1381018
relation P140
type Q9174
The religious affiliation of William Stukeley is of [ANSWER]
['Q1381018', 'P140', {'concept': 'Q9174'}]
SELECT DISTINCT ?l WHERE { resource:Q1381018 property:P140 ?l . ?l rdf:type ontology:Q9174 }
Anglicanism
The religious affiliation of William Stukeley is of Anglicanism
Anglicanism
action filter_type
action find
entity William Stukeley
relation religion
type religion
['William Stukeley', 'religion', {'concept': 'religion'}]
SELECT DISTINCT ?l WHERE { resource:William_Stukeley property:religion ?l . ?l rdf:type ontology:religion }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1381018
P921
Q191067
USER
Which article was mainly based on William Stukeley ?
(c(Q191067),P921,Q1381018)
action filter_type
action find_reverse
entity Q1381018
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q1381018']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q1381018 . ?e rdf:type ontology:Q191067 }
William Stukeley
action filter_type
action find_reverse
entity William Stukeley
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Stukeley']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:William_Stukeley . ?e rdf:type ontology:article }
[]
article
Q19069253
SYSTEM
Stukeley, William (DNB00)
Q19069253
(c(Q191067),P921,Q1381018)
action filter_type
action find_reverse
entity Q1381018
relation P921
type Q191067
[ANSWER] was mainly based on William Stukeley
[{'concept': 'Q191067'}, 'P921', 'Q1381018']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q1381018 . ?e rdf:type ontology:Q191067 }
Stukeley, William (DNB00)
Stukeley, William (DNB00) was mainly based on William Stukeley
Stukeley, William (DNB00)
action filter_type
action find_reverse
entity William Stukeley
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Stukeley']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:William_Stukeley . ?e rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1381018
P69
Q1055028
USER
Which college of the University of Cambridge is that person an alumni of ?
(Q19069253,P69,c(Q1055028))
action filter_type
action find
entity Q1381018
relation P69
type Q1055028
['Q19069253', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?o WHERE { resource:Q1381018 property:P69 ?o . ?o rdf:type ontology:Q1055028 }
William Stukeley
action filter_type
action find
entity William Stukeley
relation educated at
type college of the University of Cambridge
['Stukeley, William (DNB00)', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?o WHERE { resource:William_Stukeley property:educated_at ?o . ?o rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q536282
SYSTEM
Corpus Christi College
Q536282
(Q19069253,P69,c(Q1055028))
action filter_type
action find
entity Q1381018
relation P69
type Q1055028
[ANSWER] is that person an alumni of
['Q19069253', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?o WHERE { resource:Q1381018 property:P69 ?o . ?o rdf:type ontology:Q1055028 }
Corpus Christi College
Corpus Christi College is that person an alumni of
Corpus Christi College
action filter_type
action find
entity William Stukeley
relation educated at
type college of the University of Cambridge
['Stukeley, William (DNB00)', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?o WHERE { resource:William_Stukeley property:educated_at ?o . ?o rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1381018
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q536282,P27,c(Q15617994))
action filter_type
action find
entity Q1381018
relation P27
type Q15617994
['Q536282', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1381018 property:P27 ?h }
William Stukeley
action filter_type
action find
entity William Stukeley
relation country of citizenship
type designation for an administrative territorial entity
['Corpus Christi College', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_Stukeley property:country_of_citizenship ?h }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q536282,P27,c(Q15617994))
action filter_type
action find
entity Q1381018
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q536282', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1381018 property:P27 ?h }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity William Stukeley
relation country of citizenship
type designation for an administrative territorial entity
['Corpus Christi College', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_Stukeley property:country_of_citizenship ?h }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q786
P37
Q34770 Q5962346 Q15617994
USER
Which administrative territories are lesser number of languages and classification schemes associated to as the official language than Dominican Republic ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q786
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q786 property:P37 ?u . { { ?u rdf:type ontology:Q34770 } UNION { ?u rdf:type ontology:Q5962346 } } } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?g property:P37 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q5962346 } UNION { ?g property:P37 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q34770 } } GROUP BY ?g } }
Dominican Republic
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Dominican Republic
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Dominican_Republic property:official_language ?u . { { ?u rdf:type ontology:language } UNION { ?u rdf:type ontology:classification_scheme } } } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?g property:official_language ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:classification_scheme } UNION { ?g property:official_language ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:language } } GROUP BY ?g } }
[]
language classification scheme designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q786
relation P37
type Q34770
type Q5962346
[ANSWERS] are lesser number of languages and classification schemes associated to as the official language than Dominican Republic
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q786 property:P37 ?u . { { ?u rdf:type ontology:Q34770 } UNION { ?u rdf:type ontology:Q5962346 } } } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?g property:P37 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q5962346 } UNION { ?g property:P37 ?h . ?g rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q34770 } } GROUP BY ?g } }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil, United States of America and Georgia are lesser number of languages and classification schemes associated to as the official language than Dominican Republic
Brazil United States of America Georgia
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Dominican Republic
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Dominican_Republic property:official_language ?u . { { ?u rdf:type ontology:language } UNION { ?u rdf:type ontology:classification_scheme } } } } . FILTER ( ?n < ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?g WHERE { { ?g property:official_language ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:classification_scheme } UNION { ?g property:official_language ?h . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:language } } GROUP BY ?g } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1020
P37
Q34770 Q5962346 Q15617994
USER
And how about Malawi?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q1020
relation P37
type Q34770
type Q5962346
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { { ?u property:P37 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q34770 } UNION { ?u property:P37 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q5962346 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1020 property:P37 ?o . { { ?o rdf:type ontology:Q34770 } UNION { ?o rdf:type ontology:Q5962346 } } } } . FILTER ( ?s < ?e ) }
Malawi
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Malawi
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { { ?u property:official_language ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:language } UNION { ?u property:official_language ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:classification_scheme } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Malawi property:official_language ?o . { { ?o rdf:type ontology:language } UNION { ?o rdf:type ontology:classification_scheme } } } } . FILTER ( ?s < ?e ) }
[]
language classification scheme designation for an administrative territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action less
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
action count
action filter_multi_types
action find
entity Q1020
relation P37
type Q34770
type Q5962346
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { { ?u property:P37 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q34770 } UNION { ?u property:P37 ?z . ?u rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q5962346 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Q1020 property:P37 ?o . { { ?o rdf:type ontology:Q34770 } UNION { ?o rdf:type ontology:Q5962346 } } } } . FILTER ( ?s < ?e ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
Brazil United States of America Georgia
action less
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
action count
action filter_multi_types
action find
entity Malawi
relation official language
type language
type classification scheme
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?s ) WHERE { { ?u property:official_language ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:language } UNION { ?u property:official_language ?z . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:classification_scheme } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { resource:Malawi property:official_language ?o . { { ?o rdf:type ontology:language } UNION { ?o rdf:type ontology:classification_scheme } } } } . FILTER ( ?s < ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q30 Q230
P463
Q874405
USER
What social groups had Brazil, United States of America and Georgia as their member ?
(Q155,P463,c(Q874405)) (Q30,P463,c(Q874405)) (Q230,P463,c(Q874405))
action union
action filter_type
action find
entity Q155
relation P463
type Q874405
action filter_type
action find
entity Q30
relation P463
type Q874405
action filter_type
action find
entity Q230
relation P463
type Q874405
['Q155', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?k ) { ( resource:Q155 ) ( resource:Q30 ) } . ?k property:P463 ?s }
Brazil United States of America Georgia
action union
action filter_type
action find
entity Brazil
relation member of
type social group
action filter_type
action find
entity United States of America
relation member of
type social group
action filter_type
action find
entity Georgia
relation member of
type social group
['Brazil', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?k ) { ( resource:Brazil ) ( resource:United_States_of_America ) } . ?k property:member_of ?s }
[]
social group
Q7817 Q8908 Q602399
SYSTEM
World Health Organization, Council of Europe, Amazon Cooperation Treaty Organization
Q602399 Q47539 Q1484463 Q7817 Q782942 Q295875 Q8908
(Q155,P463,c(Q874405)) (Q30,P463,c(Q874405)) (Q230,P463,c(Q874405))
action union
action filter_type
action find
entity Q155
relation P463
type Q874405
action filter_type
action find
entity Q30
relation P463
type Q874405
action filter_type
action find
entity Q230
relation P463
type Q874405
[ANSWERS] had Brazil, United States of America and Georgia as their member
['Q155', 'P463', {'concept': 'Q874405'}] ['Q30', 'P463', {'concept': 'Q874405'}] ['Q230', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?k ) { ( resource:Q155 ) ( resource:Q30 ) } . ?k property:P463 ?s }
Amazon Cooperation Treaty Organization South Atlantic Peace and Cooperation Zone G8+5 World Health Organization Australia Group ANZUS Council of Europe
World Health Organization, Council of Europe and Amazon Cooperation Treaty Organization had Brazil, United States of America and Georgia as their member
World Health Organization Council of Europe Amazon Cooperation Treaty Organization
action union
action filter_type
action find
entity Brazil
relation member of
type social group
action filter_type
action find
entity United States of America
relation member of
type social group
action filter_type
action find
entity Georgia
relation member of
type social group
['Brazil', 'member of', {'concept': 'social group'}] ['United States of America', 'member of', {'concept': 'social group'}] ['Georgia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?k ) { ( resource:Brazil ) ( resource:United_States_of_America ) } . ?k property:member_of ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1381018
P106
Q12737077
USER
What are the professions of William Stukeley ?
(Q1381018,P106,c(Q12737077))
action filter_type
action find
entity Q1381018
relation P106
type Q12737077
['Q1381018', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1381018 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
William Stukeley
action filter_type
action find
entity William Stukeley
relation occupation
type occupation
['William Stukeley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:William_Stukeley property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q4773904 Q17488316 Q3621491
SYSTEM
anthropologist, prehistorian, archaeologist
Q4773904 Q17488316 Q3621491
(Q1381018,P106,c(Q12737077))
action filter_type
action find
entity Q1381018
relation P106
type Q12737077
The professions of William Stukeley are [ANSWERS]
['Q1381018', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1381018 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
anthropologist prehistorian archaeologist
The professions of William Stukeley are anthropologist, prehistorian and archaeologist
anthropologist prehistorian archaeologist
action filter_type
action find
entity William Stukeley
relation occupation
type occupation
['William Stukeley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:William_Stukeley property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21483776 Q19069253
P1433
Q5292
USER
Which encyclopedias have Stukeley, William (DNB00) or Wyche, Richard de (DNB00) in it ?
OR((Q19069253,P1433,c(Q5292)), (Q21483776,P1433,c(Q5292)))
action filter_type
action union
action find
entity Q19069253
relation P1433
action find
entity Q21483776
relation P1433
type Q5292
{'OR': [['Q19069253', 'P1433', {'concept': 'Q5292'}], ['Q21483776', 'P1433', {'concept': 'Q5292'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Q21483776 ) ( resource:Q19069253 ) } . ?b property:P1433 ?m } . ?m rdf:type ontology:Q5292 }
Wyche, Richard de (DNB00) Stukeley, William (DNB00)
action filter_type
action union
action find
entity Stukeley, William (DNB00)
relation published in
action find
entity Wyche, Richard de (DNB00)
relation published in
type encyclopedia
{'OR': [['Stukeley, William (DNB00)', 'published in', {'concept': 'encyclopedia'}], ['Wyche, Richard de (DNB00)', 'published in', {'concept': 'encyclopedia'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Wyche,_Richard_de_(DNB00) ) ( resource:Stukeley,_William_(DNB00) ) } . ?b property:published_in ?m } . ?m rdf:type ontology:encyclopedia }
[]
encyclopedia
Q15987216
SYSTEM
Dictionary of National Biography (1885-1900)
Q15987216
OR((Q19069253,P1433,c(Q5292)), (Q21483776,P1433,c(Q5292)))
action filter_type
action union
action find
entity Q19069253
relation P1433
action find
entity Q21483776
relation P1433
type Q5292
[ANSWER] have Stukeley, William (DNB00) or Wyche, Richard de (DNB00) in it
{'OR': [['Q19069253', 'P1433', {'concept': 'Q5292'}], ['Q21483776', 'P1433', {'concept': 'Q5292'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Q21483776 ) ( resource:Q19069253 ) } . ?b property:P1433 ?m } . ?m rdf:type ontology:Q5292 }
Dictionary of National Biography (1885-1900)
Dictionary of National Biography (1885-1900) have Stukeley, William (DNB00) or Wyche, Richard de (DNB00) in it
Dictionary of National Biography (1885-1900)
action filter_type
action union
action find
entity Stukeley, William (DNB00)
relation published in
action find
entity Wyche, Richard de (DNB00)
relation published in
type encyclopedia
{'OR': [['Stukeley, William (DNB00)', 'published in', {'concept': 'encyclopedia'}], ['Wyche, Richard de (DNB00)', 'published in', {'concept': 'encyclopedia'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?b ) { ( resource:Wyche,_Richard_de_(DNB00) ) ( resource:Stukeley,_William_(DNB00) ) } . ?b property:published_in ?m } . ?m rdf:type ontology:encyclopedia }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q15987216 Q84
P291
Q56061
USER
Is London the publication region of that encyclopedia ?
(Q15987216,P291,Q84)
action is_in
entity Q84
action find
entity Q15987216
relation P291
['Q15987216', 'P291', 'Q84']
ASK WHERE { resource:Q15987216 property:P291 resource:Q84 }
Dictionary of National Biography (1885-1900) London
action is_in
entity London
action find
entity Dictionary of National Biography (1885-1900)
relation place of publication
['Dictionary of National Biography (1885-1900)', 'place of publication', 'London']
ASK WHERE { resource:Dictionary_of_National_Biography_(1885-1900) property:place_of_publication resource:London }
[]
administrative territorial entity
SYSTEM
YES
(Q15987216,P291,Q84)
action is_in
entity Q84
action find
entity Q15987216
relation P291
[ANSWER]
['Q15987216', 'P291', 'Q84']
ASK WHERE { resource:Q15987216 property:P291 resource:Q84 }
Yes
action is_in
entity London
action find
entity Dictionary of National Biography (1885-1900)
relation place of publication
['Dictionary of National Biography (1885-1900)', 'place of publication', 'London']
ASK WHERE { resource:Dictionary_of_National_Biography_(1885-1900) property:place_of_publication resource:London }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q3305213 Q3516658
USER
Which occupations are expressed in min number of paintings or heraldic symbols ?
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { { ?m property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3305213 } UNION { ?m property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?i WHERE { { ?y property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } UNION { ?y property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3516658 } } GROUP BY ?i } . FILTER ( ?v = ?n ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { { ?m property:depicts ?p . ?p rdf:type ontology:occupation . ?m rdf:type ontology:painting } UNION { ?m property:depicts ?p . ?p rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?i WHERE { { ?y property:depicts ?i . ?i rdf:type ontology:occupation . ?y rdf:type ontology:painting } UNION { ?y property:depicts ?i . ?i rdf:type ontology:occupation . ?y rdf:type ontology:heraldic_symbol } } GROUP BY ?i } . FILTER ( ?v = ?n ) }
[]
occupation painting heraldic symbol
Q186360 Q242468 Q182436
SYSTEM
nurse, tailor, librarian
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q16735601 Q37226 Q27621374 Q152355 Q1218776 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q4610556 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q47064 Q185196 Q328325 Q11900058 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q12902372 Q170790 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q15954519 Q2981922 Q29182 Q326358 Q5575361 Q1161133 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q1511216 Q16533 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q1627992 Q2309784 Q253567 Q3439798 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q765541 Q2011889 Q49476 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q373017 Q2180295 Q1294787 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3305213)|c(Q3516658),P180,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[ANSWERS] are expressed in min number of paintings or heraldic symbols
[[{'concept': 'Q3305213'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { { ?m property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3305213 } UNION { ?m property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q3516658 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?i WHERE { { ?y property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3305213 } UNION { ?y property:P180 ?i . ?i rdf:type ontology:Q12737077 . ?y rdf:type ontology:Q3516658 } } GROUP BY ?i } . FILTER ( ?v = ?n ) }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer florist teacher bear hunter cobbler arriero sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman model deacon wet nurse sailor clown spinner butcher military personnel midwife stonemason explorer civil servant sower abbé architect street musician nurse parson flautist mathematician mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman alchemist American pioneer bishop joiner goatherd pedicure courtesan member of parliament bartender clogmaker peddler reaper condottiero canon discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor courtier judge matador goldsmith waterseller pretender astronomer surgeon domestic worker cook Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker lady's maid sport cyclist apprentice King of France woodcutter lacemaker Snake charming carpenter school teacher officer baker knife grinder police officer guard Maid of honour kazasker madam archbishop boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric basketry mail carrier artisan bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
Nurse, tailor and librarian are expressed in min number of paintings or heraldic symbols
nurse tailor librarian
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'painting'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) ?p WHERE { { ?m property:depicts ?p . ?p rdf:type ontology:occupation . ?m rdf:type ontology:painting } UNION { ?m property:depicts ?p . ?p rdf:type ontology:occupation . ?m rdf:type ontology:heraldic_symbol } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?i WHERE { { ?y property:depicts ?i . ?i rdf:type ontology:occupation . ?y rdf:type ontology:painting } UNION { ?y property:depicts ?i . ?i rdf:type ontology:occupation . ?y rdf:type ontology:heraldic_symbol } } GROUP BY ?i } . FILTER ( ?v = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q20571
P840
Q15617994 Q15416 Q2342494
USER
How many administrative territories are lesser number of television programs or collectables set in than Spoleto ?
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q20571
relation P840
type Q15416
type Q2342494
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P840 resource:Q20571 . { { ?l rdf:type ontology:Q15416 } UNION { ?l rdf:type ontology:Q2342494 } } } } . FILTER ( ?o < ?b ) }
Spoleto
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Spoleto
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:narrative_location resource:Spoleto . { { ?l rdf:type ontology:television_program } UNION { ?l rdf:type ontology:collectable } } } } . FILTER ( ?o < ?b ) }
[]
designation for an administrative territorial entity television program collectable
SYSTEM
78
Q377277 Q804 Q278221 Q186115 Q262 Q189 Q47428 Q18021 Q842 Q36678 Q710 Q837 Q1460 Q403 Q790 Q419 Q165040 Q232782 Q244 Q12515 Q32 Q31 Q37 Q34 Q928 Q851 Q769680 Q12798 Q236 Q12538 Q232 Q233 Q1093 Q1860611 Q913434 Q127043 Q184 Q1029 Q1028 Q1458 Q91217 Q1452 Q225 Q12700 Q2336399 Q3207 Q1033 Q1030 Q962 Q159689 Q114 Q41158 Q212 Q517107 Q217 Q912 Q2107 Q1007 Q833 Q14859 Q2742 Q836 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q800 Q12545 Q53216 Q6247
(c(Q15416)|c(Q2342494),P840,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q20571
relation P840
type Q15416
type Q2342494
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:P840 resource:Q20571 . { { ?l rdf:type ontology:Q15416 } UNION { ?l rdf:type ontology:Q2342494 } } } } . FILTER ( ?o < ?b ) }
Glückstadt Panama Berchtesgaden Montmartre Algeria Iceland Valdobbiadene Biella Oman West Bank Kiribati Nepal Sicily Serbia Haiti Peru Duchy of Parma Portofino Barbados Gard Luxembourg Belgium Lithuania Sweden Philippines Saudi Arabia Bornholm Vendée Montenegro Haute-Garonne Kazakhstan Malta Limburg Viby Les Halles Garmisch-Partenkirchen Belarus Mozambique Morocco Calabria Montepulciano Basilicata Bosnia and Herzegovina Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Benin Bomarzo Kenya Cortina d'Ampezzo Ukraine Rudolstadt Republic of Moldova Mali Wuppertal Guinea-Bissau Malaysia Ansbach Münster Myanmar Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Costa Rica Hérault Aquileia Mantua
78
action count
action less
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action count
action filter_multi_types
action find_reverse
entity Spoleto
relation narrative location
type television program
type collectable
[[{'concept': 'television program'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?o ) WHERE { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:television_program ) ( ontology:collectable ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l property:narrative_location resource:Spoleto . { { ?l rdf:type ontology:television_program } UNION { ?l rdf:type ontology:collectable } } } } . FILTER ( ?o < ?b ) }
[]