Simple Question (Direct)
Simple Question
Q2426468
P106
Q12737077
USER
What is the profession of Tom Pendry, Baron Pendry ?
(Q2426468,P106,c(Q12737077))
action filter_type
action find
entity Q2426468
relation P106
type Q12737077
['Q2426468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2426468 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Tom Pendry, Baron Pendry
action filter_type
action find
entity Tom Pendry, Baron Pendry
relation occupation
type occupation
['Tom Pendry, Baron Pendry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Tom_Pendry,_Baron_Pendry property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2426468,P106,c(Q12737077))
action filter_type
action find
entity Q2426468
relation P106
type Q12737077
[ANSWER]
['Q2426468', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q2426468 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Tom Pendry, Baron Pendry
relation occupation
type occupation
['Tom Pendry, Baron Pendry', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Tom_Pendry,_Baron_Pendry property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2426468
P463
Q484652
USER
Which international organization had Tom Pendry, Baron Pendry as its member ?
(Q2426468,P463,c(Q484652))
action filter_type
action find
entity Q2426468
relation P463
type Q484652
['Q2426468', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?k WHERE { resource:Q2426468 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Tom Pendry, Baron Pendry
action filter_type
action find
entity Tom Pendry, Baron Pendry
relation member of
type international organization
['Tom Pendry, Baron Pendry', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?k WHERE { resource:Tom_Pendry,_Baron_Pendry property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q2426468,P463,c(Q484652))
action filter_type
action find
entity Q2426468
relation P463
type Q484652
[ANSWER]
['Q2426468', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?k WHERE { resource:Q2426468 property:P463 ?k . ?k rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Tom Pendry, Baron Pendry
relation member of
type international organization
['Tom Pendry, Baron Pendry', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?k WHERE { resource:Tom_Pendry,_Baron_Pendry property:member_of ?k . ?k rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q60777
Q484652
USER
And what about Manfred Wörner?
(Q60777,P463,c(Q484652))
action filter_type
action find
entity Q60777
relation P463
type Q484652
['Q60777', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q60777 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Manfred Wörner
action filter_type
action find
entity Manfred Wörner
relation member of
type international organization
['Manfred Wörner', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Manfred_Wörner property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q60777,P463,c(Q484652))
action filter_type
action find
entity Q60777
relation P463
type Q484652
[ANSWER]
['Q60777', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q60777 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Manfred Wörner
relation member of
type international organization
['Manfred Wörner', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Manfred_Wörner property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q312057
P417
Q502895 Q12737077
USER
How many people are the patron saints of more number of occupations than Saint Casimir ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q312057
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P417 ?l . ?l rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:Q502895 . resource:Q312057 property:P417 ?t } } . FILTER ( ?z > ?c ) }
Saint Casimir
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Casimir
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:patron_saint ?l . ?l rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:common_name . resource:Saint_Casimir property:patron_saint ?t } } . FILTER ( ?z > ?c ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q312057
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P417 ?l . ?l rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:Q502895 . resource:Q312057 property:P417 ?t } } . FILTER ( ?z > ?c ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Casimir
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:patron_saint ?l . ?l rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { ?t rdf:type ontology:common_name . resource:Saint_Casimir property:patron_saint ?t } } . FILTER ( ?z > ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2426468
P39
Q12737077
USER
What was the position held by Tom Pendry, Baron Pendry ?
(Q2426468,P39,c(Q12737077))
action filter_type
action find
entity Q2426468
relation P39
type Q12737077
['Q2426468', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q2426468 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Tom Pendry, Baron Pendry
action filter_type
action find
entity Tom Pendry, Baron Pendry
relation position held
type occupation
['Tom Pendry, Baron Pendry', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Tom_Pendry,_Baron_Pendry property:position_held ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q2426468,P39,c(Q12737077))
action filter_type
action find
entity Q2426468
relation P39
type Q12737077
[ANSWER]
['Q2426468', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q2426468 property:P39 ?x . ?x rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Tom Pendry, Baron Pendry
relation position held
type occupation
['Tom Pendry, Baron Pendry', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Tom_Pendry,_Baron_Pendry property:position_held ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1510571
Q12737077
USER
And what about Gerd Höfer?
(Q1510571,P39,c(Q12737077))
action filter_type
action find
entity Q1510571
relation P39
type Q12737077
['Q1510571', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1510571 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Gerd Höfer
action filter_type
action find
entity Gerd Höfer
relation position held
type occupation
['Gerd Höfer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Gerd_Höfer property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q1939555
SYSTEM
member of the German Bundestag
Q1939555
(Q1510571,P39,c(Q12737077))
action filter_type
action find
entity Q1510571
relation P39
type Q12737077
[ANSWER]
['Q1510571', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1510571 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
member of the German Bundestag
member of the German Bundestag
action filter_type
action find
entity Gerd Höfer
relation position held
type occupation
['Gerd Höfer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Gerd_Höfer property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1939555 Q183 Q4429939
P1001
Q1048835
USER
Does that occupation applies to jurisdiction over Germany and Sofiivka ?
(Q1939555,P1001,Q183) (Q1939555,P1001,Q4429939)
action is_in
entity Q1939555
action intersection
action find_reverse
entity Q183
relation P1001
action find_reverse
entity Q4429939
relation P1001
['Q1939555', 'P1001', 'Q183'] ['Q1939555', 'P1001', 'Q4429939']
ASK WHERE { resource:Q1939555 property:P1001 resource:Q183 . resource:Q1939555 property:P1001 resource:Q4429939 }
member of the German Bundestag Germany Sofiivka
action is_in
entity member of the German Bundestag
action intersection
action find_reverse
entity Germany
relation applies to jurisdiction
action find_reverse
entity Sofiivka
relation applies to jurisdiction
['member of the German Bundestag', 'applies to jurisdiction', 'Germany'] ['member of the German Bundestag', 'applies to jurisdiction', 'Sofiivka']
ASK WHERE { resource:member_of_the_German_Bundestag property:applies_to_jurisdiction resource:Germany . resource:member_of_the_German_Bundestag property:applies_to_jurisdiction resource:Sofiivka }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q1939555,P1001,Q183) (Q1939555,P1001,Q4429939)
action is_in
entity Q1939555
action intersection
action find_reverse
entity Q183
relation P1001
action find_reverse
entity Q4429939
relation P1001
[ANSWER]
['Q1939555', 'P1001', 'Q183'] ['Q1939555', 'P1001', 'Q4429939']
ASK WHERE { resource:Q1939555 property:P1001 resource:Q183 . resource:Q1939555 property:P1001 resource:Q4429939 }
YES and NO respectively
action is_in
entity member of the German Bundestag
action intersection
action find_reverse
entity Germany
relation applies to jurisdiction
action find_reverse
entity Sofiivka
relation applies to jurisdiction
['member of the German Bundestag', 'applies to jurisdiction', 'Germany'] ['member of the German Bundestag', 'applies to jurisdiction', 'Sofiivka']
ASK WHERE { resource:member_of_the_German_Bundestag property:applies_to_jurisdiction resource:Germany . resource:member_of_the_German_Bundestag property:applies_to_jurisdiction resource:Sofiivka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1939555 Q2836940
P106
Q502895
USER
How many people have career as member of the German Bundestag or food manufacturing ?
(c(Q502895),P106,Q1939555) (c(Q502895),P106,Q2836940)
action count
action union
action filter_type
action find_reverse
entity Q1939555
relation P106
type Q502895
action filter_type
action find_reverse
entity Q2836940
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q1939555'] [{'concept': 'Q502895'}, 'P106', 'Q2836940']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P106 resource:Q1939555 . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . ?f property:P106 resource:Q2836940 } }
member of the German Bundestag food manufacturing
action count
action union
action filter_type
action find_reverse
entity member of the German Bundestag
relation occupation
type common name
action filter_type
action find_reverse
entity food manufacturing
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the German Bundestag'] [{'concept': 'common name'}, 'occupation', 'food manufacturing']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:occupation resource:member_of_the_German_Bundestag . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . ?f property:occupation resource:food_manufacturing } }
[]
common name
SYSTEM
2
Q23927192 Q84942
(c(Q502895),P106,Q1939555) (c(Q502895),P106,Q2836940)
action count
action union
action filter_type
action find_reverse
entity Q1939555
relation P106
type Q502895
action filter_type
action find_reverse
entity Q2836940
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q1939555'] [{'concept': 'Q502895'}, 'P106', 'Q2836940']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P106 resource:Q1939555 . ?f rdf:type ontology:Q502895 } UNION { ?f rdf:type ontology:Q502895 . ?f property:P106 resource:Q2836940 } }
Leslie Thompson (Les) McClure Herbert Hupka
2
action count
action union
action filter_type
action find_reverse
entity member of the German Bundestag
relation occupation
type common name
action filter_type
action find_reverse
entity food manufacturing
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the German Bundestag'] [{'concept': 'common name'}, 'occupation', 'food manufacturing']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:occupation resource:member_of_the_German_Bundestag . ?f rdf:type ontology:common_name } UNION { ?f rdf:type ontology:common_name . ?f property:occupation resource:food_manufacturing } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1939555
P1344
Q1499496
USER
Which German presidential election did that occupation compete in ?
action filter_type
action find
entity Q1939555
relation P1344
type Q1499496
SELECT DISTINCT ?s WHERE { resource:Q1939555 property:P1344 ?s . ?s rdf:type ontology:Q1499496 }
member of the German Bundestag
action filter_type
action find
entity member of the German Bundestag
relation participant of
type German presidential election
SELECT DISTINCT ?s WHERE { resource:member_of_the_German_Bundestag property:participant_of ?s . ?s rdf:type ontology:German_presidential_election }
[]
German presidential election
Q314532
SYSTEM
German presidential election, 2004
Q314532
action filter_type
action find
entity Q1939555
relation P1344
type Q1499496
[ANSWER]
SELECT DISTINCT ?s WHERE { resource:Q1939555 property:P1344 ?s . ?s rdf:type ontology:Q1499496 }
German presidential election, 2004
German presidential election, 2004
action filter_type
action find
entity member of the German Bundestag
relation participant of
type German presidential election
SELECT DISTINCT ?s WHERE { resource:member_of_the_German_Bundestag property:participant_of ?s . ?s rdf:type ontology:German_presidential_election }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q314532 Q510508
P710
Q502895
USER
Was Eyerusalem Kuma the artist who participated in that German presidential election ?
(Q314532,P710,Q510508)
action is_in
entity Q510508
action find
entity Q314532
relation P710
['Q314532', 'P710', 'Q510508']
ASK WHERE { resource:Q314532 property:P710 resource:Q510508 }
German presidential election, 2004 Eyerusalem Kuma
action is_in
entity Eyerusalem Kuma
action find
entity German presidential election, 2004
relation participant
['German presidential election, 2004', 'participant', 'Eyerusalem Kuma']
ASK WHERE { resource:German_presidential_election,_2004 property:participant resource:Eyerusalem_Kuma }
[]
common name
SYSTEM
NO
(Q314532,P710,Q510508)
action is_in
entity Q510508
action find
entity Q314532
relation P710
[ANSWER]
['Q314532', 'P710', 'Q510508']
ASK WHERE { resource:Q314532 property:P710 resource:Q510508 }
No
action is_in
entity Eyerusalem Kuma
action find
entity German presidential election, 2004
relation participant
['German presidential election, 2004', 'participant', 'Eyerusalem Kuma']
ASK WHERE { resource:German_presidential_election,_2004 property:participant resource:Eyerusalem_Kuma }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2426468 Q84 Q6535183
P937
Q56061
USER
Does Tom Pendry, Baron Pendry have London and Levenmouth as work location ?
(Q2426468,P937,Q84) (Q2426468,P937,Q6535183)
action is_in
entity Q2426468
action intersection
action find_reverse
entity Q84
relation P937
action find_reverse
entity Q6535183
relation P937
['Q2426468', 'P937', 'Q84'] ['Q2426468', 'P937', 'Q6535183']
ASK WHERE { resource:Q2426468 property:P937 resource:Q84 . resource:Q2426468 property:P937 resource:Q6535183 }
Tom Pendry, Baron Pendry London Levenmouth
action is_in
entity Tom Pendry, Baron Pendry
action intersection
action find_reverse
entity London
relation work location
action find_reverse
entity Levenmouth
relation work location
['Tom Pendry, Baron Pendry', 'work location', 'London'] ['Tom Pendry, Baron Pendry', 'work location', 'Levenmouth']
ASK WHERE { resource:Tom_Pendry,_Baron_Pendry property:work_location resource:London . resource:Tom_Pendry,_Baron_Pendry property:work_location resource:Levenmouth }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q2426468,P937,Q84) (Q2426468,P937,Q6535183)
action is_in
entity Q2426468
action intersection
action find_reverse
entity Q84
relation P937
action find_reverse
entity Q6535183
relation P937
[ANSWER]
['Q2426468', 'P937', 'Q84'] ['Q2426468', 'P937', 'Q6535183']
ASK WHERE { resource:Q2426468 property:P937 resource:Q84 . resource:Q2426468 property:P937 resource:Q6535183 }
YES and NO respectively
action is_in
entity Tom Pendry, Baron Pendry
action intersection
action find_reverse
entity London
relation work location
action find_reverse
entity Levenmouth
relation work location
['Tom Pendry, Baron Pendry', 'work location', 'London'] ['Tom Pendry, Baron Pendry', 'work location', 'Levenmouth']
ASK WHERE { resource:Tom_Pendry,_Baron_Pendry property:work_location resource:London . resource:Tom_Pendry,_Baron_Pendry property:work_location resource:Levenmouth }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q314532 Q2209880 Q1078212
P710
Q502895
USER
Does German presidential election, 2004 have Sabine Röhl and Christa Thoben as its participant ?
(Q314532,P710,Q2209880) (Q314532,P710,Q1078212)
action is_in
entity Q314532
action intersection
action find_reverse
entity Q2209880
relation P710
action find_reverse
entity Q1078212
relation P710
['Q314532', 'P710', 'Q2209880'] ['Q314532', 'P710', 'Q1078212']
ASK WHERE { resource:Q314532 property:P710 resource:Q2209880 . resource:Q314532 property:P710 resource:Q1078212 }
German presidential election, 2004 Sabine Röhl Christa Thoben
action is_in
entity German presidential election, 2004
action intersection
action find_reverse
entity Sabine Röhl
relation participant
action find_reverse
entity Christa Thoben
relation participant
['German presidential election, 2004', 'participant', 'Sabine Röhl'] ['German presidential election, 2004', 'participant', 'Christa Thoben']
ASK WHERE { resource:German_presidential_election,_2004 property:participant resource:Sabine_Röhl . resource:German_presidential_election,_2004 property:participant resource:Christa_Thoben }
[]
common name
SYSTEM
YES
(Q314532,P710,Q2209880) (Q314532,P710,Q1078212)
action is_in
entity Q314532
action intersection
action find_reverse
entity Q2209880
relation P710
action find_reverse
entity Q1078212
relation P710
[ANSWER]
['Q314532', 'P710', 'Q2209880'] ['Q314532', 'P710', 'Q1078212']
ASK WHERE { resource:Q314532 property:P710 resource:Q2209880 . resource:Q314532 property:P710 resource:Q1078212 }
Yes
action is_in
entity German presidential election, 2004
action intersection
action find_reverse
entity Sabine Röhl
relation participant
action find_reverse
entity Christa Thoben
relation participant
['German presidential election, 2004', 'participant', 'Sabine Röhl'] ['German presidential election, 2004', 'participant', 'Christa Thoben']
ASK WHERE { resource:German_presidential_election,_2004 property:participant resource:Sabine_Röhl . resource:German_presidential_election,_2004 property:participant resource:Christa_Thoben }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4954278 Q2426468
P27
Q15617994
USER
Which administrative territories are Tom Pendry, Baron Pendry or Brad Springer a civilian of ?
OR((Q2426468,P27,c(Q15617994)), (Q4954278,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2426468
relation P27
action find
entity Q4954278
relation P27
type Q15617994
{'OR': [['Q2426468', 'P27', {'concept': 'Q15617994'}], ['Q4954278', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?i ) { ( resource:Q2426468 ) ( resource:Q4954278 ) } . ?i property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
Brad Springer Tom Pendry, Baron Pendry
action filter_type
action union
action find
entity Tom Pendry, Baron Pendry
relation country of citizenship
action find
entity Brad Springer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tom Pendry, Baron Pendry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Brad Springer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?i ) { ( resource:Tom_Pendry,_Baron_Pendry ) ( resource:Brad_Springer ) } . ?i property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q2426468,P27,c(Q15617994)), (Q4954278,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2426468
relation P27
action find
entity Q4954278
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q2426468', 'P27', {'concept': 'Q15617994'}], ['Q4954278', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?i ) { ( resource:Q2426468 ) ( resource:Q4954278 ) } . ?i property:P27 ?m } . ?m rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity Tom Pendry, Baron Pendry
relation country of citizenship
action find
entity Brad Springer
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Tom Pendry, Baron Pendry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Brad Springer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?i ) { ( resource:Tom_Pendry,_Baron_Pendry ) ( resource:Brad_Springer ) } . ?i property:country_of_citizenship ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]