Simple Question (Direct)
Simple Question
Q675524
P106
Q12737077
USER
Which occupations are the professions of Rubén Serrano Calvo ?
(Q675524,P106,c(Q12737077))
action filter_type
action find
entity Q675524
relation P106
type Q12737077
['Q675524', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q675524 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Rubén Serrano Calvo
action filter_type
action find
entity Rubén Serrano Calvo
relation occupation
type occupation
['Rubén Serrano Calvo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Rubén_Serrano_Calvo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q1930187 Q4853732 Q36180
SYSTEM
journalist, children's writer, writer
Q1930187 Q4853732 Q36180 Q18844224
(Q675524,P106,c(Q12737077))
action filter_type
action find
entity Q675524
relation P106
type Q12737077
The professions of Rubén Serrano Calvo are [ANSWERS]
['Q675524', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q675524 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
journalist children's writer writer science fiction writer
The professions of Rubén Serrano Calvo are journalist, children's writer and writer
journalist children's writer writer
action filter_type
action find
entity Rubén Serrano Calvo
relation occupation
type occupation
['Rubén Serrano Calvo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Rubén_Serrano_Calvo property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1930187 Q4853732 Q36180
P101
Q502895
USER
Which people have field of work as those occupations ?
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q4853732) (c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q4853732'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P101 ?j . VALUES ( ?j ) { ( resource:Q1930187 ) ( resource:Q4853732 ) ( resource:Q36180 ) } }
journalist children's writer writer
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', "children's writer"] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:field_of_work ?j . VALUES ( ?j ) { ( resource:journalist ) ( resource:children's_writer ) ( resource:writer ) } }
[]
common name
Q168569 Q15114765 Q709844
SYSTEM
Martin Andersen Nexø, Erich Preuß, Finn Gustavsen
Q15114765 Q709844 Q1944623 Q168569
(c(Q502895),P101,Q1930187) (c(Q502895),P101,Q4853732) (c(Q502895),P101,Q36180)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] have field of work as those occupations
[{'concept': 'Q502895'}, 'P101', 'Q1930187'] [{'concept': 'Q502895'}, 'P101', 'Q4853732'] [{'concept': 'Q502895'}, 'P101', 'Q36180']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P101 ?j . VALUES ( ?j ) { ( resource:Q1930187 ) ( resource:Q4853732 ) ( resource:Q36180 ) } }
Erich Preuß Finn Gustavsen Monika Finsterbusch Martin Andersen Nexø
Martin Andersen Nexø, Erich Preuß and Finn Gustavsen have field of work as those occupations
Martin Andersen Nexø Erich Preuß Finn Gustavsen
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'journalist'] [{'concept': 'common name'}, 'field of work', "children's writer"] [{'concept': 'common name'}, 'field of work', 'writer']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:field_of_work ?j . VALUES ( ?j ) { ( resource:journalist ) ( resource:children's_writer ) ( resource:writer ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q168569 Q15114765 Q709844
P106
Q12737077
USER
Which occupations are the professions of Martin Andersen Nexø, Erich Preuß and Finn Gustavsen ?
(Q168569,P106,c(Q12737077)) (Q15114765,P106,c(Q12737077)) (Q709844,P106,c(Q12737077))
action union
action filter_type
action find
entity Q168569
relation P106
type Q12737077
action filter_type
action find
entity Q15114765
relation P106
type Q12737077
action filter_type
action find
entity Q709844
relation P106
type Q12737077
['Q168569', 'P106', {'concept': 'Q12737077'}] ['Q15114765', 'P106', {'concept': 'Q12737077'}] ['Q709844', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { resource:Q168569 property:P106 ?b . ?b rdf:type ontology:Q12737077 } UNION { resource:Q15114765 property:P106 ?b . ?b rdf:type ontology:Q12737077 } }
Martin Andersen Nexø Erich Preuß Finn Gustavsen
action union
action filter_type
action find
entity Martin Andersen Nexø
relation occupation
type occupation
action filter_type
action find
entity Erich Preuß
relation occupation
type occupation
action filter_type
action find
entity Finn Gustavsen
relation occupation
type occupation
['Martin Andersen Nexø', 'occupation', {'concept': 'occupation'}] ['Erich Preuß', 'occupation', {'concept': 'occupation'}] ['Finn Gustavsen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { resource:Martin_Andersen_Nexø property:occupation ?b . ?b rdf:type ontology:occupation } UNION { resource:Erich_Preuß property:occupation ?b . ?b rdf:type ontology:occupation } }
[]
occupation
Q1930187 Q1930187 Q1930187
SYSTEM
journalist
Q1930187 Q36180 Q1930187 Q15980158 Q1930187 Q82955 Q876864
(Q168569,P106,c(Q12737077)) (Q15114765,P106,c(Q12737077)) (Q709844,P106,c(Q12737077))
action union
action filter_type
action find
entity Q168569
relation P106
type Q12737077
action filter_type
action find
entity Q15114765
relation P106
type Q12737077
action filter_type
action find
entity Q709844
relation P106
type Q12737077
[ANSWER], [ANSWER] and [ANSWER] are the professions of Martin Andersen Nexø, Erich Preuß and Finn Gustavsen
['Q168569', 'P106', {'concept': 'Q12737077'}] ['Q15114765', 'P106', {'concept': 'Q12737077'}] ['Q709844', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { resource:Q168569 property:P106 ?b . ?b rdf:type ontology:Q12737077 } UNION { resource:Q15114765 property:P106 ?b . ?b rdf:type ontology:Q12737077 } }
journalist writer journalist non-fiction writer journalist politician contributing editor
Journalist, journalist and journalist are the professions of Martin Andersen Nexø, Erich Preuß and Finn Gustavsen
journalist journalist journalist
action union
action filter_type
action find
entity Martin Andersen Nexø
relation occupation
type occupation
action filter_type
action find
entity Erich Preuß
relation occupation
type occupation
action filter_type
action find
entity Finn Gustavsen
relation occupation
type occupation
['Martin Andersen Nexø', 'occupation', {'concept': 'occupation'}] ['Erich Preuß', 'occupation', {'concept': 'occupation'}] ['Finn Gustavsen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { resource:Martin_Andersen_Nexø property:occupation ?b . ?b rdf:type ontology:occupation } UNION { resource:Erich_Preuß property:occupation ?b . ?b rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168569
P800
Q234460
USER
Which texts are the notable works of Martin Andersen Nexø ?
(Q168569,P800,c(Q234460))
action filter_type
action find
entity Q168569
relation P800
type Q234460
['Q168569', 'P800', {'concept': 'Q234460'}]
SELECT DISTINCT ?v WHERE { resource:Q168569 property:P800 ?v . ?v rdf:type ontology:Q234460 }
Martin Andersen Nexø
action filter_type
action find
entity Martin Andersen Nexø
relation notable work
type text
['Martin Andersen Nexø', 'notable work', {'concept': 'text'}]
SELECT DISTINCT ?v WHERE { resource:Martin_Andersen_Nexø property:notable_work ?v . ?v rdf:type ontology:text }
[]
text
Q26933715 Q1642629 Q331784
SYSTEM
Ditte, daughter of Man, Pelle the Conqueror, Dryss
Q26933715 Q1642629 Q331784
(Q168569,P800,c(Q234460))
action filter_type
action find
entity Q168569
relation P800
type Q234460
[ANSWERS] are the notable works of Martin Andersen Nexø
['Q168569', 'P800', {'concept': 'Q234460'}]
SELECT DISTINCT ?v WHERE { resource:Q168569 property:P800 ?v . ?v rdf:type ontology:Q234460 }
Ditte, daughter of Man Pelle the Conqueror Dryss
Ditte, daughter of Man, Pelle the Conqueror and Dryss are the notable works of Martin Andersen Nexø
Ditte, daughter of Man Pelle the Conqueror Dryss
action filter_type
action find
entity Martin Andersen Nexø
relation notable work
type text
['Martin Andersen Nexø', 'notable work', {'concept': 'text'}]
SELECT DISTINCT ?v WHERE { resource:Martin_Andersen_Nexø property:notable_work ?v . ?v rdf:type ontology:text }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q26933715 Q1642629 Q331784
P800
Q502895
USER
Which people have Ditte, daughter of Man, Pelle the Conqueror and Dryss as a notable work ?
(c(Q502895),P800,Q26933715) (c(Q502895),P800,Q1642629) (c(Q502895),P800,Q331784)
action union
action filter_type
action find_reverse
entity Q26933715
relation P800
type Q502895
action filter_type
action find_reverse
entity Q1642629
relation P800
type Q502895
action filter_type
action find_reverse
entity Q331784
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q26933715'] [{'concept': 'Q502895'}, 'P800', 'Q1642629'] [{'concept': 'Q502895'}, 'P800', 'Q331784']
SELECT DISTINCT ?b WHERE { { ?b property:P800 resource:Q26933715 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P800 resource:Q1642629 . ?b rdf:type ontology:Q502895 } }
Ditte, daughter of Man Pelle the Conqueror Dryss
action union
action filter_type
action find_reverse
entity Ditte, daughter of Man
relation notable work
type common name
action filter_type
action find_reverse
entity Pelle the Conqueror
relation notable work
type common name
action filter_type
action find_reverse
entity Dryss
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Ditte, daughter of Man'] [{'concept': 'common name'}, 'notable work', 'Pelle the Conqueror'] [{'concept': 'common name'}, 'notable work', 'Dryss']
SELECT DISTINCT ?b WHERE { { ?b property:notable_work resource:Ditte,_daughter_of_Man . ?b rdf:type ontology:common_name } UNION { ?b property:notable_work resource:Pelle_the_Conqueror . ?b rdf:type ontology:common_name } }
[]
common name
Q168569
SYSTEM
Martin Andersen Nexø
Q168569
(c(Q502895),P800,Q26933715) (c(Q502895),P800,Q1642629) (c(Q502895),P800,Q331784)
action union
action filter_type
action find_reverse
entity Q26933715
relation P800
type Q502895
action filter_type
action find_reverse
entity Q1642629
relation P800
type Q502895
action filter_type
action find_reverse
entity Q331784
relation P800
type Q502895
[ANSWER] have Ditte, daughter of Man, Pelle the Conqueror and Dryss as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q26933715'] [{'concept': 'Q502895'}, 'P800', 'Q1642629'] [{'concept': 'Q502895'}, 'P800', 'Q331784']
SELECT DISTINCT ?b WHERE { { ?b property:P800 resource:Q26933715 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P800 resource:Q1642629 . ?b rdf:type ontology:Q502895 } }
Martin Andersen Nexø
Martin Andersen Nexø have Ditte, daughter of Man, Pelle the Conqueror and Dryss as a notable work
Martin Andersen Nexø
action union
action filter_type
action find_reverse
entity Ditte, daughter of Man
relation notable work
type common name
action filter_type
action find_reverse
entity Pelle the Conqueror
relation notable work
type common name
action filter_type
action find_reverse
entity Dryss
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Ditte, daughter of Man'] [{'concept': 'common name'}, 'notable work', 'Pelle the Conqueror'] [{'concept': 'common name'}, 'notable work', 'Dryss']
SELECT DISTINCT ?b WHERE { { ?b property:notable_work resource:Ditte,_daughter_of_Man . ?b rdf:type ontology:common_name } UNION { ?b property:notable_work resource:Pelle_the_Conqueror . ?b rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26933715
P921
Q151885
USER
What were the main subjects in the work Ditte, daughter of Man ?
(Q168569,P921,c(Q151885))
action filter_type
action find
entity Q26933715
relation P921
type Q151885
['Q168569', 'P921', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q26933715 property:P921 ?l . ?l rdf:type ontology:Q151885 }
Ditte, daughter of Man
action filter_type
action find
entity Ditte, daughter of Man
relation main subject
type concept
['Martin Andersen Nexø', 'main subject', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Ditte,_daughter_of_Man property:main_subject ?l . ?l rdf:type ontology:concept }
[]
concept
Q10294 Q467
SYSTEM
poverty, woman
Q10294 Q467
(Q168569,P921,c(Q151885))
action filter_type
action find
entity Q26933715
relation P921
type Q151885
The main subjects in the work Ditte , daughter of Man were in [ANSWERS]
['Q168569', 'P921', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q26933715 property:P921 ?l . ?l rdf:type ontology:Q151885 }
poverty woman
The main subjects in the work Ditte , daughter of Man were in poverty and woman
poverty woman
action filter_type
action find
entity Ditte, daughter of Man
relation main subject
type concept
['Martin Andersen Nexø', 'main subject', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Ditte,_daughter_of_Man property:main_subject ?l . ?l rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7686261 Q168569
P19 P20
Q515
USER
Which cities are the places of death of Martin Andersen Nexø or were Tarkeshwari Sinha born in ?
OR((Q168569,P20,c(Q515)), (Q7686261,P19,c(Q515)))
action filter_type
action union
action find
entity Q168569
relation P20
action find
entity Q7686261
relation P19
type Q515
{'OR': [['Q168569', 'P20', {'concept': 'Q515'}], ['Q7686261', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q168569 property:P20 ?r } UNION { resource:Q7686261 property:P19 ?r } } . ?r rdf:type ontology:Q515 }
Tarkeshwari Sinha Martin Andersen Nexø
action filter_type
action union
action find
entity Martin Andersen Nexø
relation place of death
action find
entity Tarkeshwari Sinha
relation place of birth
type city
{'OR': [['Martin Andersen Nexø', 'place of death', {'concept': 'city'}], ['Tarkeshwari Sinha', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Martin_Andersen_Nexø property:place_of_death ?r } UNION { resource:Tarkeshwari_Sinha property:place_of_birth ?r } } . ?r rdf:type ontology:city }
[]
city
Q1731 Q80484
SYSTEM
Dresden, Patna
Q1731 Q80484
OR((Q168569,P20,c(Q515)), (Q7686261,P19,c(Q515)))
action filter_type
action union
action find
entity Q168569
relation P20
action find
entity Q7686261
relation P19
type Q515
[ANSWERS] are the places of death of Martin Andersen Nexø or were Tarkeshwari Sinha born in
{'OR': [['Q168569', 'P20', {'concept': 'Q515'}], ['Q7686261', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q168569 property:P20 ?r } UNION { resource:Q7686261 property:P19 ?r } } . ?r rdf:type ontology:Q515 }
Dresden Patna
Dresden and Patna are the places of death of Martin Andersen Nexø or were Tarkeshwari Sinha born in
Dresden Patna
action filter_type
action union
action find
entity Martin Andersen Nexø
relation place of death
action find
entity Tarkeshwari Sinha
relation place of birth
type city
{'OR': [['Martin Andersen Nexø', 'place of death', {'concept': 'city'}], ['Tarkeshwari Sinha', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Martin_Andersen_Nexø property:place_of_death ?r } UNION { resource:Tarkeshwari_Sinha property:place_of_birth ?r } } . ?r rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7686261
P102
Q7210356
USER
Which party is Tarkeshwari Sinha affiliated with ?
(Q7686261,P102,c(Q7210356))
action filter_type
action find
entity Q7686261
relation P102
type Q7210356
['Q7686261', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q7686261 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Tarkeshwari Sinha
action filter_type
action find
entity Tarkeshwari Sinha
relation member of political party
type political organization
['Tarkeshwari Sinha', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Tarkeshwari_Sinha property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q10225
SYSTEM
Indian National Congress
Q10225
(Q7686261,P102,c(Q7210356))
action filter_type
action find
entity Q7686261
relation P102
type Q7210356
Tarkeshwari Sinha is affiliated to [ANSWER]
['Q7686261', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?k WHERE { resource:Q7686261 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Indian National Congress
Tarkeshwari Sinha is affiliated to Indian National Congress
Indian National Congress
action filter_type
action find
entity Tarkeshwari Sinha
relation member of political party
type political organization
['Tarkeshwari Sinha', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?k WHERE { resource:Tarkeshwari_Sinha property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]