Simple Question (Direct)
Simple Question
Q6280016
P21
Q290
USER
Which sex does Josef Mifsud belong to ?
(Q6280016,P21,c(Q290))
action filter_type
action find
entity Q6280016
relation P21
type Q290
['Q6280016', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q6280016 property:P21 ?w . ?w rdf:type ontology:Q290 }
Josef Mifsud
action filter_type
action find
entity Josef Mifsud
relation gender
type sex
['Josef Mifsud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Josef_Mifsud property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6280016,P21,c(Q290))
action filter_type
action find
entity Q6280016
relation P21
type Q290
Josef Mifsud belongs to [ANSWER]
['Q6280016', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q6280016 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
Josef Mifsud belongs to male
male
action filter_type
action find
entity Josef Mifsud
relation gender
type sex
['Josef Mifsud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Josef_Mifsud property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6280016
P54
Q1194951
USER
What is Josef Mifsud a member of ?
(Q6280016,P54,c(Q1194951))
action filter_type
action find
entity Q6280016
relation P54
type Q1194951
['Q6280016', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q6280016 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Josef Mifsud
action filter_type
action find
entity Josef Mifsud
relation member of sports team
type national sports team
['Josef Mifsud', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Josef_Mifsud property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
national sports team
Q188782
SYSTEM
Malta national football team
Q188782
(Q6280016,P54,c(Q1194951))
action filter_type
action find
entity Q6280016
relation P54
type Q1194951
Josef Mifsud is a member of [ANSWER]
['Q6280016', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?b WHERE { resource:Q6280016 property:P54 ?b . ?b rdf:type ontology:Q1194951 }
Malta national football team
Josef Mifsud is a member of Malta national football team
Malta national football team
action filter_type
action find
entity Josef Mifsud
relation member of sports team
type national sports team
['Josef Mifsud', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?b WHERE { resource:Josef_Mifsud property:member_of_sports_team ?b . ?b rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6280016
P641
Q349
USER
What did that person participate in ?
(Q188782,P641,c(Q349))
action filter_type
action find
entity Q6280016
relation P641
type Q349
['Q188782', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q6280016 property:P641 ?o . ?o rdf:type ontology:Q349 }
Josef Mifsud
action filter_type
action find
entity Josef Mifsud
relation sport
type sport
['Malta national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Josef_Mifsud property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q188782,P641,c(Q349))
action filter_type
action find
entity Q6280016
relation P641
type Q349
That person participated in [ANSWER]
['Q188782', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q6280016 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Josef Mifsud
relation sport
type sport
['Malta national football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Josef_Mifsud property:sport ?o . ?o rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q12486869
P641
Q502895
USER
Is Itang Yunasz involved in playing that sport ?
(Q12486869,P641,Q2736)
action is_in
entity Q12486869
action find
entity Q2736
relation P641
['Q12486869', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q12486869 }
association football Itang Yunasz
action is_in
entity Itang Yunasz
action find
entity association football
relation sport
['Itang Yunasz', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Itang_Yunasz }
[]
common name
SYSTEM
NO
(Q12486869,P641,Q2736)
action is_in
entity Q12486869
action find
entity Q2736
relation P641
[ANSWER]
['Q12486869', 'P641', 'Q2736']
ASK WHERE { resource:Q2736 property:P641 resource:Q12486869 }
No
action is_in
entity Itang Yunasz
action find
entity association football
relation sport
['Itang Yunasz', 'sport', 'association football']
ASK WHERE { resource:association_football property:sport resource:Itang_Yunasz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Where did that sport originate ?
action filter_type
action find
entity Q2736
relation P495
type Q1496967
SELECT DISTINCT ?k WHERE { resource:Q2736 property:P495 ?k . ?k rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
SELECT DISTINCT ?k WHERE { resource:association_football property:country_of_origin ?k . ?k rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
action filter_type
action find
entity Q2736
relation P495
type Q1496967
That sport originated in [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q2736 property:P495 ?k . ?k rdf:type ontology:Q1496967 }
England
That sport originated in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
SELECT DISTINCT ?k WHERE { resource:association_football property:country_of_origin ?k . ?k rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P495
Q215380 Q277759
USER
How many bands and book series originated in that territory ?
(c(Q215380),P495,Q21) (c(Q277759),P495,Q21) (c(Q215380),P495,Q21) (c(Q277759),P495,Q21)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P495
type Q215380
action filter_type
action find_reverse
entity Q21
relation P495
type Q277759
[{'concept': 'Q215380'}, 'P495', 'Q21'] [{'concept': 'Q277759'}, 'P495', 'Q21'] [{'concept': 'Q215380'}, 'P495', 'Q21'] [{'concept': 'Q277759'}, 'P495', 'Q21']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:P495 resource:Q21 . ?i rdf:type ontology:Q277759 } UNION { ?i property:P495 resource:Q21 . ?i rdf:type ontology:Q215380 } }
action count
action union
action filter_type
action find_reverse
entity England
relation country of origin
type band
action filter_type
action find_reverse
entity England
relation country of origin
type book series
[{'concept': 'band'}, 'country of origin', 'England'] [{'concept': 'book series'}, 'country of origin', 'England'] [{'concept': 'band'}, 'country of origin', 'England'] [{'concept': 'book series'}, 'country of origin', 'England']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:country_of_origin resource:England . ?i rdf:type ontology:book_series } UNION { ?i property:country_of_origin resource:England . ?i rdf:type ontology:band } }
[]
band book series
SYSTEM
2 bands and 1 book series
Q5579026 Q1550383 Q5459591
(c(Q215380),P495,Q21) (c(Q277759),P495,Q21) (c(Q215380),P495,Q21) (c(Q277759),P495,Q21)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P495
type Q215380
action filter_type
action find_reverse
entity Q21
relation P495
type Q277759
[ANSWER]
[{'concept': 'Q215380'}, 'P495', 'Q21'] [{'concept': 'Q277759'}, 'P495', 'Q21'] [{'concept': 'Q215380'}, 'P495', 'Q21'] [{'concept': 'Q277759'}, 'P495', 'Q21']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:P495 resource:Q21 . ?i rdf:type ontology:Q277759 } UNION { ?i property:P495 resource:Q21 . ?i rdf:type ontology:Q215380 } }
Parade's End Ozric Tentacles Flintlock
2 bands and 1 book series
action count
action union
action filter_type
action find_reverse
entity England
relation country of origin
type band
action filter_type
action find_reverse
entity England
relation country of origin
type book series
[{'concept': 'band'}, 'country of origin', 'England'] [{'concept': 'book series'}, 'country of origin', 'England'] [{'concept': 'band'}, 'country of origin', 'England'] [{'concept': 'book series'}, 'country of origin', 'England']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { { ?i property:country_of_origin resource:England . ?i rdf:type ontology:book_series } UNION { ?i property:country_of_origin resource:England . ?i rdf:type ontology:band } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q41466 Q2736
P641
Q502895
USER
Which people play association football and ice hockey ?
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q41466))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q41466
relation P641
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q41466']]}
SELECT DISTINCT ?y WHERE { ?y property:P641 resource:Q2736 . ?y property:P641 resource:Q41466 . ?y rdf:type ontology:Q502895 }
ice hockey association football
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity ice hockey
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'ice hockey']]}
SELECT DISTINCT ?y WHERE { ?y property:sport resource:association_football . ?y property:sport resource:ice_hockey . ?y rdf:type ontology:common_name }
[]
common name
Q697996 Q167828 Q893608 Q3808457 Q264127 Q920380 Q2368457 Q82378 Q723088 Q954668
SYSTEM
Some of them are Karel Koželuh, Lev Yashin, Boris Mayorov, Jindřich Baumruk, Anatoli Tarasov, Wilhelm Petersén, Sergei Solovyov, Boris Afanasiev, Vlastimil Bubník, Erik Persson
Q167828 Q27031006 Q264127 Q48355 Q3446713 Q893608 Q1379090 Q15879282 Q2368457 Q82378 Q1628763 Q970159 Q3808457 Q3561789 Q1607493 Q723088 Q3420191 Q954668 Q1145971 Q1444796 Q4412785 Q697996 Q920380 Q2363825
AND((c(Q502895),P641,Q2736), (c(Q502895),P641,Q41466))
action filter_type
action intersection
action find_reverse
entity Q2736
relation P641
action find_reverse
entity Q41466
relation P641
type Q502895
[ANSWERS] play association football and ice hockey
{'AND': [[{'concept': 'Q502895'}, 'P641', 'Q2736'], [{'concept': 'Q502895'}, 'P641', 'Q41466']]}
SELECT DISTINCT ?y WHERE { ?y property:P641 resource:Q2736 . ?y property:P641 resource:Q41466 . ?y rdf:type ontology:Q502895 }
Lev Yashin Daniel Peruzzo Anatoli Tarasov Igor Netto Rudolf Eklöw Boris Mayorov Yevgeny Babich Meg de Jongh Sergei Solovyov Boris Afanasiev Josef Šroubek Ronald Pettersson Jindřich Baumruk Vladimir Yegorov Henryk Przeździecki Vlastimil Bubník Rauli Virtanen Erik Persson John Nilsson Mikhail Yakushin Anatoly Seglin Karel Koželuh Wilhelm Petersén Georgy Glazkov
Karel Koželuh, Lev Yashin, Boris Mayorov, Jindřich Baumruk, Anatoli Tarasov, Wilhelm Petersén, Sergei Solovyov, Boris Afanasiev, Vlastimil Bubník and Erik Persson play association football and ice hockey
Karel Koželuh Lev Yashin Boris Mayorov Jindřich Baumruk Anatoli Tarasov Wilhelm Petersén Sergei Solovyov Boris Afanasiev Vlastimil Bubník Erik Persson
action filter_type
action intersection
action find_reverse
entity association football
relation sport
action find_reverse
entity ice hockey
relation sport
type common name
{'AND': [[{'concept': 'common name'}, 'sport', 'association football'], [{'concept': 'common name'}, 'sport', 'ice hockey']]}
SELECT DISTINCT ?y WHERE { ?y property:sport resource:association_football . ?y property:sport resource:ice_hockey . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q697996 Q167828 Q893608 Q3808457 Q264127 Q920380 Q2368457 Q82378 Q723088 Q954668
P106
Q12737077
USER
Which occupations have Karel Koželuh, Lev Yashin, Boris Mayorov, Jindřich Baumruk, Anatoli Tarasov, Wilhelm Petersén, Sergei Solovyov, Boris Afanasiev, Vlastimil Bubník and Erik Persson as his/her 's career ?
(Q697996,P106,c(Q12737077)) (Q167828,P106,c(Q12737077)) (Q893608,P106,c(Q12737077)) (Q3808457,P106,c(Q12737077)) (Q264127,P106,c(Q12737077)) (Q920380,P106,c(Q12737077)) (Q2368457,P106,c(Q12737077)) (Q82378,P106,c(Q12737077)) (Q723088,P106,c(Q12737077)) (Q954668,P106,c(Q12737077))
action union
action filter_type
action find
entity Q697996
relation P106
type Q12737077
action filter_type
action find
entity Q167828
relation P106
type Q12737077
action filter_type
action find
entity Q893608
relation P106
type Q12737077
action filter_type
action find
entity Q3808457
relation P106
type Q12737077
action filter_type
action find
entity Q264127
relation P106
type Q12737077
action filter_type
action find
entity Q920380
relation P106
type Q12737077
action filter_type
action find
entity Q2368457
relation P106
type Q12737077
action filter_type
action find
entity Q82378
relation P106
type Q12737077
action filter_type
action find
entity Q723088
relation P106
type Q12737077
action filter_type
action find
entity Q954668
relation P106
type Q12737077
['Q697996', 'P106', {'concept': 'Q12737077'}] ['Q167828', 'P106', {'concept': 'Q12737077'}] ['Q893608', 'P106', {'concept': 'Q12737077'}] ['Q3808457', 'P106', {'concept': 'Q12737077'}] ['Q264127', 'P106', {'concept': 'Q12737077'}] ['Q920380', 'P106', {'concept': 'Q12737077'}] ['Q2368457', 'P106', {'concept': 'Q12737077'}] ['Q82378', 'P106', {'concept': 'Q12737077'}] ['Q723088', 'P106', {'concept': 'Q12737077'}] ['Q954668', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { resource:Q697996 property:P106 ?d . ?d rdf:type ontology:Q12737077 } UNION { resource:Q167828 property:P106 ?d . ?d rdf:type ontology:Q12737077 } }
Karel Koželuh Lev Yashin Boris Mayorov Jindřich Baumruk Anatoli Tarasov Wilhelm Petersén Sergei Solovyov Boris Afanasiev Vlastimil Bubník Erik Persson
action union
action filter_type
action find
entity Karel Koželuh
relation occupation
type occupation
action filter_type
action find
entity Lev Yashin
relation occupation
type occupation
action filter_type
action find
entity Boris Mayorov
relation occupation
type occupation
action filter_type
action find
entity Jindřich Baumruk
relation occupation
type occupation
action filter_type
action find
entity Anatoli Tarasov
relation occupation
type occupation
action filter_type
action find
entity Wilhelm Petersén
relation occupation
type occupation
action filter_type
action find
entity Sergei Solovyov
relation occupation
type occupation
action filter_type
action find
entity Boris Afanasiev
relation occupation
type occupation
action filter_type
action find
entity Vlastimil Bubník
relation occupation
type occupation
action filter_type
action find
entity Erik Persson
relation occupation
type occupation
['Karel Koželuh', 'occupation', {'concept': 'occupation'}] ['Lev Yashin', 'occupation', {'concept': 'occupation'}] ['Boris Mayorov', 'occupation', {'concept': 'occupation'}] ['Jindřich Baumruk', 'occupation', {'concept': 'occupation'}] ['Anatoli Tarasov', 'occupation', {'concept': 'occupation'}] ['Wilhelm Petersén', 'occupation', {'concept': 'occupation'}] ['Sergei Solovyov', 'occupation', {'concept': 'occupation'}] ['Boris Afanasiev', 'occupation', {'concept': 'occupation'}] ['Vlastimil Bubník', 'occupation', {'concept': 'occupation'}] ['Erik Persson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { resource:Karel_Koželuh property:occupation ?d . ?d rdf:type ontology:occupation } UNION { resource:Lev_Yashin property:occupation ?d . ?d rdf:type ontology:occupation } }
[]
occupation
Q10833314 Q937857 Q937857
SYSTEM
tennis player for 1st, association football player for 2nd, 3rd
Q10833314 Q11774891 Q937857 Q11774891 Q937857 Q11774891 Q937857 Q11774891 Q937857 Q11774891 Q628099 Q937857 Q11774891 Q937857 Q11774891 Q628099 Q937857 Q11774891 Q937857 Q11774891 Q937857 Q11774891 Q628099 Q937857
(Q697996,P106,c(Q12737077)) (Q167828,P106,c(Q12737077)) (Q893608,P106,c(Q12737077)) (Q3808457,P106,c(Q12737077)) (Q264127,P106,c(Q12737077)) (Q920380,P106,c(Q12737077)) (Q2368457,P106,c(Q12737077)) (Q82378,P106,c(Q12737077)) (Q723088,P106,c(Q12737077)) (Q954668,P106,c(Q12737077))
action union
action filter_type
action find
entity Q697996
relation P106
type Q12737077
action filter_type
action find
entity Q167828
relation P106
type Q12737077
action filter_type
action find
entity Q893608
relation P106
type Q12737077
action filter_type
action find
entity Q3808457
relation P106
type Q12737077
action filter_type
action find
entity Q264127
relation P106
type Q12737077
action filter_type
action find
entity Q920380
relation P106
type Q12737077
action filter_type
action find
entity Q2368457
relation P106
type Q12737077
action filter_type
action find
entity Q82378
relation P106
type Q12737077
action filter_type
action find
entity Q723088
relation P106
type Q12737077
action filter_type
action find
entity Q954668
relation P106
type Q12737077
[ANSWERS]
['Q697996', 'P106', {'concept': 'Q12737077'}] ['Q167828', 'P106', {'concept': 'Q12737077'}] ['Q893608', 'P106', {'concept': 'Q12737077'}] ['Q3808457', 'P106', {'concept': 'Q12737077'}] ['Q264127', 'P106', {'concept': 'Q12737077'}] ['Q920380', 'P106', {'concept': 'Q12737077'}] ['Q2368457', 'P106', {'concept': 'Q12737077'}] ['Q82378', 'P106', {'concept': 'Q12737077'}] ['Q723088', 'P106', {'concept': 'Q12737077'}] ['Q954668', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { { resource:Q697996 property:P106 ?d . ?d rdf:type ontology:Q12737077 } UNION { resource:Q167828 property:P106 ?d . ?d rdf:type ontology:Q12737077 } }
tennis player ice hockey player association football player ice hockey player association football player ice hockey player association football player ice hockey player association football player ice hockey player association football manager association football player ice hockey player association football player ice hockey player association football manager association football player ice hockey player association football player ice hockey player association football player ice hockey player association football manager association football player
The tennis player, association football player and association football player have Karel Koželuh, Lev Yashin, Boris Mayorov, Jindřich Baumruk, Anatoli Tarasov, Wilhelm Petersén, Sergei Solovyov, Boris Afanasiev, Vlastimil Bubník and Erik Persson as his/her 's career
tennis player association football player association football player
action union
action filter_type
action find
entity Karel Koželuh
relation occupation
type occupation
action filter_type
action find
entity Lev Yashin
relation occupation
type occupation
action filter_type
action find
entity Boris Mayorov
relation occupation
type occupation
action filter_type
action find
entity Jindřich Baumruk
relation occupation
type occupation
action filter_type
action find
entity Anatoli Tarasov
relation occupation
type occupation
action filter_type
action find
entity Wilhelm Petersén
relation occupation
type occupation
action filter_type
action find
entity Sergei Solovyov
relation occupation
type occupation
action filter_type
action find
entity Boris Afanasiev
relation occupation
type occupation
action filter_type
action find
entity Vlastimil Bubník
relation occupation
type occupation
action filter_type
action find
entity Erik Persson
relation occupation
type occupation
['Karel Koželuh', 'occupation', {'concept': 'occupation'}] ['Lev Yashin', 'occupation', {'concept': 'occupation'}] ['Boris Mayorov', 'occupation', {'concept': 'occupation'}] ['Jindřich Baumruk', 'occupation', {'concept': 'occupation'}] ['Anatoli Tarasov', 'occupation', {'concept': 'occupation'}] ['Wilhelm Petersén', 'occupation', {'concept': 'occupation'}] ['Sergei Solovyov', 'occupation', {'concept': 'occupation'}] ['Boris Afanasiev', 'occupation', {'concept': 'occupation'}] ['Vlastimil Bubník', 'occupation', {'concept': 'occupation'}] ['Erik Persson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { { resource:Karel_Koželuh property:occupation ?d . ?d rdf:type ontology:occupation } UNION { resource:Lev_Yashin property:occupation ?d . ?d rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P172
Q502895
USER
Which people have England as his/her ethnicity ?
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P172 resource:Q21 . ?a rdf:type ontology:Q502895 }
England
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?a WHERE { ?a property:ethnic_group resource:England . ?a rdf:type ontology:common_name }
[]
common name
Q21151748 Q7341902 Q5730252
SYSTEM
Rosemary Stjernstedt, Robert Barrington-Ward, Henry William Wilberforce
Q6829817 Q7683973 Q4767120 Q5424077 Q5107509 Q7519325 Q8006577 Q7341902 Q5730252 Q21151748
(c(Q502895),P172,Q21)
action filter_type
action find_reverse
entity Q21
relation P172
type Q502895
[ANSWERS] have England as his/her ethnicity
[{'concept': 'Q502895'}, 'P172', 'Q21']
SELECT DISTINCT ?a WHERE { ?a property:P172 resource:Q21 . ?a rdf:type ontology:Q502895 }
Michael Derrick Tanya Beckett Anna Jones F. W. Micklethwaite Chris Morris Simon McCoy William Carpenter Robert Barrington-Ward Henry William Wilberforce Rosemary Stjernstedt
Rosemary Stjernstedt, Robert Barrington-Ward and Henry William Wilberforce have England as his/her ethnicity
Rosemary Stjernstedt Robert Barrington-Ward Henry William Wilberforce
action filter_type
action find_reverse
entity England
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'England']
SELECT DISTINCT ?a WHERE { ?a property:ethnic_group resource:England . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21151748 Q7341902 Q5730252
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q21151748,P106,c(Q12737077)) (Q7341902,P106,c(Q12737077)) (Q5730252,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q21151748', 'P106', {'concept': 'Q12737077'}] ['Q7341902', 'P106', {'concept': 'Q12737077'}] ['Q5730252', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . VALUES ( ?p ) { ( resource:Q6829817 ) ( resource:Q7683973 ) ( resource:Q4767120 ) } . ?p property:P106 ?m }
Rosemary Stjernstedt Robert Barrington-Ward Henry William Wilberforce
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Rosemary Stjernstedt', 'occupation', {'concept': 'occupation'}] ['Robert Barrington-Ward', 'occupation', {'concept': 'occupation'}] ['Henry William Wilberforce', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . VALUES ( ?p ) { ( resource:Michael_Derrick ) ( resource:Tanya_Beckett ) ( resource:Anna_Jones ) } . ?p property:occupation ?m }
[]
occupation
Q42973 Q1930187 Q1930187
SYSTEM
journalist for 2nd, 3rd, architect for 1st
Q42973 Q131062 Q1930187 Q1930187
(Q21151748,P106,c(Q12737077)) (Q7341902,P106,c(Q12737077)) (Q5730252,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q21151748', 'P106', {'concept': 'Q12737077'}] ['Q7341902', 'P106', {'concept': 'Q12737077'}] ['Q5730252', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . VALUES ( ?p ) { ( resource:Q6829817 ) ( resource:Q7683973 ) ( resource:Q4767120 ) } . ?p property:P106 ?m }
architect urban planner journalist journalist
The professions of those people are architect, journalist and journalist
architect journalist journalist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Rosemary Stjernstedt', 'occupation', {'concept': 'occupation'}] ['Robert Barrington-Ward', 'occupation', {'concept': 'occupation'}] ['Henry William Wilberforce', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . VALUES ( ?p ) { ( resource:Michael_Derrick ) ( resource:Tanya_Beckett ) ( resource:Anna_Jones ) } . ?p property:occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P39
Q502895
USER
Which person held the position of architect ?
(c(Q502895),P39,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q42973']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q42973 . ?r rdf:type ontology:Q502895 }
architect
action filter_type
action find_reverse
entity architect
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'architect']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:architect . ?r rdf:type ontology:common_name }
[]
common name
Q21600904
SYSTEM
Édouard Danjoy
Q21600904
(c(Q502895),P39,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P39
type Q502895
[ANSWER] held the position of architect
[{'concept': 'Q502895'}, 'P39', 'Q42973']
SELECT DISTINCT ?r WHERE { ?r property:P39 resource:Q42973 . ?r rdf:type ontology:Q502895 }
Édouard Danjoy
Édouard Danjoy held the position of architect
Édouard Danjoy
action filter_type
action find_reverse
entity architect
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'architect']
SELECT DISTINCT ?r WHERE { ?r property:position_held resource:architect . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42973
P452
Q4830453
USER
Who belongs to the industry that occupation ?
(c(Q4830453),P452,Q21600904)
action filter_type
action find_reverse
entity Q42973
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', 'Q21600904']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q4830453 . ?d property:P452 resource:Q42973 }
architect
action filter_type
action find_reverse
entity architect
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'Édouard Danjoy']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:business_enterprise . ?d property:industry resource:architect }
[]
business enterprise
Q2863562
SYSTEM
Arquitectonica
Q2863562
(c(Q4830453),P452,Q21600904)
action filter_type
action find_reverse
entity Q42973
relation P452
type Q4830453
[ANSWER] belongs to the industry that occupation
[{'concept': 'Q4830453'}, 'P452', 'Q21600904']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q4830453 . ?d property:P452 resource:Q42973 }
Arquitectonica
Arquitectonica belongs to the industry that occupation
Arquitectonica
action filter_type
action find_reverse
entity architect
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'Édouard Danjoy']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:business_enterprise . ?d property:industry resource:architect }
[]