Simple Question (Direct)
Simple Question
Q15967749
P27
Q15617994
USER
Which administrative territory is Jean Joseph de Boissieu a civilian of ?
(Q15967749,P27,c(Q15617994))
action filter_type
action find
entity Q15967749
relation P27
type Q15617994
['Q15967749', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q15967749 property:P27 ?d }
Jean Joseph de Boissieu
action filter_type
action find
entity Jean Joseph de Boissieu
relation country of citizenship
type designation for an administrative territorial entity
['Jean Joseph de Boissieu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_Joseph_de_Boissieu property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q15967749,P27,c(Q15617994))
action filter_type
action find
entity Q15967749
relation P27
type Q15617994
[ANSWER] is Jean Joseph de Boissieu a civilian of
['Q15967749', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q15967749 property:P27 ?d }
France
France is Jean Joseph de Boissieu a civilian of
France
action filter_type
action find
entity Jean Joseph de Boissieu
relation country of citizenship
type designation for an administrative territorial entity
['Jean Joseph de Boissieu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jean_Joseph_de_Boissieu property:country_of_citizenship ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15967749
P97
Q4164871
USER
What was the noble title held by that person ?
(Q142,P97,c(Q4164871))
action filter_type
action find
entity Q15967749
relation P97
type Q4164871
['Q142', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?w WHERE { resource:Q15967749 property:P97 ?w . ?w rdf:type ontology:Q4164871 }
Jean Joseph de Boissieu
action filter_type
action find
entity Jean Joseph de Boissieu
relation noble title
type position
['France', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?w WHERE { resource:Jean_Joseph_de_Boissieu property:noble_title ?w . ?w rdf:type ontology:position }
[]
position
Q165503
SYSTEM
baron
Q165503
(Q142,P97,c(Q4164871))
action filter_type
action find
entity Q15967749
relation P97
type Q4164871
The noble title held by that person was a [ANSWER]
['Q142', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?w WHERE { resource:Q15967749 property:P97 ?w . ?w rdf:type ontology:Q4164871 }
baron
The noble title held by that person was a baron
baron
action filter_type
action find
entity Jean Joseph de Boissieu
relation noble title
type position
['France', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?w WHERE { resource:Jean_Joseph_de_Boissieu property:noble_title ?w . ?w rdf:type ontology:position }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15967749
P19
Q20667921
USER
How many french administrative divisions are the birthplace of Jean Joseph de Boissieu ?
(Q15967749,P19,c(Q20667921))
action count
action filter_type
action find
entity Q15967749
relation P19
type Q20667921
['Q15967749', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q15967749 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Jean Joseph de Boissieu
action count
action filter_type
action find
entity Jean Joseph de Boissieu
relation place of birth
type type of french administrative division
['Jean Joseph de Boissieu', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Jean_Joseph_de_Boissieu property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
1
Q207587
(Q15967749,P19,c(Q20667921))
action count
action filter_type
action find
entity Q15967749
relation P19
type Q20667921
[ANSWER]
['Q15967749', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Q15967749 property:P19 ?t . ?t rdf:type ontology:Q20667921 }
Rochefort
1
action count
action filter_type
action find
entity Jean Joseph de Boissieu
relation place of birth
type type of french administrative division
['Jean Joseph de Boissieu', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { resource:Jean_Joseph_de_Boissieu property:place_of_birth ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2959544
P135
Q151885
USER
Which concept was Charles Laffillé associated with ?
(Q2959544,P135,c(Q151885))
action filter_type
action find
entity Q2959544
relation P135
type Q151885
['Q2959544', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q2959544 property:P135 ?r . ?r rdf:type ontology:Q151885 }
Charles Laffillé
action filter_type
action find
entity Charles Laffillé
relation movement
type concept
['Charles Laffillé', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Laffillé property:movement ?r . ?r rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q2959544,P135,c(Q151885))
action filter_type
action find
entity Q2959544
relation P135
type Q151885
Charles Laffillé was associated with [ANSWER]
['Q2959544', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q2959544 property:P135 ?r . ?r rdf:type ontology:Q151885 }
classical music
Charles Laffillé was associated with classical music
classical music
action filter_type
action find
entity Charles Laffillé
relation movement
type concept
['Charles Laffillé', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Charles_Laffillé property:movement ?r . ?r rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q151885 Q21114848
USER
How many concepts are the fields of work of around the same number of magazine genres as that concept ?
(c(Q21114848),P101,c(Q151885))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action count
action filter_type
action find
entity Q9730
relation P101
type Q151885
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P101 ?x . ?s rdf:type ontology:Q21114848 . ?x rdf:type ontology:Q151885 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q9730 property:P101 ?c . ?c rdf:type ontology:Q151885 } } . FILTER ( ?j = ?u ) }
action count
action approx
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action count
action filter_type
action find
entity classical music
relation field of work
type concept
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:field_of_work ?x . ?s rdf:type ontology:magazine_genre . ?x rdf:type ontology:concept } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:classical_music property:field_of_work ?c . ?c rdf:type ontology:concept } } . FILTER ( ?j = ?u ) }
[]
concept magazine genre
SYSTEM
68
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q9730 Q43343 Q212944 Q177923 Q333018 Q131476 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q847526 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q454 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q11401 Q3242115
(c(Q21114848),P101,c(Q151885))
action count
action approx
action find_reverse_tuple_counts
relation P101
type Q151885
type Q21114848
action count
action filter_type
action find
entity Q9730
relation P101
type Q151885
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P101 ?x . ?s rdf:type ontology:Q21114848 . ?x rdf:type ontology:Q151885 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q9730 property:P101 ?c . ?c rdf:type ontology:Q151885 } } . FILTER ( ?j = ?u ) }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class classical music contemporary folk music klezmer auction Common descent graph theory History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music queueing theory heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory trip hop woman human rights activist country music guitarist sportsperson peace macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory hip hop revolutionary
68
action count
action approx
action find_reverse_tuple_counts
relation field of work
type concept
type magazine genre
action count
action filter_type
action find
entity classical music
relation field of work
type concept
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:field_of_work ?x . ?s rdf:type ontology:magazine_genre . ?x rdf:type ontology:concept } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:classical_music property:field_of_work ?c . ?c rdf:type ontology:concept } } . FILTER ( ?j = ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q852446 Q1048835 Q4164871
USER
Which positions apply to jurisdiction over approximately 1 US administrative territories and political territories ?
(c(Q4164871),P1001,c(Q852446)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
value 1
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { { ?y property:P1001 ?c . ?y rdf:type ontology:Q4164871 . ?c rdf:type ontology:Q852446 } UNION { ?y rdf:type ontology:Q4164871 . ?c rdf:type ontology:Q1048835 . ?y property:P1001 ?c } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
value 1
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { { ?y property:applies_to_jurisdiction ?c . ?y rdf:type ontology:position . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?y rdf:type ontology:position . ?c rdf:type ontology:political_territorial_entity . ?y property:applies_to_jurisdiction ?c } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
[]
administrative territorial entity of the United States political territorial entity position
Q7574260 Q24851389 Q1647332
SYSTEM
Speaker of the Flemish Parliament, count of Foix, Landtagspräsident
Q24851389 Q25513955 Q25514686 Q25712498 Q25712497 Q1647332 Q24232020 Q21070726 Q1420322 Q7574260 Q912560 Q25917099 Q20188454 Q25776270 Q24026255 Q1853515 Q24190727 Q1790061 Q25998902 Q25909440
(c(Q4164871),P1001,c(Q852446)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action find_tuple_counts
relation P1001
type Q4164871
type Q1048835
value 1
[ANSWERS] apply to jurisdiction over approximately 1 US administrative territories and political territories
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { { ?y property:P1001 ?c . ?y rdf:type ontology:Q4164871 . ?c rdf:type ontology:Q852446 } UNION { ?y rdf:type ontology:Q4164871 . ?c rdf:type ontology:Q1048835 . ?y property:P1001 ?c } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
count of Foix Minister of Social Affairs Minister for Justice and Consumer Affairs Minister for Economic Development Minister for the Treasury Landtagspräsident Member of the Legislative Assembly of the Falkland Islands Deputy Prime Minister Lieutenant Governor of Louisiana Speaker of the Flemish Parliament Lieutenant Governor of Hawaii Deputy Prime Minister Member of the Aragonese Corts Minister for Climate and Energy Minister for Aged Care Lieutenant Governor of Arkansas Minister of Small Business and Tourism Lieutenant Governor of the Isle of Man Minister of Social Development Minister for Special Trade Negotiations
Speaker of the Flemish Parliament, count of Foix and Landtagspräsident apply to jurisdiction over approximately 1 US administrative territories and political territories
Speaker of the Flemish Parliament count of Foix Landtagspräsident
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type position
type political territorial entity
value 1
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { { ?y property:applies_to_jurisdiction ?c . ?y rdf:type ontology:position . ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?y rdf:type ontology:position . ?c rdf:type ontology:political_territorial_entity . ?y property:applies_to_jurisdiction ?c } } GROUP BY ?y } . FILTER ( ?n = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q23375654
P1001
Q852446 Q15617994 Q4164871
USER
Which positions apply to jurisdiction over around the same number of US administrative territories and administrative territories as Minister of Finance ?
(c(Q4164871),P1001,c(Q852446)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action find_tuple_counts
relation P1001
type Q4164871
type Q15617994
action count
action filter_multi_types
action find
entity Q23375654
relation P1001
type Q852446
type Q15617994
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q852446 ) } . ?i rdf:type ?n } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q23375654 property:P1001 ?w . { { ?w rdf:type ontology:Q852446 } UNION { ?w rdf:type ontology:Q15617994 } } } } . FILTER ( ?m = ?k ) }
Minister of Finance
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type position
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Minister of Finance
relation applies to jurisdiction
type administrative territorial entity of the United States
type designation for an administrative territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?i rdf:type ?n } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Minister_of_Finance property:applies_to_jurisdiction ?w . { { ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?m = ?k ) }
[]
administrative territorial entity of the United States designation for an administrative territorial entity position
Q21012703 Q26728106 Q7574260
SYSTEM
President of the Hamburg Parliament, king of Deira, Speaker of the Flemish Parliament
Q37110 Q24198089 Q121998 Q24851389 Q719039 Q2618625 Q2607541 Q21012703 Q140686 Q5152814 Q207978 Q12496694 Q25513955 Q25514686 Q26728742 Q26728106 Q25712498 Q6412254 Q1255921 Q25712497 Q1647332 Q25991673 Q2080604 Q24232020 Q5756726 Q21070726 Q25713775 Q15122211 Q2518691 Q18341329 Q5152841 Q19643 Q25341917 Q16773102 Q16931937 Q3646901 Q5756947 Q6733258 Q7574260 Q23008189 Q14579825 Q23773163 Q18250123 Q5280547 Q25712439 Q24200123 Q23719260 Q27562678 Q24323272 Q25713806 Q25713804 Q23931359 Q6866132 Q17578116 Q15233349 Q15934540 Q25917099 Q39018 Q22881 Q20188454 Q5261060 Q267936 Q25776270 Q15846423 Q23375654 Q1937160 Q24026255 Q5756851 Q24190727 Q24323878 Q189854 Q2747456 Q15729489 Q24323339 Q3135366 Q754188 Q24310329 Q15233311 Q1790061 Q25998902 Q5280537 Q25909440 Q21172249 Q23304121
(c(Q4164871),P1001,c(Q852446)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action find_tuple_counts
relation P1001
type Q4164871
type Q15617994
action count
action filter_multi_types
action find
entity Q23375654
relation P1001
type Q852446
type Q15617994
[ANSWERS] apply to jurisdiction over around the same number of US administrative territories and administrative territories as Minister of Finance
[{'concept': 'Q4164871'}, 'P1001', [{'concept': 'Q852446'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q852446 ) } . ?i rdf:type ?n } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q23375654 property:P1001 ?w . { { ?w rdf:type ontology:Q852446 } UNION { ?w rdf:type ontology:Q15617994 } } } } . FILTER ( ?m = ?k ) }
pharaoh Minister for Regional Development ambassador count of Foix queen consort Emperor of All Russia Voivode of Trakai President of the Hamburg Parliament chairperson Commissioner of Customs and Excise consul Mangkunegara Minister of Social Affairs Minister for Justice and Consumer Affairs king of Bernicia king of Deira Minister for Economic Development King of Hungary president Minister for the Treasury Landtagspräsident Minister of the Interior Castellan of Vilnius Member of the Legislative Assembly of the Falkland Islands High Sheriff of Cavan Deputy Prime Minister Minister for Heritage President of the Swiss Esperanto Society defence minister monarch of Denmark Commissioner of Police queen regnant Shadow Minister for Social Justice, Equality and Housing Prefect of Police of Paris Maharaja of Mysore Commandant of Minsk High Sheriff of Westmeath Maharaja of Travancore Speaker of the Flemish Parliament abbess of Nivelles Sultan of Yogyakarta Minister for Health, Social Services and Public Safety President of the University of Zurich Director of Immigration Minister of Education and Culture king of Epirus mayor of Saint-Denis Dukes of Bohemia Minister of Finance Minister for Communities and Tackling Poverty Minister for Public Services Director of Bureau Minister of Finance and Personnel interior minister state president of the protectorate of Bohemia and Moravia King of the Kings Deputy Prime Minister emperor Prince-Bishop Member of the Aragonese Corts Deputy Premier of Victoria executive director Minister for Climate and Energy President of the German Esperanto Youth Minister of Finance minister without portfolio Minister for Aged Care High Sheriff of Louth Minister of Small Business and Tourism Minister for Infrastructure metropolitan bishop prince Abbot of Maria Laach Minister of Health Chief Secretary for Administration Basileus Minister for Social Development President of Czechoslovakia Lieutenant Governor of the Isle of Man Minister of Social Development Director of Audit Minister for Special Trade Negotiations mayor of Bourges Minister for Local Government and Regeneration
President of the Hamburg Parliament, king of Deira and Speaker of the Flemish Parliament apply to jurisdiction over around the same number of US administrative territories and administrative territories as Minister of Finance
President of the Hamburg Parliament king of Deira Speaker of the Flemish Parliament
action approx
action union
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action find_tuple_counts
relation applies to jurisdiction
type position
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity Minister of Finance
relation applies to jurisdiction
type administrative territorial entity of the United States
type designation for an administrative territorial entity
[{'concept': 'position'}, 'applies to jurisdiction', [{'concept': 'administrative territorial entity of the United States'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?i ) AS ?m ) WHERE { VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity_of_the_United_States ) } . ?i rdf:type ?n } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Minister_of_Finance property:applies_to_jurisdiction ?w . { { ?w rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?m = ?k ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1001
Q1048835
USER
How many political territories belong to jurisdiction of that position ?
(Q7574260,P1001,c(Q1048835))
['Q7574260', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7574260 property:P1001 ?z . ?z rdf:type ontology:Q1048835 }
['Speaker of the Flemish Parliament', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Speaker_of_the_Flemish_Parliament property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q26728106
SYSTEM
Did you mean king of Deira ?
(Q21012703,P1001,c(Q1048835)) (Q26728106,P1001,c(Q1048835)) (Q7574260,P1001,c(Q1048835))
[ANSWER]
['Q21012703', 'P1001', {'concept': 'Q1048835'}] ['Q26728106', 'P1001', {'concept': 'Q1048835'}] ['Q7574260', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7574260 property:P1001 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean king of Deira ?
king of Deira
['President of the Hamburg Parliament', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['king of Deira', 'applies to jurisdiction', {'concept': 'political territorial entity'}] ['Speaker of the Flemish Parliament', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Speaker_of_the_Flemish_Parliament property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Speaker of the Flemish Parliament. Could you tell me the answer for that?
(Q7574260,P1001,c(Q1048835))
Q7574260
['Q7574260', 'P1001', {'concept': 'Q1048835'}]
['Speaker of the Flemish Parliament', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q9337
(Q7574260,P1001,c(Q1048835))
[ANSWER]
['Q7574260', 'P1001', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7574260 property:P1001 ?z . ?z rdf:type ontology:Q1048835 }
Flemish Region
1
['Speaker of the Flemish Parliament', 'applies to jurisdiction', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Speaker_of_the_Flemish_Parliament property:applies_to_jurisdiction ?z . ?z rdf:type ontology:political_territorial_entity }
[]