Simple Question (Direct)
Simple Question
Q1870989
P106
Q12737077
USER
What are the job of Lothar Schöne ?
(Q1870989,P106,c(Q12737077))
action filter_type
action find
entity Q1870989
relation P106
type Q12737077
['Q1870989', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1870989 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Lothar Schöne
action filter_type
action find
entity Lothar Schöne
relation occupation
type occupation
['Lothar Schöne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lothar_Schöne property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q1870989,P106,c(Q12737077))
action filter_type
action find
entity Q1870989
relation P106
type Q12737077
The job of Lothar Schöne are a [ANSWERS]
['Q1870989', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1870989 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
journalist writer
The job of Lothar Schöne are a journalist and writer
journalist writer
action filter_type
action find
entity Lothar Schöne
relation occupation
type occupation
['Lothar Schöne', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Lothar_Schöne property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1930187 Q36180
P921
Q838948
USER
Which works of art have journalist and writer as their main topic ?
(c(Q838948),P921,Q1930187) (c(Q838948),P921,Q36180)
action union
action filter_type
action find_reverse
entity Q1930187
relation P921
type Q838948
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q1930187'] [{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ?c WHERE { { ?c property:P921 resource:Q36180 . ?c rdf:type ontology:Q838948 } UNION { ?c property:P921 resource:Q1930187 . ?c rdf:type ontology:Q838948 } }
journalist writer
action union
action filter_type
action find_reverse
entity journalist
relation main subject
type work of art
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'journalist'] [{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ?c WHERE { { ?c property:main_subject resource:writer . ?c rdf:type ontology:work_of_art } UNION { ?c property:main_subject resource:journalist . ?c rdf:type ontology:work_of_art } }
[]
work of art
Q622769 Q3575602 Q7847743
SYSTEM
Man of Steel, The Fifth Estate, Trumbo
Q622769 Q3575602 Q7847743
(c(Q838948),P921,Q1930187) (c(Q838948),P921,Q36180)
action union
action filter_type
action find_reverse
entity Q1930187
relation P921
type Q838948
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[ANSWERS] have journalist and writer as their main topic
[{'concept': 'Q838948'}, 'P921', 'Q1930187'] [{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ?c WHERE { { ?c property:P921 resource:Q36180 . ?c rdf:type ontology:Q838948 } UNION { ?c property:P921 resource:Q1930187 . ?c rdf:type ontology:Q838948 } }
Man of Steel The Fifth Estate Trumbo
Man of Steel, The Fifth Estate and Trumbo have journalist and writer as their main topic
Man of Steel The Fifth Estate Trumbo
action union
action filter_type
action find_reverse
entity journalist
relation main subject
type work of art
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'journalist'] [{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ?c WHERE { { ?c property:main_subject resource:writer . ?c rdf:type ontology:work_of_art } UNION { ?c property:main_subject resource:journalist . ?c rdf:type ontology:work_of_art } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3575602
P840
Q56061
USER
Which are the narrative locations of that work of art ?
(Q3575602,P840,c(Q56061))
action filter_type
action find
entity Q3575602
relation P840
type Q56061
['Q3575602', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3575602 property:P840 ?h . ?h rdf:type ontology:Q56061 }
The Fifth Estate
action filter_type
action find
entity The Fifth Estate
relation narrative location
type administrative territorial entity
['The Fifth Estate', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:The_Fifth_Estate property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q7847743
SYSTEM
Did you mean Trumbo ?
Q622769 Q3575602 Q7847743
(Q622769,P840,c(Q56061)) (Q3575602,P840,c(Q56061)) (Q7847743,P840,c(Q56061))
[ANSWER]
['Q622769', 'P840', {'concept': 'Q56061'}] ['Q3575602', 'P840', {'concept': 'Q56061'}] ['Q7847743', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3575602 property:P840 ?h . ?h rdf:type ontology:Q56061 }
Man of Steel The Fifth Estate Trumbo
Did you mean Trumbo ?
Trumbo
['Man of Steel', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Fifth Estate', 'narrative location', {'concept': 'administrative territorial entity'}] ['Trumbo', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:The_Fifth_Estate property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant The Fifth Estate. Could you tell me the answer for that?
(Q3575602,P840,c(Q56061))
Q3575602
['Q3575602', 'P840', {'concept': 'Q56061'}]
['The Fifth Estate', 'narrative location', {'concept': 'administrative territorial entity'}]
[]
Q64 Q61 Q84
SYSTEM
Berlin, Washington, D.C., London
Q64 Q61 Q84
(Q3575602,P840,c(Q56061))
action filter_type
action find
entity Q3575602
relation P840
type Q56061
The narrative locations of that work of art are [ANSWERS]
['Q3575602', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3575602 property:P840 ?h . ?h rdf:type ontology:Q56061 }
Berlin Washington, D.C. London
The narrative locations of that work of art are Berlin, Washington, D.C. and London
Berlin Washington, D.C. London
action filter_type
action find
entity The Fifth Estate
relation narrative location
type administrative territorial entity
['The Fifth Estate', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:The_Fifth_Estate property:narrative_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q64 Q61 Q84
P1313
Q12737077
USER
Which occupations are fulfilled by Berlin, Washington, D.C. and London ?
(Q64,P1313,c(Q12737077)) (Q61,P1313,c(Q12737077)) (Q84,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q64
relation P1313
type Q12737077
action filter_type
action find
entity Q61
relation P1313
type Q12737077
action filter_type
action find
entity Q84
relation P1313
type Q12737077
['Q64', 'P1313', {'concept': 'Q12737077'}] ['Q61', 'P1313', {'concept': 'Q12737077'}] ['Q84', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { resource:Q64 property:P1313 ?m . ?m rdf:type ontology:Q12737077 } UNION { resource:Q61 property:P1313 ?m . ?m rdf:type ontology:Q12737077 } }
Berlin Washington, D.C. London
action union
action filter_type
action find
entity Berlin
relation office held by head of government
type occupation
action filter_type
action find
entity Washington, D.C.
relation office held by head of government
type occupation
action filter_type
action find
entity London
relation office held by head of government
type occupation
['Berlin', 'office held by head of government', {'concept': 'occupation'}] ['Washington, D.C.', 'office held by head of government', {'concept': 'occupation'}] ['London', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { resource:Berlin property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation } UNION { resource:Washington,_D.C. property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation } }
[]
occupation
Q641159 Q5190572 Q38931
SYSTEM
Governing Mayor of Berlin, Mayor of the District of Columbia, Mayor of London
Q641159 Q5190572 Q38931
(Q64,P1313,c(Q12737077)) (Q61,P1313,c(Q12737077)) (Q84,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q64
relation P1313
type Q12737077
action filter_type
action find
entity Q61
relation P1313
type Q12737077
action filter_type
action find
entity Q84
relation P1313
type Q12737077
[ANSWERS] are fulfilled by Berlin, Washington, D.C. and London
['Q64', 'P1313', {'concept': 'Q12737077'}] ['Q61', 'P1313', {'concept': 'Q12737077'}] ['Q84', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { resource:Q64 property:P1313 ?m . ?m rdf:type ontology:Q12737077 } UNION { resource:Q61 property:P1313 ?m . ?m rdf:type ontology:Q12737077 } }
Governing Mayor of Berlin Mayor of the District of Columbia Mayor of London
Governing Mayor of Berlin, Mayor of the District of Columbia and Mayor of London are fulfilled by Berlin, Washington, D.C. and London
Governing Mayor of Berlin Mayor of the District of Columbia Mayor of London
action union
action filter_type
action find
entity Berlin
relation office held by head of government
type occupation
action filter_type
action find
entity Washington, D.C.
relation office held by head of government
type occupation
action filter_type
action find
entity London
relation office held by head of government
type occupation
['Berlin', 'office held by head of government', {'concept': 'occupation'}] ['Washington, D.C.', 'office held by head of government', {'concept': 'occupation'}] ['London', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { resource:Berlin property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation } UNION { resource:Washington,_D.C. property:office_held_by_head_of_government ?m . ?m rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q641159 Q5190572 Q38931
P39
Q502895
USER
Which people were responsible for occupying the position of Governing Mayor of Berlin, Mayor of the District of Columbia and Mayor of London ?
(c(Q502895),P39,Q641159) (c(Q502895),P39,Q5190572) (c(Q502895),P39,Q38931)
action union
action filter_type
action find_reverse
entity Q641159
relation P39
type Q502895
action filter_type
action find_reverse
entity Q5190572
relation P39
type Q502895
action filter_type
action find_reverse
entity Q38931
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q641159'] [{'concept': 'Q502895'}, 'P39', 'Q5190572'] [{'concept': 'Q502895'}, 'P39', 'Q38931']
SELECT DISTINCT ?f WHERE { VALUES ( ?x ) { ( resource:Q641159 ) ( resource:Q5190572 ) } . ?f property:P39 ?x }
Governing Mayor of Berlin Mayor of the District of Columbia Mayor of London
action union
action filter_type
action find_reverse
entity Governing Mayor of Berlin
relation position held
type common name
action filter_type
action find_reverse
entity Mayor of the District of Columbia
relation position held
type common name
action filter_type
action find_reverse
entity Mayor of London
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Governing Mayor of Berlin'] [{'concept': 'common name'}, 'position held', 'Mayor of the District of Columbia'] [{'concept': 'common name'}, 'position held', 'Mayor of London']
SELECT DISTINCT ?f WHERE { VALUES ( ?x ) { ( resource:Governing_Mayor_of_Berlin ) ( resource:Mayor_of_the_District_of_Columbia ) } . ?f property:position_held ?x }
[]
common name
Q2567 Q2514 Q180589
SYSTEM
Richard von Weizsäcker, Willy Brandt, Boris Johnson
Q215756 Q650878 Q2514 Q102844 Q2567 Q8863 Q6129370 Q7965706 Q8020477 Q5218541 Q1707863 Q3068781 Q6260118 Q7357940 Q7456535 Q7412280 Q6283329 Q2109934 Q6134322 Q6262740 Q4888689 Q7329785 Q7342338 Q3430687 Q2370227 Q8004822 Q7429254 Q6290466 Q938243 Q8003910 Q935067 Q8005415 Q7788219 Q6790546 Q7174033 Q15485598 Q6135084 Q6938597 Q372911 Q15460404 Q16030669 Q7965440 Q180589 Q220723 Q334155 Q18530507 Q27171252
(c(Q502895),P39,Q641159) (c(Q502895),P39,Q5190572) (c(Q502895),P39,Q38931)
action union
action filter_type
action find_reverse
entity Q641159
relation P39
type Q502895
action filter_type
action find_reverse
entity Q5190572
relation P39
type Q502895
action filter_type
action find_reverse
entity Q38931
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of Governing Mayor of Berlin, Mayor of the District of Columbia and Mayor of London
[{'concept': 'Q502895'}, 'P39', 'Q641159'] [{'concept': 'Q502895'}, 'P39', 'Q5190572'] [{'concept': 'Q502895'}, 'P39', 'Q38931']
SELECT DISTINCT ?f WHERE { VALUES ( ?x ) { ( resource:Q641159 ) ( resource:Q5190572 ) } . ?f property:P39 ?x }
Klaus Schütz Otto Suhr Willy Brandt Michael Müller Richard von Weizsäcker Klaus Wowereit James Barker Edmonds Walter Nathan Tobriner William Winston Seaton Daniel Rapine Joseph R. West Vincent C. Gray John T. Towers Roger C. Weightman Seth Ledyard Phelps Samuel Nicholas Smallwood Joseph Gales Sharon Pratt Kelly James G. Berret John Walker Maury Benjamin G. Orr Richard Wallach Robert Brent Anthony A. Williams John Peter Van Ness William B. Magruder Sayles Jenks Bowen Josiah Dent Marion Barry William A. Bradley Walter Washington William Benning Webb Thomas Carbery Matthew Gault Emery Peter Force Louis Brownlow James H. Blake Muriel Bowser Adrian Fenty Henry D. Cooke John Wesley Ross Walter Lenox Boris Johnson Ken Livingstone Sadiq Khan Nicholas Twyford William Eastfield
Richard von Weizsäcker, Willy Brandt and Boris Johnson were responsible for occupying the position of Governing Mayor of Berlin, Mayor of the District of Columbia and Mayor of London
Richard von Weizsäcker Willy Brandt Boris Johnson
action union
action filter_type
action find_reverse
entity Governing Mayor of Berlin
relation position held
type common name
action filter_type
action find_reverse
entity Mayor of the District of Columbia
relation position held
type common name
action filter_type
action find_reverse
entity Mayor of London
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Governing Mayor of Berlin'] [{'concept': 'common name'}, 'position held', 'Mayor of the District of Columbia'] [{'concept': 'common name'}, 'position held', 'Mayor of London']
SELECT DISTINCT ?f WHERE { VALUES ( ?x ) { ( resource:Governing_Mayor_of_Berlin ) ( resource:Mayor_of_the_District_of_Columbia ) } . ?f property:position_held ?x }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2567 Q2514 Q180589
P39
Q12737077
USER
Which occupations were the positions occupied by Richard von Weizsäcker, Willy Brandt and Boris Johnson ?
(Q2567,P39,c(Q12737077)) (Q2514,P39,c(Q12737077)) (Q180589,P39,c(Q12737077))
action union
action filter_type
action find
entity Q2567
relation P39
type Q12737077
action filter_type
action find
entity Q2514
relation P39
type Q12737077
action filter_type
action find
entity Q180589
relation P39
type Q12737077
['Q2567', 'P39', {'concept': 'Q12737077'}] ['Q2514', 'P39', {'concept': 'Q12737077'}] ['Q180589', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q2567 ) ( resource:Q2514 ) } . ?b property:P39 ?j }
Richard von Weizsäcker Willy Brandt Boris Johnson
action union
action filter_type
action find
entity Richard von Weizsäcker
relation position held
type occupation
action filter_type
action find
entity Willy Brandt
relation position held
type occupation
action filter_type
action find
entity Boris Johnson
relation position held
type occupation
['Richard von Weizsäcker', 'position held', {'concept': 'occupation'}] ['Willy Brandt', 'position held', {'concept': 'occupation'}] ['Boris Johnson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Richard_von_Weizsäcker ) ( resource:Willy_Brandt ) } . ?b property:position_held ?j }
[]
occupation
Q4970706 Q1371091 Q1939555
SYSTEM
Federal Chancellor of Germany, Secretary of State for Foreign and Commonwealth Affairs, member of the German Bundestag
Q25223 Q641159 Q18327335 Q1939555 Q2006176 Q4970706 Q504272 Q641159 Q27169 Q1939555 Q248352 Q363637 Q18327335 Q1371091 Q16707842 Q38931
(Q2567,P39,c(Q12737077)) (Q2514,P39,c(Q12737077)) (Q180589,P39,c(Q12737077))
action union
action filter_type
action find
entity Q2567
relation P39
type Q12737077
action filter_type
action find
entity Q2514
relation P39
type Q12737077
action filter_type
action find
entity Q180589
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Richard von Weizsäcker, Willy Brandt and Boris Johnson
['Q2567', 'P39', {'concept': 'Q12737077'}] ['Q2514', 'P39', {'concept': 'Q12737077'}] ['Q180589', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Q2567 ) ( resource:Q2514 ) } . ?b property:P39 ?j }
President of Germany Governing Mayor of Berlin Member of the Abgeordnetenhaus of Berlin member of the German Bundestag Minister for Foreign Affairs Federal Chancellor of Germany Vice-Chancellor of Germany Governing Mayor of Berlin member of the European Parliament member of the German Bundestag Bundesminister President of the Bundesrat of Germany Member of the Abgeordnetenhaus of Berlin Secretary of State for Foreign and Commonwealth Affairs Member of Parliament in the United Kingdom Mayor of London
Federal Chancellor of Germany, Secretary of State for Foreign and Commonwealth Affairs and member of the German Bundestag were the positions occupied by Richard von Weizsäcker, Willy Brandt and Boris Johnson
Federal Chancellor of Germany Secretary of State for Foreign and Commonwealth Affairs member of the German Bundestag
action union
action filter_type
action find
entity Richard von Weizsäcker
relation position held
type occupation
action filter_type
action find
entity Willy Brandt
relation position held
type occupation
action filter_type
action find
entity Boris Johnson
relation position held
type occupation
['Richard von Weizsäcker', 'position held', {'concept': 'occupation'}] ['Willy Brandt', 'position held', {'concept': 'occupation'}] ['Boris Johnson', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?b ) { ( resource:Richard_von_Weizsäcker ) ( resource:Willy_Brandt ) } . ?b property:position_held ?j }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1371091
P748
Q12737077
USER
Who was appointed by that one ?
(c(Q12737077),P748,Q1371091)
action filter_type
action find_reverse
entity Q1371091
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q1371091']
SELECT DISTINCT ?f WHERE { ?f property:P748 resource:Q1371091 . ?f rdf:type ontology:Q12737077 }
Secretary of State for Foreign and Commonwealth Affairs
action filter_type
action find_reverse
entity Secretary of State for Foreign and Commonwealth Affairs
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ?f WHERE { ?f property:appointed_by resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs . ?f rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1371091
SYSTEM
Did you mean Secretary of State for Foreign and Commonwealth Affairs ?
Q4970706 Q1371091 Q1939555
(c(Q12737077),P748,Q4970706) (c(Q12737077),P748,Q1371091) (c(Q12737077),P748,Q1939555)
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', 'Q4970706'] [{'concept': 'Q12737077'}, 'P748', 'Q1371091'] [{'concept': 'Q12737077'}, 'P748', 'Q1939555']
SELECT DISTINCT ?f WHERE { ?f property:P748 resource:Q1371091 . ?f rdf:type ontology:Q12737077 }
Federal Chancellor of Germany Secretary of State for Foreign and Commonwealth Affairs member of the German Bundestag
Did you mean Secretary of State for Foreign and Commonwealth Affairs ?
Secretary of State for Foreign and Commonwealth Affairs
[{'concept': 'occupation'}, 'appointed by', 'Federal Chancellor of Germany'] [{'concept': 'occupation'}, 'appointed by', 'Secretary of State for Foreign and Commonwealth Affairs'] [{'concept': 'occupation'}, 'appointed by', 'member of the German Bundestag']
SELECT DISTINCT ?f WHERE { ?f property:appointed_by resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q12737077),P748,Q1371091)
[{'concept': 'Q12737077'}, 'P748', 'Q1371091']
[{'concept': 'occupation'}, 'appointed by', 'Secretary of State for Foreign and Commonwealth Affairs']
[]
Q5097071
SYSTEM
Chief of the Secret Intelligence Service
Q5097071
(c(Q12737077),P748,Q1371091)
action filter_type
action find_reverse
entity Q1371091
relation P748
type Q12737077
The [ANSWER] was appointed by that one
[{'concept': 'Q12737077'}, 'P748', 'Q1371091']
SELECT DISTINCT ?f WHERE { ?f property:P748 resource:Q1371091 . ?f rdf:type ontology:Q12737077 }
Chief of the Secret Intelligence Service
The Chief of the Secret Intelligence Service was appointed by that one
Chief of the Secret Intelligence Service
action filter_type
action find_reverse
entity Secretary of State for Foreign and Commonwealth Affairs
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ?f WHERE { ?f property:appointed_by resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs . ?f rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1371091
P39
Q502895
USER
How many people held the position of Secretary of State for Foreign and Commonwealth Affairs ?
(c(Q502895),P39,Q1371091)
action count
action filter_type
action find_reverse
entity Q1371091
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1371091']
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:P39 resource:Q1371091 . ?s rdf:type ontology:Q502895 }
Secretary of State for Foreign and Commonwealth Affairs
action count
action filter_type
action find_reverse
entity Secretary of State for Foreign and Commonwealth Affairs
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:position_held resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
59
Q271878 Q180589 Q193656 Q9559 Q24631 Q244620 Q335316 Q301252 Q333085 Q128976 Q272670 Q333091 Q208665 Q334108 Q336036 Q128985 Q157259 Q335205 Q333080 Q232639 Q335038 Q321003 Q19008 Q333011 Q131691 Q335187 Q333050 Q334053 Q332759 Q24530 Q334073 Q332789 Q335342 Q311278 Q311214 Q332654 Q332650 Q335305 Q335305 Q333773 Q294662 Q333744 Q333745 Q333487 Q332987 Q332365 Q9576 Q188999 Q333426 Q333429 Q58282 Q332323 Q166646 Q333862 Q182035 Q438131 Q219731 Q337386 Q337375
(c(Q502895),P39,Q1371091)
action count
action filter_type
action find_reverse
entity Q1371091
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q1371091']
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:P39 resource:Q1371091 . ?s rdf:type ontology:Q502895 }
George Curzon, 1st Marquess Curzon of Kedleston Boris Johnson Henry Temple, 3rd Viscount Palmerston John Major George Hamilton-Gordon, 4th Earl of Aberdeen Archibald Primrose, 5th Earl of Rosebery Henry Bathurst, 3rd Earl Bathurst Anthony Crosland David Owen Alec Douglas-Home David Miliband John Simon, 1st Viscount Simon Arthur Henderson John Ward, 1st Earl of Dudley Rufus Isaacs, 1st Marquess of Reading Harold Macmillan John Russell, 1st Earl Russell Richard Wellesley, 1st Marquess Wellesley Selwyn Lloyd Margaret Beckett Peter Carington, 6th Baron Carrington James Harris Arthur Balfour Dudley Ryder, 1st Earl of Harrowby Arthur Wellesley, 1st Duke of Wellington Edward Grey, 1st Viscount Grey of Fallodon Robert Stewart, Viscount Castlereagh Granville Leveson-Gower, 2nd Earl Granville Francis Pym, Baron Pym Thomas Robinson, 2nd Baron Grantham George Brown, Baron George-Brown Edward Stanley, 15th Earl of Derby John Wodehouse, 1st Earl of Kimberley Jack Straw Robin Cook Henry Phipps, 1st Earl of Mulgrave Stafford Northcote, 1st Earl of Iddesleigh George Villiers, 4th Earl of Clarendon George Villiers, 4th Earl of Clarendon Michael Stewart, Baron Stewart of Fulham Charles Grey, 2nd Earl Grey George Nugent-Temple-Grenville, 1st Marquess of Buckingham Patrick Gordon Walker Malcolm Rifkind Philip Hammond Ernest Bevin James Callaghan Austen Chamberlain E. F. L. Wood, 1st Earl of Halifax Samuel Hoare, 1st Viscount Templewood William Hague Geoffrey Howe Ramsay MacDonald Francis Osborne, 5th Duke of Leeds Rab Butler Charles James Fox George Canning Henry Petty-Fitzmaurice, 5th Marquess of Lansdowne Douglas Hurd
59
action count
action filter_type
action find_reverse
entity Secretary of State for Foreign and Commonwealth Affairs
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for Foreign and Commonwealth Affairs']
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:position_held resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1371091
P748
Q502895
USER
Who appointed that occupation ?
action filter_type
action find
entity Q1371091
relation P748
type Q502895
SELECT DISTINCT ?l WHERE { resource:Q1371091 property:P748 ?l . ?l rdf:type ontology:Q502895 }
Secretary of State for Foreign and Commonwealth Affairs
action filter_type
action find
entity Secretary of State for Foreign and Commonwealth Affairs
relation appointed by
type common name
SELECT DISTINCT ?l WHERE { resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs property:appointed_by ?l . ?l rdf:type ontology:common_name }
[]
common name
Q9682
SYSTEM
Elizabeth II
Q9682
action filter_type
action find
entity Q1371091
relation P748
type Q502895
[ANSWER] appointed that occupation
SELECT DISTINCT ?l WHERE { resource:Q1371091 property:P748 ?l . ?l rdf:type ontology:Q502895 }
Elizabeth II
Elizabeth II appointed that occupation
Elizabeth II
action filter_type
action find
entity Secretary of State for Foreign and Commonwealth Affairs
relation appointed by
type common name
SELECT DISTINCT ?l WHERE { resource:Secretary_of_State_for_Foreign_and_Commonwealth_Affairs property:appointed_by ?l . ?l rdf:type ontology:common_name }
[]