Simple Question (Direct)
Simple Question
Q5078806
P106
Q12737077
USER
Which occupation has Charles Harrison as his/her 's career ?
(Q5078806,P106,c(Q12737077))
action filter_type
action find
entity Q5078806
relation P106
type Q12737077
['Q5078806', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5078806 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Charles Harrison
action filter_type
action find
entity Charles Harrison
relation occupation
type occupation
['Charles Harrison', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Harrison property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q81096
SYSTEM
engineer
Q81096
(Q5078806,P106,c(Q12737077))
action filter_type
action find
entity Q5078806
relation P106
type Q12737077
The [ANSWER] has Charles Harrison as his/her 's career
['Q5078806', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5078806 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
engineer
The engineer has Charles Harrison as his/her 's career
engineer
action filter_type
action find
entity Charles Harrison
relation occupation
type occupation
['Charles Harrison', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Harrison property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5078806
P27
Q15617994
USER
Which administrative territory is the native country of Charles Harrison ?
(Q5078806,P27,c(Q15617994))
action filter_type
action find
entity Q5078806
relation P27
type Q15617994
['Q5078806', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5078806 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Charles Harrison
action filter_type
action find
entity Charles Harrison
relation country of citizenship
type designation for an administrative territorial entity
['Charles Harrison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Harrison property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5078806,P27,c(Q15617994))
action filter_type
action find
entity Q5078806
relation P27
type Q15617994
The [ANSWER] is the native country of Charles Harrison
['Q5078806', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q5078806 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Charles Harrison
United Kingdom
action filter_type
action find
entity Charles Harrison
relation country of citizenship
type designation for an administrative territorial entity
['Charles Harrison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Harrison property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5078806
P607
Q198
USER
What battle was Charles Harrison a part of ?
(Q5078806,P607,c(Q198))
action filter_type
action find
entity Q5078806
relation P607
type Q198
['Q5078806', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q198 . resource:Q5078806 property:P607 ?j }
Charles Harrison
action filter_type
action find
entity Charles Harrison
relation conflict
type war
['Charles Harrison', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:war . resource:Charles_Harrison property:conflict ?j }
[]
war
Q361
SYSTEM
World War I
Q361
(Q5078806,P607,c(Q198))
action filter_type
action find
entity Q5078806
relation P607
type Q198
What battle was Charles Harrison a part of
['Q5078806', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q198 . resource:Q5078806 property:P607 ?j }
World War I
What battle was Charles Harrison a part of
World War I
action filter_type
action find
entity Charles Harrison
relation conflict
type war
['Charles Harrison', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:war . resource:Charles_Harrison property:conflict ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5078806
P241
Q781132
USER
Which military branch did Charles Harrison belong to ?
(Q5078806,P241,c(Q781132))
action filter_type
action find
entity Q5078806
relation P241
type Q781132
['Q5078806', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q5078806 property:P241 ?r . ?r rdf:type ontology:Q781132 }
Charles Harrison
action filter_type
action find
entity Charles Harrison
relation military branch
type military branch
['Charles Harrison', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Harrison property:military_branch ?r . ?r rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5078806,P241,c(Q781132))
action filter_type
action find
entity Q5078806
relation P241
type Q781132
Charles Harrison belonged to [ANSWER]
['Q5078806', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q5078806 property:P241 ?r . ?r rdf:type ontology:Q781132 }
British Army
Charles Harrison belonged to British Army
British Army
action filter_type
action find
entity Charles Harrison
relation military branch
type military branch
['Charles Harrison', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Harrison property:military_branch ?r . ?r rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5078806
P166
Q618779
USER
Which award was Charles Harrison awarded with ?
(Q5078806,P166,c(Q618779))
action filter_type
action find
entity Q5078806
relation P166
type Q618779
['Q5078806', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q5078806 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Charles Harrison
action filter_type
action find
entity Charles Harrison
relation award received
type award
['Charles Harrison', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Charles_Harrison property:award_received ?j . ?j rdf:type ontology:award }
[]
award
Q1335064
SYSTEM
Military Cross
Q1335064
(Q5078806,P166,c(Q618779))
action filter_type
action find
entity Q5078806
relation P166
type Q618779
Charles Harrison was awarded the [ANSWER]
['Q5078806', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q5078806 property:P166 ?j . ?j rdf:type ontology:Q618779 }
Military Cross
Charles Harrison was awarded the Military Cross
Military Cross
action filter_type
action find
entity Charles Harrison
relation award received
type award
['Charles Harrison', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Charles_Harrison property:award_received ?j . ?j rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1335064 Q26780671
P166
Q502895
USER
Was Young Hoon Lee (pastor) awarded with that award ?
(Q26780671,P166,Q1335064)
action is_in
entity Q26780671
action find
entity Q1335064
relation P166
['Q26780671', 'P166', 'Q1335064']
ASK WHERE { resource:Q1335064 property:P166 resource:Q26780671 }
Military Cross Young Hoon Lee (pastor)
action is_in
entity Young Hoon Lee (pastor)
action find
entity Military Cross
relation award received
['Young Hoon Lee (pastor)', 'award received', 'Military Cross']
ASK WHERE { resource:Military_Cross property:award_received resource:Young_Hoon_Lee_(pastor) }
[]
common name
SYSTEM
NO
(Q26780671,P166,Q1335064)
action is_in
entity Q26780671
action find
entity Q1335064
relation P166
[ANSWER]
['Q26780671', 'P166', 'Q1335064']
ASK WHERE { resource:Q1335064 property:P166 resource:Q26780671 }
No
action is_in
entity Young Hoon Lee (pastor)
action find
entity Military Cross
relation award received
['Young Hoon Lee (pastor)', 'award received', 'Military Cross']
ASK WHERE { resource:Military_Cross property:award_received resource:Young_Hoon_Lee_(pastor) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11301
P138
Q56061 Q1190554 Q15617994
USER
Which administrative territories are named after greater number of administrative territories or events than Ennepetal ?
(c(Q15617994),P138,c(Q56061)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q11301
relation P138
type Q56061
type Q1190554
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r property:P138 ?o . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1190554 . ?r property:P138 ?o } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q11301 property:P138 ?i . { { ?i rdf:type ontology:Q56061 } UNION { ?i rdf:type ontology:Q1190554 } } } } . FILTER ( ?x > ?g ) }
Ennepetal
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Ennepetal
relation named after
type administrative territorial entity
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r property:named_after ?o . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:event . ?r property:named_after ?o } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Ennepetal property:named_after ?i . { { ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i rdf:type ontology:event } } } } . FILTER ( ?x > ?g ) }
[]
administrative territorial entity event designation for an administrative territorial entity
Q32 Q786 Q1028
SYSTEM
Luxembourg, Dominican Republic, Morocco
Q1098820 Q1028 Q1508919 Q786 Q5015782 Q32 Q1452646 Q2304605 Q752 Q2136219 Q977 Q1019 Q775 Q776 Q1393469 Q1558632 Q13401101
(c(Q15617994),P138,c(Q56061)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q11301
relation P138
type Q56061
type Q1190554
[ANSWERS] are named after greater number of administrative territories or events than Ennepetal
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r property:P138 ?o . ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1190554 . ?r property:P138 ?o } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q11301 property:P138 ?i . { { ?i rdf:type ontology:Q56061 } UNION { ?i rdf:type ontology:Q1190554 } } } } . FILTER ( ?x > ?g ) }
Gênes Morocco Marengo Dominican Republic Cabot Public Schools Luxembourg Montenotte Spitsbergen Groningen Amsterdam, Saskatchewan Djibouti Madagascar Gelderland Utrecht Jemmapes Rome Brandon Valley School District
Luxembourg, Dominican Republic and Morocco are named after greater number of administrative territories or events than Ennepetal
Luxembourg Dominican Republic Morocco
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Ennepetal
relation named after
type administrative territorial entity
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?x ) WHERE { { ?r property:named_after ?o . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:event . ?r property:named_after ?o } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Ennepetal property:named_after ?i . { { ?i rdf:type ontology:administrative_territorial_entity } UNION { ?i rdf:type ontology:event } } } } . FILTER ( ?x > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q114
P138
Q56061 Q1190554 Q15617994
USER
And how about Kenya?
(c(Q15617994),P138,c(Q56061)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q114
relation P138
type Q56061
type Q1190554
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?v ) WHERE { { ?y property:P138 ?u . ?y rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q56061 } UNION { ?y property:P138 ?u . ?u rdf:type ontology:Q1190554 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q114 property:P138 ?i . { { ?i rdf:type ontology:Q1190554 } UNION { ?i rdf:type ontology:Q56061 } } } } . FILTER ( ?v > ?d ) }
Kenya
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Kenya
relation named after
type administrative territorial entity
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'event'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?v ) WHERE { { ?y property:named_after ?u . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?y property:named_after ?u . ?u rdf:type ontology:event . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Kenya property:named_after ?i . { { ?i rdf:type ontology:event } UNION { ?i rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?v > ?d ) }
[]
administrative territorial entity event designation for an administrative territorial entity
Q32 Q786 Q1028
SYSTEM
Luxembourg, Dominican Republic, Morocco
Q1098820 Q1028 Q1508919 Q786 Q5015782 Q32 Q1452646 Q2304605 Q752 Q2136219 Q977 Q1019 Q775 Q776 Q1393469 Q1558632 Q13401101
(c(Q15617994),P138,c(Q56061)|c(Q1190554))
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q56061
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action count
action filter_multi_types
action find
entity Q114
relation P138
type Q56061
type Q1190554
[ANSWERS]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q56061'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?v ) WHERE { { ?y property:P138 ?u . ?y rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q56061 } UNION { ?y property:P138 ?u . ?u rdf:type ontology:Q1190554 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q114 property:P138 ?i . { { ?i rdf:type ontology:Q1190554 } UNION { ?i rdf:type ontology:Q56061 } } } } . FILTER ( ?v > ?d ) }
Gênes Morocco Marengo Dominican Republic Cabot Public Schools Luxembourg Montenotte Spitsbergen Groningen Amsterdam, Saskatchewan Djibouti Madagascar Gelderland Utrecht Jemmapes Rome Brandon Valley School District
Luxembourg Dominican Republic Morocco
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action count
action filter_multi_types
action find
entity Kenya
relation named after
type administrative territorial entity
type event
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'administrative territorial entity'}, {'concept': 'event'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?u ) AS ?v ) WHERE { { ?y property:named_after ?u . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?y property:named_after ?u . ?u rdf:type ontology:event . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Kenya property:named_after ?i . { { ?i rdf:type ontology:event } UNION { ?i rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?v > ?d ) }
[]