Simple Question (Direct)
Simple Question
Q1399506
P20
Q56061
USER
Which administrative territory is the place of death of Johann Friedrich Ahlfeld ?
(Q1399506,P20,c(Q56061))
action filter_type
action find
entity Q1399506
relation P20
type Q56061
['Q1399506', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1399506 property:P20 ?o }
Johann Friedrich Ahlfeld
action filter_type
action find
entity Johann Friedrich Ahlfeld
relation place of death
type administrative territorial entity
['Johann Friedrich Ahlfeld', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Johann_Friedrich_Ahlfeld property:place_of_death ?o }
[]
administrative territorial entity
Q3869
SYSTEM
Marburg
Q3869
(Q1399506,P20,c(Q56061))
action filter_type
action find
entity Q1399506
relation P20
type Q56061
In [ANSWER] is the place of death of Johann Friedrich Ahlfeld
['Q1399506', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1399506 property:P20 ?o }
Marburg
In Marburg is the place of death of Johann Friedrich Ahlfeld
Marburg
action filter_type
action find
entity Johann Friedrich Ahlfeld
relation place of death
type administrative territorial entity
['Johann Friedrich Ahlfeld', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Johann_Friedrich_Ahlfeld property:place_of_death ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1399506
P1038
Q502895
USER
Who is a kin of Johann Friedrich Ahlfeld ?
(c(Q502895),P1038,Q1399506)
action filter_type
action find
entity Q1399506
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q1399506']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1399506 property:P1038 ?t }
Johann Friedrich Ahlfeld
action filter_type
action find
entity Johann Friedrich Ahlfeld
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Johann Friedrich Ahlfeld']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Johann_Friedrich_Ahlfeld property:relative ?t }
[]
common name
Q365362
SYSTEM
Adolph Friedrich Vollmer
Q365362
(c(Q502895),P1038,Q1399506)
action filter_type
action find
entity Q1399506
relation P1038
type Q502895
A kin of Johann Friedrich Ahlfeld is the [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q1399506']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q1399506 property:P1038 ?t }
Adolph Friedrich Vollmer
A kin of Johann Friedrich Ahlfeld is the Adolph Friedrich Vollmer
Adolph Friedrich Vollmer
action filter_type
action find
entity Johann Friedrich Ahlfeld
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'Johann Friedrich Ahlfeld']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Johann_Friedrich_Ahlfeld property:relative ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q365362
P40
Q502895
USER
Which person is an offspring of that one ?
(Q365362,P40,c(Q502895))
action filter_type
action find
entity Q365362
relation P40
type Q502895
['Q365362', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q365362 property:P40 ?k }
Adolph Friedrich Vollmer
action filter_type
action find
entity Adolph Friedrich Vollmer
relation child
type common name
['Adolph Friedrich Vollmer', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Adolph_Friedrich_Vollmer property:child ?k }
[]
common name
Q110318
SYSTEM
Johannes Vollmer
Q110318
(Q365362,P40,c(Q502895))
action filter_type
action find
entity Q365362
relation P40
type Q502895
[ANSWER] is an offspring of that one
['Q365362', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . resource:Q365362 property:P40 ?k }
Johannes Vollmer
Johannes Vollmer is an offspring of that one
Johannes Vollmer
action filter_type
action find
entity Adolph Friedrich Vollmer
relation child
type common name
['Adolph Friedrich Vollmer', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . resource:Adolph_Friedrich_Vollmer property:child ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110318
P1066
Q502895
USER
Which people were the supervisors of that one ?
(Q110318,P1066,c(Q502895))
action filter_type
action find
entity Q110318
relation P1066
type Q502895
['Q110318', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q110318 property:P1066 ?r . ?r rdf:type ontology:Q502895 }
Johannes Vollmer
action filter_type
action find
entity Johannes Vollmer
relation student of
type common name
['Johannes Vollmer', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Johannes_Vollmer property:student_of ?r . ?r rdf:type ontology:common_name }
[]
common name
Q95970 Q72322
SYSTEM
Conrad Wilhelm Hase, Johannes Otzen
Q95970 Q72322
(Q110318,P1066,c(Q502895))
action filter_type
action find
entity Q110318
relation P1066
type Q502895
[ANSWERS] were the supervisors of that one
['Q110318', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q110318 property:P1066 ?r . ?r rdf:type ontology:Q502895 }
Conrad Wilhelm Hase Johannes Otzen
Conrad Wilhelm Hase and Johannes Otzen were the supervisors of that one
Conrad Wilhelm Hase Johannes Otzen
action filter_type
action find
entity Johannes Vollmer
relation student of
type common name
['Johannes Vollmer', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Johannes_Vollmer property:student_of ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q35798 Q15617994
USER
Which people are the heads of state of approximately 11 executive branches or administrative territories ?
(c(Q35798)|c(Q15617994),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 11
[[{'concept': 'Q35798'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q502895 . ?e property:P35 ?r } UNION { ?e property:P35 ?r . ?e rdf:type ontology:Q35798 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?s = 11 ) }
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 11
[[{'concept': 'executive branch'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:common_name . ?e property:head_of_state ?r } UNION { ?e property:head_of_state ?r . ?e rdf:type ontology:executive_branch . ?r rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?s = 11 ) }
[]
common name executive branch designation for an administrative territorial entity
Q269412 Q45068 Q1242
SYSTEM
George V, Carl XVI Gustaf of Sweden, Luigi Einaudi
Q45068 Q1241 Q1242 Q1230 Q1233 Q1235 Q269412
(c(Q35798)|c(Q15617994),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
value 11
[ANSWERS] are the heads of state of approximately 11 executive branches or administrative territories
[[{'concept': 'Q35798'}, {'concept': 'Q15617994'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q502895 . ?e property:P35 ?r } UNION { ?e property:P35 ?r . ?e rdf:type ontology:Q35798 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } . FILTER ( ?s = 11 ) }
Carl XVI Gustaf of Sweden Giovanni Gronchi Luigi Einaudi Francesco Cossiga Sandro Pertini Giovanni Leone George V
George V, Carl XVI Gustaf of Sweden and Luigi Einaudi are the heads of state of approximately 11 executive branches or administrative territories
George V Carl XVI Gustaf of Sweden Luigi Einaudi
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
value 11
[[{'concept': 'executive branch'}, {'concept': 'designation for an administrative territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?s ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:common_name . ?e property:head_of_state ?r } UNION { ?e property:head_of_state ?r . ?e rdf:type ontology:executive_branch . ?r rdf:type ontology:common_name } } GROUP BY ?r } . FILTER ( ?s = 11 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q35798 Q7275
USER
How many people have the highest formal authority in approximately 24 executive branches or states ?
(c(Q35798)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
value 24
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?v WHERE { VALUES ( ?s ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?f rdf:type ?s } GROUP BY ?v } . FILTER ( ?p = 24 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
value 24
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?v WHERE { VALUES ( ?s ) { ( ontology:executive_branch ) ( ontology:state ) } . ?f rdf:type ?s } GROUP BY ?v } . FILTER ( ?p = 24 ) }
[]
common name executive branch state
SYSTEM
2
Q153688 Q168691
(c(Q35798)|c(Q7275),P35,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
value 24
[ANSWER]
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?v WHERE { VALUES ( ?s ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?f rdf:type ?s } GROUP BY ?v } . FILTER ( ?p = 24 ) }
Umberto I of Italy Victor Emmanuel II of Savoy
2
action count
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
value 24
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) ?v WHERE { VALUES ( ?s ) { ( ontology:executive_branch ) ( ontology:state ) } . ?f rdf:type ?s } GROUP BY ?v } . FILTER ( ?p = 24 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3224 Q45068
P35 P1001
Q35798
USER
Which executive branches have Carl XVI Gustaf of Sweden as their head of state or have control over the jurisdiction of New South Wales ?
OR((c(Q35798),P35,Q45068), (c(Q35798),P1001,Q3224))
action filter_type
action union
action find_reverse
entity Q45068
relation P35
action find_reverse
entity Q3224
relation P1001
type Q35798
{'OR': [[{'concept': 'Q35798'}, 'P35', 'Q45068'], [{'concept': 'Q35798'}, 'P1001', 'Q3224']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q35798 . { { ?g property:P35 resource:Q45068 } UNION { ?g property:P1001 resource:Q3224 } } }
New South Wales Carl XVI Gustaf of Sweden
action filter_type
action union
action find_reverse
entity Carl XVI Gustaf of Sweden
relation head of state
action find_reverse
entity New South Wales
relation applies to jurisdiction
type executive branch
{'OR': [[{'concept': 'executive branch'}, 'head of state', 'Carl XVI Gustaf of Sweden'], [{'concept': 'executive branch'}, 'applies to jurisdiction', 'New South Wales']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:executive_branch . { { ?g property:head_of_state resource:Carl_XVI_Gustaf_of_Sweden } UNION { ?g property:applies_to_jurisdiction resource:New_South_Wales } } }
[]
executive branch
Q7615551 Q17038677 Q4907240 Q16259181 Q16259405 Q6485641 Q5297033 Q17058944 Q5306190 Q4873714
SYSTEM
Some of them are Stevens–Bruxner ministry, Stevens–Bruxner ministry, Carlsson III Cabinet, Heffron ministry, McGirr ministry, Lang ministry, Dooley ministry, Wran ministry, Fälldin II Cabinet, Bavin ministry
Q5306190 Q8022157 Q5297032 Q17509917 Q17009875 Q16259595 Q7615551 Q17001123 Q7445584 Q7620007 Q7071790 Q17058944 Q17006405 Q16258880 Q4570330 Q5508269 Q17040778 Q17514741 Q5297033 Q17051699 Q16258873 Q16258876 Q18166560 Q19871047 Q5883270 Q17040809 Q5990014 Q16259405 Q16259181 Q16258987 Q17492536 Q17032383 Q4907240 Q17509923 Q7615449 Q5046762 Q17509927 Q16801212 Q4907653 Q16801003 Q7306979 Q17009866 Q6736962 Q16258893 Q17040829 Q6801769 Q6801768 Q6485641 Q5306179 Q5306186 Q17038677 Q17514732 Q17006900 Q16259410 Q3046743 Q16258884 Q17514738 Q5508268 Q16258888 Q17040788 Q18165650 Q16259400 Q6389111 Q18165654 Q5217837 Q7959145 Q17040819 Q16258994 Q6801410 Q16258996 Q6485643 Q16258990 Q6485645 Q4873714 Q5306200
OR((c(Q35798),P35,Q45068), (c(Q35798),P1001,Q3224))
action filter_type
action union
action find_reverse
entity Q45068
relation P35
action find_reverse
entity Q3224
relation P1001
type Q35798
[ANSWERS] have Carl XVI Gustaf of Sweden as their head of state or have control over the jurisdiction of New South Wales
{'OR': [[{'concept': 'Q35798'}, 'P35', 'Q45068'], [{'concept': 'Q35798'}, 'P1001', 'Q3224']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q35798 . { { ?g property:P35 resource:Q45068 } UNION { ?g property:P1001 resource:Q3224 } } }
Fälldin II Cabinet Willis–Punch ministry Dooley ministry Fahey–Armstrong ministry Lewis–Punch ministry Renshaw ministry Stevens–Bruxner ministry Baird ministry See ministry Storey ministry O'Farrell Ministry Wran ministry Heffron ministry Askin–Cutler ministry Persson Cabinet Fuller ministry Wran ministry Carr ministry Dooley ministry Iemma ministry Askin–Cutler ministry Askin–Cutler ministry Unsworth ministry Second Baird ministry Holman ministry Wran ministry Iemma ministry McGirr ministry Heffron ministry Cahill ministry Carr ministry Waddell ministry Carlsson III Cabinet Fahey–Murray ministry Stevens-Bruxner ministry Carruthers ministry Fahey–Murray ministry Wran ministry Bildt Cabinet Wran ministry Rees ministry Lewis–Cutler ministry Mair–Bruxner ministry Askin–Cutler ministry Wran ministry McKell ministry McKell ministry Lang ministry Ullsten Cabinet Fälldin III Cabinet Stevens–Bruxner ministry Carr ministry Holman ministry McGirr ministry Reinfeldt Cabinet Askin–Cutler ministry Carr ministry Fuller ministry Askin–Cutler ministry Wran ministry Greiner–Murray ministry McGirr ministry Keneally ministry Greiner–Murray ministry Palme II Cabinet Wade ministry Wran ministry Cahill ministry McGowen ministry Cahill ministry Lang ministry Cahill ministry Lang ministry Bavin ministry Fälldin I Cabinet
Stevens–Bruxner ministry, Stevens–Bruxner ministry, Carlsson III Cabinet, Heffron ministry, McGirr ministry, Lang ministry, Dooley ministry, Wran ministry, Fälldin II Cabinet and Bavin ministry have Carl XVI Gustaf of Sweden as their head of state or have control over the jurisdiction of New South Wales
Stevens–Bruxner ministry Stevens–Bruxner ministry Carlsson III Cabinet Heffron ministry McGirr ministry Lang ministry Dooley ministry Wran ministry Fälldin II Cabinet Bavin ministry
action filter_type
action union
action find_reverse
entity Carl XVI Gustaf of Sweden
relation head of state
action find_reverse
entity New South Wales
relation applies to jurisdiction
type executive branch
{'OR': [[{'concept': 'executive branch'}, 'head of state', 'Carl XVI Gustaf of Sweden'], [{'concept': 'executive branch'}, 'applies to jurisdiction', 'New South Wales']]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:executive_branch . { { ?g property:head_of_state resource:Carl_XVI_Gustaf_of_Sweden } UNION { ?g property:applies_to_jurisdiction resource:New_South_Wales } } }
[]