Simple Question (Direct)
Simple Question
Q7463562
P106
Q12737077
USER
What is the profession of Yōichi Hirama ?
(Q7463562,P106,c(Q12737077))
action filter_type
action find
entity Q7463562
relation P106
type Q12737077
['Q7463562', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q7463562 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Yōichi Hirama
action filter_type
action find
entity Yōichi Hirama
relation occupation
type occupation
['Yōichi Hirama', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Yōichi_Hirama property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q7463562,P106,c(Q12737077))
action filter_type
action find
entity Q7463562
relation P106
type Q12737077
The profession of Yōichi Hirama is a [ANSWER]
['Q7463562', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q7463562 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
historian
The profession of Yōichi Hirama is a historian
historian
action filter_type
action find
entity Yōichi Hirama
relation occupation
type occupation
['Yōichi Hirama', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Yōichi_Hirama property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201788
P101
Q502895
USER
Which people have his/her area as that occupation ?
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q201788 . ?c rdf:type ontology:Q502895 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:historian . ?c rdf:type ontology:common_name }
[]
common name
Q60217 Q61648 Q981839
SYSTEM
Johann Gustav Droysen, Georg Gottfried Gervinus, Frederick Copleston
Q14436716 Q21042244 Q60217 Q75371 Q61648 Q101339 Q15432799 Q2408608 Q981839
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[ANSWERS] have his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q201788 . ?c rdf:type ontology:Q502895 }
Knut Mykland Vicent Baydal Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Gustav Adolf Harald Stenzel Hugo Weczerka Patrick Cabanel Frederick Copleston
Johann Gustav Droysen, Georg Gottfried Gervinus and Frederick Copleston have his/her area as that occupation
Johann Gustav Droysen Georg Gottfried Gervinus Frederick Copleston
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:historian . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q60217 Q61648 Q981839
P21
Q290
USER
Which sexes do Johann Gustav Droysen, Georg Gottfried Gervinus and Frederick Copleston belong to ?
(Q60217,P21,c(Q290)) (Q61648,P21,c(Q290)) (Q981839,P21,c(Q290))
action union
action filter_type
action find
entity Q60217
relation P21
type Q290
action filter_type
action find
entity Q61648
relation P21
type Q290
action filter_type
action find
entity Q981839
relation P21
type Q290
['Q60217', 'P21', {'concept': 'Q290'}] ['Q61648', 'P21', {'concept': 'Q290'}] ['Q981839', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { { resource:Q60217 property:P21 ?z . ?z rdf:type ontology:Q290 } UNION { ?z rdf:type ontology:Q290 . resource:Q61648 property:P21 ?z } }
Johann Gustav Droysen Georg Gottfried Gervinus Frederick Copleston
action union
action filter_type
action find
entity Johann Gustav Droysen
relation gender
type sex
action filter_type
action find
entity Georg Gottfried Gervinus
relation gender
type sex
action filter_type
action find
entity Frederick Copleston
relation gender
type sex
['Johann Gustav Droysen', 'gender', {'concept': 'sex'}] ['Georg Gottfried Gervinus', 'gender', {'concept': 'sex'}] ['Frederick Copleston', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { { resource:Johann_Gustav_Droysen property:gender ?z . ?z rdf:type ontology:sex } UNION { ?z rdf:type ontology:sex . resource:Georg_Gottfried_Gervinus property:gender ?z } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q60217,P21,c(Q290)) (Q61648,P21,c(Q290)) (Q981839,P21,c(Q290))
action union
action filter_type
action find
entity Q60217
relation P21
type Q290
action filter_type
action find
entity Q61648
relation P21
type Q290
action filter_type
action find
entity Q981839
relation P21
type Q290
Johann Gustav Droysen , Georg Gottfried Gervinus and Frederick Copleston belong to the [ANSWER], [ANSWER] and [ANSWER]
['Q60217', 'P21', {'concept': 'Q290'}] ['Q61648', 'P21', {'concept': 'Q290'}] ['Q981839', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { { resource:Q60217 property:P21 ?z . ?z rdf:type ontology:Q290 } UNION { ?z rdf:type ontology:Q290 . resource:Q61648 property:P21 ?z } }
male male male
Johann Gustav Droysen , Georg Gottfried Gervinus and Frederick Copleston belong to the male, male and male
male male male
action union
action filter_type
action find
entity Johann Gustav Droysen
relation gender
type sex
action filter_type
action find
entity Georg Gottfried Gervinus
relation gender
type sex
action filter_type
action find
entity Frederick Copleston
relation gender
type sex
['Johann Gustav Droysen', 'gender', {'concept': 'sex'}] ['Georg Gottfried Gervinus', 'gender', {'concept': 'sex'}] ['Frederick Copleston', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { { resource:Johann_Gustav_Droysen property:gender ?z . ?z rdf:type ontology:sex } UNION { ?z rdf:type ontology:sex . resource:Georg_Gottfried_Gervinus property:gender ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60217
P40
Q502895
USER
Which person has Johann Gustav Droysen as an offspring ?
(c(Q502895),P40,Q60217)
action filter_type
action find_reverse
entity Q60217
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q60217']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q60217 . ?c rdf:type ontology:Q502895 }
Johann Gustav Droysen
action filter_type
action find_reverse
entity Johann Gustav Droysen
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann Gustav Droysen']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Johann_Gustav_Droysen . ?c rdf:type ontology:common_name }
[]
common name
Q1288518
SYSTEM
Johann Christoph Droysen
Q1288518
(c(Q502895),P40,Q60217)
action filter_type
action find_reverse
entity Q60217
relation P40
type Q502895
[ANSWER] has Johann Gustav Droysen as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q60217']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q60217 . ?c rdf:type ontology:Q502895 }
Johann Christoph Droysen
Johann Christoph Droysen has Johann Gustav Droysen as an offspring
Johann Christoph Droysen
action filter_type
action find_reverse
entity Johann Gustav Droysen
relation child
type common name
[{'concept': 'common name'}, 'child', 'Johann Gustav Droysen']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Johann_Gustav_Droysen . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1288518
P19
Q15617994
USER
Where was that person born ?
(Q1288518,P19,c(Q15617994))
action filter_type
action find
entity Q1288518
relation P19
type Q15617994
['Q1288518', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1288518 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Johann Christoph Droysen
action filter_type
action find
entity Johann Christoph Droysen
relation place of birth
type designation for an administrative territorial entity
['Johann Christoph Droysen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Johann_Christoph_Droysen property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53773
SYSTEM
Altentreptow
Q53773
(Q1288518,P19,c(Q15617994))
action filter_type
action find
entity Q1288518
relation P19
type Q15617994
That person was born in [ANSWER]
['Q1288518', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q1288518 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Altentreptow
That person was born in Altentreptow
Altentreptow
action filter_type
action find
entity Johann Christoph Droysen
relation place of birth
type designation for an administrative territorial entity
['Johann Christoph Droysen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Johann_Christoph_Droysen property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q60217
P22
Q502895
USER
How many people have Johann Gustav Droysen as a father ?
(c(Q502895),P22,Q60217)
action count
action filter_type
action find_reverse
entity Q60217
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q60217']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P22 resource:Q60217 . ?e rdf:type ontology:Q502895 }
Johann Gustav Droysen
action count
action filter_type
action find_reverse
entity Johann Gustav Droysen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Johann Gustav Droysen']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:father resource:Johann_Gustav_Droysen . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q1579237
(c(Q502895),P22,Q60217)
action count
action filter_type
action find_reverse
entity Q60217
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q60217']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:P22 resource:Q60217 . ?e rdf:type ontology:Q502895 }
Hans Droysen
1
action count
action filter_type
action find_reverse
entity Johann Gustav Droysen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Johann Gustav Droysen']
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { ?e property:father resource:Johann_Gustav_Droysen . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q11806
P22
Q502895
USER
And also tell me about John Adams?
(c(Q502895),P22,Q11806)
action count
action filter_type
action find_reverse
entity Q11806
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q11806']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P22 resource:Q11806 . ?s rdf:type ontology:Q502895 }
John Adams
action count
action filter_type
action find_reverse
entity John Adams
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Adams']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:father resource:John_Adams . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q11816 Q5074968 Q7787805 Q4667661
(c(Q502895),P22,Q11806)
action count
action filter_type
action find_reverse
entity Q11806
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q11806']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:P22 resource:Q11806 . ?s rdf:type ontology:Q502895 }
John Quincy Adams Charles Adams Thomas Boylston Adams Abigail Adams Smith
4
action count
action filter_type
action find_reverse
entity John Adams
relation father
type common name
[{'concept': 'common name'}, 'father', 'John Adams']
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s property:father resource:John_Adams . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q502895 Q12737077
USER
How many occupations were appointed by approximately 8 legislatures and people ?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 8
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?i WHERE { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } } GROUP BY ?i } . FILTER ( ?x = 8 ) }
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
value 8
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?i WHERE { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:legislature ) ( ontology:common_name ) } } GROUP BY ?i } . FILTER ( ?x = 8 ) }
[]
legislature common name occupation
SYSTEM
1
Q4970706
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 8
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?i WHERE { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } } GROUP BY ?i } . FILTER ( ?x = 8 ) }
Federal Chancellor of Germany
1
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
value 8
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) ?i WHERE { ?f rdf:type ?u . VALUES ( ?u ) { ( ontology:legislature ) ( ontology:common_name ) } } GROUP BY ?i } . FILTER ( ?x = 8 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with around 123 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 123
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?a = 123 ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?k } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 123
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?a = 123 ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?k } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 123
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?a = 123 ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } GROUP BY ?k } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 123
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?a = 123 ) . { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?a ) WHERE { ?k property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60217
P20
Q56061
USER
Where did Johann Gustav Droysen die ?
(Q60217,P20,c(Q56061))
action filter_type
action find
entity Q60217
relation P20
type Q56061
['Q60217', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q60217 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Johann Gustav Droysen
action filter_type
action find
entity Johann Gustav Droysen
relation place of death
type administrative territorial entity
['Johann Gustav Droysen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Johann_Gustav_Droysen property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q60217,P20,c(Q56061))
action filter_type
action find
entity Q60217
relation P20
type Q56061
Johann Gustav Droysen died in [ANSWER]
['Q60217', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q60217 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Berlin
Johann Gustav Droysen died in Berlin
Berlin
action filter_type
action find
entity Johann Gustav Droysen
relation place of death
type administrative territorial entity
['Johann Gustav Droysen', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Johann_Gustav_Droysen property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q64 Q1646399
P17
Q1048835
USER
Is that administrative territory located in Granucillo ?
(Q64,P17,Q1646399)
action is_in
entity Q1646399
action find
entity Q64
relation P17
['Q64', 'P17', 'Q1646399']
ASK WHERE { resource:Q64 property:P17 resource:Q1646399 }
Berlin Granucillo
action is_in
entity Granucillo
action find
entity Berlin
relation country
['Berlin', 'country', 'Granucillo']
ASK WHERE { resource:Berlin property:country resource:Granucillo }
[]
political territorial entity
SYSTEM
NO
(Q64,P17,Q1646399)
action is_in
entity Q1646399
action find
entity Q64
relation P17
[ANSWER]
['Q64', 'P17', 'Q1646399']
ASK WHERE { resource:Q64 property:P17 resource:Q1646399 }
No
action is_in
entity Granucillo
action find
entity Berlin
relation country
['Berlin', 'country', 'Granucillo']
ASK WHERE { resource:Berlin property:country resource:Granucillo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q60217 Q13941
P27
Q1048835
USER
Is Johann Gustav Droysen an inhabitant of Santa Perpètua de Mogoda ?
(Q60217,P27,Q13941)
action is_in
entity Q13941
action find
entity Q60217
relation P27
['Q60217', 'P27', 'Q13941']
ASK WHERE { resource:Q60217 property:P27 resource:Q13941 }
Johann Gustav Droysen Santa Perpètua de Mogoda
action is_in
entity Santa Perpètua de Mogoda
action find
entity Johann Gustav Droysen
relation country of citizenship
['Johann Gustav Droysen', 'country of citizenship', 'Santa Perpètua de Mogoda']
ASK WHERE { resource:Johann_Gustav_Droysen property:country_of_citizenship resource:Santa_Perpètua_de_Mogoda }
[]
political territorial entity
SYSTEM
NO
(Q60217,P27,Q13941)
action is_in
entity Q13941
action find
entity Q60217
relation P27
[ANSWER]
['Q60217', 'P27', 'Q13941']
ASK WHERE { resource:Q60217 property:P27 resource:Q13941 }
No
action is_in
entity Santa Perpètua de Mogoda
action find
entity Johann Gustav Droysen
relation country of citizenship
['Johann Gustav Droysen', 'country of citizenship', 'Santa Perpètua de Mogoda']
ASK WHERE { resource:Johann_Gustav_Droysen property:country_of_citizenship resource:Santa_Perpètua_de_Mogoda }
[]