Simple Question (Direct)
Simple Question
Q104785
P97
Q4164871
USER
What were the noble titles held by Countess Palatine Dorothea of Simmern ?
(Q104785,P97,c(Q4164871))
action filter_type
action find
entity Q104785
relation P97
type Q4164871
['Q104785', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?i WHERE { resource:Q104785 property:P97 ?i . ?i rdf:type ontology:Q4164871 }
Countess Palatine Dorothea of Simmern
action filter_type
action find
entity Countess Palatine Dorothea of Simmern
relation noble title
type position
['Countess Palatine Dorothea of Simmern', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?i WHERE { resource:Countess_Palatine_Dorothea_of_Simmern property:noble_title ?i . ?i rdf:type ontology:position }
[]
position
Q3519259 Q18244
SYSTEM
count, Fürst
Q3519259 Q18244
(Q104785,P97,c(Q4164871))
action filter_type
action find
entity Q104785
relation P97
type Q4164871
The noble titles held by Countess Palatine Dorothea of Simmern were the [ANSWERS]
['Q104785', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?i WHERE { resource:Q104785 property:P97 ?i . ?i rdf:type ontology:Q4164871 }
count Fürst
The noble titles held by Countess Palatine Dorothea of Simmern were the count and Fürst
count Fürst
action filter_type
action find
entity Countess Palatine Dorothea of Simmern
relation noble title
type position
['Countess Palatine Dorothea of Simmern', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?i WHERE { resource:Countess_Palatine_Dorothea_of_Simmern property:noble_title ?i . ?i rdf:type ontology:position }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3519259 Q18244
P39
Q502895
USER
Which people were responsible for occupying the position of count and Fürst ?
(c(Q502895),P39,Q3519259) (c(Q502895),P39,Q18244)
action union
action filter_type
action find_reverse
entity Q3519259
relation P39
type Q502895
action filter_type
action find_reverse
entity Q18244
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q3519259'] [{'concept': 'Q502895'}, 'P39', 'Q18244']
SELECT DISTINCT ?y WHERE { ?y property:P39 ?x . VALUES ( ?x ) { ( resource:Q3519259 ) ( resource:Q18244 ) } }
count Fürst
action union
action filter_type
action find_reverse
entity count
relation position held
type common name
action filter_type
action find_reverse
entity Fürst
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'count'] [{'concept': 'common name'}, 'position held', 'Fürst']
SELECT DISTINCT ?y WHERE { ?y property:position_held ?x . VALUES ( ?x ) { ( resource:count ) ( resource:Fürst ) } }
[]
common name
Q61213 Q1059466 Q313494
SYSTEM
Anthony Ulrich, Duke of Brunswick-Wolfenbüttel, Maria de Luna, Gabriel Bethlen
Q2820836 Q1301898 Q2604034 Q1059466 Q1974868 Q703389 Q316530 Q313494 Q61213 Q19478933
(c(Q502895),P39,Q3519259) (c(Q502895),P39,Q18244)
action union
action filter_type
action find_reverse
entity Q3519259
relation P39
type Q502895
action filter_type
action find_reverse
entity Q18244
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of count and Fürst
[{'concept': 'Q502895'}, 'P39', 'Q3519259'] [{'concept': 'Q502895'}, 'P39', 'Q18244']
SELECT DISTINCT ?y WHERE { ?y property:P39 ?x . VALUES ( ?x ) { ( resource:Q3519259 ) ( resource:Q18244 ) } }
Abbo, Count of Poitiers Pál Széchenyi Acfred II of Carcassonne Maria de Luna Abbot Oliba Baldwin IV, Count of Hainaut Stephen Bocskay Gabriel Bethlen Anthony Ulrich, Duke of Brunswick-Wolfenbüttel Nikolaj Jusupov
Anthony Ulrich, Duke of Brunswick-Wolfenbüttel, Maria de Luna and Gabriel Bethlen were responsible for occupying the position of count and Fürst
Anthony Ulrich, Duke of Brunswick-Wolfenbüttel Maria de Luna Gabriel Bethlen
action union
action filter_type
action find_reverse
entity count
relation position held
type common name
action filter_type
action find_reverse
entity Fürst
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'count'] [{'concept': 'common name'}, 'position held', 'Fürst']
SELECT DISTINCT ?y WHERE { ?y property:position_held ?x . VALUES ( ?x ) { ( resource:count ) ( resource:Fürst ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q61213 Q1059466 Q313494
P40
Q502895
USER
Who have those ones as an offspring ?
(c(Q502895),P40,Q61213) (c(Q502895),P40,Q1059466) (c(Q502895),P40,Q313494)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q61213'] [{'concept': 'Q502895'}, 'P40', 'Q1059466'] [{'concept': 'Q502895'}, 'P40', 'Q313494']
SELECT DISTINCT ?o WHERE { ?o property:P40 ?w . ?o rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q2820836 ) ( resource:Q1301898 ) ( resource:Q2604034 ) } }
Anthony Ulrich, Duke of Brunswick-Wolfenbüttel Maria de Luna Gabriel Bethlen
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Anthony Ulrich, Duke of Brunswick-Wolfenbüttel'] [{'concept': 'common name'}, 'child', 'Maria de Luna'] [{'concept': 'common name'}, 'child', 'Gabriel Bethlen']
SELECT DISTINCT ?o WHERE { ?o property:child ?w . ?o rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Abbo,_Count_of_Poitiers ) ( resource:Pál_Széchenyi ) ( resource:Acfred_II_of_Carcassonne ) } }
[]
common name
Q61963 Q66823 Q1131494
SYSTEM
Augustus the Younger, Duke of Brunswick-Lüneburg, Dorothea of Anhalt-Zerbst, Lope de Luna
Q66823 Q61963 Q849644 Q1131494 Q794176
(c(Q502895),P40,Q61213) (c(Q502895),P40,Q1059466) (c(Q502895),P40,Q313494)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS] have those ones as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q61213'] [{'concept': 'Q502895'}, 'P40', 'Q1059466'] [{'concept': 'Q502895'}, 'P40', 'Q313494']
SELECT DISTINCT ?o WHERE { ?o property:P40 ?w . ?o rdf:type ontology:Q502895 . VALUES ( ?w ) { ( resource:Q2820836 ) ( resource:Q1301898 ) ( resource:Q2604034 ) } }
Dorothea of Anhalt-Zerbst Augustus the Younger, Duke of Brunswick-Lüneburg Brianda d'Agout Lope de Luna Farkas Bethlen
Augustus the Younger, Duke of Brunswick-Lüneburg, Dorothea of Anhalt-Zerbst and Lope de Luna have those ones as an offspring
Augustus the Younger, Duke of Brunswick-Lüneburg Dorothea of Anhalt-Zerbst Lope de Luna
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Anthony Ulrich, Duke of Brunswick-Wolfenbüttel'] [{'concept': 'common name'}, 'child', 'Maria de Luna'] [{'concept': 'common name'}, 'child', 'Gabriel Bethlen']
SELECT DISTINCT ?o WHERE { ?o property:child ?w . ?o rdf:type ontology:common_name . VALUES ( ?w ) { ( resource:Abbo,_Count_of_Poitiers ) ( resource:Pál_Széchenyi ) ( resource:Acfred_II_of_Carcassonne ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q61963 Q66823 Q1131494
P26
Q502895
USER
Which people are the life partner of those ones ?
(Q61963,P26,c(Q502895)) (Q66823,P26,c(Q502895)) (Q1131494,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q61963', 'P26', {'concept': 'Q502895'}] ['Q66823', 'P26', {'concept': 'Q502895'}] ['Q1131494', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q66823 ) ( resource:Q61963 ) ( resource:Q849644 ) } . ?b rdf:type ontology:Q502895 . ?c property:P26 ?b }
Augustus the Younger, Duke of Brunswick-Lüneburg Dorothea of Anhalt-Zerbst Lope de Luna
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Augustus the Younger, Duke of Brunswick-Lüneburg', 'spouse', {'concept': 'common name'}] ['Dorothea of Anhalt-Zerbst', 'spouse', {'concept': 'common name'}] ['Lope de Luna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Dorothea_of_Anhalt-Zerbst ) ( resource:Augustus_the_Younger,_Duke_of_Brunswick-Lüneburg ) ( resource:Brianda_d'Agout ) } . ?b rdf:type ontology:common_name . ?c property:spouse ?b }
[]
common name
Q61963 Q448131 Q6317011
SYSTEM
Augustus the Younger, Duke of Brunswick-Lüneburg, Duchess Elisabeth Sophie of Mecklenburg, Clara Maria of Pomerania
Q6317011 Q66823 Q448131 Q61963 Q774846 Q849644
(Q61963,P26,c(Q502895)) (Q66823,P26,c(Q502895)) (Q1131494,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are the life partner of those ones
['Q61963', 'P26', {'concept': 'Q502895'}] ['Q66823', 'P26', {'concept': 'Q502895'}] ['Q1131494', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Q66823 ) ( resource:Q61963 ) ( resource:Q849644 ) } . ?b rdf:type ontology:Q502895 . ?c property:P26 ?b }
Clara Maria of Pomerania Dorothea of Anhalt-Zerbst Duchess Elisabeth Sophie of Mecklenburg Augustus the Younger, Duke of Brunswick-Lüneburg Violante d'Aragona Brianda d'Agout
Augustus the Younger, Duke of Brunswick-Lüneburg, Duchess Elisabeth Sophie of Mecklenburg and Clara Maria of Pomerania are the life partner of those ones
Augustus the Younger, Duke of Brunswick-Lüneburg Duchess Elisabeth Sophie of Mecklenburg Clara Maria of Pomerania
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Augustus the Younger, Duke of Brunswick-Lüneburg', 'spouse', {'concept': 'common name'}] ['Dorothea of Anhalt-Zerbst', 'spouse', {'concept': 'common name'}] ['Lope de Luna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?c ) { ( resource:Dorothea_of_Anhalt-Zerbst ) ( resource:Augustus_the_Younger,_Duke_of_Brunswick-Lüneburg ) ( resource:Brianda_d'Agout ) } . ?b rdf:type ontology:common_name . ?c property:spouse ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q61963 Q448131 Q6317011
P22
Q502895
USER
Who were the father of those ones ?
(Q61963,P22,c(Q502895)) (Q448131,P22,c(Q502895)) (Q6317011,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
['Q61963', 'P22', {'concept': 'Q502895'}] ['Q448131', 'P22', {'concept': 'Q502895'}] ['Q6317011', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?r property:P22 ?s . ?s rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q6317011 ) ( resource:Q66823 ) ( resource:Q448131 ) } }
Augustus the Younger, Duke of Brunswick-Lüneburg Duchess Elisabeth Sophie of Mecklenburg Clara Maria of Pomerania
action filter_type
action find
entity prev_answer
relation father
type common name
['Augustus the Younger, Duke of Brunswick-Lüneburg', 'father', {'concept': 'common name'}] ['Duchess Elisabeth Sophie of Mecklenburg', 'father', {'concept': 'common name'}] ['Clara Maria of Pomerania', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?r property:father ?s . ?s rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Clara_Maria_of_Pomerania ) ( resource:Dorothea_of_Anhalt-Zerbst ) ( resource:Duchess_Elisabeth_Sophie_of_Mecklenburg ) } }
[]
common name
Q65819 Q571404 Q319870
SYSTEM
Henry, Duke of Brunswick-Dannenberg, John Albert II, Duke of Mecklenburg, Bogislaw XIII, Duke of Pomerania
Q65819 Q571404 Q319870
(Q61963,P22,c(Q502895)) (Q448131,P22,c(Q502895)) (Q6317011,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
[ANSWERS]
['Q61963', 'P22', {'concept': 'Q502895'}] ['Q448131', 'P22', {'concept': 'Q502895'}] ['Q6317011', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?r property:P22 ?s . ?s rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q6317011 ) ( resource:Q66823 ) ( resource:Q448131 ) } }
Henry, Duke of Brunswick-Dannenberg John Albert II, Duke of Mecklenburg Bogislaw XIII, Duke of Pomerania
The father of those ones were Ernest Henry, Duke of Brunswick-Dannenberg, John Albert II, Duke of Mecklenburg and Bogislaw XIII, Duke of Pomerania
Henry, Duke of Brunswick-Dannenberg John Albert II, Duke of Mecklenburg Bogislaw XIII, Duke of Pomerania
action filter_type
action find
entity prev_answer
relation father
type common name
['Augustus the Younger, Duke of Brunswick-Lüneburg', 'father', {'concept': 'common name'}] ['Duchess Elisabeth Sophie of Mecklenburg', 'father', {'concept': 'common name'}] ['Clara Maria of Pomerania', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?r property:father ?s . ?s rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Clara_Maria_of_Pomerania ) ( resource:Dorothea_of_Anhalt-Zerbst ) ( resource:Duchess_Elisabeth_Sophie_of_Mecklenburg ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61963
P50
Q2342494
USER
Which collectable is written by Augustus the Younger, Duke of Brunswick-Lüneburg ?
(c(Q2342494),P50,Q61963)
action filter_type
action find_reverse
entity Q61963
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q61963']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q61963 . ?r rdf:type ontology:Q2342494 }
Augustus the Younger, Duke of Brunswick-Lüneburg
action filter_type
action find_reverse
entity Augustus the Younger, Duke of Brunswick-Lüneburg
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Augustus the Younger, Duke of Brunswick-Lüneburg']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Augustus_the_Younger,_Duke_of_Brunswick-Lüneburg . ?r rdf:type ontology:collectable }
[]
collectable
Q5093338
SYSTEM
Chess or the King's Game
Q5093338
(c(Q2342494),P50,Q61963)
action filter_type
action find_reverse
entity Q61963
relation P50
type Q2342494
[ANSWER] is written by Augustus the Younger, Duke of Brunswick-Lüneburg
[{'concept': 'Q2342494'}, 'P50', 'Q61963']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q61963 . ?r rdf:type ontology:Q2342494 }
Chess or the King's Game
Chess or the King's Game is written by Augustus the Younger, Duke of Brunswick-Lüneburg
Chess or the King's Game
action filter_type
action find_reverse
entity Augustus the Younger, Duke of Brunswick-Lüneburg
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Augustus the Younger, Duke of Brunswick-Lüneburg']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Augustus_the_Younger,_Duke_of_Brunswick-Lüneburg . ?r rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1059466
P9
Q502895
USER
Who are Maria de Luna a sister of ?
(c(Q502895),P9,Q1059466)
action filter_type
action find_reverse
entity Q1059466
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q1059466']
SELECT DISTINCT ?m WHERE { ?m property:P9 resource:Q1059466 . ?m rdf:type ontology:Q502895 }
Maria de Luna
action filter_type
action find_reverse
entity Maria de Luna
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Maria de Luna']
SELECT DISTINCT ?m WHERE { ?m property:sister resource:Maria_de_Luna . ?m rdf:type ontology:common_name }
[]
common name
Q1159857 Q1159851
SYSTEM
Fernando López de Luna, Brianda de Luna
Q1159857 Q1159851
(c(Q502895),P9,Q1059466)
action filter_type
action find_reverse
entity Q1059466
relation P9
type Q502895
Maria de Luna a sister of are Prince [ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q1059466']
SELECT DISTINCT ?m WHERE { ?m property:P9 resource:Q1059466 . ?m rdf:type ontology:Q502895 }
Fernando López de Luna Brianda de Luna
Maria de Luna a sister of are Prince Fernando López de Luna and Brianda de Luna
Fernando López de Luna Brianda de Luna
action filter_type
action find_reverse
entity Maria de Luna
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Maria de Luna']
SELECT DISTINCT ?m WHERE { ?m property:sister resource:Maria_de_Luna . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1059466
P7
Q502895
USER
Which person is the brother of Maria de Luna ?
(Q1059466,P7,c(Q502895))
action filter_type
action find
entity Q1059466
relation P7
type Q502895
['Q1059466', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1059466 property:P7 ?i }
Maria de Luna
action filter_type
action find
entity Maria de Luna
relation brother
type common name
['Maria de Luna', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Maria_de_Luna property:brother ?i }
[]
common name
Q1159857
SYSTEM
Fernando López de Luna
Q1159857
(Q1059466,P7,c(Q502895))
action filter_type
action find
entity Q1059466
relation P7
type Q502895
De [ANSWER] is the brother of Maria de Luna
['Q1059466', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q1059466 property:P7 ?i }
Fernando López de Luna
De Fernando López de Luna is the brother of Maria de Luna
Fernando López de Luna
action filter_type
action find
entity Maria de Luna
relation brother
type common name
['Maria de Luna', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Maria_de_Luna property:brother ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q571404
P734
Q101352
USER
Who is associated with John Albert II, Duke of Mecklenburg ?
(Q571404,P734,c(Q101352))
action filter_type
action find
entity Q571404
relation P734
type Q101352
['Q571404', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?y WHERE { resource:Q571404 property:P734 ?y . ?y rdf:type ontology:Q101352 }
John Albert II, Duke of Mecklenburg
action filter_type
action find
entity John Albert II, Duke of Mecklenburg
relation family name
type family name
['John Albert II, Duke of Mecklenburg', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?y WHERE { resource:John_Albert_II,_Duke_of_Mecklenburg property:family_name ?y . ?y rdf:type ontology:family_name }
[]
family name
Q22916394
SYSTEM
von Mecklenburg-Güstrow
Q22916394
(Q571404,P734,c(Q101352))
action filter_type
action find
entity Q571404
relation P734
type Q101352
[ANSWER] is associated with John Albert II, Duke of Mecklenburg
['Q571404', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?y WHERE { resource:Q571404 property:P734 ?y . ?y rdf:type ontology:Q101352 }
von Mecklenburg-Güstrow
Von Mecklenburg-Güstrow is associated with John Albert II, Duke of Mecklenburg
von Mecklenburg-Güstrow
action filter_type
action find
entity John Albert II, Duke of Mecklenburg
relation family name
type family name
['John Albert II, Duke of Mecklenburg', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?y WHERE { resource:John_Albert_II,_Duke_of_Mecklenburg property:family_name ?y . ?y rdf:type ontology:family_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q2342494 Q15619164 Q15707583
USER
Which collectables contain min number of abstract beings or fictional taxons ?
(c(Q15619164)|c(Q15707583),P1441,c(Q2342494))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15707583
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?d WHERE { VALUES ( ?t ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } . ?q rdf:type ?t } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) ?n WHERE { { ?o property:P1441 ?n . ?n rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q15619164 } UNION { ?o property:P1441 ?n . ?o rdf:type ontology:Q15707583 . ?n rdf:type ontology:Q2342494 } } GROUP BY ?n } . FILTER ( ?g = ?c ) }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional taxon
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?d WHERE { VALUES ( ?t ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } . ?q rdf:type ?t } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) ?n WHERE { { ?o property:present_in_work ?n . ?n rdf:type ontology:collectable . ?o rdf:type ontology:abstract_being } UNION { ?o property:present_in_work ?n . ?o rdf:type ontology:fictional_taxon . ?n rdf:type ontology:collectable } } GROUP BY ?n } . FILTER ( ?g = ?c ) }
[]
collectable abstract being fictional taxon
Q43361 Q191838 Q140527
SYSTEM
Harry Potter and the Philosopher's Stone, The Count of Monte Cristo, The Three Musketeers
Q74362 Q788777 Q1788243 Q718289 Q17066134 Q4742226 Q2870 Q1336124 Q28754 Q1418731 Q2892898 Q17024064 Q309450 Q939074 Q1195639 Q5255573 Q734675 Q18516245 Q45192 Q472228 Q130295 Q2738156 Q191838 Q1130299 Q208556 Q692557 Q332388 Q542293 Q655296 Q183565 Q3225953 Q746253 Q7769623 Q918052 Q7759097 Q304493 Q7516188 Q2564464 Q215983 Q308918 Q53592 Q174654 Q7991093 Q914197 Q1932742 Q459842 Q2917980 Q756866 Q1349759 Q3024051 Q1305005 Q245194 Q863438 Q19872993 Q46758 Q1188815 Q46751 Q1532676 Q261281 Q3776389 Q636815 Q255423 Q629438 Q47209 Q1952957 Q7249957 Q377710 Q150827 Q11612774 Q217352 Q457252 Q7759963 Q500688 Q15032745 Q1187628 Q742753 Q957248 Q3206513 Q731626 Q3591952 Q3276721 Q2076844 Q503793 Q20058700 Q1321432 Q466504 Q727861 Q769001 Q18084 Q4801009 Q2045474 Q3210024 Q503921 Q1340493 Q3201517 Q4887188 Q278208 Q185449 Q1529231 Q247364 Q582811 Q318333 Q3342544 Q18516256 Q2268391 Q2608698 Q770474 Q309019 Q143707 Q3661221 Q3051582 Q1165495 Q8563 Q6511 Q2295976 Q29424 Q2616869 Q426600 Q3411636 Q1229792 Q1262456 Q331651 Q62879 Q607112 Q465649 Q704677 Q28491 Q282814 Q149552 Q5406934 Q117182 Q670552 Q2070380 Q459303 Q4730228 Q465360 Q5605505 Q16998127 Q329989 Q1980191 Q18949486 Q543790 Q3235292 Q970822 Q3222334 Q11125816 Q164974 Q3039168 Q337944 Q192258 Q468071 Q7719300 Q11894198 Q63707 Q368432 Q870551 Q2271327 Q7767037 Q3549724 Q741033 Q7732780 Q3030638 Q1292533 Q7973944 Q604922 Q3305214 Q11635893 Q185118 Q3766392 Q172850 Q1043792 Q1345004 Q1219561 Q223131 Q652350 Q471005 Q330826 Q2563691 Q308982 Q41359 Q129493 Q642911 Q340401 Q184222 Q2819868 Q3818564 Q924455 Q772435 Q183883 Q17039930 Q645024 Q4279275 Q4500509 Q1939346 Q8086533 Q596874 Q1231505 Q785972 Q654170 Q129929 Q472208 Q2915600 Q774233 Q4584917 Q1539509 Q243556 Q1079681 Q1250822 Q219552 Q3530935 Q849701 Q1935913 Q753290 Q5123928 Q25338 Q3220799 Q2317161 Q1771810 Q1138330 Q5135450 Q659731 Q845889 Q169976 Q4727821 Q17027074 Q202975 Q20791621 Q726535 Q785255 Q6980071 Q19587249 Q733639 Q1044713 Q210784 Q503974 Q2078564 Q19867004 Q1422318 Q3497005 Q1903609 Q1165753 Q1101819 Q3212124 Q183157 Q1239133 Q502032 Q2776744 Q2092894 Q845106 Q833775 Q140527 Q2627355 Q219457 Q1171231 Q7940528 Q2263221 Q3735626 Q7940527 Q80817 Q131068 Q206870 Q2291295 Q265954 Q510699 Q191949 Q557852 Q759467 Q857313 Q16654394 Q214371 Q2915384 Q753535 Q917055 Q17745584 Q3110346 Q929184 Q752439 Q2288175 Q374098 Q137869 Q752432 Q1218985 Q1336310 Q471926 Q2380686 Q42040 Q268112 Q722594 Q3208673 Q1396889 Q3324572 Q3427602 Q552213 Q776551 Q3280221 Q2915291 Q7883724 Q927292 Q1047711 Q43361 Q1637738 Q2136755 Q743180 Q340607 Q1167555 Q2915294 Q46887 Q224078 Q332581 Q8265 Q1472204 Q1410482 Q381756 Q274744 Q1197817 Q1476462 Q444213 Q2446285 Q603310 Q1619595 Q60672 Q786586 Q187655 Q2660166 Q3224473 Q251076 Q1777426 Q1633087 Q925538 Q221765 Q47598 Q2746500
(c(Q15619164)|c(Q15707583),P1441,c(Q2342494))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15707583
[ANSWERS] contain min number of abstract beings or fictional taxons
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?d WHERE { VALUES ( ?t ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } . ?q rdf:type ?t } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) ?n WHERE { { ?o property:P1441 ?n . ?n rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q15619164 } UNION { ?o property:P1441 ?n . ?o rdf:type ontology:Q15707583 . ?n rdf:type ontology:Q2342494 } } GROUP BY ?n } . FILTER ( ?g = ?c ) }
Excession Breakfast of Champions The Unknown Soldier Brisingr Raylan Amelia Bedelia Gone with the Wind Shōgun Paradise Lost Poirot Investigates Beastly Things The Pirate King (novel) Jiraiya Gōketsu Monogatari Gesta Danorum The Man with the Golden Gun The Hunt for Red October The Big Four The Golden Egg The Hound of the Baskervilles The Mysterious Affair at Styles The Wonderful Wizard of Oz Jumanji The Count of Monte Cristo Dead Man's Folly Malleus Maleficarum A Clockwork Orange The Two Towers Murder on the links Tarzan of the Apes Twenty Thousand Leagues Under the Sea A Venetian Reckoning Meno The Torment of Others The Martian Chronicles The Quiet Game Five Little Pigs Silver Marches Une fille d'Ève The Grapes of Wrath A Tale of Two Cities From the Earth to the Moon The Secret of Chimneys What Ever Happened to Baby Jane? Cat Among the Pigeons Colonel Chabert Book of Mormon Midrash Rabba Jurassic Park Death at La Fenice Friends in High Places A Murder of Quality The Twelve Chairs The Valley of Fear Baldur's Gate II: Shadows of Amn Harry Potter and the Deathly Hallows The Smiling, Proud Wanderer Harry Potter and the Goblet of Fire Parker Pyne Investigates Solaris An Béal Bocht The Mystery of the Blue Train Josephine Mutzenbacher Elephants Can Remember Harry Potter and the Chamber of Secrets Thunderball Pronto Hercule Poirot's Christmas Frankenstein Jiraiya Monogatari Strange Case of Dr Jekyll and Mr Hyde The Seven Dials Mystery The Red Wolf The Sign of the Four Tarzan Alive: A Definitive Biography of Lord Greystoke The Return of the Condor Heroes Bambi, A Life in the Woods Peril at End House Dark Force Rising Curtain Evermeet: Island of Elves Spellfire Heir to the Empire Morgoth's Ring Trigger Mortis Tripitaka American Psycho The A.B.C. Murders The Vicomte of Bragelonne: Ten Years Later Vita Nuova Artifact of Evil Time of Contempt Forever Free The War of the Jewels Hard Times Fatal Remedies Beneath the Bleeding Catch-22 Eragon Splendeurs et misères des courtisanes The Dark Tower V: Wolves of the Calla Tinker, Tailor, Soldier, Spy Daphnis and Chloe A Noble Radiance By its Cover A Wrinkle in Time Children of the Mind Never Dream of Dying Unfinished Tales The Child of the Cavern The Last Ship Elminster in Myth Drannor Hickory Dickory Dock The Hundred and One Dalmatians Ulysses Pattern Recognition Fathers and Sons The Land of Mist After the Funeral The Death of Faith Pale Fire You Only Live Twice The Children of Húrin A Christmas Carol The Three-Body Problem One, Two, Buckle My Shoe Jim Button and Luke the Engine Driver The Betrothed Chapterhouse: Dune The Stand The Forever War Salammbô The Dark Tower IV: Wizard and Glass The Tombs of Atuan Perfume All the Wrong Questions A Portrait of the Artist as a Young Man The Russia House Kara-Tur: The Eastern Realms Demons Half-Life 2: Raising the Bar Go Set a Watchman Thrilling Cities Bambi's Children Gump and Co. The Night Manager The Lincoln Lawyer Oliver Twist Drawing Conclusions Dumb Witness Quidditch Through the Ages The Spy Who Came in from the Cold The Book of Ruth Sotaromaani How the Steel Was Tempered Live and Let Die The Maltese Falcon Dream Cycle The String of Pearls Wilful Behaviour Evil Under the Sun The Executioners Doctored Evidence The English Patient Waterdeep and the North Death in the Clouds Melmoth réconcilié Akō Rōshi Treasure Island Winnie-the-Pooh The Name of the Rose Carmilla Heart of a Dog Around the World in Eighty Days A Study in Scarlet Call for the Dead The Mysterious Island Ainulindalë The Mystery of the Yellow Room Eldest Cat's Cradle Golden Legend Murder in Mesopotamia The Book of Lost Tales The Metamorphosis A Question of Belief The Ring of Solomon Ursule Mirouët Fear and Loathing in Las Vegas The Catcher in the Rye Undermountain: The Lost Level Mathias Sandorf Space Mowgli My First Summer in the Sierra Mistress Branican The Ambushers Misery Smiley's People The Forever War Third Girl The Amber Spyglass The Subtle Knife Ender in Exile Journey to the End of the Night Mrs. Pepperpot The Invisible Man The Godfather The Hunting of the Snark Taras Bulba Great Expectations Tom a Lincoln East of Eden The Princess Bride 'Salem's Lot City of Splendors: Waterdeep Le Petit Prince Suffer the Little Children The Dream-Quest of Unknown Kadath A Wizard of Earthsea Sad Cypress Closing Time Diamonds Are Forever Murder on the Orient Express Northern Lights All-Consuming Fire Saga of Old City Wuthering Heights Kharé: Cityport of Traps Three Act Tragedy The Lost World Native Tongue Jim Button and the Wild 13 Cards on the Table Taken at the Flood The Idiot The Peoples of Middle-earth Guards! Guards! Baldur's Gate The Dark Tower: The Gunslinger Star Wars Episode I: The Phantom Menace Martin Chuzzlewit From Russia, with Love The Second Jungle Book La Rabouilleuse The Brothers Karamazov The Honourable Schoolboy The Shaping of Middle-earth De Witte Illusions perdues Mrs McGinty's Dead The Hollow The Three Musketeers Timequake A Journey to the Center of the Earth The Little Golden Calf Volo's Guide to the Dalelands Mémoires d'Outre-Tombe Black Coffee Volo's Guide to Waterdeep Harry Potter and the Order of the Phoenix Book of Esther Doctor Zhivago Speaker for the Dead Slaughterhouse-Five Vril Brave New World Nansō Satomi Hakkenden The Clocks One Flew Over the Cuckoo's Nest Blast From the Past The Great Gatsby The Giving Tree Jin Ping Mei The Unbearable Lightness of Being There's No Such Thing as a Free Lunch Magician Hannibal Appointment with Death The Farthest Shore Atlas Shrugged Germinal Lord Edgware Dies The Last Days of Pompeii Fengshen Yanyi The Eyes of the Dragon The Girl of His Dreams Revelation The Looking Glass War The Hour of the Dragon About Face Animal Farm A Sea of Troubles Through a Glass Darkly Forrest Gump Gobseck The Bomber Shadow of the Giant Undermountain: Maddgoth's Castle With Fire and Sword Casino Royale Harry Potter and the Philosopher's Stone The Dark Tower VI: Song of Susannah On Her Majesty's Secret Service On the Road The Lays of Beleriand The Man in the Brown Suit Xenocide Harry Potter and the Half-Blood Prince The Murder of Roger Ackroyd The Return of the King Dream of the Red Chamber The Dark Tower VII: The Dark Tower The Moon Is a Harsh Mistress Death on the Nile Sense and Sensibility The Legend of the Condor Heroes The BFG The Secret Pilgrim Pippi Longstocking Moonraker Valley of the Dolls Inheritance At the Mountains of Madness Mostly Harmless The Poison Belt Uniform Justice Hallowe'en Party Goldfinger The House at Pooh Corner Abbé Jules Facing the Flag Harry Potter and the Prisoner of Azkaban Ender's Shadow
Harry Potter and the Philosopher's Stone, The Count of Monte Cristo and The Three Musketeers contain min number of abstract beings or fictional taxons
Harry Potter and the Philosopher's Stone The Count of Monte Cristo The Three Musketeers
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional taxon
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) ?d WHERE { VALUES ( ?t ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } . ?q rdf:type ?t } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) ?n WHERE { { ?o property:present_in_work ?n . ?n rdf:type ontology:collectable . ?o rdf:type ontology:abstract_being } UNION { ?o property:present_in_work ?n . ?o rdf:type ontology:fictional_taxon . ?n rdf:type ontology:collectable } } GROUP BY ?n } . FILTER ( ?g = ?c ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43361 Q191838 Q140527
P144
Q838948
USER
Which works of art are an extension Harry Potter and the Philosopher's Stone, The Count of Monte Cristo and The Three Musketeers ?
(c(Q838948),P144,Q43361) (c(Q838948),P144,Q191838) (c(Q838948),P144,Q140527)
action union
action filter_type
action find_reverse
entity Q43361
relation P144
type Q838948
action filter_type
action find_reverse
entity Q191838
relation P144
type Q838948
action filter_type
action find_reverse
entity Q140527
relation P144
type Q838948
[{'concept': 'Q838948'}, 'P144', 'Q43361'] [{'concept': 'Q838948'}, 'P144', 'Q191838'] [{'concept': 'Q838948'}, 'P144', 'Q140527']
SELECT DISTINCT ?v WHERE { { ?v property:P144 resource:Q43361 . ?v rdf:type ontology:Q838948 } UNION { ?v property:P144 resource:Q191838 . ?v rdf:type ontology:Q838948 } }
Harry Potter and the Philosopher's Stone The Count of Monte Cristo The Three Musketeers
action union
action filter_type
action find_reverse
entity Harry Potter and the Philosopher's Stone
relation based on
type work of art
action filter_type
action find_reverse
entity The Count of Monte Cristo
relation based on
type work of art
action filter_type
action find_reverse
entity The Three Musketeers
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', "Harry Potter and the Philosopher's Stone"] [{'concept': 'work of art'}, 'based on', 'The Count of Monte Cristo'] [{'concept': 'work of art'}, 'based on', 'The Three Musketeers']
SELECT DISTINCT ?v WHERE { { ?v property:based_on resource:Harry_Potter_and_the_Philosopher's_Stone . ?v rdf:type ontology:work_of_art } UNION { ?v property:based_on resource:The_Count_of_Monte_Cristo . ?v rdf:type ontology:work_of_art } }
[]
work of art
Q102438 Q309248 Q194346
SYSTEM
Harry Potter and the Philosopher's Stone, The Three Musketeers, The Musketeer
Q102438 Q7915051 Q17134884 Q1961869 Q7285365 Q3221675 Q3221676 Q1071799 Q3221680 Q13553670 Q2281767 Q7923544 Q7123303 Q839596 Q3322533 Q20649960 Q969081 Q9024373 Q470584 Q2248179 Q1272933 Q21869797 Q4309114 Q303235 Q7769038 Q3791213 Q3235885 Q2002945 Q304351 Q3793122 Q2351791 Q21869577 Q3235886 Q3235884 Q3235881 Q3205564 Q3222807 Q3372729 Q535316 Q682148 Q970655 Q2245288 Q194346 Q309248 Q4947295 Q5981252 Q4114682 Q4024828 Q1218111 Q3700136 Q4386164 Q508931 Q3541142
(c(Q838948),P144,Q43361) (c(Q838948),P144,Q191838) (c(Q838948),P144,Q140527)
action union
action filter_type
action find_reverse
entity Q43361
relation P144
type Q838948
action filter_type
action find_reverse
entity Q191838
relation P144
type Q838948
action filter_type
action find_reverse
entity Q140527
relation P144
type Q838948
[ANSWERS] are an extension Harry Potter and the Philosopher's Stone, The Count of Monte Cristo and The Three Musketeers
[{'concept': 'Q838948'}, 'P144', 'Q43361'] [{'concept': 'Q838948'}, 'P144', 'Q191838'] [{'concept': 'Q838948'}, 'P144', 'Q140527']
SELECT DISTINCT ?v WHERE { { ?v property:P144 resource:Q43361 . ?v rdf:type ontology:Q838948 } UNION { ?v property:P144 resource:Q191838 . ?v rdf:type ontology:Q838948 } }
Harry Potter and the Philosopher's Stone Vanjikottai Valiban The Return of Monte Cristo The Count of Monte Cristo Raj Tilak El Conde de Montecristo The Count of Monte Cristo I lunghi giorni della vendetta The Count of Monte Cristo The Sword of Monte Cristo The Count of Monte Cristo Veta Padayottam The Count of Monte Cristo The Count of Monte Cristo The Viscount of Monte Cristo The Three Musketeers The Three Musketeers The Four Musketeers The Three Musketeers Revenge of the Musketeers The Secret Mark of D'Artagnan Musketeers Twenty Years After The Three Musketeers The Three Muscatels The Four Musketeers Los tres mosqueteros The Three Musketeers Les Trois Mousquetaires Il Boia di Lilla Tom and Chérie The Man in the Iron Mask The Three Musketeers The Three Musketeers Les Trois Mousquetaires The Three Must-Get-Theres Son of d'Artagnan The Three Musketeers At Sword's Point The Three Musketeers The Fifth Musketeer 3 Musketeers The Musketeer The Three Musketeers Bosko the Musketeer The Three Musketeers The Return of the Musketeers, or The Treasures of Cardinal Mazarin Zorro and the Three Musketeers The Three Musketeers Revenge of the Musketeers Dog in Boots The Three Musketeers The Three Musketeers of the West
Harry Potter and the Philosopher's Stone, The Three Musketeers and The Musketeer are an extension Harry Potter and the Philosopher's Stone, The Count of Monte Cristo and The Three Musketeers
Harry Potter and the Philosopher's Stone The Three Musketeers The Musketeer
action union
action filter_type
action find_reverse
entity Harry Potter and the Philosopher's Stone
relation based on
type work of art
action filter_type
action find_reverse
entity The Count of Monte Cristo
relation based on
type work of art
action filter_type
action find_reverse
entity The Three Musketeers
relation based on
type work of art
[{'concept': 'work of art'}, 'based on', "Harry Potter and the Philosopher's Stone"] [{'concept': 'work of art'}, 'based on', 'The Count of Monte Cristo'] [{'concept': 'work of art'}, 'based on', 'The Three Musketeers']
SELECT DISTINCT ?v WHERE { { ?v property:based_on resource:Harry_Potter_and_the_Philosopher's_Stone . ?v rdf:type ontology:work_of_art } UNION { ?v property:based_on resource:The_Count_of_Monte_Cristo . ?v rdf:type ontology:work_of_art } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q102438 Q309248 Q194346
P58
Q502895
USER
Who wrote the screenplay for those works of art ?
(Q102438,P58,c(Q502895)) (Q309248,P58,c(Q502895)) (Q194346,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q102438', 'P58', {'concept': 'Q502895'}] ['Q309248', 'P58', {'concept': 'Q502895'}] ['Q194346', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?j property:P58 ?d . VALUES ( ?j ) { ( resource:Q102438 ) ( resource:Q7915051 ) ( resource:Q17134884 ) } }
Harry Potter and the Philosopher's Stone The Three Musketeers The Musketeer
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
["Harry Potter and the Philosopher's Stone", 'screenwriter', {'concept': 'common name'}] ['The Three Musketeers', 'screenwriter', {'concept': 'common name'}] ['The Musketeer', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?j property:screenwriter ?d . VALUES ( ?j ) { ( resource:Harry_Potter_and_the_Philosopher's_Stone ) ( resource:Vanjikottai_Valiban ) ( resource:The_Return_of_Monte_Cristo ) } }
[]
common name
Q34660 Q362061 Q504430
SYSTEM
J. K. Rowling, Steve Kloves, Andrew Davies
Q362061 Q34660 Q504430 Q380608 Q21209239 Q1339176
(Q102438,P58,c(Q502895)) (Q309248,P58,c(Q502895)) (Q194346,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS] wrote the screenplay for those works of art
['Q102438', 'P58', {'concept': 'Q502895'}] ['Q309248', 'P58', {'concept': 'Q502895'}] ['Q194346', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?j property:P58 ?d . VALUES ( ?j ) { ( resource:Q102438 ) ( resource:Q7915051 ) ( resource:Q17134884 ) } }
Steve Kloves J. K. Rowling Andrew Davies Paul W. S. Anderson Alex Litvak Gene Quintano
J. K. Rowling, Steve Kloves and Andrew Davies wrote the screenplay for those works of art
J. K. Rowling Steve Kloves Andrew Davies
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
["Harry Potter and the Philosopher's Stone", 'screenwriter', {'concept': 'common name'}] ['The Three Musketeers', 'screenwriter', {'concept': 'common name'}] ['The Musketeer', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?j property:screenwriter ?d . VALUES ( ?j ) { ( resource:Harry_Potter_and_the_Philosopher's_Stone ) ( resource:Vanjikottai_Valiban ) ( resource:The_Return_of_Monte_Cristo ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q34660 Q362061 Q504430
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q34660,P106,c(Q12737077)) (Q362061,P106,c(Q12737077)) (Q504430,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q34660', 'P106', {'concept': 'Q12737077'}] ['Q362061', 'P106', {'concept': 'Q12737077'}] ['Q504430', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?e property:P106 ?n . VALUES ( ?e ) { ( resource:Q362061 ) ( resource:Q34660 ) ( resource:Q504430 ) } . ?n rdf:type ontology:Q12737077 }
J. K. Rowling Steve Kloves Andrew Davies
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['J. K. Rowling', 'occupation', {'concept': 'occupation'}] ['Steve Kloves', 'occupation', {'concept': 'occupation'}] ['Andrew Davies', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?e property:occupation ?n . VALUES ( ?e ) { ( resource:Steve_Kloves ) ( resource:J._K._Rowling ) ( resource:Andrew_Davies ) } . ?n rdf:type ontology:occupation }
[]
occupation
Q37226 Q6625963 Q4853732
SYSTEM
teacher, novelist, children's writer
Q6625963 Q4853732 Q36180 Q37226 Q36180 Q36180
(Q34660,P106,c(Q12737077)) (Q362061,P106,c(Q12737077)) (Q504430,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q34660', 'P106', {'concept': 'Q12737077'}] ['Q362061', 'P106', {'concept': 'Q12737077'}] ['Q504430', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?e property:P106 ?n . VALUES ( ?e ) { ( resource:Q362061 ) ( resource:Q34660 ) ( resource:Q504430 ) } . ?n rdf:type ontology:Q12737077 }
novelist children's writer writer teacher writer writer
The professions of those people are teacher, novelist and children's writer
teacher novelist children's writer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['J. K. Rowling', 'occupation', {'concept': 'occupation'}] ['Steve Kloves', 'occupation', {'concept': 'occupation'}] ['Andrew Davies', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?e property:occupation ?n . VALUES ( ?e ) { ( resource:Steve_Kloves ) ( resource:J._K._Rowling ) ( resource:Andrew_Davies ) } . ?n rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q37226
P101
Q15298259
USER
Which wizard in the Harry Potter universe has field of work as that occupation ?
(c(Q15298259),P101,Q37226)
action filter_type
action find_reverse
entity Q37226
relation P101
type Q15298259
[{'concept': 'Q15298259'}, 'P101', 'Q37226']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15298259 . ?y property:P101 resource:Q37226 }
teacher
action filter_type
action find_reverse
entity teacher
relation field of work
type wizard in the Harry Potter universe
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'teacher']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:wizard_in_the_Harry_Potter_universe . ?y property:field_of_work resource:teacher }
[]
wizard in the Harry Potter universe
Clarification for simple ques.
Q6625963
SYSTEM
Did you mean novelist ?
Q37226 Q6625963 Q4853732
(c(Q15298259),P101,Q37226) (c(Q15298259),P101,Q6625963) (c(Q15298259),P101,Q4853732)
[ANSWER]
[{'concept': 'Q15298259'}, 'P101', 'Q37226'] [{'concept': 'Q15298259'}, 'P101', 'Q6625963'] [{'concept': 'Q15298259'}, 'P101', 'Q4853732']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15298259 . ?y property:P101 resource:Q37226 }
teacher novelist children's writer
Did you mean novelist ?
novelist
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'teacher'] [{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'novelist'] [{'concept': 'wizard in the Harry Potter universe'}, 'field of work', "children's writer"]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:wizard_in_the_Harry_Potter_universe . ?y property:field_of_work resource:teacher }
[]
Simple Question (Coreferenced)
USER
No, I meant teacher. Could you tell me the answer for that?
(c(Q15298259),P101,Q37226)
Q37226
[{'concept': 'Q15298259'}, 'P101', 'Q37226']
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'teacher']
[]
Q2350043
SYSTEM
Professor Cuthbert Binns
Q2350043
(c(Q15298259),P101,Q37226)
action filter_type
action find_reverse
entity Q37226
relation P101
type Q15298259
[ANSWER] has field of work as that occupation
[{'concept': 'Q15298259'}, 'P101', 'Q37226']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15298259 . ?y property:P101 resource:Q37226 }
Professor Cuthbert Binns
Professor Cuthbert Binns has field of work as that occupation
Professor Cuthbert Binns
action filter_type
action find_reverse
entity teacher
relation field of work
type wizard in the Harry Potter universe
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'teacher']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:wizard_in_the_Harry_Potter_universe . ?y property:field_of_work resource:teacher }
[]