Simple Question (Direct)
Simple Question
Q2311485
P40
Q502895
USER
Who is an offspring of Samuel Wells Williams ?
(Q2311485,P40,c(Q502895))
action filter_type
action find
entity Q2311485
relation P40
type Q502895
['Q2311485', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q2311485 property:P40 ?i }
Samuel Wells Williams
action filter_type
action find
entity Samuel Wells Williams
relation child
type common name
['Samuel Wells Williams', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Samuel_Wells_Williams property:child ?i }
[]
common name
Q15983817
SYSTEM
Frederick Wells Williams
Q15983817
(Q2311485,P40,c(Q502895))
action filter_type
action find
entity Q2311485
relation P40
type Q502895
An offspring of Samuel Wells Williams is [ANSWER]
['Q2311485', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q2311485 property:P40 ?i }
Frederick Wells Williams
An offspring of Samuel Wells Williams is Frederick Wells Williams
Frederick Wells Williams
action filter_type
action find
entity Samuel Wells Williams
relation child
type common name
['Samuel Wells Williams', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Samuel_Wells_Williams property:child ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2311485
P1412
Q34770
USER
Which language is Samuel Wells Williams capable of writing ?
(Q2311485,P1412,c(Q34770))
action filter_type
action find
entity Q2311485
relation P1412
type Q34770
['Q2311485', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q2311485 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Samuel Wells Williams
action filter_type
action find
entity Samuel Wells Williams
relation languages spoken, written or signed
type language
['Samuel Wells Williams', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Samuel_Wells_Williams property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2311485,P1412,c(Q34770))
action filter_type
action find
entity Q2311485
relation P1412
type Q34770
The [ANSWER] is Samuel Wells Williams capable of writing
['Q2311485', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q2311485 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
The English is Samuel Wells Williams capable of writing
English
action filter_type
action find
entity Samuel Wells Williams
relation languages spoken, written or signed
type language
['Samuel Wells Williams', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Samuel_Wells_Williams property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2311485
P108
Q163740
USER
Which nonprofit organization does that person work for ?
(Q1860,P108,c(Q163740))
action filter_type
action find
entity Q2311485
relation P108
type Q163740
['Q1860', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q2311485 property:P108 ?u . ?u rdf:type ontology:Q163740 }
Samuel Wells Williams
action filter_type
action find
entity Samuel Wells Williams
relation employer
type nonprofit organization
['English', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Samuel_Wells_Williams property:employer ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q1860,P108,c(Q163740))
action filter_type
action find
entity Q2311485
relation P108
type Q163740
That person works at [ANSWER]
['Q1860', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q2311485 property:P108 ?u . ?u rdf:type ontology:Q163740 }
Yale University
That person works at Yale University
Yale University
action filter_type
action find
entity Samuel Wells Williams
relation employer
type nonprofit organization
['English', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Samuel_Wells_Williams property:employer ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49112 Q653195
P17
Q15617994
USER
Is Yale University situated in Schmitshausen ?
(Q49112,P17,Q653195)
action is_in
entity Q653195
action find
entity Q49112
relation P17
['Q49112', 'P17', 'Q653195']
ASK WHERE { resource:Q49112 property:P17 resource:Q653195 }
Yale University Schmitshausen
action is_in
entity Schmitshausen
action find
entity Yale University
relation country
['Yale University', 'country', 'Schmitshausen']
ASK WHERE { resource:Yale_University property:country resource:Schmitshausen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q49112,P17,Q653195)
action is_in
entity Q653195
action find
entity Q49112
relation P17
[ANSWER]
['Q49112', 'P17', 'Q653195']
ASK WHERE { resource:Q49112 property:P17 resource:Q653195 }
No
action is_in
entity Schmitshausen
action find
entity Yale University
relation country
['Yale University', 'country', 'Schmitshausen']
ASK WHERE { resource:Yale_University property:country resource:Schmitshausen }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36790
P407
Q34770 Q7725634 Q1002697
USER
Which languages are greater number of literary works and periodical literatures composed in than Sumerian ?
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q36790
relation P407
type Q7725634
type Q1002697
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?f WHERE { VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } . ?t rdf:type ?v } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P407 resource:Q36790 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q1002697 } } } } . FILTER ( ?d > ?z ) }
Sumerian
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Sumerian
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?f WHERE { VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } . ?t rdf:type ?v } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:language_of_work_or_name resource:Sumerian . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:periodical_literature } } } } . FILTER ( ?d > ?z ) }
[]
language literary work periodical literature
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q25167 Q25164
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q36790
relation P407
type Q7725634
type Q1002697
[ANSWERS] are greater number of literary works and periodical literatures composed in than Sumerian
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?f WHERE { VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } . ?t rdf:type ?v } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P407 resource:Q36790 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q1002697 } } } } . FILTER ( ?d > ?z ) }
English Armenian Spanish Latin Czech Basque classical Chinese Italian Bokmål Nynorsk
English, Latin and Czech are greater number of literary works and periodical literatures composed in than Sumerian
English Latin Czech
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Sumerian
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?f WHERE { VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } . ?t rdf:type ?v } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:language_of_work_or_name resource:Sumerian . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:periodical_literature } } } } . FILTER ( ?d > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q56982
P407
Q34770 Q7725634 Q1002697
USER
And how about Judaeo-Portuguese?
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q56982
relation P407
type Q7725634
type Q1002697
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } . ?n rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P407 resource:Q56982 . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?w > ?l ) }
Judaeo-Portuguese
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Judaeo-Portuguese
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } . ?n rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:language_of_work_or_name resource:Judaeo-Portuguese . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } } } } . FILTER ( ?w > ?l ) }
[]
language literary work periodical literature
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q25167 Q25164
(c(Q7725634)|c(Q1002697),P407,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action count
action filter_multi_types
action find_reverse
entity Q56982
relation P407
type Q7725634
type Q1002697
[ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q1002697'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } . ?n rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:P407 resource:Q56982 . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q7725634 ) ( ontology:Q1002697 ) } } } } . FILTER ( ?w > ?l ) }
English Armenian Spanish Latin Czech Basque classical Chinese Italian Bokmål Nynorsk
English Latin Czech
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action count
action filter_multi_types
action find_reverse
entity Judaeo-Portuguese
relation language of work or name
type literary work
type periodical literature
[[{'concept': 'literary work'}, {'concept': 'periodical literature'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?w ) WHERE { VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } . ?n rdf:type ?k } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) WHERE { ?h property:language_of_work_or_name resource:Judaeo-Portuguese . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:literary_work ) ( ontology:periodical_literature ) } } } } . FILTER ( ?w > ?l ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1860 Q397 Q9056
P37
Q15617994
USER
Which administrative territories are known to have English, Latin and Czech as their official language ?
(c(Q15617994),P37,Q1860) (c(Q15617994),P37,Q397) (c(Q15617994),P37,Q9056)
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q397
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q9056
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q1860'] [{'concept': 'Q15617994'}, 'P37', 'Q397'] [{'concept': 'Q15617994'}, 'P37', 'Q9056']
SELECT DISTINCT ?l WHERE { { ?l property:P37 resource:Q397 . ?l rdf:type ontology:Q15617994 } UNION { ?l property:P37 resource:Q1860 . ?l rdf:type ontology:Q15617994 } }
English Latin Czech
action union
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Latin
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Czech
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Latin'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Czech']
SELECT DISTINCT ?l WHERE { { ?l property:official_language resource:Latin . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:official_language resource:English . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q55 Q953 Q953
SYSTEM
Netherlands for 1st, Zambia for 2nd, 3rd
Q986 Q2003 Q1904 Q963 Q2023 Q760 Q958 Q924 Q928 Q709 Q712 Q710 Q734 Q1020 Q695 Q1036 Q1033 Q1030 Q683 Q686 Q1005 Q1009 Q1013 Q1042 Q1050 Q754 Q34020 Q258 Q242 Q244 Q145 Q672 Q954 Q953 Q953 Q114 Q117 Q1014 Q668 Q678 Q27 Q1037 Q55 Q233 Q1989 Q833 Q1044 Q1951 Q1952 Q843 Q1948 Q1049 Q1979 Q1974 Q784 Q686312 Q213
(c(Q15617994),P37,Q1860) (c(Q15617994),P37,Q397) (c(Q15617994),P37,Q9056)
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q397
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q9056
relation P37
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', 'Q1860'] [{'concept': 'Q15617994'}, 'P37', 'Q397'] [{'concept': 'Q15617994'}, 'P37', 'Q9056']
SELECT DISTINCT ?l WHERE { { ?l property:P37 resource:Q397 . ?l rdf:type ontology:Q15617994 } UNION { ?l property:P37 resource:Q1860 . ?l rdf:type ontology:Q15617994 } }
Eritrea Newfoundland and Labrador Ontario Botswana Nunavut Saint Lucia South Sudan Tanzania Philippines Marshall Islands Fiji Kiribati Guyana Malawi Palau Uganda Nigeria Namibia Samoa Vanuatu Gambia Cameroon Lesotho Seychelles Swaziland Trinidad and Tobago Niue South Africa Belize Barbados United Kingdom Tuvalu Zimbabwe Zambia Zambia Kenya Ghana Liberia India Tonga Ireland Rwanda Netherlands Malta Saskatchewan Malaysia Sierra Leone Alberta Nova Scotia Pakistan Manitoba Sudan Prince Edward Island British Columbia Dominica Duchy of Amalfi Czech Republic
Netherlands, Zambia and Zambia are known to have English, Latin and Czech as their official language
Netherlands Zambia Zambia
action union
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Latin
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Czech
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Latin'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Czech']
SELECT DISTINCT ?l WHERE { { ?l property:official_language resource:Latin . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:official_language resource:English . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q953
P183
Q16521
USER
Which taxon is endemic to Zambia ?
(c(Q16521),P183,Q953)
action filter_type
action find_reverse
entity Q953
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q953']
SELECT DISTINCT ?q WHERE { ?q property:P183 resource:Q953 . ?q rdf:type ontology:Q16521 }
Zambia
action filter_type
action find_reverse
entity Zambia
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Zambia']
SELECT DISTINCT ?q WHERE { ?q property:endemic_to resource:Zambia . ?q rdf:type ontology:taxon }
[]
taxon
Q15152734
SYSTEM
Doryphoribius niedbalai
Q15152734
(c(Q16521),P183,Q953)
action filter_type
action find_reverse
entity Q953
relation P183
type Q16521
Zambia [ANSWER] is endemic to Zambia
[{'concept': 'Q16521'}, 'P183', 'Q953']
SELECT DISTINCT ?q WHERE { ?q property:P183 resource:Q953 . ?q rdf:type ontology:Q16521 }
Doryphoribius niedbalai
Zambia Doryphoribius niedbalai is endemic to Zambia
Doryphoribius niedbalai
action filter_type
action find_reverse
entity Zambia
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Zambia']
SELECT DISTINCT ?q WHERE { ?q property:endemic_to resource:Zambia . ?q rdf:type ontology:taxon }
[]