Simple Question (Direct)
Simple Question
Q19283476
P170
Q502895
USER
Who is the creator of View of Paris from Père la Chaise. ?
(Q19283476,P170,c(Q502895))
action filter_type
action find
entity Q19283476
relation P170
type Q502895
['Q19283476', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19283476 property:P170 ?z . ?z rdf:type ontology:Q502895 }
View of Paris from Père la Chaise.
action filter_type
action find
entity View of Paris from Père la Chaise.
relation creator
type common name
['View of Paris from Père la Chaise.', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:View_of_Paris_from_Père_la_Chaise. property:creator ?z . ?z rdf:type ontology:common_name }
[]
common name
Q159758
SYSTEM
J. M. W. Turner
Q159758
(Q19283476,P170,c(Q502895))
action filter_type
action find
entity Q19283476
relation P170
type Q502895
[ANSWER] . the creator of View of Paris from Père la Chaise is
['Q19283476', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q19283476 property:P170 ?z . ?z rdf:type ontology:Q502895 }
J. M. W. Turner
J. M. W. Turner . the creator of View of Paris from Père la Chaise is
J. M. W. Turner
action filter_type
action find
entity View of Paris from Père la Chaise.
relation creator
type common name
['View of Paris from Père la Chaise.', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:View_of_Paris_from_Père_la_Chaise. property:creator ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159758
P50
Q2342494
USER
Which collectable was written by that person ?
(c(Q2342494),P50,Q159758)
action filter_type
action find_reverse
entity Q159758
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q159758']
SELECT DISTINCT ?o WHERE { ?o property:P50 resource:Q159758 . ?o rdf:type ontology:Q2342494 }
J. M. W. Turner
action filter_type
action find_reverse
entity J. M. W. Turner
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'J. M. W. Turner']
SELECT DISTINCT ?o WHERE { ?o property:author resource:J._M._W._Turner . ?o rdf:type ontology:collectable }
[]
collectable
Q27244059
SYSTEM
Picturesque Views in England and Wales
Q27244059
(c(Q2342494),P50,Q159758)
action filter_type
action find_reverse
entity Q159758
relation P50
type Q2342494
[ANSWER] was written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q159758']
SELECT DISTINCT ?o WHERE { ?o property:P50 resource:Q159758 . ?o rdf:type ontology:Q2342494 }
Picturesque Views in England and Wales
Picturesque Views in England and Wales was written by that person
Picturesque Views in England and Wales
action filter_type
action find_reverse
entity J. M. W. Turner
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'J. M. W. Turner']
SELECT DISTINCT ?o WHERE { ?o property:author resource:J._M._W._Turner . ?o rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159758
P1066
Q502895
USER
Who taught J. M. W. Turner ?
(Q159758,P1066,c(Q502895))
action filter_type
action find
entity Q159758
relation P1066
type Q502895
['Q159758', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q159758 property:P1066 ?t . ?t rdf:type ontology:Q502895 }
J. M. W. Turner
action filter_type
action find
entity J. M. W. Turner
relation student of
type common name
['J. M. W. Turner', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:J._M._W._Turner property:student_of ?t . ?t rdf:type ontology:common_name }
[]
common name
Q194402 Q4301086
SYSTEM
Joshua Reynolds, Thomas Malton
Q194402 Q4301086
(Q159758,P1066,c(Q502895))
action filter_type
action find
entity Q159758
relation P1066
type Q502895
[ANSWERS] taught J. M. W. Turner
['Q159758', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q159758 property:P1066 ?t . ?t rdf:type ontology:Q502895 }
Joshua Reynolds Thomas Malton
Joshua Reynolds and Thomas Malton taught J. M. W. Turner
Joshua Reynolds Thomas Malton
action filter_type
action find
entity J. M. W. Turner
relation student of
type common name
['J. M. W. Turner', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:J._M._W._Turner property:student_of ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159758
P27
Q7275
USER
Which states do J. M. W. Turner belong to ?
(Q159758,P27,c(Q7275))
action filter_type
action find
entity Q159758
relation P27
type Q7275
['Q159758', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q159758 property:P27 ?h . ?h rdf:type ontology:Q7275 }
J. M. W. Turner
action filter_type
action find
entity J. M. W. Turner
relation country of citizenship
type state
['J. M. W. Turner', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:J._M._W._Turner property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
state
Q161885 Q174193
SYSTEM
Kingdom of Great Britain, United Kingdom of Great Britain and Ireland
Q161885 Q174193
(Q159758,P27,c(Q7275))
action filter_type
action find
entity Q159758
relation P27
type Q7275
J. M. W. Turner belong to United [ANSWERS]
['Q159758', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q159758 property:P27 ?h . ?h rdf:type ontology:Q7275 }
Kingdom of Great Britain United Kingdom of Great Britain and Ireland
J. M. W. Turner belong to United Kingdom of Great Britain and United Kingdom of Great Britain and Ireland
Kingdom of Great Britain United Kingdom of Great Britain and Ireland
action filter_type
action find
entity J. M. W. Turner
relation country of citizenship
type state
['J. M. W. Turner', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:J._M._W._Turner property:country_of_citizenship ?h . ?h rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q161885 Q174193
P1001
Q12737077
USER
Which occupations apply to jurisdiction over those states ?
(c(Q12737077),P1001,Q161885) (c(Q12737077),P1001,Q174193)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q161885'] [{'concept': 'Q12737077'}, 'P1001', 'Q174193']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P1001 ?e . VALUES ( ?e ) { ( resource:Q161885 ) ( resource:Q174193 ) } }
Kingdom of Great Britain United Kingdom of Great Britain and Ireland
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of Great Britain'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'United Kingdom of Great Britain and Ireland']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?h property:applies_to_jurisdiction ?e . VALUES ( ?e ) { ( resource:Kingdom_of_Great_Britain ) ( resource:United_Kingdom_of_Great_Britain_and_Ireland ) } }
[]
occupation
Q622568 Q2519998 Q1752225
SYSTEM
Secretary of State for War, Secretary of State for the Colonies, Lord Lieutenant of Ireland
Q3954358 Q622568 Q3954357 Q5131882 Q18015642 Q2519998 Q639769 Q1546682 Q5131882 Q1752225
(c(Q12737077),P1001,Q161885) (c(Q12737077),P1001,Q174193)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
The [ANSWERS] apply to jurisdiction over those states
[{'concept': 'Q12737077'}, 'P1001', 'Q161885'] [{'concept': 'Q12737077'}, 'P1001', 'Q174193']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . ?h property:P1001 ?e . VALUES ( ?e ) { ( resource:Q161885 ) ( resource:Q174193 ) } }
Secretary of State for the Northern Department Secretary of State for War Secretary of State for the Southern Department Clerk of the Signet Member of Parliament in the Parliament of Great Britain Secretary of State for the Colonies Secretary of State for India Secretary of State for War and the Colonies Clerk of the Signet Lord Lieutenant of Ireland
The Secretary of State for War, Secretary of State for the Colonies and Lord Lieutenant of Ireland apply to jurisdiction over those states
Secretary of State for War Secretary of State for the Colonies Lord Lieutenant of Ireland
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of Great Britain'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'United Kingdom of Great Britain and Ireland']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . ?h property:applies_to_jurisdiction ?e . VALUES ( ?e ) { ( resource:Kingdom_of_Great_Britain ) ( resource:United_Kingdom_of_Great_Britain_and_Ireland ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q622568 Q2519998 Q1752225
P39
Q502895
USER
Which people held the position of Secretary of State for War, Secretary of State for the Colonies and Lord Lieutenant of Ireland ?
(c(Q502895),P39,Q622568) (c(Q502895),P39,Q2519998) (c(Q502895),P39,Q1752225)
action union
action filter_type
action find_reverse
entity Q622568
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2519998
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1752225
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q622568'] [{'concept': 'Q502895'}, 'P39', 'Q2519998'] [{'concept': 'Q502895'}, 'P39', 'Q1752225']
SELECT DISTINCT ?z WHERE { ?z property:P39 ?j . VALUES ( ?j ) { ( resource:Q622568 ) ( resource:Q2519998 ) } }
Secretary of State for War Secretary of State for the Colonies Lord Lieutenant of Ireland
action union
action filter_type
action find_reverse
entity Secretary of State for War
relation position held
type common name
action filter_type
action find_reverse
entity Secretary of State for the Colonies
relation position held
type common name
action filter_type
action find_reverse
entity Lord Lieutenant of Ireland
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for War'] [{'concept': 'common name'}, 'position held', 'Secretary of State for the Colonies'] [{'concept': 'common name'}, 'position held', 'Lord Lieutenant of Ireland']
SELECT DISTINCT ?z WHERE { ?z property:position_held ?j . VALUES ( ?j ) { ( resource:Secretary_of_State_for_War ) ( resource:Secretary_of_State_for_the_Colonies ) } }
[]
common name
Q8016 Q8016 Q157259
SYSTEM
John Russell, 1st Earl Russell for 3rd, Winston Churchill for 1st, 2nd
Q1217502 Q8016 Q166714 Q356361 Q222458 Q336050 Q332706 Q122522 Q334078 Q335324 Q106618 Q333582 Q332347 Q134982 Q333426 Q337595 Q216129 Q6105456 Q337386 Q333339 Q203129 Q8016 Q336771 Q5991023 Q338294 Q4020235 Q318462 Q335845 Q157259 Q356361 Q222458 Q333182 Q332442 Q315999 Q333573 Q3568789 Q2295962 Q333834 Q5790068 Q166663 Q337595 Q5498258 Q332806 Q333275 Q333355 Q8020938 Q3760457 Q4247435 Q3828136 Q337676 Q335845 Q338153 Q335205 Q8018720 Q1395992 Q335817 Q335274 Q25690 Q332487 Q335133 Q335513 Q337505 Q151352 Q5342752 Q38308 Q610327 Q335305 Q597848 Q7518918 Q5957206 Q335406 Q333744 Q17322488 Q335388 Q3760605 Q336529 Q4786454 Q3827905 Q5790337 Q333418 Q336421 Q2079517 Q561173 Q335394 Q5359607 Q333281 Q5949661 Q6253138
(c(Q502895),P39,Q622568) (c(Q502895),P39,Q2519998) (c(Q502895),P39,Q1752225)
action union
action filter_type
action find_reverse
entity Q622568
relation P39
type Q502895
action filter_type
action find_reverse
entity Q2519998
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1752225
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q622568'] [{'concept': 'Q502895'}, 'P39', 'Q2519998'] [{'concept': 'Q502895'}, 'P39', 'Q1752225']
SELECT DISTINCT ?z WHERE { ?z property:P39 ?j . VALUES ( ?j ) { ( resource:Q622568 ) ( resource:Q2519998 ) } }
Hugh Childers Winston Churchill H. H. Asquith Alfred Milner, 1st Viscount Milner Frederick Stanley, 16th Earl of Derby Christopher Soames Douglas Hogg, 1st Viscount Hailsham Leslie Hore-Belisha, 1st Baron Hore-Belisha Richard Haldane, 1st Viscount Haldane Duff Cooper Henry Campbell-Bannerman Manny Shinwell, Baron Shinwell John Profumo David Lloyd George E. F. L. Wood, 1st Earl of Halifax Sidney Herbert, 1st Baron Herbert of Lea Herbert Kitchener, 1st Earl Kitchener John Seely, 1st Baron Mottistone Henry Petty-Fitzmaurice, 5th Marquess of Lansdowne John Pakington, 1st Baron Hampton Duncan Sandys Winston Churchill Victor Bruce Sir William Molesworth, 8th Baronet James Henry Thomas Wills Hill, 1st Marquess of Downshire Edward Bulwer-Lytton Henry Herbert, 4th Earl of Carnarvon John Russell, 1st Earl Russell Alfred Milner, 1st Viscount Milner Frederick Stanley, 16th Earl of Derby Iain Macleod Sidney Webb Joseph Chamberlain Leo Amery William Legge, 2nd Earl of Dartmouth Frank Pakenham, 7th Earl of Longford Jim Griffiths Lewis Vernon Harcourt, 1st Viscount Harcourt Bonar Law Sidney Herbert, 1st Baron Herbert of Lea Frederick Lee, Baron Lee of Newton George Germain, 1st Viscount Sackville Reginald Maudling John Spencer-Churchill, 7th Duke of Marlborough William à Court, 1st Baron Heytesbury George Cadogan, 5th Earl Cadogan Francis Cowper, 7th Earl Cowper Lawrence Dundas, 1st Marquess of Zetland Thomas de Grey, 2nd Earl de Grey Henry Herbert, 4th Earl of Carnarvon Constantine Phipps, 1st Marquess of Normanby Richard Wellesley, 1st Marquess Wellesley William Stanhope, 1st Earl of Harrington John Lambert Charles Talbot, 1st Duke of Shrewsbury John Carteret, 2nd Earl Granville John Russell, 6th Duke of Bedford Philip Stanhope, 4th Earl of Chesterfield Henry Paget, 1st Marquess of Anglesey James Hamilton, 1st Duke of Abercorn Lionel Sackville, 1st Duke of Dorset Hugh Percy, 3rd Duke of Northumberland Edward Eliot, 3rd Earl of St Germans Thomas Thynne, 1st Marquess of Bath James Butler, 2nd Duke of Ormonde George Villiers, 4th Earl of Clarendon Edmund FitzAlan-Howard, 1st Viscount FitzAlan of Derwent Simon Harcourt, 1st Earl Harcourt Thomas Hamilton, 9th Earl of Haddington John Russell, 4th Duke of Bedford George Nugent-Temple-Grenville, 1st Marquess of Buckingham Ivor Guest, 1st Viscount Wimborne William Ward, 2nd Earl of Dudley George Montagu-Dunk, 2nd Earl of Halifax Charles Townshend, 2nd Viscount Townshend Archibald Montgomerie, 13th Earl of Eglinton Laurence Hyde, 1st Earl of Rochester Philip Yorke, 3rd Earl of Hardwicke John Pratt, 1st Marquess Camden Robert Crewe-Milnes, 1st Marquess of Crewe George Howard, 7th Earl of Carlisle John Talbot, 1st Earl of Shrewsbury Charles Lennox, 4th Duke of Richmond Hugh Fortescue, 2nd Earl Fortescue John Spencer, 5th Earl Spencer John Fane, 10th Earl of Westmorland John Ponsonby, 4th Earl of Bessborough
Winston Churchill, Winston Churchill and John Russell, 1st Earl Russell held the position of Secretary of State for War, Secretary of State for the Colonies and Lord Lieutenant of Ireland
Winston Churchill Winston Churchill John Russell, 1st Earl Russell
action union
action filter_type
action find_reverse
entity Secretary of State for War
relation position held
type common name
action filter_type
action find_reverse
entity Secretary of State for the Colonies
relation position held
type common name
action filter_type
action find_reverse
entity Lord Lieutenant of Ireland
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Secretary of State for War'] [{'concept': 'common name'}, 'position held', 'Secretary of State for the Colonies'] [{'concept': 'common name'}, 'position held', 'Lord Lieutenant of Ireland']
SELECT DISTINCT ?z WHERE { ?z property:position_held ?j . VALUES ( ?j ) { ( resource:Secretary_of_State_for_War ) ( resource:Secretary_of_State_for_the_Colonies ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174193
P85
Q7725634
USER
Which is the national anthem of United Kingdom of Great Britain and Ireland ?
(Q174193,P85,c(Q7725634))
action filter_type
action find
entity Q174193
relation P85
type Q7725634
['Q174193', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?o WHERE { resource:Q174193 property:P85 ?o . ?o rdf:type ontology:Q7725634 }
United Kingdom of Great Britain and Ireland
action filter_type
action find
entity United Kingdom of Great Britain and Ireland
relation anthem
type literary work
['United Kingdom of Great Britain and Ireland', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?o WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:anthem ?o . ?o rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q174193,P85,c(Q7725634))
action filter_type
action find
entity Q174193
relation P85
type Q7725634
The national anthem of United Kingdom of Great Britain and Ireland is [ANSWER]
['Q174193', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?o WHERE { resource:Q174193 property:P85 ?o . ?o rdf:type ontology:Q7725634 }
God Save the Queen
The national anthem of United Kingdom of Great Britain and Ireland is God Save the Queen
God Save the Queen
action filter_type
action find
entity United Kingdom of Great Britain and Ireland
relation anthem
type literary work
['United Kingdom of Great Britain and Ireland', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?o WHERE { resource:United_Kingdom_of_Great_Britain_and_Ireland property:anthem ?o . ?o rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8016
P466
Q3947
USER
Which house is inhabited by Winston Churchill ?
(c(Q3947),P466,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P466
type Q3947
[{'concept': 'Q3947'}, 'P466', 'Q8016']
SELECT DISTINCT ?c WHERE { ?c property:P466 resource:Q8016 . ?c rdf:type ontology:Q3947 }
Winston Churchill
action filter_type
action find_reverse
entity Winston Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Winston Churchill']
SELECT DISTINCT ?c WHERE { ?c property:occupant resource:Winston_Churchill . ?c rdf:type ontology:house }
[]
house
Q1067909
SYSTEM
Chartwell
Q1067909
(c(Q3947),P466,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P466
type Q3947
The [ANSWER] is inhabited by Winston Churchill
[{'concept': 'Q3947'}, 'P466', 'Q8016']
SELECT DISTINCT ?c WHERE { ?c property:P466 resource:Q8016 . ?c rdf:type ontology:Q3947 }
Chartwell
The Chartwell is inhabited by Winston Churchill
Chartwell
action filter_type
action find_reverse
entity Winston Churchill
relation occupant
type house
[{'concept': 'house'}, 'occupant', 'Winston Churchill']
SELECT DISTINCT ?c WHERE { ?c property:occupant resource:Winston_Churchill . ?c rdf:type ontology:house }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194402
P40
Q502895
USER
Whose child is Joshua Reynolds ?
(c(Q502895),P40,Q194402)
action filter_type
action find_reverse
entity Q194402
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q194402']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 resource:Q194402 }
Joshua Reynolds
action filter_type
action find_reverse
entity Joshua Reynolds
relation child
type common name
[{'concept': 'common name'}, 'child', 'Joshua Reynolds']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child resource:Joshua_Reynolds }
[]
common name
Q22998107
SYSTEM
Samuel Reynolds
Q22998107
(c(Q502895),P40,Q194402)
action filter_type
action find_reverse
entity Q194402
relation P40
type Q502895
[ANSWER] is Joshua Reynolds
[{'concept': 'Q502895'}, 'P40', 'Q194402']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 resource:Q194402 }
Samuel Reynolds
Samuel Reynolds is Joshua Reynolds
Samuel Reynolds
action filter_type
action find_reverse
entity Joshua Reynolds
relation child
type common name
[{'concept': 'common name'}, 'child', 'Joshua Reynolds']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child resource:Joshua_Reynolds }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22998107
P21
Q290
USER
What is the sex of that person ?
(Q22998107,P21,c(Q290))
action filter_type
action find
entity Q22998107
relation P21
type Q290
['Q22998107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q22998107 property:P21 ?r . ?r rdf:type ontology:Q290 }
Samuel Reynolds
action filter_type
action find
entity Samuel Reynolds
relation gender
type sex
['Samuel Reynolds', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Samuel_Reynolds property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22998107,P21,c(Q290))
action filter_type
action find
entity Q22998107
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q22998107', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q22998107 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Samuel Reynolds
relation gender
type sex
['Samuel Reynolds', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Samuel_Reynolds property:gender ?r . ?r rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q769782
P1376
Q7275 Q20667921 Q486972
USER
How many states have more number of french administrative divisions and human settlements as their capital than Kingdom of Powys ?
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q769782
relation P1376
type Q20667921
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P1376 ?h . ?h rdf:type ontology:Q7275 . ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q486972 . ?h rdf:type ontology:Q7275 . ?v property:P1376 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:Q20667921 } UNION { ?z rdf:type ontology:Q486972 } } . ?z property:P1376 resource:Q769782 } } . FILTER ( ?c > ?s ) }
Kingdom of Powys
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kingdom of Powys
relation capital of
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:capital_of ?h . ?h rdf:type ontology:state . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:human_settlement . ?h rdf:type ontology:state . ?v property:capital_of ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:type_of_french_administrative_division } UNION { ?z rdf:type ontology:human_settlement } } . ?z property:capital_of resource:Kingdom_of_Powys } } . FILTER ( ?c > ?s ) }
[]
state type of french administrative division human settlement
SYSTEM
12
Q3456417 Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q842091 Q112558 Q487829
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q769782
relation P1376
type Q20667921
type Q486972
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:P1376 ?h . ?h rdf:type ontology:Q7275 . ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q486972 . ?h rdf:type ontology:Q7275 . ?v property:P1376 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:Q20667921 } UNION { ?z rdf:type ontology:Q486972 } } . ?z property:P1376 resource:Q769782 } } . FILTER ( ?c > ?s ) }
Republic of Saint-Malo Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Duchy of Normandy Republic of Saugeais Chagatai Khanate
12
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kingdom of Powys
relation capital of
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?c ) WHERE { { ?v property:capital_of ?h . ?h rdf:type ontology:state . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:human_settlement . ?h rdf:type ontology:state . ?v property:capital_of ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { { ?z rdf:type ontology:type_of_french_administrative_division } UNION { ?z rdf:type ontology:human_settlement } } . ?z property:capital_of resource:Kingdom_of_Powys } } . FILTER ( ?c > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1164500
P1376
Q7275 Q20667921 Q486972
USER
And how about Kingdom of Murcia?
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1164500
relation P1376
type Q20667921
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P1376 ?b . ?m rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q7275 } UNION { ?m property:P1376 ?b . ?m rdf:type ontology:Q486972 . ?b rdf:type ontology:Q7275 } } GROUP BY ?b } . FILTER ( ?r > ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1376 resource:Q1164500 . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } } } }
Kingdom of Murcia
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kingdom of Murcia
relation capital of
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:capital_of ?b . ?m rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:state } UNION { ?m property:capital_of ?b . ?m rdf:type ontology:human_settlement . ?b rdf:type ontology:state } } GROUP BY ?b } . FILTER ( ?r > ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:capital_of resource:Kingdom_of_Murcia . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } } } }
[]
state type of french administrative division human settlement
SYSTEM
12
Q3456417 Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q842091 Q112558 Q487829
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q1164500
relation P1376
type Q20667921
type Q486972
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:P1376 ?b . ?m rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q7275 } UNION { ?m property:P1376 ?b . ?m rdf:type ontology:Q486972 . ?b rdf:type ontology:Q7275 } } GROUP BY ?b } . FILTER ( ?r > ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P1376 resource:Q1164500 . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } } } }
Republic of Saint-Malo Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Duchy of Normandy Republic of Saugeais Chagatai Khanate
12
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
action count
action filter_multi_types
action find_reverse
entity Kingdom of Murcia
relation capital of
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?r ) WHERE { { ?m property:capital_of ?b . ?m rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:state } UNION { ?m property:capital_of ?b . ?m rdf:type ontology:human_settlement . ?b rdf:type ontology:state } } GROUP BY ?b } . FILTER ( ?r > ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:capital_of resource:Kingdom_of_Murcia . { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12557
P194
Q1752346 Q11204 Q7275
USER
How many states have approximately the same number of assemblies or legislatures as their representative body as Mongol Empire ?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q12557
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?e rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } . resource:Q12557 property:P194 ?j } } . FILTER ( ?d = ?p ) }
Mongol Empire
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Mongol Empire
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?h WHERE { VALUES ( ?r ) { ( ontology:assembly ) ( ontology:legislature ) } . ?e rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:legislature ) ( ontology:assembly ) } } . resource:Mongol_Empire property:legislative_body ?j } } . FILTER ( ?d = ?p ) }
[]
assembly legislature state
SYSTEM
42
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q12557
relation P194
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?h WHERE { VALUES ( ?r ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?e rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } . resource:Q12557 property:P194 ?j } } . FILTER ( ?d = ?p ) }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
42
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Mongol Empire
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?h WHERE { VALUES ( ?r ) { ( ontology:assembly ) ( ontology:legislature ) } . ?e rdf:type ?r } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { ?j rdf:type ?w . VALUES ( ?w ) { ( ontology:legislature ) ( ontology:assembly ) } } . resource:Mongol_Empire property:legislative_body ?j } } . FILTER ( ?d = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q203493
P194
Q1752346 Q11204 Q7275
USER
And how about Kingdom of Romania?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q203493
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { { ?z rdf:type ontology:Q11204 } UNION { ?z rdf:type ontology:Q1752346 } } . resource:Q203493 property:P194 ?z } } . FILTER ( ?p = ?u ) }
Kingdom of Romania
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Kingdom of Romania
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { { ?z rdf:type ontology:legislature } UNION { ?z rdf:type ontology:assembly } } . resource:Kingdom_of_Romania property:legislative_body ?z } } . FILTER ( ?p = ?u ) }
[]
assembly legislature state
SYSTEM
65
Q241748 Q774783 Q105092 Q70802 Q842931 Q152115 Q121932 Q7318 Q18285930 Q179876 Q207162 Q25279 Q174193 Q233263 Q330988 Q27306 Q533558 Q1044536 Q21203 Q215530 Q488521 Q161885 Q328818 Q2638486 Q171150 Q1789596 Q203493 Q147909 Q980 Q58202 Q150981 Q518101 Q16410 Q1062422 Q15864 Q844250 Q303421 Q2396442 Q178038 Q386496 Q71092 Q217230 Q170072 Q146328 Q58296 Q371334 Q156038 Q824489 Q7314513 Q1140152 Q615902 Q1077630 Q491559 Q154195 Q368986 Q285658 Q156020 Q497777 Q12548 Q7314469 Q26273 Q1054184 Q487687 Q161036 Q41304
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q203493
relation P194
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { { ?z rdf:type ontology:Q11204 } UNION { ?z rdf:type ontology:Q1752346 } } . resource:Q203493 property:P194 ?z } } . FILTER ( ?p = ?u ) }
Kingdom of Serbia Sovereign Principality of the United Netherlands Kingdom of Mercia French Third Republic East Pakistan Duchy of Warsaw People's Republic of Bulgaria Nazi Germany German Empire of 1848/1849 Kingdom of England Bourbon Restoration Curaçao United Kingdom of Great Britain and Ireland Second Republic of South Korea Democratic Kampuchea Kingdom of Prussia Kingdom of Croatia-Slavonia Spain under the Restoration Aruba Kingdom of Ireland Fourth Republic of South Korea Kingdom of Great Britain Kingdom of Kent Kingdom of Cambodia Kingdom of Hungary Croatia in personal union with Hungary Kingdom of Romania Kingdom of Bulgaria Bavaria July Monarchy North German Confederation First Republic of Austria People's Republic of Hungary Konbaung Dynasty United Kingdom of the Netherlands Lordship of Ireland Kingdom of Galicia Kingdom of Galicia and Lodomeria Second Spanish Republic Kingdom of Montenegro Second French Empire Empire of Brazil Dutch Republic Commonwealth of the Philippines French Republic Second Mexican Empire Duchy of Courland and Semigallia Estado Novo Republic of South Carolina Irish Republic Kingdom of Finland Septinsular Republic First Republic of South Korea Kingdom of Bavaria Republic of Mississippi First Mexican Empire State of the Teutonic Order First Spanish Republic Holy Roman Empire Republic of Georgia Sint Maarten Khmer Republic Third Republic of South Korea Free State of Prussia Weimar Republic
65
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Kingdom of Romania
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?p ) WHERE { ?t rdf:type ?e . VALUES ( ?e ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { { ?z rdf:type ontology:legislature } UNION { ?z rdf:type ontology:assembly } } . resource:Kingdom_of_Romania property:legislative_body ?z } } . FILTER ( ?p = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q8016 Q4831013
P106
Q12737077
USER
How many occupations are the professions of Winston Churchill and Ayaz Amir ?
(Q8016,P106,c(Q12737077)) (Q4831013,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q8016
relation P106
type Q12737077
action filter_type
action find
entity Q4831013
relation P106
type Q12737077
['Q8016', 'P106', {'concept': 'Q12737077'}] ['Q4831013', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q4831013 property:P106 ?i . ?i rdf:type ontology:Q12737077 . resource:Q8016 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Winston Churchill Ayaz Amir
action count
action intersection
action filter_type
action find
entity Winston Churchill
relation occupation
type occupation
action filter_type
action find
entity Ayaz Amir
relation occupation
type occupation
['Winston Churchill', 'occupation', {'concept': 'occupation'}] ['Ayaz Amir', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Ayaz_Amir property:occupation ?i . ?i rdf:type ontology:occupation . resource:Winston_Churchill property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q1930187 Q82955
(Q8016,P106,c(Q12737077)) (Q4831013,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q8016
relation P106
type Q12737077
action filter_type
action find
entity Q4831013
relation P106
type Q12737077
[ANSWER]
['Q8016', 'P106', {'concept': 'Q12737077'}] ['Q4831013', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q4831013 property:P106 ?i . ?i rdf:type ontology:Q12737077 . resource:Q8016 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
journalist politician
2
action count
action intersection
action filter_type
action find
entity Winston Churchill
relation occupation
type occupation
action filter_type
action find
entity Ayaz Amir
relation occupation
type occupation
['Winston Churchill', 'occupation', {'concept': 'occupation'}] ['Ayaz Amir', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Ayaz_Amir property:occupation ?i . ?i rdf:type ontology:occupation . resource:Winston_Churchill property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8016
P138
Q79007
USER
Which street is named after Winston Churchill ?
(c(Q79007),P138,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q8016']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q8016 . ?c rdf:type ontology:Q79007 }
Winston Churchill
action filter_type
action find_reverse
entity Winston Churchill
relation named after
type street
[{'concept': 'street'}, 'named after', 'Winston Churchill']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Winston_Churchill . ?c rdf:type ontology:street }
[]
street
Q2873884
SYSTEM
avenue Winston-Churchill
Q2873884
(c(Q79007),P138,Q8016)
action filter_type
action find_reverse
entity Q8016
relation P138
type Q79007
[ANSWER] is named after Winston Churchill
[{'concept': 'Q79007'}, 'P138', 'Q8016']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q8016 . ?c rdf:type ontology:Q79007 }
avenue Winston-Churchill
Avenue Winston-Churchill is named after Winston Churchill
avenue Winston-Churchill
action filter_type
action find_reverse
entity Winston Churchill
relation named after
type street
[{'concept': 'street'}, 'named after', 'Winston Churchill']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Winston_Churchill . ?c rdf:type ontology:street }
[]