Simple Question (Direct)
Simple Question
Q1708296
P21
Q290
USER
Which sex does Joseph Hirsch Dünner belong to ?
(Q1708296,P21,c(Q290))
action filter_type
action find
entity Q1708296
relation P21
type Q290
['Q1708296', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1708296 property:P21 ?p }
Joseph Hirsch Dünner
action filter_type
action find
entity Joseph Hirsch Dünner
relation gender
type sex
['Joseph Hirsch Dünner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Joseph_Hirsch_Dünner property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1708296,P21,c(Q290))
action filter_type
action find
entity Q1708296
relation P21
type Q290
Joseph Hirsch Dünner belongs to [ANSWER]
['Q1708296', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q1708296 property:P21 ?p }
male
Joseph Hirsch Dünner belongs to male
male
action filter_type
action find
entity Joseph Hirsch Dünner
relation gender
type sex
['Joseph Hirsch Dünner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Joseph_Hirsch_Dünner property:gender ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1708296
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1708296
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1708296 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Joseph Hirsch Dünner
action filter_type
action find
entity Joseph Hirsch Dünner
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Joseph_Hirsch_Dünner property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1708296
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1708296 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
writer
Writer that person does for a living
writer
action filter_type
action find
entity Joseph Hirsch Dünner
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Joseph_Hirsch_Dünner property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saint of atleast 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P417 ?g . ?g rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?g } . FILTER ( ?x >= 3 ) }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:patron_saint ?g . ?g rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?g } . FILTER ( ?x >= 3 ) }
[]
common name occupation
SYSTEM
6
Q128538 Q192816 Q43982 Q179718 Q43600 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:P417 ?g . ?g rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?g } . FILTER ( ?x >= 3 ) }
Luke the Evangelist Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Agatha of Sicily
6
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?x ) WHERE { ?y property:patron_saint ?g . ?g rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?g } . FILTER ( ?x >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P101
Q502895
USER
Who works in the domain of writer ?
(c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q36180 . ?n rdf:type ontology:Q502895 }
writer
action filter_type
action find_reverse
entity writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:writer . ?n rdf:type ontology:common_name }
[]
common name
Q168569
SYSTEM
Martin Andersen Nexø
Q168569
(c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P101
type Q502895
[ANSWER] works in the domain of writer
[{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q36180 . ?n rdf:type ontology:Q502895 }
Martin Andersen Nexø
Martin Andersen Nexø works in the domain of writer
Martin Andersen Nexø
action filter_type
action find_reverse
entity writer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:writer . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P937
Q502895
USER
Who has writer as their work location ?
(c(Q502895),P937,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q36180']
SELECT DISTINCT ?u WHERE { ?u property:P937 resource:Q36180 . ?u rdf:type ontology:Q502895 }
writer
action filter_type
action find_reverse
entity writer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer']
SELECT DISTINCT ?u WHERE { ?u property:work_location resource:writer . ?u rdf:type ontology:common_name }
[]
common name
Q3398852
SYSTEM
Lidija Dimkovska
Q3398852
(c(Q502895),P937,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P937
type Q502895
[ANSWER] has writer as their work location
[{'concept': 'Q502895'}, 'P937', 'Q36180']
SELECT DISTINCT ?u WHERE { ?u property:P937 resource:Q36180 . ?u rdf:type ontology:Q502895 }
Lidija Dimkovska
Lidija Dimkovska has writer as their work location
Lidija Dimkovska
action filter_type
action find_reverse
entity writer
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'writer']
SELECT DISTINCT ?u WHERE { ?u property:work_location resource:writer . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168569
P50
Q234460
USER
What are the texts written by Martin Andersen Nexø ?
(c(Q234460),P50,Q168569)
action filter_type
action find_reverse
entity Q168569
relation P50
type Q234460
[{'concept': 'Q234460'}, 'P50', 'Q168569']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q234460 . ?c property:P50 resource:Q168569 }
Martin Andersen Nexø
action filter_type
action find_reverse
entity Martin Andersen Nexø
relation author
type text
[{'concept': 'text'}, 'author', 'Martin Andersen Nexø']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:text . ?c property:author resource:Martin_Andersen_Nexø }
[]
text
Q26933715 Q1642629 Q331784
SYSTEM
Ditte, daughter of Man, Pelle the Conqueror, Dryss
Q26933715 Q1642629 Q331784
(c(Q234460),P50,Q168569)
action filter_type
action find_reverse
entity Q168569
relation P50
type Q234460
The texts written by Martin Andersen are [ANSWERS]
[{'concept': 'Q234460'}, 'P50', 'Q168569']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q234460 . ?c property:P50 resource:Q168569 }
Ditte, daughter of Man Pelle the Conqueror Dryss
The texts written by Martin Andersen are Ditte, daughter of Man, Pelle the Conqueror and Dryss
Ditte, daughter of Man Pelle the Conqueror Dryss
action filter_type
action find_reverse
entity Martin Andersen Nexø
relation author
type text
[{'concept': 'text'}, 'author', 'Martin Andersen Nexø']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:text . ?c property:author resource:Martin_Andersen_Nexø }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331784
P800
Q502895
USER
Which person is accredited with being the author of the notable work Dryss ?
(c(Q502895),P800,Q331784)
action filter_type
action find_reverse
entity Q331784
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q331784']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q331784 . ?j rdf:type ontology:Q502895 }
Dryss
action filter_type
action find_reverse
entity Dryss
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Dryss']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:Dryss . ?j rdf:type ontology:common_name }
[]
common name
Q168569
SYSTEM
Martin Andersen Nexø
Q168569
(c(Q502895),P800,Q331784)
action filter_type
action find_reverse
entity Q331784
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work Dryss
[{'concept': 'Q502895'}, 'P800', 'Q331784']
SELECT DISTINCT ?j WHERE { ?j property:P800 resource:Q331784 . ?j rdf:type ontology:Q502895 }
Martin Andersen Nexø
Martin Andersen Nexø is accredited with being the author of the notable work Dryss
Martin Andersen Nexø
action filter_type
action find_reverse
entity Dryss
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Dryss']
SELECT DISTINCT ?j WHERE { ?j property:notable_work resource:Dryss . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q331784
P495
Q1048835
USER
What is the origin of Dryss ?
(Q331784,P495,c(Q1048835))
action filter_type
action find
entity Q331784
relation P495
type Q1048835
['Q331784', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q331784 property:P495 ?x . ?x rdf:type ontology:Q1048835 }
Dryss
action filter_type
action find
entity Dryss
relation country of origin
type political territorial entity
['Dryss', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dryss property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q331784,P495,c(Q1048835))
action filter_type
action find
entity Q331784
relation P495
type Q1048835
The origin of Dryss is in [ANSWER]
['Q331784', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q331784 property:P495 ?x . ?x rdf:type ontology:Q1048835 }
Denmark
The origin of Dryss is in Denmark
Denmark
action filter_type
action find
entity Dryss
relation country of origin
type political territorial entity
['Dryss', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dryss property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q35 Q155
P530
Q15617994
USER
Does Brazil hold diplomatic relationship with that political territory ?
(Q35,P530,Q155)
action is_in
entity Q155
action find
entity Q35
relation P530
['Q35', 'P530', 'Q155']
ASK WHERE { resource:Q35 property:P530 resource:Q155 }
Denmark Brazil
action is_in
entity Brazil
action find
entity Denmark
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q35,P530,Q155)
action is_in
entity Q155
action find
entity Q35
relation P530
[ANSWER]
['Q35', 'P530', 'Q155']
ASK WHERE { resource:Q35 property:P530 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Denmark
relation diplomatic relation
['Denmark', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Denmark property:diplomatic_relation resource:Brazil }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3398852 Q221 Q204041
P27
Q15617994
USER
Is Lidija Dimkovska a citizen of Republic of Macedonia and Krummbek ?
(Q3398852,P27,Q221) (Q3398852,P27,Q204041)
action is_in
entity Q3398852
action intersection
action find_reverse
entity Q221
relation P27
action find_reverse
entity Q204041
relation P27
['Q3398852', 'P27', 'Q221'] ['Q3398852', 'P27', 'Q204041']
ASK WHERE { resource:Q3398852 property:P27 resource:Q221 . resource:Q3398852 property:P27 resource:Q204041 }
Lidija Dimkovska Republic of Macedonia Krummbek
action is_in
entity Lidija Dimkovska
action intersection
action find_reverse
entity Republic of Macedonia
relation country of citizenship
action find_reverse
entity Krummbek
relation country of citizenship
['Lidija Dimkovska', 'country of citizenship', 'Republic of Macedonia'] ['Lidija Dimkovska', 'country of citizenship', 'Krummbek']
ASK WHERE { resource:Lidija_Dimkovska property:country_of_citizenship resource:Republic_of_Macedonia . resource:Lidija_Dimkovska property:country_of_citizenship resource:Krummbek }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3398852,P27,Q221) (Q3398852,P27,Q204041)
action is_in
entity Q3398852
action intersection
action find_reverse
entity Q221
relation P27
action find_reverse
entity Q204041
relation P27
[ANSWER]
['Q3398852', 'P27', 'Q221'] ['Q3398852', 'P27', 'Q204041']
ASK WHERE { resource:Q3398852 property:P27 resource:Q221 . resource:Q3398852 property:P27 resource:Q204041 }
YES and NO respectively
action is_in
entity Lidija Dimkovska
action intersection
action find_reverse
entity Republic of Macedonia
relation country of citizenship
action find_reverse
entity Krummbek
relation country of citizenship
['Lidija Dimkovska', 'country of citizenship', 'Republic of Macedonia'] ['Lidija Dimkovska', 'country of citizenship', 'Krummbek']
ASK WHERE { resource:Lidija_Dimkovska property:country_of_citizenship resource:Republic_of_Macedonia . resource:Lidija_Dimkovska property:country_of_citizenship resource:Krummbek }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q168569 Q4287506 Q4941843
P27
Q1048835
USER
Is Martin Andersen Nexø a native of Medvezhanka and Bongbong ?
(Q168569,P27,Q4287506) (Q168569,P27,Q4941843)
action is_in
entity Q168569
action intersection
action find_reverse
entity Q4287506
relation P27
action find_reverse
entity Q4941843
relation P27
['Q168569', 'P27', 'Q4287506'] ['Q168569', 'P27', 'Q4941843']
ASK WHERE { resource:Q168569 property:P27 resource:Q4287506 . resource:Q168569 property:P27 resource:Q4941843 }
Martin Andersen Nexø Medvezhanka Bongbong
action is_in
entity Martin Andersen Nexø
action intersection
action find_reverse
entity Medvezhanka
relation country of citizenship
action find_reverse
entity Bongbong
relation country of citizenship
['Martin Andersen Nexø', 'country of citizenship', 'Medvezhanka'] ['Martin Andersen Nexø', 'country of citizenship', 'Bongbong']
ASK WHERE { resource:Martin_Andersen_Nexø property:country_of_citizenship resource:Medvezhanka . resource:Martin_Andersen_Nexø property:country_of_citizenship resource:Bongbong }
[]
political territorial entity
SYSTEM
NO
(Q168569,P27,Q4287506) (Q168569,P27,Q4941843)
action is_in
entity Q168569
action intersection
action find_reverse
entity Q4287506
relation P27
action find_reverse
entity Q4941843
relation P27
[ANSWER]
['Q168569', 'P27', 'Q4287506'] ['Q168569', 'P27', 'Q4941843']
ASK WHERE { resource:Q168569 property:P27 resource:Q4287506 . resource:Q168569 property:P27 resource:Q4941843 }
No
action is_in
entity Martin Andersen Nexø
action intersection
action find_reverse
entity Medvezhanka
relation country of citizenship
action find_reverse
entity Bongbong
relation country of citizenship
['Martin Andersen Nexø', 'country of citizenship', 'Medvezhanka'] ['Martin Andersen Nexø', 'country of citizenship', 'Bongbong']
ASK WHERE { resource:Martin_Andersen_Nexø property:country_of_citizenship resource:Medvezhanka . resource:Martin_Andersen_Nexø property:country_of_citizenship resource:Bongbong }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P1001
Q12737077
USER
Which occupations apply to jurisdiction over Denmark ?
(c(Q12737077),P1001,Q35)
action filter_type
action find_reverse
entity Q35
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q35']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . ?l property:P1001 resource:Q35 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Denmark']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . ?l property:applies_to_jurisdiction resource:Denmark }
[]
occupation
Q795477 Q6317024 Q6866144
SYSTEM
Prime Minister of Denmark, Justice Minister of Denmark, Minister of Foreign Affairs
Q5340905 Q12311817 Q1311756 Q20069142 Q18913275 Q7689385 Q6317024 Q18913290 Q795477 Q18913269 Q6865806 Q1030099 Q5449541 Q6865812 Q12310252 Q12341969 Q24300568 Q1815344 Q5690600 Q6866144 Q6443269
(c(Q12737077),P1001,Q35)
action filter_type
action find_reverse
entity Q35
relation P1001
type Q12737077
[ANSWERS] apply to jurisdiction over Denmark
[{'concept': 'Q12737077'}, 'P1001', 'Q35']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . ?l property:P1001 resource:Q35 }
Education Minister of Denmark member of the Folketing Minister for the Environment Danish Minister of Transport Minister of Health Tax Minister of Denmark Justice Minister of Denmark Speaker of the Folketing Prime Minister of Denmark Minister of the Interior Minister for Development Cooperation of Denmark Culture Minister of Denmark Finance Minister of Denmark Minister for Ecclesiastical Affairs of Denmark Danish commerce minister Minister of Economic and Business Affairs Minister for Food, Agriculture and Fisheries Defence Minister of Denmark Health Minister Minister of Foreign Affairs Kultus Minister of Denmark
Prime Minister of Denmark, Justice Minister of Denmark and Minister of Foreign Affairs apply to jurisdiction over Denmark
Prime Minister of Denmark Justice Minister of Denmark Minister of Foreign Affairs
action filter_type
action find_reverse
entity Denmark
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Denmark']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . ?l property:applies_to_jurisdiction resource:Denmark }
[]