Simple Question (Direct)
Simple Question
Q270258
P26
Q502895
USER
Who are the spouses of Fleur Adcock ?
(Q270258,P26,c(Q502895))
action filter_type
action find
entity Q270258
relation P26
type Q502895
['Q270258', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q270258 property:P26 ?x }
Fleur Adcock
action filter_type
action find
entity Fleur Adcock
relation spouse
type common name
['Fleur Adcock', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Fleur_Adcock property:spouse ?x }
[]
common name
Q2710978 Q809020
SYSTEM
Alistair Campbell, Barry Crump
Q2710978 Q809020
(Q270258,P26,c(Q502895))
action filter_type
action find
entity Q270258
relation P26
type Q502895
The spouses of Fleur Adcock are of [ANSWERS]
['Q270258', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q270258 property:P26 ?x }
Alistair Campbell Barry Crump
The spouses of Fleur Adcock are of Alistair Campbell and Barry Crump
Alistair Campbell Barry Crump
action filter_type
action find
entity Fleur Adcock
relation spouse
type common name
['Fleur Adcock', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Fleur_Adcock property:spouse ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2710978 Q809020
P26
Q502895
USER
Which people are married to Alistair Campbell and Barry Crump ?
(c(Q502895),P26,Q2710978) (c(Q502895),P26,Q809020)
action union
action filter_type
action find
entity Q2710978
relation P26
type Q502895
action filter_type
action find
entity Q809020
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2710978'] [{'concept': 'Q502895'}, 'P26', 'Q809020']
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Q2710978 ) ( resource:Q809020 ) } . ?w property:P26 ?q }
Alistair Campbell Barry Crump
action union
action filter_type
action find
entity Alistair Campbell
relation spouse
type common name
action filter_type
action find
entity Barry Crump
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alistair Campbell'] [{'concept': 'common name'}, 'spouse', 'Barry Crump']
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Alistair_Campbell ) ( resource:Barry_Crump ) } . ?w property:spouse ?q }
[]
common name
Q270258 Q15486174 Q270258
SYSTEM
Meg Campbell for 2nd, Fleur Adcock for 1st, 3rd
Q270258 Q15486174 Q270258
(c(Q502895),P26,Q2710978) (c(Q502895),P26,Q809020)
action union
action filter_type
action find
entity Q2710978
relation P26
type Q502895
action filter_type
action find
entity Q809020
relation P26
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P26', 'Q2710978'] [{'concept': 'Q502895'}, 'P26', 'Q809020']
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Q2710978 ) ( resource:Q809020 ) } . ?w property:P26 ?q }
Fleur Adcock Meg Campbell Fleur Adcock
Fleur Adcock, Meg Campbell and Fleur Adcock are married to Alistair Campbell and Barry Crump
Fleur Adcock Meg Campbell Fleur Adcock
action union
action filter_type
action find
entity Alistair Campbell
relation spouse
type common name
action filter_type
action find
entity Barry Crump
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alistair Campbell'] [{'concept': 'common name'}, 'spouse', 'Barry Crump']
SELECT DISTINCT ?q WHERE { VALUES ( ?w ) { ( resource:Alistair_Campbell ) ( resource:Barry_Crump ) } . ?w property:spouse ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270258
P166
Q2003221
USER
Which chivalric order was received by that person ?
(Q270258,P166,c(Q2003221)) (Q15486174,P166,c(Q2003221)) (Q270258,P166,c(Q2003221))
action filter_type
action find
entity Q270258
relation P166
type Q2003221
['Q270258', 'P166', {'concept': 'Q2003221'}] ['Q15486174', 'P166', {'concept': 'Q2003221'}] ['Q270258', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2003221 . resource:Q270258 property:P166 ?j }
Fleur Adcock
action filter_type
action find
entity Fleur Adcock
relation award received
type chivalric order
['Fleur Adcock', 'award received', {'concept': 'chivalric order'}] ['Meg Campbell', 'award received', {'concept': 'chivalric order'}] ['Fleur Adcock', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:chivalric_order . resource:Fleur_Adcock property:award_received ?j }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q270258,P166,c(Q2003221)) (Q15486174,P166,c(Q2003221)) (Q270258,P166,c(Q2003221))
action filter_type
action find
entity Q270258
relation P166
type Q2003221
The [ANSWER] was received by that person
['Q270258', 'P166', {'concept': 'Q2003221'}] ['Q15486174', 'P166', {'concept': 'Q2003221'}] ['Q270258', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2003221 . resource:Q270258 property:P166 ?j }
Officer of the Order of the British Empire
The Officer of the Order of the British Empire was received by that person
Officer of the Order of the British Empire
action filter_type
action find
entity Fleur Adcock
relation award received
type chivalric order
['Fleur Adcock', 'award received', {'concept': 'chivalric order'}] ['Meg Campbell', 'award received', {'concept': 'chivalric order'}] ['Fleur Adcock', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:chivalric_order . resource:Fleur_Adcock property:award_received ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270258
P98
Q2342494
USER
What was edited by Fleur Adcock ?
(c(Q2342494),P98,Q270258)
action filter_type
action find_reverse
entity Q270258
relation P98
type Q2342494
[{'concept': 'Q2342494'}, 'P98', 'Q270258']
SELECT DISTINCT ?o WHERE { ?o property:P98 resource:Q270258 . ?o rdf:type ontology:Q2342494 }
Fleur Adcock
action filter_type
action find_reverse
entity Fleur Adcock
relation editor
type collectable
[{'concept': 'collectable'}, 'editor', 'Fleur Adcock']
SELECT DISTINCT ?o WHERE { ?o property:editor resource:Fleur_Adcock . ?o rdf:type ontology:collectable }
[]
collectable
Q5427610
SYSTEM
Faber Book of Twentieth-Century Women's Poetry
Q5427610
(c(Q2342494),P98,Q270258)
action filter_type
action find_reverse
entity Q270258
relation P98
type Q2342494
The [ANSWER] was edited by Fleur Adcock
[{'concept': 'Q2342494'}, 'P98', 'Q270258']
SELECT DISTINCT ?o WHERE { ?o property:P98 resource:Q270258 . ?o rdf:type ontology:Q2342494 }
Faber Book of Twentieth-Century Women's Poetry
The Faber Book of Twentieth-Century Women's Poetry was edited by Fleur Adcock
Faber Book of Twentieth-Century Women's Poetry
action filter_type
action find_reverse
entity Fleur Adcock
relation editor
type collectable
[{'concept': 'collectable'}, 'editor', 'Fleur Adcock']
SELECT DISTINCT ?o WHERE { ?o property:editor resource:Fleur_Adcock . ?o rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270258
P9
Q502895
USER
Who had that one as their sibling ?
(c(Q502895),P9,Q5427610)
action filter_type
action find
entity Q270258
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q5427610']
SELECT DISTINCT ?s WHERE { resource:Q270258 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Fleur Adcock
action filter_type
action find
entity Fleur Adcock
relation sister
type common name
[{'concept': 'common name'}, 'sister', "Faber Book of Twentieth-Century Women's Poetry"]
SELECT DISTINCT ?s WHERE { resource:Fleur_Adcock property:sister ?s . ?s rdf:type ontology:common_name }
[]
common name
Q6763521
SYSTEM
Marilyn Duckworth
Q6763521
(c(Q502895),P9,Q5427610)
action filter_type
action find
entity Q270258
relation P9
type Q502895
[ANSWER] had that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q5427610']
SELECT DISTINCT ?s WHERE { resource:Q270258 property:P9 ?s . ?s rdf:type ontology:Q502895 }
Marilyn Duckworth
Marilyn Duckworth had that one as their sibling
Marilyn Duckworth
action filter_type
action find
entity Fleur Adcock
relation sister
type common name
[{'concept': 'common name'}, 'sister', "Faber Book of Twentieth-Century Women's Poetry"]
SELECT DISTINCT ?s WHERE { resource:Fleur_Adcock property:sister ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6763521 Q664
P27
Q1048835
USER
Is New Zealand the native country of Marilyn Duckworth ?
(Q6763521,P27,Q664)
action is_in
entity Q664
action find
entity Q6763521
relation P27
['Q6763521', 'P27', 'Q664']
ASK WHERE { resource:Q6763521 property:P27 resource:Q664 }
Marilyn Duckworth New Zealand
action is_in
entity New Zealand
action find
entity Marilyn Duckworth
relation country of citizenship
['Marilyn Duckworth', 'country of citizenship', 'New Zealand']
ASK WHERE { resource:Marilyn_Duckworth property:country_of_citizenship resource:New_Zealand }
[]
political territorial entity
SYSTEM
YES
(Q6763521,P27,Q664)
action is_in
entity Q664
action find
entity Q6763521
relation P27
[ANSWER]
['Q6763521', 'P27', 'Q664']
ASK WHERE { resource:Q6763521 property:P27 resource:Q664 }
Yes
action is_in
entity New Zealand
action find
entity Marilyn Duckworth
relation country of citizenship
['Marilyn Duckworth', 'country of citizenship', 'New Zealand']
ASK WHERE { resource:Marilyn_Duckworth property:country_of_citizenship resource:New_Zealand }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q270258 Q664 Q4426977
P27
Q1048835
USER
Is Fleur Adcock a citizen of New Zealand and Sokil ?
(Q270258,P27,Q664) (Q270258,P27,Q4426977)
action is_in
entity Q270258
action intersection
action find_reverse
entity Q664
relation P27
action find_reverse
entity Q4426977
relation P27
['Q270258', 'P27', 'Q664'] ['Q270258', 'P27', 'Q4426977']
ASK WHERE { resource:Q270258 property:P27 resource:Q664 . resource:Q270258 property:P27 resource:Q4426977 }
Fleur Adcock New Zealand Sokil
action is_in
entity Fleur Adcock
action intersection
action find_reverse
entity New Zealand
relation country of citizenship
action find_reverse
entity Sokil
relation country of citizenship
['Fleur Adcock', 'country of citizenship', 'New Zealand'] ['Fleur Adcock', 'country of citizenship', 'Sokil']
ASK WHERE { resource:Fleur_Adcock property:country_of_citizenship resource:New_Zealand . resource:Fleur_Adcock property:country_of_citizenship resource:Sokil }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q270258,P27,Q664) (Q270258,P27,Q4426977)
action is_in
entity Q270258
action intersection
action find_reverse
entity Q664
relation P27
action find_reverse
entity Q4426977
relation P27
[ANSWER]
['Q270258', 'P27', 'Q664'] ['Q270258', 'P27', 'Q4426977']
ASK WHERE { resource:Q270258 property:P27 resource:Q664 . resource:Q270258 property:P27 resource:Q4426977 }
YES and NO respectively
action is_in
entity Fleur Adcock
action intersection
action find_reverse
entity New Zealand
relation country of citizenship
action find_reverse
entity Sokil
relation country of citizenship
['Fleur Adcock', 'country of citizenship', 'New Zealand'] ['Fleur Adcock', 'country of citizenship', 'Sokil']
ASK WHERE { resource:Fleur_Adcock property:country_of_citizenship resource:New_Zealand . resource:Fleur_Adcock property:country_of_citizenship resource:Sokil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6763521
P19
Q56061
USER
Where was Marilyn Duckworth born ?
(Q6763521,P19,c(Q56061))
action filter_type
action find
entity Q6763521
relation P19
type Q56061
['Q6763521', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q6763521 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Marilyn Duckworth
action filter_type
action find
entity Marilyn Duckworth
relation place of birth
type administrative territorial entity
['Marilyn Duckworth', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Marilyn_Duckworth property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37100
SYSTEM
Auckland
Q37100
(Q6763521,P19,c(Q56061))
action filter_type
action find
entity Q6763521
relation P19
type Q56061
Marilyn Duckworth was born in [ANSWER]
['Q6763521', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q6763521 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Auckland
Marilyn Duckworth was born in Auckland
Auckland
action filter_type
action find
entity Marilyn Duckworth
relation place of birth
type administrative territorial entity
['Marilyn Duckworth', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Marilyn_Duckworth property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q433445
Q56061
USER
And what about Andreas Laskaratos?
(Q433445,P19,c(Q56061))
action filter_type
action find
entity Q433445
relation P19
type Q56061
['Q433445', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q433445 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Andreas Laskaratos
action filter_type
action find
entity Andreas Laskaratos
relation place of birth
type administrative territorial entity
['Andreas Laskaratos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Andreas_Laskaratos property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q648399
SYSTEM
Lixouri
Q648399
(Q433445,P19,c(Q56061))
action filter_type
action find
entity Q433445
relation P19
type Q56061
[ANSWER]
['Q433445', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q433445 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Lixouri
Lixouri
action filter_type
action find
entity Andreas Laskaratos
relation place of birth
type administrative territorial entity
['Andreas Laskaratos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Andreas_Laskaratos property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q333634 Q6763521
P106 P9
Q502895
USER
Which people had Marilyn Duckworth as their sibling and have the profession as translator ?
AND((c(Q502895),P9,Q6763521), (c(Q502895),P106,Q333634))
action filter_type
action intersection
action find_reverse
entity Q6763521
relation P9
action find_reverse
entity Q333634
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q6763521'], [{'concept': 'Q502895'}, 'P106', 'Q333634']]}
SELECT DISTINCT ?q WHERE { ?q property:P9 resource:Q6763521 . ?q property:P106 resource:Q333634 . ?q rdf:type ontology:Q502895 }
translator Marilyn Duckworth
action filter_type
action intersection
action find_reverse
entity Marilyn Duckworth
relation sister
action find_reverse
entity translator
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Marilyn Duckworth'], [{'concept': 'common name'}, 'occupation', 'translator']]}
SELECT DISTINCT ?q WHERE { ?q property:sister resource:Marilyn_Duckworth . ?q property:occupation resource:translator . ?q rdf:type ontology:common_name }
[]
common name
Q270258
SYSTEM
Fleur Adcock
Q270258
AND((c(Q502895),P9,Q6763521), (c(Q502895),P106,Q333634))
action filter_type
action intersection
action find_reverse
entity Q6763521
relation P9
action find_reverse
entity Q333634
relation P106
type Q502895
[ANSWER] had Marilyn Duckworth as their sibling and have the profession as translator
{'AND': [[{'concept': 'Q502895'}, 'P9', 'Q6763521'], [{'concept': 'Q502895'}, 'P106', 'Q333634']]}
SELECT DISTINCT ?q WHERE { ?q property:P9 resource:Q6763521 . ?q property:P106 resource:Q333634 . ?q rdf:type ontology:Q502895 }
Fleur Adcock
Fleur Adcock had Marilyn Duckworth as their sibling and have the profession as translator
Fleur Adcock
action filter_type
action intersection
action find_reverse
entity Marilyn Duckworth
relation sister
action find_reverse
entity translator
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'sister', 'Marilyn Duckworth'], [{'concept': 'common name'}, 'occupation', 'translator']]}
SELECT DISTINCT ?q WHERE { ?q property:sister resource:Marilyn_Duckworth . ?q property:occupation resource:translator . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q270258
P463
Q48204
USER
Which voluntary association was that person a member of ?
(Q270258,P463,c(Q48204))
action filter_type
action find
entity Q270258
relation P463
type Q48204
['Q270258', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?a WHERE { resource:Q270258 property:P463 ?a . ?a rdf:type ontology:Q48204 }
Fleur Adcock
action filter_type
action find
entity Fleur Adcock
relation member of
type voluntary association
['Fleur Adcock', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?a WHERE { resource:Fleur_Adcock property:member_of ?a . ?a rdf:type ontology:voluntary_association }
[]
voluntary association
Q1468277
SYSTEM
Royal Society of Literature
Q1468277
(Q270258,P463,c(Q48204))
action filter_type
action find
entity Q270258
relation P463
type Q48204
[ANSWER] was that person a member of
['Q270258', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?a WHERE { resource:Q270258 property:P463 ?a . ?a rdf:type ontology:Q48204 }
Royal Society of Literature
Royal Society of Literature was that person a member of
Royal Society of Literature
action filter_type
action find
entity Fleur Adcock
relation member of
type voluntary association
['Fleur Adcock', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?a WHERE { resource:Fleur_Adcock property:member_of ?a . ?a rdf:type ontology:voluntary_association }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q270258
P166
Q618779 Q2003221
USER
How many awards or chivalric orders were awarded to Fleur Adcock ?
(Q270258,P166,c(Q618779)) (Q270258,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q270258
relation P166
type Q618779
action filter_type
action find
entity Q270258
relation P166
type Q2003221
['Q270258', 'P166', {'concept': 'Q618779'}] ['Q270258', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { resource:Q270258 property:P166 ?f . ?f rdf:type ontology:Q618779 } UNION { resource:Q270258 property:P166 ?f . ?f rdf:type ontology:Q2003221 } }
Fleur Adcock
action count
action union
action filter_type
action find
entity Fleur Adcock
relation award received
type award
action filter_type
action find
entity Fleur Adcock
relation award received
type chivalric order
['Fleur Adcock', 'award received', {'concept': 'award'}] ['Fleur Adcock', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { resource:Fleur_Adcock property:award_received ?f . ?f rdf:type ontology:award } UNION { resource:Fleur_Adcock property:award_received ?f . ?f rdf:type ontology:chivalric_order } }
[]
award chivalric order
SYSTEM
3
Q1075954 Q10762848 Q640312
(Q270258,P166,c(Q618779)) (Q270258,P166,c(Q2003221))
action count
action union
action filter_type
action find
entity Q270258
relation P166
type Q618779
action filter_type
action find
entity Q270258
relation P166
type Q2003221
[ANSWER]
['Q270258', 'P166', {'concept': 'Q618779'}] ['Q270258', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { resource:Q270258 property:P166 ?f . ?f rdf:type ontology:Q618779 } UNION { resource:Q270258 property:P166 ?f . ?f rdf:type ontology:Q2003221 } }
Cholmondeley Award Officer of the Order of the British Empire Queen's Gold Medal for Poetry
3
action count
action union
action filter_type
action find
entity Fleur Adcock
relation award received
type award
action filter_type
action find
entity Fleur Adcock
relation award received
type chivalric order
['Fleur Adcock', 'award received', {'concept': 'award'}] ['Fleur Adcock', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { resource:Fleur_Adcock property:award_received ?f . ?f rdf:type ontology:award } UNION { resource:Fleur_Adcock property:award_received ?f . ?f rdf:type ontology:chivalric_order } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q270258
P106
Q12737077
USER
How many occupations are the professions of Fleur Adcock ?
(Q270258,P106,c(Q12737077))
action count
action filter_type
action find
entity Q270258
relation P106
type Q12737077
['Q270258', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q270258 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Fleur Adcock
action count
action filter_type
action find
entity Fleur Adcock
relation occupation
type occupation
['Fleur Adcock', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Fleur_Adcock property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
Q333634 Q49757 Q36180
(Q270258,P106,c(Q12737077))
action count
action filter_type
action find
entity Q270258
relation P106
type Q12737077
[ANSWER]
['Q270258', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q270258 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
translator poet writer
3
action count
action filter_type
action find
entity Fleur Adcock
relation occupation
type occupation
['Fleur Adcock', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Fleur_Adcock property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2943689 Q2710978
P27
Q1048835
USER
Which political territories are Alistair Campbell or Cecil Cooke an inhabitant of ?
OR((Q2710978,P27,c(Q1048835)), (Q2943689,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2710978
relation P27
action find
entity Q2943689
relation P27
type Q1048835
{'OR': [['Q2710978', 'P27', {'concept': 'Q1048835'}], ['Q2943689', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2710978 property:P27 ?f } UNION { resource:Q2943689 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
Cecil Cooke Alistair Campbell
action filter_type
action union
action find
entity Alistair Campbell
relation country of citizenship
action find
entity Cecil Cooke
relation country of citizenship
type political territorial entity
{'OR': [['Alistair Campbell', 'country of citizenship', {'concept': 'political territorial entity'}], ['Cecil Cooke', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Alistair_Campbell property:country_of_citizenship ?f } UNION { resource:Cecil_Cooke property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q778
SYSTEM
New Zealand, The Bahamas
Q664 Q778
OR((Q2710978,P27,c(Q1048835)), (Q2943689,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2710978
relation P27
action find
entity Q2943689
relation P27
type Q1048835
[ANSWERS] are Alistair Campbell or Cecil Cooke an inhabitant of
{'OR': [['Q2710978', 'P27', {'concept': 'Q1048835'}], ['Q2943689', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q2710978 property:P27 ?f } UNION { resource:Q2943689 property:P27 ?f } } . ?f rdf:type ontology:Q1048835 }
New Zealand The Bahamas
New Zealand and The Bahamas are Alistair Campbell or Cecil Cooke an inhabitant of
New Zealand The Bahamas
action filter_type
action union
action find
entity Alistair Campbell
relation country of citizenship
action find
entity Cecil Cooke
relation country of citizenship
type political territorial entity
{'OR': [['Alistair Campbell', 'country of citizenship', {'concept': 'political territorial entity'}], ['Cecil Cooke', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Alistair_Campbell property:country_of_citizenship ?f } UNION { resource:Cecil_Cooke property:country_of_citizenship ?f } } . ?f rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q81588 Q778
P47
Q15617994
USER
Which administrative territories share border with The Bahamas or San Rufo ?
OR((Q778,P47,c(Q15617994)), (Q81588,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q778
relation P47
action find
entity Q81588
relation P47
type Q15617994
{'OR': [['Q778', 'P47', {'concept': 'Q15617994'}], ['Q81588', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q778 property:P47 ?h } UNION { resource:Q81588 property:P47 ?h } } . ?h rdf:type ontology:Q15617994 }
San Rufo The Bahamas
action filter_type
action union
action find
entity The Bahamas
relation shares border with
action find
entity San Rufo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Bahamas', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['San Rufo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:The_Bahamas property:shares_border_with ?h } UNION { resource:San_Rufo property:shares_border_with ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q81608 Q81728 Q30 Q81585 Q80893
SYSTEM
Sant'Arsenio, Teggiano, United States of America, San Pietro al Tanagro, Corleto Monforte
Q81608 Q81728 Q30 Q81585 Q80893
OR((Q778,P47,c(Q15617994)), (Q81588,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q778
relation P47
action find
entity Q81588
relation P47
type Q15617994
[ANSWERS] share border with The Bahamas or San Rufo
{'OR': [['Q778', 'P47', {'concept': 'Q15617994'}], ['Q81588', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q778 property:P47 ?h } UNION { resource:Q81588 property:P47 ?h } } . ?h rdf:type ontology:Q15617994 }
Sant'Arsenio Teggiano United States of America San Pietro al Tanagro Corleto Monforte
Sant'Arsenio, Teggiano, United States of America, San Pietro al Tanagro and Corleto Monforte share border with The Bahamas or San Rufo
Sant'Arsenio Teggiano United States of America San Pietro al Tanagro Corleto Monforte
action filter_type
action union
action find
entity The Bahamas
relation shares border with
action find
entity San Rufo
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Bahamas', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['San Rufo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:The_Bahamas property:shares_border_with ?h } UNION { resource:San_Rufo property:shares_border_with ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6824700 Q80893
P17
Q15617994
USER
Which administrative territories are Corleto Monforte or Metro San Joaquín located in ?
OR((Q80893,P17,c(Q15617994)), (Q6824700,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q80893
relation P17
action find
entity Q6824700
relation P17
type Q15617994
{'OR': [['Q80893', 'P17', {'concept': 'Q15617994'}], ['Q6824700', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q80893 property:P17 ?j } UNION { resource:Q6824700 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Metro San Joaquín Corleto Monforte
action filter_type
action union
action find
entity Corleto Monforte
relation country
action find
entity Metro San Joaquín
relation country
type designation for an administrative territorial entity
{'OR': [['Corleto Monforte', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Metro San Joaquín', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Corleto_Monforte property:country ?j } UNION { resource:Metro_San_Joaquín property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q38
SYSTEM
Mexico, Italy
Q96 Q38
OR((Q80893,P17,c(Q15617994)), (Q6824700,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q80893
relation P17
action find
entity Q6824700
relation P17
type Q15617994
Corleto Monforte or Metro San Joaquín are located in [ANSWERS]
{'OR': [['Q80893', 'P17', {'concept': 'Q15617994'}], ['Q6824700', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q80893 property:P17 ?j } UNION { resource:Q6824700 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Mexico Italy
Corleto Monforte or Metro San Joaquín are located in Mexico and Italy
Mexico Italy
action filter_type
action union
action find
entity Corleto Monforte
relation country
action find
entity Metro San Joaquín
relation country
type designation for an administrative territorial entity
{'OR': [['Corleto Monforte', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Metro San Joaquín', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Corleto_Monforte property:country ?j } UNION { resource:Metro_San_Joaquín property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]