Simple Question (Direct)
Simple Question
Q2781217
P69
Q163740
USER
Which nonprofit organization is Thomas L. Harris an alumni of ?
(Q2781217,P69,c(Q163740))
action filter_type
action find
entity Q2781217
relation P69
type Q163740
['Q2781217', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q163740 . resource:Q2781217 property:P69 ?x }
Thomas L. Harris
action filter_type
action find
entity Thomas L. Harris
relation educated at
type nonprofit organization
['Thomas L. Harris', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:nonprofit_organization . resource:Thomas_L._Harris property:educated_at ?x }
[]
nonprofit organization
Q1927705
SYSTEM
Trinity College
Q1927705
(Q2781217,P69,c(Q163740))
action filter_type
action find
entity Q2781217
relation P69
type Q163740
The [ANSWER] is Thomas L. Harris an alumni of
['Q2781217', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q163740 . resource:Q2781217 property:P69 ?x }
Trinity College
The Trinity College is Thomas L. Harris an alumni of
Trinity College
action filter_type
action find
entity Thomas L. Harris
relation educated at
type nonprofit organization
['Thomas L. Harris', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:nonprofit_organization . resource:Thomas_L._Harris property:educated_at ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2781217
P19
Q56061
USER
Which administrative territory is the place of birth of Thomas L. Harris ?
(Q2781217,P19,c(Q56061))
action filter_type
action find
entity Q2781217
relation P19
type Q56061
['Q2781217', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q2781217 property:P19 ?x }
Thomas L. Harris
action filter_type
action find
entity Thomas L. Harris
relation place of birth
type administrative territorial entity
['Thomas L. Harris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Thomas_L._Harris property:place_of_birth ?x }
[]
administrative territorial entity
Q631402
SYSTEM
Norwich
Q631402
(Q2781217,P19,c(Q56061))
action filter_type
action find
entity Q2781217
relation P19
type Q56061
[ANSWER] is the place of birth of Thomas L. Harris
['Q2781217', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q2781217 property:P19 ?x }
Norwich
Norwich is the place of birth of Thomas L. Harris
Norwich
action filter_type
action find
entity Thomas L. Harris
relation place of birth
type administrative territorial entity
['Thomas L. Harris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Thomas_L._Harris property:place_of_birth ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q631402
P159
Q43229
USER
Which organizations have their HQ location at that administrative territory ?
(c(Q43229),P159,Q631402)
action filter_type
action find_reverse
entity Q631402
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q631402']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?z property:P159 resource:Q631402 }
Norwich
action filter_type
action find_reverse
entity Norwich
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Norwich']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?z property:headquarters_location resource:Norwich }
[]
organization
Q4016095 Q5900619
SYSTEM
Volcanic Repeating Arms, Hopkins & Allen
Q4016095 Q5900619
(c(Q43229),P159,Q631402)
action filter_type
action find_reverse
entity Q631402
relation P159
type Q43229
[ANSWERS] have their HQ location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q631402']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?z property:P159 resource:Q631402 }
Volcanic Repeating Arms Hopkins & Allen
Volcanic Repeating Arms and Hopkins & Allen have their HQ location at that administrative territory
Volcanic Repeating Arms Hopkins & Allen
action filter_type
action find_reverse
entity Norwich
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Norwich']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?z property:headquarters_location resource:Norwich }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q631402
P1408
Q4830453
USER
Which business enterprises are licensed to broadcast to Norwich ?
(c(Q4830453),P1408,Q631402)
action filter_type
action find_reverse
entity Q631402
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q631402']
SELECT DISTINCT ?y WHERE { ?y property:P1408 resource:Q631402 . ?y rdf:type ontology:Q4830453 }
Norwich
action filter_type
action find_reverse
entity Norwich
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Norwich']
SELECT DISTINCT ?y WHERE { ?y property:licensed_to_broadcast_to resource:Norwich . ?y rdf:type ontology:business_enterprise }
[]
business enterprise
Q7950596 Q7948140
SYSTEM
WICH, WCTY
Q7950596 Q7948140
(c(Q4830453),P1408,Q631402)
action filter_type
action find_reverse
entity Q631402
relation P1408
type Q4830453
And [ANSWERS] are licensed to broadcast to Norwich
[{'concept': 'Q4830453'}, 'P1408', 'Q631402']
SELECT DISTINCT ?y WHERE { ?y property:P1408 resource:Q631402 . ?y rdf:type ontology:Q4830453 }
WICH WCTY
And WICH and WCTY are licensed to broadcast to Norwich
WICH WCTY
action filter_type
action find_reverse
entity Norwich
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Norwich']
SELECT DISTINCT ?y WHERE { ?y property:licensed_to_broadcast_to resource:Norwich . ?y rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7950596 Q7948140
P1408
Q56061
USER
Where are those business enterprises permitted to broadcast as per their license ?
(Q7950596,P1408,c(Q56061)) (Q7948140,P1408,c(Q56061))
action filter_type
action find
entity prev_answer
relation P1408
type Q56061
['Q7950596', 'P1408', {'concept': 'Q56061'}] ['Q7948140', 'P1408', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?j property:P1408 ?h . ?h rdf:type ontology:Q56061 . VALUES ( ?j ) { ( resource:Q7950596 ) ( resource:Q7948140 ) } }
WICH WCTY
action filter_type
action find
entity prev_answer
relation licensed to broadcast to
type administrative territorial entity
['WICH', 'licensed to broadcast to', {'concept': 'administrative territorial entity'}] ['WCTY', 'licensed to broadcast to', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?j property:licensed_to_broadcast_to ?h . ?h rdf:type ontology:administrative_territorial_entity . VALUES ( ?j ) { ( resource:WICH ) ( resource:WCTY ) } }
[]
administrative territorial entity
Q631402 Q631402
SYSTEM
Norwich
Q631402 Q631402
(Q7950596,P1408,c(Q56061)) (Q7948140,P1408,c(Q56061))
action filter_type
action find
entity prev_answer
relation P1408
type Q56061
Those business enterprises are permitted to broadcast to [ANSWER] and [ANSWER]
['Q7950596', 'P1408', {'concept': 'Q56061'}] ['Q7948140', 'P1408', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { ?j property:P1408 ?h . ?h rdf:type ontology:Q56061 . VALUES ( ?j ) { ( resource:Q7950596 ) ( resource:Q7948140 ) } }
Norwich Norwich
Those business enterprises are permitted to broadcast to Norwich and Norwich
Norwich Norwich
action filter_type
action find
entity prev_answer
relation licensed to broadcast to
type administrative territorial entity
['WICH', 'licensed to broadcast to', {'concept': 'administrative territorial entity'}] ['WCTY', 'licensed to broadcast to', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?j property:licensed_to_broadcast_to ?h . ?h rdf:type ontology:administrative_territorial_entity . VALUES ( ?j ) { ( resource:WICH ) ( resource:WCTY ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q631402
P17
Q15617994
USER
Which administrative territory is Norwich situated in ?
(Q631402,P17,c(Q15617994))
action filter_type
action find
entity Q631402
relation P17
type Q15617994
['Q631402', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q631402 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Norwich
action filter_type
action find
entity Norwich
relation country
type designation for an administrative territorial entity
['Norwich', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Norwich property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q631402,P17,c(Q15617994))
action filter_type
action find
entity Q631402
relation P17
type Q15617994
Norwich is situated in [ANSWER]
['Q631402', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q631402 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
Norwich is situated in United States of America
United States of America
action filter_type
action find
entity Norwich
relation country
type designation for an administrative territorial entity
['Norwich', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Norwich property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q5589804
P6
Q502895
USER
Does Govert Schüller have that administrative territory as its head of government ?
(Q30,P6,Q5589804)
action is_in
entity Q5589804
action find
entity Q30
relation P6
['Q30', 'P6', 'Q5589804']
ASK WHERE { resource:Q30 property:P6 resource:Q5589804 }
United States of America Govert Schüller
action is_in
entity Govert Schüller
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Govert Schüller']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Govert_Schüller }
[]
common name
SYSTEM
NO
(Q30,P6,Q5589804)
action is_in
entity Q5589804
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q5589804']
ASK WHERE { resource:Q30 property:P6 resource:Q5589804 }
No
action is_in
entity Govert Schüller
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Govert Schüller']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Govert_Schüller }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q962
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Benin ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q962
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?h property:P530 ?u . ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q962 property:P530 ?w } } . FILTER ( ?e < ?k ) }
Benin
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Benin
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?h property:diplomatic_relation ?u . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benin property:diplomatic_relation ?w } } . FILTER ( ?e < ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q962
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Benin
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?h property:P530 ?u . ?h rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q962 property:P530 ?w } } . FILTER ( ?e < ?k ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have diplomatic relations with lesser number of administrative territories than Benin
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Benin
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 ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?e ) WHERE { ?h property:diplomatic_relation ?u . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Benin property:diplomatic_relation ?w } } . FILTER ( ?e < ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with approximately 22 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 22
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?x ) WHERE { ?d property:P530 ?a . ?d rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?x = 22 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?x ) WHERE { ?d property:diplomatic_relation ?a . ?d rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?x = 22 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 22
[ANSWERS] have diplomatic relationships with approximately 22 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?x ) WHERE { ?d property:P530 ?a . ?d rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?x = 22 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with approximately 22 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 22
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?x ) WHERE { ?d property:diplomatic_relation ?a . ?d rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?x = 22 ) }
[]