Simple Question (Direct)
Simple Question
Q7997277
P58
Q502895
USER
Who wrote the script for Who Is the Man? ?
(Q7997277,P58,c(Q502895))
action filter_type
action find
entity Q7997277
relation P58
type Q502895
['Q7997277', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7997277 property:P58 ?j . ?j rdf:type ontology:Q502895 }
Who Is the Man?
action filter_type
action find
entity Who Is the Man?
relation screenwriter
type common name
['Who Is the Man?', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Who_Is_the_Man? property:screenwriter ?j . ?j rdf:type ontology:common_name }
[]
common name
Q7966231
SYSTEM
Walter Summers
Q7966231
(Q7997277,P58,c(Q502895))
action filter_type
action find
entity Q7997277
relation P58
type Q502895
[ANSWER]
['Q7997277', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q7997277 property:P58 ?j . ?j rdf:type ontology:Q502895 }
Walter Summers
Walter Summers
action filter_type
action find
entity Who Is the Man?
relation screenwriter
type common name
['Who Is the Man?', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Who_Is_the_Man? property:screenwriter ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7966231
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q7966231,P19,c(Q56061))
action filter_type
action find
entity Q7966231
relation P19
type Q56061
['Q7966231', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q7966231 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Walter Summers
action filter_type
action find
entity Walter Summers
relation place of birth
type administrative territorial entity
['Walter Summers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Walter_Summers property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q808532
SYSTEM
Barnstaple
Q808532
(Q7966231,P19,c(Q56061))
action filter_type
action find
entity Q7966231
relation P19
type Q56061
[ANSWER]
['Q7966231', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q7966231 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Barnstaple
Barnstaple
action filter_type
action find
entity Walter Summers
relation place of birth
type administrative territorial entity
['Walter Summers', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Walter_Summers property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q808532
P190
Q20667921 Q15617994
USER
How many french administrative divisions or administrative territories are twin towns of Barnstaple ?
(Q808532,P190,c(Q20667921)) (Q808532,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q808532
relation P190
type Q20667921
action filter_type
action find
entity Q808532
relation P190
type Q15617994
['Q808532', 'P190', {'concept': 'Q20667921'}] ['Q808532', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { resource:Q808532 property:P190 ?g . ?g rdf:type ontology:Q20667921 } UNION { resource:Q808532 property:P190 ?g . ?g rdf:type ontology:Q15617994 } }
Barnstaple
action count
action union
action filter_type
action find
entity Barnstaple
relation sister city
type type of french administrative division
action filter_type
action find
entity Barnstaple
relation sister city
type designation for an administrative territorial entity
['Barnstaple', 'sister city', {'concept': 'type of french administrative division'}] ['Barnstaple', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { resource:Barnstaple property:sister_city ?g . ?g rdf:type ontology:type_of_french_administrative_division } UNION { resource:Barnstaple property:sister_city ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
type of french administrative division designation for an administrative territorial entity
SYSTEM
2
Q10311 Q272320
(Q808532,P190,c(Q20667921)) (Q808532,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q808532
relation P190
type Q20667921
action filter_type
action find
entity Q808532
relation P190
type Q15617994
[ANSWER]
['Q808532', 'P190', {'concept': 'Q20667921'}] ['Q808532', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { resource:Q808532 property:P190 ?g . ?g rdf:type ontology:Q20667921 } UNION { resource:Q808532 property:P190 ?g . ?g rdf:type ontology:Q15617994 } }
Susa Trouville-sur-Mer
2
action count
action union
action filter_type
action find
entity Barnstaple
relation sister city
type type of french administrative division
action filter_type
action find
entity Barnstaple
relation sister city
type designation for an administrative territorial entity
['Barnstaple', 'sister city', {'concept': 'type of french administrative division'}] ['Barnstaple', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { resource:Barnstaple property:sister_city ?g . ?g rdf:type ontology:type_of_french_administrative_division } UNION { resource:Barnstaple property:sister_city ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have atleast 3 administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action count
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?d ) WHERE { ?e property:P532 ?k . ?e rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?e } . FILTER ( ?d >= 3 ) }
action count
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?d ) WHERE { ?e property:port_of_registry ?k . ?e rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?d >= 3 ) }
[]
administrative territorial entity ship type
SYSTEM
1
Q11707059
(c(Q2235308),P532,c(Q56061))
action count
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?d ) WHERE { ?e property:P532 ?k . ?e rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?e } . FILTER ( ?d >= 3 ) }
MS Arrow
1
action count
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?k ) AS ?d ) WHERE { ?e property:port_of_registry ?k . ?e rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . FILTER ( ?d >= 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q21114848 Q11032
USER
Which administrative territories were approximately 6 magazine genres and newspapers issued ?
(c(Q21114848)|c(Q11032),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
value 6
[[{'concept': 'Q21114848'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?g WHERE { { ?s property:P291 ?g . ?g rdf:type ontology:Q56061 . ?s rdf:type ontology:Q21114848 } UNION { ?s property:P291 ?g . ?g rdf:type ontology:Q56061 . ?s rdf:type ontology:Q11032 } } GROUP BY ?g } . FILTER ( ?u = 6 ) }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
value 6
[[{'concept': 'magazine genre'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?g WHERE { { ?s property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:magazine_genre } UNION { ?s property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:newspaper } } GROUP BY ?g } . FILTER ( ?u = 6 ) }
[]
administrative territorial entity magazine genre newspaper
Q64 Q90 Q1741
SYSTEM
Berlin, Paris, Vienna
Q8692 Q1757 Q1022 Q90 Q8818 Q8810 Q84 Q1741 Q71 Q8717 Q64
(c(Q21114848)|c(Q11032),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q21114848
action find_reverse_tuple_counts
relation P291
type Q56061
type Q11032
value 6
[ANSWERS]
[[{'concept': 'Q21114848'}, {'concept': 'Q11032'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?g WHERE { { ?s property:P291 ?g . ?g rdf:type ontology:Q56061 . ?s rdf:type ontology:Q21114848 } UNION { ?s property:P291 ?g . ?g rdf:type ontology:Q56061 . ?s rdf:type ontology:Q11032 } } GROUP BY ?g } . FILTER ( ?u = 6 ) }
Bilbao Helsinki Stuttgart Paris Valencia Granada London Vienna Geneva Seville Berlin
Berlin Paris Vienna
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type magazine genre
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type newspaper
value 6
[[{'concept': 'magazine genre'}, {'concept': 'newspaper'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?g WHERE { { ?s property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:magazine_genre } UNION { ?s property:place_of_publication ?g . ?g rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:newspaper } } GROUP BY ?g } . FILTER ( ?u = 6 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P417
Q1445650 Q56061
USER
How many administrative territories are lesser number of holidays a patron saint of than that administrative territory ?
(c(Q56061),P417,c(Q1445650))
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
holiday administrative territorial entity
Comparative|Count over More/Less|Single entity type|Clarification
Q64
SYSTEM
Did you mean Berlin ?
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
Did you mean Berlin ?
Berlin
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Paris. Could you tell me the answer for that?
(c(Q56061),P417,c(Q1445650))
Q90
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
[]
SYSTEM
0
(c(Q56061),P417,c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q28914 ?y . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q1445650 }
0
[{'concept': 'administrative territorial entity'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:patron_saint ?y . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:holiday }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q532229 Q808532
P27 P17
Q15617994
USER
Which administrative territories are Barnstaple located in and are the native countriesof Justina Vail Evans ?
AND((Q808532,P17,c(Q15617994)), (Q532229,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q808532
relation P17
action find
entity Q532229
relation P27
type Q15617994
{'AND': [['Q808532', 'P17', {'concept': 'Q15617994'}], ['Q532229', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q532229 property:P27 ?y . resource:Q808532 property:P17 ?y }
Justina Vail Evans Barnstaple
action filter_type
action intersection
action find
entity Barnstaple
relation country
action find
entity Justina Vail Evans
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Barnstaple', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Justina Vail Evans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Justina_Vail_Evans property:country_of_citizenship ?y . resource:Barnstaple property:country ?y }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q808532,P17,c(Q15617994)), (Q532229,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q808532
relation P17
action find
entity Q532229
relation P27
type Q15617994
[ANSWER]
{'AND': [['Q808532', 'P17', {'concept': 'Q15617994'}], ['Q532229', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q532229 property:P27 ?y . resource:Q808532 property:P17 ?y }
United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity Barnstaple
relation country
action find
entity Justina Vail Evans
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Barnstaple', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Justina Vail Evans', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Justina_Vail_Evans property:country_of_citizenship ?y . resource:Barnstaple property:country ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q3846423 Q37
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Viesca Municipality and Lithuania ?
(Q145,P530,Q3846423) (Q145,P530,Q37)
action is_in
entity Q145
action intersection
action find_reverse
entity Q3846423
relation P530
action find_reverse
entity Q37
relation P530
['Q145', 'P530', 'Q3846423'] ['Q145', 'P530', 'Q37']
ASK WHERE { resource:Q145 property:P530 resource:Q37 . resource:Q145 property:P530 resource:Q3846423 }
United Kingdom Viesca Municipality Lithuania
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Viesca Municipality
relation diplomatic relation
action find_reverse
entity Lithuania
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Viesca Municipality'] ['United Kingdom', 'diplomatic relation', 'Lithuania']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Lithuania . resource:United_Kingdom property:diplomatic_relation resource:Viesca_Municipality }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q145,P530,Q3846423) (Q145,P530,Q37)
action is_in
entity Q145
action intersection
action find_reverse
entity Q3846423
relation P530
action find_reverse
entity Q37
relation P530
[ANSWER]
['Q145', 'P530', 'Q3846423'] ['Q145', 'P530', 'Q37']
ASK WHERE { resource:Q145 property:P530 resource:Q37 . resource:Q145 property:P530 resource:Q3846423 }
NO and YES respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Viesca Municipality
relation diplomatic relation
action find_reverse
entity Lithuania
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Viesca Municipality'] ['United Kingdom', 'diplomatic relation', 'Lithuania']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Lithuania . resource:United_Kingdom property:diplomatic_relation resource:Viesca_Municipality }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P495
Q185217 Q41298
USER
How many dairy products or magazines originate at United Kingdom ?
(c(Q185217),P495,Q145) (c(Q41298),P495,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P495
type Q185217
action filter_type
action find_reverse
entity Q145
relation P495
type Q41298
[{'concept': 'Q185217'}, 'P495', 'Q145'] [{'concept': 'Q41298'}, 'P495', 'Q145']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P495 resource:Q145 . ?u rdf:type ontology:Q185217 } UNION { ?u property:P495 resource:Q145 . ?u rdf:type ontology:Q41298 } }
United Kingdom
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type dairy product
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type magazine
[{'concept': 'dairy product'}, 'country of origin', 'United Kingdom'] [{'concept': 'magazine'}, 'country of origin', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:country_of_origin resource:United_Kingdom . ?u rdf:type ontology:dairy_product } UNION { ?u property:country_of_origin resource:United_Kingdom . ?u rdf:type ontology:magazine } }
[]
dairy product magazine
SYSTEM
8
Q7295192 Q211174 Q3566692 Q377020 Q1591102 Q3058285 Q19361017 Q3570104
(c(Q185217),P495,Q145) (c(Q41298),P495,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P495
type Q185217
action filter_type
action find_reverse
entity Q145
relation P495
type Q41298
[ANSWER]
[{'concept': 'Q185217'}, 'P495', 'Q145'] [{'concept': 'Q41298'}, 'P495', 'Q145']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:P495 resource:Q145 . ?u rdf:type ontology:Q185217 } UNION { ?u property:P495 resource:Q145 . ?u rdf:type ontology:Q41298 } }
Raspberry Ripple 2000 AD Waterloo cheese Yarg Sage Derby Y Fenni cheese British cheese Wrekin White
8
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type dairy product
action filter_type
action find_reverse
entity United Kingdom
relation country of origin
type magazine
[{'concept': 'dairy product'}, 'country of origin', 'United Kingdom'] [{'concept': 'magazine'}, 'country of origin', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { ?u property:country_of_origin resource:United_Kingdom . ?u rdf:type ontology:dairy_product } UNION { ?u property:country_of_origin resource:United_Kingdom . ?u rdf:type ontology:magazine } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P172
Q502895
USER
Who have United Kingdom as ethnic group ?
(c(Q502895),P172,Q145)
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P172 resource:Q145 . ?t rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:ethnic_group resource:United_Kingdom . ?t rdf:type ontology:common_name }
[]
common name
Q5460575 Q5578020 Q515011
SYSTEM
Florence Brudenell-Bruce, Gok Wan, Dale Winton
Q5460575 Q5578020 Q515011
(c(Q502895),P172,Q145)
action filter_type
action find_reverse
entity Q145
relation P172
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P172', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P172 resource:Q145 . ?t rdf:type ontology:Q502895 }
Florence Brudenell-Bruce Gok Wan Dale Winton
Florence Brudenell-Bruce Gok Wan Dale Winton
action filter_type
action find_reverse
entity United Kingdom
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:ethnic_group resource:United_Kingdom . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5460575 Q5578020 Q515011
P106
Q12737077
USER
What are the job of Florence Brudenell-Bruce, Gok Wan and Dale Winton ?
(Q5460575,P106,c(Q12737077)) (Q5578020,P106,c(Q12737077)) (Q515011,P106,c(Q12737077))
action union
action filter_type
action find
entity Q5460575
relation P106
type Q12737077
action filter_type
action find
entity Q5578020
relation P106
type Q12737077
action filter_type
action find
entity Q515011
relation P106
type Q12737077
['Q5460575', 'P106', {'concept': 'Q12737077'}] ['Q5578020', 'P106', {'concept': 'Q12737077'}] ['Q515011', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?r ) { ( resource:Q5460575 ) ( resource:Q5578020 ) } . ?r property:P106 ?b }
Florence Brudenell-Bruce Gok Wan Dale Winton
action union
action filter_type
action find
entity Florence Brudenell-Bruce
relation occupation
type occupation
action filter_type
action find
entity Gok Wan
relation occupation
type occupation
action filter_type
action find
entity Dale Winton
relation occupation
type occupation
['Florence Brudenell-Bruce', 'occupation', {'concept': 'occupation'}] ['Gok Wan', 'occupation', {'concept': 'occupation'}] ['Dale Winton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?r ) { ( resource:Florence_Brudenell-Bruce ) ( resource:Gok_Wan ) } . ?r property:occupation ?b }
[]
occupation
Q1930187 Q947873 Q4610556
SYSTEM
journalist, television presenter, model
Q4610556 Q33999 Q1930187 Q3237618 Q947873 Q130857
(Q5460575,P106,c(Q12737077)) (Q5578020,P106,c(Q12737077)) (Q515011,P106,c(Q12737077))
action union
action filter_type
action find
entity Q5460575
relation P106
type Q12737077
action filter_type
action find
entity Q5578020
relation P106
type Q12737077
action filter_type
action find
entity Q515011
relation P106
type Q12737077
[ANSWERS]
['Q5460575', 'P106', {'concept': 'Q12737077'}] ['Q5578020', 'P106', {'concept': 'Q12737077'}] ['Q515011', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?r ) { ( resource:Q5460575 ) ( resource:Q5578020 ) } . ?r property:P106 ?b }
model actor journalist wardrobe stylist television presenter disc jockey
journalist television presenter model
action union
action filter_type
action find
entity Florence Brudenell-Bruce
relation occupation
type occupation
action filter_type
action find
entity Gok Wan
relation occupation
type occupation
action filter_type
action find
entity Dale Winton
relation occupation
type occupation
['Florence Brudenell-Bruce', 'occupation', {'concept': 'occupation'}] ['Gok Wan', 'occupation', {'concept': 'occupation'}] ['Dale Winton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?r ) { ( resource:Florence_Brudenell-Bruce ) ( resource:Gok_Wan ) } . ?r property:occupation ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1930187 Q947873 Q4610556
P101
Q502895
USER
Which people have his/her area as journalist, television presenter and model ?
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q947873) (c(Q502895),P101,Q4610556)
action union
action filter_type
action find_reverse
entity Q1930187
relation P101
type Q502895
action filter_type
action find_reverse
entity Q947873
relation P101
type Q502895
action filter_type
action find_reverse
entity Q4610556
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q947873'] [{'concept': 'Q502895'}, 'P101', 'Q4610556']
SELECT DISTINCT ?m WHERE { VALUES ( ?z ) { ( resource:Q1930187 ) ( resource:Q947873 ) } . ?m property:P101 ?z }
journalist television presenter model
action union
action filter_type
action find_reverse
entity journalist
relation field of work
type common name
action filter_type
action find_reverse
entity television presenter
relation field of work
type common name
action filter_type
action find_reverse
entity model
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'television presenter'] [{'concept': 'common name'}, 'field of work', 'model']
SELECT DISTINCT ?m WHERE { VALUES ( ?z ) { ( resource:journalist ) ( resource:television_presenter ) } . ?m property:field_of_work ?z }
[]
common name
Q676094 Q15114765 Q709844
SYSTEM
Drew Barrymore, Erich Preuß, Finn Gustavsen
Q15114765 Q709844 Q12336296 Q676094
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q947873) (c(Q502895),P101,Q4610556)
action union
action filter_type
action find_reverse
entity Q1930187
relation P101
type Q502895
action filter_type
action find_reverse
entity Q947873
relation P101
type Q502895
action filter_type
action find_reverse
entity Q4610556
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q947873'] [{'concept': 'Q502895'}, 'P101', 'Q4610556']
SELECT DISTINCT ?m WHERE { VALUES ( ?z ) { ( resource:Q1930187 ) ( resource:Q947873 ) } . ?m property:P101 ?z }
Erich Preuß Finn Gustavsen Sofie Linde Lauridsen Drew Barrymore
Drew Barrymore Erich Preuß Finn Gustavsen
action union
action filter_type
action find_reverse
entity journalist
relation field of work
type common name
action filter_type
action find_reverse
entity television presenter
relation field of work
type common name
action filter_type
action find_reverse
entity model
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', 'television presenter'] [{'concept': 'common name'}, 'field of work', 'model']
SELECT DISTINCT ?m WHERE { VALUES ( ?z ) { ( resource:journalist ) ( resource:television_presenter ) } . ?m property:field_of_work ?z }
[]
Clarification
Simple Question|Single Entity|Indirect
Q676094
P26
Q502895
USER
Which person is the life partner of that one ?
(Q676094,P26,c(Q502895))
action filter_type
action find
entity Q676094
relation P26
type Q502895
['Q676094', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q676094 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Drew Barrymore
action filter_type
action find
entity Drew Barrymore
relation spouse
type common name
['Drew Barrymore', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Drew_Barrymore property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q709844
SYSTEM
Did you mean Finn Gustavsen ?
Q676094 Q15114765 Q709844
(Q676094,P26,c(Q502895)) (Q15114765,P26,c(Q502895)) (Q709844,P26,c(Q502895))
[ANSWER]
['Q676094', 'P26', {'concept': 'Q502895'}] ['Q15114765', 'P26', {'concept': 'Q502895'}] ['Q709844', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q676094 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Drew Barrymore Erich Preuß Finn Gustavsen
Did you mean Finn Gustavsen ?
Finn Gustavsen
['Drew Barrymore', 'spouse', {'concept': 'common name'}] ['Erich Preuß', 'spouse', {'concept': 'common name'}] ['Finn Gustavsen', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Drew_Barrymore property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Drew Barrymore. Could you tell me the answer for that?
(Q676094,P26,c(Q502895))
Q676094
['Q676094', 'P26', {'concept': 'Q502895'}]
['Drew Barrymore', 'spouse', {'concept': 'common name'}]
[]
Q315826
SYSTEM
Tom Green
Q315826
(Q676094,P26,c(Q502895))
action filter_type
action find
entity Q676094
relation P26
type Q502895
[ANSWER]
['Q676094', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q676094 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Tom Green
Tom Green
action filter_type
action find
entity Drew Barrymore
relation spouse
type common name
['Drew Barrymore', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Drew_Barrymore property:spouse ?t . ?t rdf:type ontology:common_name }
[]