Simple Question (Direct)
Simple Question
Q16235787
P21
Q290
USER
What is the sex of Pelly Ruddock ?
(Q16235787,P21,c(Q290))
action filter_type
action find
entity Q16235787
relation P21
type Q290
['Q16235787', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q16235787 property:P21 ?h }
Pelly Ruddock
action filter_type
action find
entity Pelly Ruddock
relation gender
type sex
['Pelly Ruddock', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Pelly_Ruddock property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16235787,P21,c(Q290))
action filter_type
action find
entity Q16235787
relation P21
type Q290
The sex of Pelly Ruddock is the [ANSWER]
['Q16235787', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q16235787 property:P21 ?h }
male
The sex of Pelly Ruddock is the male
male
action filter_type
action find
entity Pelly Ruddock
relation gender
type sex
['Pelly Ruddock', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Pelly_Ruddock property:gender ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16235787
P27
Q15617994
USER
Which administrative territory does Pelly Ruddock belong to ?
(Q16235787,P27,c(Q15617994))
action filter_type
action find
entity Q16235787
relation P27
type Q15617994
['Q16235787', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16235787 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Pelly Ruddock
action filter_type
action find
entity Pelly Ruddock
relation country of citizenship
type designation for an administrative territorial entity
['Pelly Ruddock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Pelly_Ruddock property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q16235787,P27,c(Q15617994))
action filter_type
action find
entity Q16235787
relation P27
type Q15617994
Pelly Ruddock belongs to [ANSWER]
['Q16235787', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16235787 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United Kingdom
Pelly Ruddock belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Pelly Ruddock
relation country of citizenship
type designation for an administrative territorial entity
['Pelly Ruddock', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Pelly_Ruddock property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16235787
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q16235787
relation P19
type Q56061
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q16235787 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Pelly Ruddock
action filter_type
action find
entity Pelly Ruddock
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Pelly_Ruddock property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q149787
SYSTEM
Hendon
Q149787
(Q145,P19,c(Q56061))
action filter_type
action find
entity Q16235787
relation P19
type Q56061
That person was born in [ANSWER]
['Q145', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q16235787 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Hendon
That person was born in Hendon
Hendon
action filter_type
action find
entity Pelly Ruddock
relation place of birth
type administrative territorial entity
['United Kingdom', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Pelly_Ruddock property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16235787
P641
Q349
USER
Which sport was that person a part of ?
(Q149787,P641,c(Q349))
action filter_type
action find
entity Q16235787
relation P641
type Q349
['Q149787', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q16235787 property:P641 ?m . ?m rdf:type ontology:Q349 }
Pelly Ruddock
action filter_type
action find
entity Pelly Ruddock
relation sport
type sport
['Hendon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Pelly_Ruddock property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q149787,P641,c(Q349))
action filter_type
action find
entity Q16235787
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q149787', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q16235787 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Pelly Ruddock
relation sport
type sport
['Hendon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Pelly_Ruddock property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16235787
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16235787
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q16235787 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Pelly Ruddock
action filter_type
action find
entity Pelly Ruddock
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Pelly_Ruddock property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16235787
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q16235787 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Pelly Ruddock
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Pelly_Ruddock property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
Which occupations do greater number of organizations and people belong to than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?p WHERE { { ?e rdf:type ontology:Q43229 . ?p rdf:type ontology:Q12737077 . ?e property:P101 ?p } UNION { ?e property:P101 ?p . ?e rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P101 resource:Q937857 . { { ?r rdf:type ontology:Q43229 } UNION { ?r rdf:type ontology:Q502895 } } } } }
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?p WHERE { { ?e rdf:type ontology:organization . ?p rdf:type ontology:occupation . ?e property:field_of_work ?p } UNION { ?e property:field_of_work ?p . ?e rdf:type ontology:common_name . ?p rdf:type ontology:occupation } } GROUP BY ?p } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:field_of_work resource:association_football_player . { { ?r rdf:type ontology:organization } UNION { ?r rdf:type ontology:common_name } } } } }
[]
occupation organization common name
Q16009483 Q1930187 Q212238
SYSTEM
sideshow performer, journalist, civil servant
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q502895
[ANSWERS] greater number of organizations and people belong to than that occupation
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?p WHERE { { ?e rdf:type ontology:Q43229 . ?p rdf:type ontology:Q12737077 . ?e property:P101 ?p } UNION { ?e property:P101 ?p . ?e rdf:type ontology:Q502895 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P101 resource:Q937857 . { { ?r rdf:type ontology:Q43229 } UNION { ?r rdf:type ontology:Q502895 } } } } }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
Sideshow performer, journalist and civil servant greater number of organizations and people belong to than that occupation
sideshow performer journalist civil servant
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?p WHERE { { ?e rdf:type ontology:organization . ?p rdf:type ontology:occupation . ?e property:field_of_work ?p } UNION { ?e property:field_of_work ?p . ?e rdf:type ontology:common_name . ?p rdf:type ontology:occupation } } GROUP BY ?p } . FILTER ( ?w > ?l ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:field_of_work resource:association_football_player . { { ?r rdf:type ontology:organization } UNION { ?r rdf:type ontology:common_name } } } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q212238
P921
Q5398426
USER
Which television series was mainly based on that occupation ?
(c(Q5398426),P921,Q212238)
action filter_type
action find_reverse
entity Q212238
relation P921
type Q5398426
[{'concept': 'Q5398426'}, 'P921', 'Q212238']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5398426 . ?h property:P921 resource:Q212238 }
civil servant
action filter_type
action find_reverse
entity civil servant
relation main subject
type television series
[{'concept': 'television series'}, 'main subject', 'civil servant']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:television_series . ?h property:main_subject resource:civil_servant }
[]
television series
Clarification for simple ques.
Q16009483
SYSTEM
Did you mean sideshow performer ?
Q16009483 Q1930187 Q212238
(c(Q5398426),P921,Q16009483) (c(Q5398426),P921,Q1930187) (c(Q5398426),P921,Q212238)
[ANSWER]
[{'concept': 'Q5398426'}, 'P921', 'Q16009483'] [{'concept': 'Q5398426'}, 'P921', 'Q1930187'] [{'concept': 'Q5398426'}, 'P921', 'Q212238']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5398426 . ?h property:P921 resource:Q212238 }
sideshow performer journalist civil servant
Did you mean sideshow performer ?
sideshow performer
[{'concept': 'television series'}, 'main subject', 'sideshow performer'] [{'concept': 'television series'}, 'main subject', 'journalist'] [{'concept': 'television series'}, 'main subject', 'civil servant']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:television_series . ?h property:main_subject resource:civil_servant }
[]
Simple Question (Coreferenced)
USER
No, I meant civil servant. Could you tell me the answer for that?
(c(Q5398426),P921,Q212238)
Q212238
[{'concept': 'Q5398426'}, 'P921', 'Q212238']
[{'concept': 'television series'}, 'main subject', 'civil servant']
[]
Q8916464
SYSTEM
Servant x Service
Q8916464
(c(Q5398426),P921,Q212238)
action filter_type
action find_reverse
entity Q212238
relation P921
type Q5398426
[ANSWER] was mainly based on that occupation
[{'concept': 'Q5398426'}, 'P921', 'Q212238']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q5398426 . ?h property:P921 resource:Q212238 }
Servant x Service
Servant x Service was mainly based on that occupation
Servant x Service
action filter_type
action find_reverse
entity civil servant
relation main subject
type television series
[{'concept': 'television series'}, 'main subject', 'civil servant']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:television_series . ?h property:main_subject resource:civil_servant }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8916464 Q4983639
P800
Q502895
USER
Is Bucura Dumbravă accredited with being the author of the notable work that television series ?
(Q4983639,P800,Q8916464)
action is_in
entity Q4983639
action find
entity Q8916464
relation P800
['Q4983639', 'P800', 'Q8916464']
ASK WHERE { resource:Q8916464 property:P800 resource:Q4983639 }
Servant x Service Bucura Dumbravă
action is_in
entity Bucura Dumbravă
action find
entity Servant x Service
relation notable work
['Bucura Dumbravă', 'notable work', 'Servant x Service']
ASK WHERE { resource:Servant_x_Service property:notable_work resource:Bucura_Dumbravă }
[]
common name
SYSTEM
NO
(Q4983639,P800,Q8916464)
action is_in
entity Q4983639
action find
entity Q8916464
relation P800
[ANSWER]
['Q4983639', 'P800', 'Q8916464']
ASK WHERE { resource:Q8916464 property:P800 resource:Q4983639 }
No
action is_in
entity Bucura Dumbravă
action find
entity Servant x Service
relation notable work
['Bucura Dumbravă', 'notable work', 'Servant x Service']
ASK WHERE { resource:Servant_x_Service property:notable_work resource:Bucura_Dumbravă }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q149787
P47
Q123705
USER
Which neighborhoods have an adjacent border with Hendon ?
(c(Q123705),P47,Q149787)
action filter_type
action find_reverse
entity Q149787
relation P47
type Q123705
[{'concept': 'Q123705'}, 'P47', 'Q149787']
SELECT DISTINCT ?x WHERE { ?x property:P47 resource:Q149787 . ?x rdf:type ontology:Q123705 }
Hendon
action filter_type
action find_reverse
entity Hendon
relation shares border with
type neighborhood
[{'concept': 'neighborhood'}, 'shares border with', 'Hendon']
SELECT DISTINCT ?x WHERE { ?x property:shares_border_with resource:Hendon . ?x rdf:type ontology:neighborhood }
[]
neighborhood
Q150191 Q833454
SYSTEM
Colindale, Brent Cross
Q150191 Q833454
(c(Q123705),P47,Q149787)
action filter_type
action find_reverse
entity Q149787
relation P47
type Q123705
[ANSWERS] have an adjacent border with Hendon
[{'concept': 'Q123705'}, 'P47', 'Q149787']
SELECT DISTINCT ?x WHERE { ?x property:P47 resource:Q149787 . ?x rdf:type ontology:Q123705 }
Colindale Brent Cross
Colindale and Brent Cross have an adjacent border with Hendon
Colindale Brent Cross
action filter_type
action find_reverse
entity Hendon
relation shares border with
type neighborhood
[{'concept': 'neighborhood'}, 'shares border with', 'Hendon']
SELECT DISTINCT ?x WHERE { ?x property:shares_border_with resource:Hendon . ?x rdf:type ontology:neighborhood }
[]