Simple Question (Direct)
Simple Question
Q77868
P106
Q12737077
USER
What are the job of Helene Hegemann ?
(Q77868,P106,c(Q12737077))
action filter_type
action find
entity Q77868
relation P106
type Q12737077
['Q77868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q77868 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Helene Hegemann
action filter_type
action find
entity Helene Hegemann
relation occupation
type occupation
['Helene Hegemann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Helene_Hegemann property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q33999 Q36180
SYSTEM
actor, writer
Q33999 Q36180
(Q77868,P106,c(Q12737077))
action filter_type
action find
entity Q77868
relation P106
type Q12737077
The job of Helene Hegemann are an [ANSWERS]
['Q77868', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q77868 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
actor writer
The job of Helene Hegemann are an actor and writer
actor writer
action filter_type
action find
entity Helene Hegemann
relation occupation
type occupation
['Helene Hegemann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Helene_Hegemann property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33999 Q36180
P425
Q1914636
USER
Which activities are associated with the field of occupation actor and writer ?
(Q33999,P425,c(Q1914636)) (Q36180,P425,c(Q1914636))
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?z WHERE { { resource:Q33999 property:P425 ?z . ?z rdf:type ontology:Q1914636 } UNION { resource:Q36180 property:P425 ?z . ?z rdf:type ontology:Q1914636 } }
actor writer
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity writer
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?z WHERE { { resource:actor property:field_of_this_occupation ?z . ?z rdf:type ontology:activity } UNION { resource:writer property:field_of_this_occupation ?z . ?z rdf:type ontology:activity } }
[]
activity
Q222749 Q8242
SYSTEM
acting, literature
Q222749 Q8242
(Q33999,P425,c(Q1914636)) (Q36180,P425,c(Q1914636))
action union
action filter_type
action find
entity Q33999
relation P425
type Q1914636
action filter_type
action find
entity Q36180
relation P425
type Q1914636
And [ANSWERS] are associated with the field of occupation actor and writer
['Q33999', 'P425', {'concept': 'Q1914636'}] ['Q36180', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?z WHERE { { resource:Q33999 property:P425 ?z . ?z rdf:type ontology:Q1914636 } UNION { resource:Q36180 property:P425 ?z . ?z rdf:type ontology:Q1914636 } }
acting literature
And acting and literature are associated with the field of occupation actor and writer
acting literature
action union
action filter_type
action find
entity actor
relation field of this occupation
type activity
action filter_type
action find
entity writer
relation field of this occupation
type activity
['actor', 'field of this occupation', {'concept': 'activity'}] ['writer', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?z WHERE { { resource:actor property:field_of_this_occupation ?z . ?z rdf:type ontology:activity } UNION { resource:writer property:field_of_this_occupation ?z . ?z rdf:type ontology:activity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q77868
P161
Q838948
USER
Which work of art does Helene Hegemann star in ?
(c(Q838948),P161,Q77868)
action filter_type
action find_reverse
entity Q77868
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q77868']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q77868 . ?w rdf:type ontology:Q838948 }
Helene Hegemann
action filter_type
action find_reverse
entity Helene Hegemann
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Helene Hegemann']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Helene_Hegemann . ?w rdf:type ontology:work_of_art }
[]
work of art
Q1206255
SYSTEM
Germany 09
Q1206255
(c(Q838948),P161,Q77868)
action filter_type
action find_reverse
entity Q77868
relation P161
type Q838948
Helene Hegemann stars in [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q77868']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q77868 . ?w rdf:type ontology:Q838948 }
Germany 09
Helene Hegemann stars in Germany 09
Germany 09
action filter_type
action find_reverse
entity Helene Hegemann
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Helene Hegemann']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:Helene_Hegemann . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1206255
P941
Q15416
USER
What was that work of art inspired by ?
(Q1206255,P941,c(Q15416))
action filter_type
action find
entity Q1206255
relation P941
type Q15416
['Q1206255', 'P941', {'concept': 'Q15416'}]
SELECT DISTINCT ?o WHERE { resource:Q1206255 property:P941 ?o . ?o rdf:type ontology:Q15416 }
Germany 09
action filter_type
action find
entity Germany 09
relation inspired by
type television program
['Germany 09', 'inspired by', {'concept': 'television program'}]
SELECT DISTINCT ?o WHERE { resource:Germany_09 property:inspired_by ?o . ?o rdf:type ontology:television_program }
[]
television program
Q664532
SYSTEM
Germany in Autumn
Q664532
(Q1206255,P941,c(Q15416))
action filter_type
action find
entity Q1206255
relation P941
type Q15416
[ANSWER] was inspired by
['Q1206255', 'P941', {'concept': 'Q15416'}]
SELECT DISTINCT ?o WHERE { resource:Q1206255 property:P941 ?o . ?o rdf:type ontology:Q15416 }
Germany in Autumn
Germany in Autumn was inspired by
Germany in Autumn
action filter_type
action find
entity Germany 09
relation inspired by
type television program
['Germany 09', 'inspired by', {'concept': 'television program'}]
SELECT DISTINCT ?o WHERE { resource:Germany_09 property:inspired_by ?o . ?o rdf:type ontology:television_program }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q664532 Q16202949 Q20790043
P161
Q502895
USER
Does that television program have Suraj Chapagain and Gustave-Adolphe Haage-Bey in its star cast ?
(Q664532,P161,Q16202949) (Q664532,P161,Q20790043)
action is_in
entity Q664532
action intersection
action find_reverse
entity Q16202949
relation P161
action find_reverse
entity Q20790043
relation P161
['Q664532', 'P161', 'Q16202949'] ['Q664532', 'P161', 'Q20790043']
ASK WHERE { resource:Q664532 property:P161 resource:Q16202949 . resource:Q664532 property:P161 resource:Q20790043 }
Germany in Autumn Suraj Chapagain Gustave-Adolphe Haage-Bey
action is_in
entity Germany in Autumn
action intersection
action find_reverse
entity Suraj Chapagain
relation cast member
action find_reverse
entity Gustave-Adolphe Haage-Bey
relation cast member
['Germany in Autumn', 'cast member', 'Suraj Chapagain'] ['Germany in Autumn', 'cast member', 'Gustave-Adolphe Haage-Bey']
ASK WHERE { resource:Germany_in_Autumn property:cast_member resource:Suraj_Chapagain . resource:Germany_in_Autumn property:cast_member resource:Gustave-Adolphe_Haage-Bey }
[]
common name
SYSTEM
NO
(Q664532,P161,Q16202949) (Q664532,P161,Q20790043)
action is_in
entity Q664532
action intersection
action find_reverse
entity Q16202949
relation P161
action find_reverse
entity Q20790043
relation P161
[ANSWER]
['Q664532', 'P161', 'Q16202949'] ['Q664532', 'P161', 'Q20790043']
ASK WHERE { resource:Q664532 property:P161 resource:Q16202949 . resource:Q664532 property:P161 resource:Q20790043 }
No
action is_in
entity Germany in Autumn
action intersection
action find_reverse
entity Suraj Chapagain
relation cast member
action find_reverse
entity Gustave-Adolphe Haage-Bey
relation cast member
['Germany in Autumn', 'cast member', 'Suraj Chapagain'] ['Germany in Autumn', 'cast member', 'Gustave-Adolphe Haage-Bey']
ASK WHERE { resource:Germany_in_Autumn property:cast_member resource:Suraj_Chapagain . resource:Germany_in_Autumn property:cast_member resource:Gustave-Adolphe_Haage-Bey }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1206255
P57
Q502895
USER
Who were Germany 09 directed by ?
(Q1206255,P57,c(Q502895))
action filter_type
action find
entity Q1206255
relation P57
type Q502895
['Q1206255', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1206255 property:P57 ?t . ?t rdf:type ontology:Q502895 }
Germany 09
action filter_type
action find
entity Germany 09
relation director
type common name
['Germany 09', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Germany_09 property:director ?t . ?t rdf:type ontology:common_name }
[]
common name
Q107274 Q77061 Q57231
SYSTEM
Dominik Graf, Fatih Akın, Tom Tykwer
Q78717 Q107274 Q69344 Q77061 Q72685 Q84409 Q108417 Q1582632 Q89870 Q71650 Q1673648 Q60669 Q57231
(Q1206255,P57,c(Q502895))
action filter_type
action find
entity Q1206255
relation P57
type Q502895
Germany 09 were directed by [ANSWERS]
['Q1206255', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1206255 property:P57 ?t . ?t rdf:type ontology:Q502895 }
Hans Weingartner Dominik Graf Dani Levy Fatih Akın Romuald Karmakar Angela Schanelec Sylke Enders Hans Steinbichler Christoph Hochhäusler Nicolette Krebitz Isabelle Stever Wolfgang Becker Tom Tykwer
Germany 09 were directed by Dominik Graf, Fatih Akın and Tom Tykwer
Dominik Graf Fatih Akın Tom Tykwer
action filter_type
action find
entity Germany 09
relation director
type common name
['Germany 09', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Germany_09 property:director ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6035933
Q502895
USER
And how about Innocence?
(Q6035933,P57,c(Q502895))
action filter_type
action find
entity Q6035933
relation P57
type Q502895
['Q6035933', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q6035933 property:P57 ?n }
Innocence
action filter_type
action find
entity Innocence
relation director
type common name
['Innocence', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Innocence property:director ?n }
[]
common name
Q298025
SYSTEM
Joss Whedon
Q298025
(Q6035933,P57,c(Q502895))
action filter_type
action find
entity Q6035933
relation P57
type Q502895
[ANSWER]
['Q6035933', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q6035933 property:P57 ?n }
Joss Whedon
Joss Whedon
action filter_type
action find
entity Innocence
relation director
type common name
['Innocence', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Innocence property:director ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q298025 Q2417210 Q1860
P1412
Q34770
USER
Does that person writes Old Swedish and English ?
(Q298025,P1412,Q2417210) (Q298025,P1412,Q1860)
action is_in
entity Q298025
action intersection
action find_reverse
entity Q2417210
relation P1412
action find_reverse
entity Q1860
relation P1412
['Q298025', 'P1412', 'Q2417210'] ['Q298025', 'P1412', 'Q1860']
ASK WHERE { resource:Q298025 property:P1412 resource:Q1860 . resource:Q298025 property:P1412 resource:Q2417210 }
Joss Whedon Old Swedish English
action is_in
entity Joss Whedon
action intersection
action find_reverse
entity Old Swedish
relation languages spoken, written or signed
action find_reverse
entity English
relation languages spoken, written or signed
['Joss Whedon', 'languages spoken, written or signed', 'Old Swedish'] ['Joss Whedon', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Joss_Whedon property:languages_spoken,_written_or_signed resource:English . resource:Joss_Whedon property:languages_spoken,_written_or_signed resource:Old_Swedish }
[]
language
SYSTEM
NO and YES respectively
(Q298025,P1412,Q2417210) (Q298025,P1412,Q1860)
action is_in
entity Q298025
action intersection
action find_reverse
entity Q2417210
relation P1412
action find_reverse
entity Q1860
relation P1412
[ANSWER]
['Q298025', 'P1412', 'Q2417210'] ['Q298025', 'P1412', 'Q1860']
ASK WHERE { resource:Q298025 property:P1412 resource:Q1860 . resource:Q298025 property:P1412 resource:Q2417210 }
NO and YES respectively
action is_in
entity Joss Whedon
action intersection
action find_reverse
entity Old Swedish
relation languages spoken, written or signed
action find_reverse
entity English
relation languages spoken, written or signed
['Joss Whedon', 'languages spoken, written or signed', 'Old Swedish'] ['Joss Whedon', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:Joss_Whedon property:languages_spoken,_written_or_signed resource:English . resource:Joss_Whedon property:languages_spoken,_written_or_signed resource:Old_Swedish }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298025
P86
Q838948
USER
Which work of art was composed by that person ?
action filter_type
action find_reverse
entity Q298025
relation P86
type Q838948
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q298025 . ?q rdf:type ontology:Q838948 }
Joss Whedon
action filter_type
action find_reverse
entity Joss Whedon
relation composer
type work of art
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Joss_Whedon . ?q rdf:type ontology:work_of_art }
[]
work of art
Q3009047
SYSTEM
Much Ado About Nothing
Q3009047
action filter_type
action find_reverse
entity Q298025
relation P86
type Q838948
[ANSWER] was composed by that person
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q298025 . ?q rdf:type ontology:Q838948 }
Much Ado About Nothing
Much Ado About Nothing was composed by that person
Much Ado About Nothing
action filter_type
action find_reverse
entity Joss Whedon
relation composer
type work of art
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Joss_Whedon . ?q rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P189
Q14524493 Q8502 Q838948
USER
Which works of art were found at min number of terrains or mountains ?
(c(Q838948),P189,c(Q14524493)|c(Q8502))
action argmin
action union
action find_tuple_counts
relation P189
type Q838948
type Q14524493
action find_tuple_counts
relation P189
type Q838948
type Q8502
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q14524493'}, {'concept': 'Q8502'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:Q14524493 ) ( ontology:Q8502 ) } . ?r rdf:type ?w } GROUP BY ?b } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:P189 ?d . ?d rdf:type ontology:Q14524493 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P189 ?d . ?d rdf:type ontology:Q8502 . ?s rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?x = ?j ) }
action argmin
action union
action find_tuple_counts
relation location of discovery
type work of art
type terrain
action find_tuple_counts
relation location of discovery
type work of art
type mountain
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'terrain'}, {'concept': 'mountain'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:terrain ) ( ontology:mountain ) } . ?r rdf:type ?w } GROUP BY ?b } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:location_of_discovery ?d . ?d rdf:type ontology:terrain . ?s rdf:type ontology:work_of_art } UNION { ?s property:location_of_discovery ?d . ?d rdf:type ontology:mountain . ?s rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?x = ?j ) }
[]
terrain mountain work of art
Q581804 Q2584518 Q2993019
SYSTEM
Farnese Bull, Diana of Versailles, Venus of Arles
Q15943251 Q3972841 Q15726561 Q18668605 Q216402 Q2858457 Q9428681 Q681067 Q2543426 Q5483226 Q1737844 Q2148525 Q20199985 Q13033442 Q18668045 Q3501413 Q3968670 Q12397781 Q1095794 Q2233466 Q580263 Q2944327 Q3924860 Q1525417 Q1553211 Q1127555 Q377296 Q1137682 Q2635402 Q849063 Q2584518 Q7604487 Q3361505 Q116580 Q20669412 Q5168696 Q15693822 Q24286014 Q131397 Q11863760 Q3516172 Q4891271 Q15284134 Q185392 Q552113 Q3026255 Q4680067 Q848790 Q582172 Q24169384 Q2364240 Q724710 Q19280256 Q3564172 Q1789503 Q5315707 Q667124 Q16332506 Q17449805 Q1606977 Q2520916 Q374591 Q691284 Q131141 Q510876 Q21485077 Q1817134 Q4945054 Q20200021 Q1624331 Q4918377 Q581804 Q18575238 Q16864946 Q7194968 Q810944 Q702658 Q23760769 Q151952 Q2993019 Q3589109 Q1248136 Q1394918 Q5797725 Q18667809 Q2707892 Q3918311
(c(Q838948),P189,c(Q14524493)|c(Q8502))
action argmin
action union
action find_tuple_counts
relation P189
type Q838948
type Q14524493
action find_tuple_counts
relation P189
type Q838948
type Q8502
[ANSWERS] were found at min number of terrains or mountains
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q14524493'}, {'concept': 'Q8502'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:Q14524493 ) ( ontology:Q8502 ) } . ?r rdf:type ?w } GROUP BY ?b } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:P189 ?d . ?d rdf:type ontology:Q14524493 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P189 ?d . ?d rdf:type ontology:Q8502 . ?s rdf:type ontology:Q838948 } } GROUP BY ?s } . FILTER ( ?x = ?j ) }
Dancing Faun Raimondi Stela Worshipper of Larsa Jupiter of Smyrna Winged Victory of Samothrace Chatsworth Head The Exaltation of the Flower Lady of Elche Dancing Satyr of Mazara del Vallo Fragment from the tomb of Nikarete Phallus of Schelklingen Ribchester Helmet Horse Škloŭ Idol The Old Fisherman Baal with Thunderbolt Pseudoathlete of Delos stele with the code of Hammurabi Idolino Seated Woman of Çatalhöyük Situla of the Pania Centaur of Vulci Pseudo-Seneca Croatian Apoxyomenos Guennol Lioness Westray Wife Venus of Petřkovice Trundholm sun chariot Biche of Balazote Venus of Brassempouy Diana of Versailles Statue of Iddi-Ilum Athena of Velletri Swimming Reindeer Jupiter Heliopolitanus Copper Bull Satala Aphrodite Sit-shamshi Venus of Willendorf Elk's Head of Huittinen Bull of Osuna Berenice Venus Lion of Knidos Borghese Gladiator Venus of Dolní Věstonice Diana of Gabii Adam of Govrlevo Dying Gaul Nefertiti Bust Vénus impudique Capuan Venus Venus of Savignano Bust of a male, bearded orant, found in the temple of Ishtar at Mari Townley Venus Kritios Boy Dunstable Swan Jewel Augustus of Prima Porta Ploughman Antinous-Osiris The Orator Wounded Gaul Farnese Hercules Venus of Langenzersdorf Younger Memnon Venus of Lespugue Portrait of Alexander the Great Giants of Monte Prama Sleeping Hermaphrodite Mistress of Lions Hera of Samos Bison Licking Insect Bite Farnese Bull Artemis Doryphoros from Pompeii Pincum relief Battersea Shield Lion man of the Hohlenstein Stadel Disk of Enheduanna Venus de Milo Venus of Arles The Youth of Agde Antinous Mondragone Pillar of the Boatmen The Mask of Warka Sauroctonos Borghese Lady of Ibiza Capitoline Antinous
Farnese Bull, Diana of Versailles and Venus of Arles were found at min number of terrains or mountains
Farnese Bull Diana of Versailles Venus of Arles
action argmin
action union
action find_tuple_counts
relation location of discovery
type work of art
type terrain
action find_tuple_counts
relation location of discovery
type work of art
type mountain
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'terrain'}, {'concept': 'mountain'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?j ) { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:terrain ) ( ontology:mountain ) } . ?r rdf:type ?w } GROUP BY ?b } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?x ) WHERE { { ?s property:location_of_discovery ?d . ?d rdf:type ontology:terrain . ?s rdf:type ontology:work_of_art } UNION { ?s property:location_of_discovery ?d . ?d rdf:type ontology:mountain . ?s rdf:type ontology:work_of_art } } GROUP BY ?s } . FILTER ( ?x = ?j ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q188 Q107274
P58 P364
Q838948
USER
Which works of art are Dominik Graf a screenwriter of and were originally created in German language ?
AND((c(Q838948),P58,Q107274), (c(Q838948),P364,Q188))
action filter_type
action intersection
action find_reverse
entity Q107274
relation P58
action find_reverse
entity Q188
relation P364
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q107274'], [{'concept': 'Q838948'}, 'P364', 'Q188']]}
SELECT DISTINCT ?y WHERE { ?y property:P58 resource:Q107274 . ?y property:P364 resource:Q188 . ?y rdf:type ontology:Q838948 }
German Dominik Graf
action filter_type
action intersection
action find_reverse
entity Dominik Graf
relation screenwriter
action find_reverse
entity German
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Dominik Graf'], [{'concept': 'work of art'}, 'original language of work', 'German']]}
SELECT DISTINCT ?y WHERE { ?y property:screenwriter resource:Dominik_Graf . ?y property:original_language_of_work resource:German . ?y rdf:type ontology:work_of_art }
[]
work of art
Q1206255 Q16840147
SYSTEM
Germany 09, Beloved Sisters
Q1206255 Q16840147
AND((c(Q838948),P58,Q107274), (c(Q838948),P364,Q188))
action filter_type
action intersection
action find_reverse
entity Q107274
relation P58
action find_reverse
entity Q188
relation P364
type Q838948
[ANSWERS] are Dominik Graf a screenwriter of and were originally created in German language
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q107274'], [{'concept': 'Q838948'}, 'P364', 'Q188']]}
SELECT DISTINCT ?y WHERE { ?y property:P58 resource:Q107274 . ?y property:P364 resource:Q188 . ?y rdf:type ontology:Q838948 }
Germany 09 Beloved Sisters
Germany 09 and Beloved Sisters are Dominik Graf a screenwriter of and were originally created in German language
Germany 09 Beloved Sisters
action filter_type
action intersection
action find_reverse
entity Dominik Graf
relation screenwriter
action find_reverse
entity German
relation original language of work
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Dominik Graf'], [{'concept': 'work of art'}, 'original language of work', 'German']]}
SELECT DISTINCT ?y WHERE { ?y property:screenwriter resource:Dominik_Graf . ?y property:original_language_of_work resource:German . ?y rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1206255
P1040
Q502895
USER
What are the names of the people who editted that work of art ?
(Q1206255,P1040,c(Q502895))
action filter_type
action find
entity Q1206255
relation P1040
type Q502895
['Q1206255', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1206255 property:P1040 ?o }
Germany 09
action filter_type
action find
entity Germany 09
relation film editor
type common name
['Germany 09', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Germany_09 property:film_editor ?o }
[]
common name
Clarification for simple ques.
Q16840147
SYSTEM
Did you mean Beloved Sisters ?
Q1206255 Q16840147
(Q1206255,P1040,c(Q502895)) (Q16840147,P1040,c(Q502895))
[ANSWER]
['Q1206255', 'P1040', {'concept': 'Q502895'}] ['Q16840147', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1206255 property:P1040 ?o }
Germany 09 Beloved Sisters
Did you mean Beloved Sisters ?
Beloved Sisters
['Germany 09', 'film editor', {'concept': 'common name'}] ['Beloved Sisters', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Germany_09 property:film_editor ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Germany 09. Could you tell me the answer for that?
(Q1206255,P1040,c(Q502895))
Q1206255
['Q1206255', 'P1040', {'concept': 'Q502895'}]
['Germany 09', 'film editor', {'concept': 'common name'}]
[]
Q17537097 Q293078 Q72685
SYSTEM
Oliver Neumann, Mathilde Bonnefoy, Romuald Karmakar
Q832573 Q72685 Q17537097 Q17493395 Q96190 Q503742 Q17537229 Q293078
(Q1206255,P1040,c(Q502895))
action filter_type
action find
entity Q1206255
relation P1040
type Q502895
The names of the people editted that work of art are [ANSWERS]
['Q1206255', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1206255 property:P1040 ?o }
Bettina Böhler Romuald Karmakar Oliver Neumann Katja Dringenberg Peter R. Adam Andrew Bird Dietmar Kraus Mathilde Bonnefoy
The names of the people editted that work of art are Oliver Neumann, Mathilde Bonnefoy and Romuald Karmakar
Oliver Neumann Mathilde Bonnefoy Romuald Karmakar
action filter_type
action find
entity Germany 09
relation film editor
type common name
['Germany 09', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Germany_09 property:film_editor ?o }
[]