Simple Question (Direct)
Simple Question
Q5238542
P1412
Q34770
USER
Which language can David Peters read ?
(Q5238542,P1412,c(Q34770))
action filter_type
action find
entity Q5238542
relation P1412
type Q34770
['Q5238542', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q5238542 property:P1412 ?b }
David Peters
action filter_type
action find
entity David Peters
relation languages spoken, written or signed
type language
['David Peters', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:David_Peters property:languages_spoken,_written_or_signed ?b }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5238542,P1412,c(Q34770))
action filter_type
action find
entity Q5238542
relation P1412
type Q34770
David Peters can read in [ANSWER]
['Q5238542', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q5238542 property:P1412 ?b }
English
David Peters can read in English
English
action filter_type
action find
entity David Peters
relation languages spoken, written or signed
type language
['David Peters', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:David_Peters property:languages_spoken,_written_or_signed ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5238542
P39
Q12737077
USER
What was the position for which David Peters was appointed ?
(Q5238542,P39,c(Q12737077))
action filter_type
action find
entity Q5238542
relation P39
type Q12737077
['Q5238542', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5238542 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
David Peters
action filter_type
action find
entity David Peters
relation position held
type occupation
['David Peters', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:David_Peters property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q17342542
SYSTEM
Member of the Massachusetts House of Representatives
Q17342542
(Q5238542,P39,c(Q12737077))
action filter_type
action find
entity Q5238542
relation P39
type Q12737077
[ANSWER]
['Q5238542', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5238542 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Member of the Massachusetts House of Representatives
Member of the Massachusetts House of Representatives
Member of the Massachusetts House of Representatives
action filter_type
action find
entity David Peters
relation position held
type occupation
['David Peters', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:David_Peters property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5238542
P69
Q163740
USER
Which nonprofit organization is the alma mater of David Peters ?
(Q5238542,P69,c(Q163740))
action filter_type
action find
entity Q5238542
relation P69
type Q163740
['Q5238542', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q5238542 property:P69 ?f . ?f rdf:type ontology:Q163740 }
David Peters
action filter_type
action find
entity David Peters
relation educated at
type nonprofit organization
['David Peters', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:David_Peters property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1012699
SYSTEM
Bryant University
Q1012699
(Q5238542,P69,c(Q163740))
action filter_type
action find
entity Q5238542
relation P69
type Q163740
[ANSWER] is the alma mater of David Peters
['Q5238542', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q5238542 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Bryant University
Bryant University is the alma mater of David Peters
Bryant University
action filter_type
action find
entity David Peters
relation educated at
type nonprofit organization
['David Peters', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:David_Peters property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1012699
P137
Q811979
USER
Which architectural structure was operated by that nonprofit organization ?
(c(Q811979),P137,Q1012699)
action filter_type
action find_reverse
entity Q1012699
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q1012699']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q1012699 . ?n rdf:type ontology:Q811979 }
Bryant University
action filter_type
action find_reverse
entity Bryant University
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Bryant University']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:Bryant_University . ?n rdf:type ontology:architectural_structure }
[]
architectural structure
Q5066064
SYSTEM
Chace Athletic Center
Q5066064
(c(Q811979),P137,Q1012699)
action filter_type
action find_reverse
entity Q1012699
relation P137
type Q811979
[ANSWER] was operated by that nonprofit organization
[{'concept': 'Q811979'}, 'P137', 'Q1012699']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q1012699 . ?n rdf:type ontology:Q811979 }
Chace Athletic Center
Chace Athletic Center was operated by that nonprofit organization
Chace Athletic Center
action filter_type
action find_reverse
entity Bryant University
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Bryant University']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:Bryant_University . ?n rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5066064
P127
Q163740
USER
Who owns that architectural structure ?
(Q5066064,P127,c(Q163740))
action filter_type
action find
entity Q5066064
relation P127
type Q163740
['Q5066064', 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { resource:Q5066064 property:P127 ?x . ?x rdf:type ontology:Q163740 }
Chace Athletic Center
action filter_type
action find
entity Chace Athletic Center
relation owned by
type nonprofit organization
['Chace Athletic Center', 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { resource:Chace_Athletic_Center property:owned_by ?x . ?x rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1012699
SYSTEM
Bryant University
Q1012699
(Q5066064,P127,c(Q163740))
action filter_type
action find
entity Q5066064
relation P127
type Q163740
[ANSWER] owns that architectural structure
['Q5066064', 'P127', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { resource:Q5066064 property:P127 ?x . ?x rdf:type ontology:Q163740 }
Bryant University
Bryant University owns that architectural structure
Bryant University
action filter_type
action find
entity Chace Athletic Center
relation owned by
type nonprofit organization
['Chace Athletic Center', 'owned by', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { resource:Chace_Athletic_Center property:owned_by ?x . ?x rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5066064
P17
Q15617994
USER
Which administrative territory is that architectural structure situated in ?
(Q1012699,P17,c(Q15617994))
action filter_type
action find
entity Q5066064
relation P17
type Q15617994
['Q1012699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5066064 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Chace Athletic Center
action filter_type
action find
entity Chace Athletic Center
relation country
type designation for an administrative territorial entity
['Bryant University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Chace_Athletic_Center property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1012699,P17,c(Q15617994))
action filter_type
action find
entity Q5066064
relation P17
type Q15617994
That architectural structure is situated in [ANSWER]
['Q1012699', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5066064 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
That architectural structure is situated in United States of America
United States of America
action filter_type
action find
entity Chace Athletic Center
relation country
type designation for an administrative territorial entity
['Bryant University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Chace_Athletic_Center property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q16 Q576990
P530
Q1048835
USER
Does that administrative territory have diplomatic associations with Canada and Zhuriv ?
(Q30,P530,Q16) (Q30,P530,Q576990)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q576990
relation P530
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q576990']
ASK WHERE { resource:Q30 property:P530 resource:Q16 . resource:Q30 property:P530 resource:Q576990 }
United States of America Canada Zhuriv
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Zhuriv
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', 'Zhuriv']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada . resource:United_States_of_America property:diplomatic_relation resource:Zhuriv }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q16) (Q30,P530,Q576990)
action is_in
entity Q30
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q576990
relation P530
[ANSWER]
['Q30', 'P530', 'Q16'] ['Q30', 'P530', 'Q576990']
ASK WHERE { resource:Q30 property:P530 resource:Q16 . resource:Q30 property:P530 resource:Q576990 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Zhuriv
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Canada'] ['United States of America', 'diplomatic relation', 'Zhuriv']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Canada . resource:United_States_of_America property:diplomatic_relation resource:Zhuriv }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1029
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with lesser number of administrative territories than Mozambique ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1029
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { FILTER ( ?o < ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P530 resource:Q1029 . ?f rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?o ) WHERE { ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?g property:P530 ?r } GROUP BY ?r } }
Mozambique
action count
action less
action find_reverse_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_reverse
entity Mozambique
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 ( ?r ) AS ?d ) WHERE { FILTER ( ?o < ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:diplomatic_relation resource:Mozambique . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?o ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?r } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1029
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { FILTER ( ?o < ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:P530 resource:Q1029 . ?f rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?o ) WHERE { ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?g property:P530 ?r } GROUP BY ?r } }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_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_reverse
entity Mozambique
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 ( ?r ) AS ?d ) WHERE { FILTER ( ?o < ?l ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { ?f property:diplomatic_relation resource:Mozambique . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?o ) WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g property:diplomatic_relation ?r } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q971
P530
Q15617994 Q15617994
USER
And what about Republic of the Congo?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?q ) WHERE { ?y rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P530 resource:Q971 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?e ) }
Republic of the Congo
action count
action less
action find_reverse_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_reverse
entity Republic of the Congo
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 ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?q ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:diplomatic_relation resource:Republic_of_the_Congo . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?q ) WHERE { ?y rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P530 resource:Q971 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?q < ?e ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_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_reverse
entity Republic of the Congo
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 ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?q ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:diplomatic_relation resource:Republic_of_the_Congo . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q < ?e ) }
[]