Simple Question (Direct)
Simple Question
Q1903579
P264
Q334453
USER
Who sponsored the recoding of Martin Carthy ?
(Q1903579,P264,c(Q334453))
action filter_type
action find
entity Q1903579
relation P264
type Q334453
['Q1903579', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q1903579 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Martin Carthy
action filter_type
action find
entity Martin Carthy
relation record label
type division
['Martin Carthy', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Martin_Carthy property:record_label ?u . ?u rdf:type ontology:division }
[]
division
Q2732965
SYSTEM
Topic Records
Q2732965
(Q1903579,P264,c(Q334453))
action filter_type
action find
entity Q1903579
relation P264
type Q334453
[ANSWER] sponsored the recoding of Martin Carthy
['Q1903579', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q1903579 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Topic Records
Topic Records sponsored the recoding of Martin Carthy
Topic Records
action filter_type
action find
entity Martin Carthy
relation record label
type division
['Martin Carthy', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Martin_Carthy property:record_label ?u . ?u rdf:type ontology:division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1903579
P1303
Q34379
USER
Which musical instrument can Martin Carthy perform with ?
(Q1903579,P1303,c(Q34379))
action filter_type
action find
entity Q1903579
relation P1303
type Q34379
['Q1903579', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q1903579 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
Martin Carthy
action filter_type
action find
entity Martin Carthy
relation instrument
type musical instrument
['Martin Carthy', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:Martin_Carthy property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q1903579,P1303,c(Q34379))
action filter_type
action find
entity Q1903579
relation P1303
type Q34379
Martin Carthy can perform a [ANSWER]
['Q1903579', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q1903579 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
violin
Martin Carthy can perform a violin
violin
action filter_type
action find
entity Martin Carthy
relation instrument
type musical instrument
['Martin Carthy', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:Martin_Carthy property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q313854
Q34379
USER
And also tell me about Eric Singer?
(Q313854,P1303,c(Q34379))
action filter_type
action find
entity Q313854
relation P1303
type Q34379
['Q313854', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q313854 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
Eric Singer
action filter_type
action find
entity Eric Singer
relation instrument
type musical instrument
['Eric Singer', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:Eric_Singer property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q313854,P1303,c(Q34379))
action filter_type
action find
entity Q313854
relation P1303
type Q34379
[ANSWER]
['Q313854', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { resource:Q313854 property:P1303 ?a . ?a rdf:type ontology:Q34379 }
drum kit
drum kit
action filter_type
action find
entity Eric Singer
relation instrument
type musical instrument
['Eric Singer', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { resource:Eric_Singer property:instrument ?a . ?a rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3192352 Q313854
P58
Q838948
USER
Which works of art did Eric Singer or Kambuzia Partovi do the screenwriting for ?
OR((c(Q838948),P58,Q313854), (c(Q838948),P58,Q3192352))
action filter_type
action union
action find_reverse
entity Q313854
relation P58
action find_reverse
entity Q3192352
relation P58
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q313854'], [{'concept': 'Q838948'}, 'P58', 'Q3192352']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P58 resource:Q313854 } UNION { ?u property:P58 resource:Q3192352 } } . ?u rdf:type ontology:Q838948 }
Kambuzia Partovi Eric Singer
action filter_type
action union
action find_reverse
entity Eric Singer
relation screenwriter
action find_reverse
entity Kambuzia Partovi
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Eric Singer'], [{'concept': 'work of art'}, 'screenwriter', 'Kambuzia Partovi']]}
SELECT DISTINCT ?u WHERE { { { ?u property:screenwriter resource:Eric_Singer } UNION { ?u property:screenwriter resource:Kambuzia_Partovi } } . ?u rdf:type ontology:work_of_art }
[]
work of art
Q1194947 Q2933031 Q673627 Q10858570 Q3072309
SYSTEM
The Circle, Café Transit, The International, I'm Taraneh, 15, Earth and Ashes
Q1194947 Q2933031 Q673627 Q10858570 Q3072309
OR((c(Q838948),P58,Q313854), (c(Q838948),P58,Q3192352))
action filter_type
action union
action find_reverse
entity Q313854
relation P58
action find_reverse
entity Q3192352
relation P58
type Q838948
Eric Singer or Kambuzia Partovi did the screenwriting for [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P58', 'Q313854'], [{'concept': 'Q838948'}, 'P58', 'Q3192352']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P58 resource:Q313854 } UNION { ?u property:P58 resource:Q3192352 } } . ?u rdf:type ontology:Q838948 }
The Circle Café Transit The International I'm Taraneh, 15 Earth and Ashes
Eric Singer or Kambuzia Partovi did the screenwriting for The Circle, Café Transit, The International, I'm Taraneh, 15 and Earth and Ashes
The Circle Café Transit The International I'm Taraneh, 15 Earth and Ashes
action filter_type
action union
action find_reverse
entity Eric Singer
relation screenwriter
action find_reverse
entity Kambuzia Partovi
relation screenwriter
type work of art
{'OR': [[{'concept': 'work of art'}, 'screenwriter', 'Eric Singer'], [{'concept': 'work of art'}, 'screenwriter', 'Kambuzia Partovi']]}
SELECT DISTINCT ?u WHERE { { { ?u property:screenwriter resource:Eric_Singer } UNION { ?u property:screenwriter resource:Kambuzia_Partovi } } . ?u rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q15416 Q201658
USER
How many works of art inspired around 1 television programs and film genres ?
(c(Q15416)|c(Q201658),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:P941 ?y . ?y rdf:type ontology:Q838948 . ?d rdf:type ontology:Q15416 } UNION { ?d property:P941 ?y . ?y rdf:type ontology:Q838948 . ?d rdf:type ontology:Q201658 } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
value 1
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:inspired_by ?y . ?y rdf:type ontology:work_of_art . ?d rdf:type ontology:television_program } UNION { ?d property:inspired_by ?y . ?y rdf:type ontology:work_of_art . ?d rdf:type ontology:film_genre } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
[]
work of art television program film genre
SYSTEM
5
Q1198611 Q7758112 Q1144983 Q1170100 Q169082
(c(Q15416)|c(Q201658),P941,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
value 1
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:P941 ?y . ?y rdf:type ontology:Q838948 . ?d rdf:type ontology:Q15416 } UNION { ?d property:P941 ?y . ?y rdf:type ontology:Q838948 . ?d rdf:type ontology:Q201658 } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
The Absent-Minded Professor The Pretty Sister of Jose Animal Kingdom The Philadelphia Experiment 10 Things I Hate About You
5
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
value 1
[[{'concept': 'television program'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:inspired_by ?y . ?y rdf:type ontology:work_of_art . ?d rdf:type ontology:television_program } UNION { ?d property:inspired_by ?y . ?y rdf:type ontology:work_of_art . ?d rdf:type ontology:film_genre } } GROUP BY ?y } . FILTER ( ?b = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q128309
P1303
Q15619164 Q2088357
USER
How many abstract beings and musical ensembles play drum kit ?
(c(Q15619164),P1303,Q128309) (c(Q2088357),P1303,Q128309)
action count
action union
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q15619164
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q2088357
[{'concept': 'Q15619164'}, 'P1303', 'Q128309'] [{'concept': 'Q2088357'}, 'P1303', 'Q128309']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:Q2088357 . ?r property:P1303 resource:Q128309 } UNION { ?r property:P1303 resource:Q128309 . ?r rdf:type ontology:Q15619164 } }
drum kit
action count
action union
action filter_type
action find_reverse
entity drum kit
relation instrument
type abstract being
action filter_type
action find_reverse
entity drum kit
relation instrument
type musical ensemble
[{'concept': 'abstract being'}, 'instrument', 'drum kit'] [{'concept': 'musical ensemble'}, 'instrument', 'drum kit']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:musical_ensemble . ?r property:instrument resource:drum_kit } UNION { ?r property:instrument resource:drum_kit . ?r rdf:type ontology:abstract_being } }
[]
abstract being musical ensemble
SYSTEM
1 abstract beings and 2 musical ensembles
Q3275176 Q3937809 Q23498169
(c(Q15619164),P1303,Q128309) (c(Q2088357),P1303,Q128309)
action count
action union
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q15619164
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q2088357
[ANSWER]
[{'concept': 'Q15619164'}, 'P1303', 'Q128309'] [{'concept': 'Q2088357'}, 'P1303', 'Q128309']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:Q2088357 . ?r property:P1303 resource:Q128309 } UNION { ?r property:P1303 resource:Q128309 . ?r rdf:type ontology:Q15619164 } }
Mad in Paris Ritsu Tainaka Francis Francis
1 abstract beings and 2 musical ensembles
action count
action union
action filter_type
action find_reverse
entity drum kit
relation instrument
type abstract being
action filter_type
action find_reverse
entity drum kit
relation instrument
type musical ensemble
[{'concept': 'abstract being'}, 'instrument', 'drum kit'] [{'concept': 'musical ensemble'}, 'instrument', 'drum kit']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { ?r rdf:type ontology:musical_ensemble . ?r property:instrument resource:drum_kit } UNION { ?r property:instrument resource:drum_kit . ?r rdf:type ontology:abstract_being } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2732965 Q444840
P264
Q502895
USER
How many people have Topic Records or Mary Gauthier as their record company ?
(c(Q502895),P264,Q2732965) (c(Q502895),P264,Q444840)
action count
action union
action filter_type
action find_reverse
entity Q2732965
relation P264
type Q502895
action filter_type
action find_reverse
entity Q444840
relation P264
type Q502895
[{'concept': 'Q502895'}, 'P264', 'Q2732965'] [{'concept': 'Q502895'}, 'P264', 'Q444840']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P264 ?x . VALUES ( ?x ) { ( resource:Q2732965 ) ( resource:Q444840 ) } }
Topic Records Mary Gauthier
action count
action union
action filter_type
action find_reverse
entity Topic Records
relation record label
type common name
action filter_type
action find_reverse
entity Mary Gauthier
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Topic Records'] [{'concept': 'common name'}, 'record label', 'Mary Gauthier']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:record_label ?x . VALUES ( ?x ) { ( resource:Topic_Records ) ( resource:Mary_Gauthier ) } }
[]
common name
SYSTEM
9
Q2448688 Q454425 Q5110974 Q6776592 Q6963072 Q6266853 Q6480104 Q1173430 Q1903579
(c(Q502895),P264,Q2732965) (c(Q502895),P264,Q444840)
action count
action union
action filter_type
action find_reverse
entity Q2732965
relation P264
type Q502895
action filter_type
action find_reverse
entity Q444840
relation P264
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P264', 'Q2732965'] [{'concept': 'Q502895'}, 'P264', 'Q444840']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:P264 ?x . VALUES ( ?x ) { ( resource:Q2732965 ) ( resource:Q444840 ) } }
Seosamh Ó hÉanaí June Tabor Christine Collister Martin Simpson Nancy Whiskey Johnny Handle Lal Waterson Davey Graham Martin Carthy
9
action count
action union
action filter_type
action find_reverse
entity Topic Records
relation record label
type common name
action filter_type
action find_reverse
entity Mary Gauthier
relation record label
type common name
[{'concept': 'common name'}, 'record label', 'Topic Records'] [{'concept': 'common name'}, 'record label', 'Mary Gauthier']
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e property:record_label ?x . VALUES ( ?x ) { ( resource:Topic_Records ) ( resource:Mary_Gauthier ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1812183 Q1194947
P162
Q502895
USER
Which people are the creators of The Circle or Empties ?
OR((Q1194947,P162,c(Q502895)), (Q1812183,P162,c(Q502895)))
action filter_type
action union
action find
entity Q1194947
relation P162
action find
entity Q1812183
relation P162
type Q502895
{'OR': [['Q1194947', 'P162', {'concept': 'Q502895'}], ['Q1812183', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1194947 property:P162 ?c } UNION { resource:Q1812183 property:P162 ?c } } . ?c rdf:type ontology:Q502895 }
Empties The Circle
action filter_type
action union
action find
entity The Circle
relation producer
action find
entity Empties
relation producer
type common name
{'OR': [['The Circle', 'producer', {'concept': 'common name'}], ['Empties', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_Circle property:producer ?c } UNION { resource:Empties property:producer ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q16830108 Q504463 Q31637
SYSTEM
Eric Abraham, Jan Svěrák, Jafar Panahi
Q16830108 Q504463 Q31637
OR((Q1194947,P162,c(Q502895)), (Q1812183,P162,c(Q502895)))
action filter_type
action union
action find
entity Q1194947
relation P162
action find
entity Q1812183
relation P162
type Q502895
[ANSWERS] are the creators of The Circle or Empties
{'OR': [['Q1194947', 'P162', {'concept': 'Q502895'}], ['Q1812183', 'P162', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q1194947 property:P162 ?c } UNION { resource:Q1812183 property:P162 ?c } } . ?c rdf:type ontology:Q502895 }
Eric Abraham Jan Svěrák Jafar Panahi
Eric Abraham, Jan Svěrák and Jafar Panahi are the creators of The Circle or Empties
Eric Abraham Jan Svěrák Jafar Panahi
action filter_type
action union
action find
entity The Circle
relation producer
action find
entity Empties
relation producer
type common name
{'OR': [['The Circle', 'producer', {'concept': 'common name'}], ['Empties', 'producer', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_Circle property:producer ?c } UNION { resource:Empties property:producer ?c } } . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q16830108 Q504463 Q31637
P162
Q838948
USER
Which works of art have been produced by those people ?
(c(Q838948),P162,Q16830108) (c(Q838948),P162,Q504463) (c(Q838948),P162,Q31637)
action filter_type
action find_reverse
entity prev_answer
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q16830108'] [{'concept': 'Q838948'}, 'P162', 'Q504463'] [{'concept': 'Q838948'}, 'P162', 'Q31637']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . ?b property:P162 ?t . VALUES ( ?t ) { ( resource:Q16830108 ) ( resource:Q504463 ) ( resource:Q31637 ) } }
Eric Abraham Jan Svěrák Jafar Panahi
action filter_type
action find_reverse
entity prev_answer
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Eric Abraham'] [{'concept': 'work of art'}, 'producer', 'Jan Svěrák'] [{'concept': 'work of art'}, 'producer', 'Jafar Panahi']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . ?b property:producer ?t . VALUES ( ?t ) { ( resource:Eric_Abraham ) ( resource:Jan_Svěrák ) ( resource:Jafar_Panahi ) } }
[]
work of art
Q1812183 Q1812183 Q15087230
SYSTEM
Ida for 3rd, Empties for 1st, 2nd
Q1812183 Q538516 Q15087230 Q1343567 Q1141186 Q3512150 Q1812183 Q538516 Q1343567 Q1141186 Q1753074 Q2714583 Q18844625 Q1194947 Q627471
(c(Q838948),P162,Q16830108) (c(Q838948),P162,Q504463) (c(Q838948),P162,Q31637)
action filter_type
action find_reverse
entity prev_answer
relation P162
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P162', 'Q16830108'] [{'concept': 'Q838948'}, 'P162', 'Q504463'] [{'concept': 'Q838948'}, 'P162', 'Q31637']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . ?b property:P162 ?t . VALUES ( ?t ) { ( resource:Q16830108 ) ( resource:Q504463 ) ( resource:Q31637 ) } }
Empties Dark Blue World Ida Kooky Kolya Little Girl Blue Empties Dark Blue World Kooky Kolya Offside Crimson Gold Taxi The Circle This Is Not a Film
Empties, Empties and Ida have been produced by those people
Empties Empties Ida
action filter_type
action find_reverse
entity prev_answer
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Eric Abraham'] [{'concept': 'work of art'}, 'producer', 'Jan Svěrák'] [{'concept': 'work of art'}, 'producer', 'Jafar Panahi']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . ?b property:producer ?t . VALUES ( ?t ) { ( resource:Eric_Abraham ) ( resource:Jan_Svěrák ) ( resource:Jafar_Panahi ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1812183
P1040
Q502895
USER
Who is the editor of that work of art ?
(Q1812183,P1040,c(Q502895))
action filter_type
action find
entity Q1812183
relation P1040
type Q502895
['Q1812183', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1812183 property:P1040 ?d . ?d rdf:type ontology:Q502895 }
Empties
action filter_type
action find
entity Empties
relation film editor
type common name
['Empties', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Empties property:film_editor ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15087230
SYSTEM
Did you mean Ida ?
Q1812183 Q1812183 Q15087230
(Q1812183,P1040,c(Q502895)) (Q1812183,P1040,c(Q502895)) (Q15087230,P1040,c(Q502895))
[ANSWER]
['Q1812183', 'P1040', {'concept': 'Q502895'}] ['Q1812183', 'P1040', {'concept': 'Q502895'}] ['Q15087230', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1812183 property:P1040 ?d . ?d rdf:type ontology:Q502895 }
Empties Empties Ida
Did you mean Ida ?
Ida
['Empties', 'film editor', {'concept': 'common name'}] ['Empties', 'film editor', {'concept': 'common name'}] ['Ida', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Empties property:film_editor ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Empties. Could you tell me the answer for that?
(Q1812183,P1040,c(Q502895))
Q1812183
['Q1812183', 'P1040', {'concept': 'Q502895'}]
['Empties', 'film editor', {'concept': 'common name'}]
[]
Q10779415
SYSTEM
Alois Fisárek
Q10779415
(Q1812183,P1040,c(Q502895))
action filter_type
action find
entity Q1812183
relation P1040
type Q502895
The editor of that work of art is Joseph [ANSWER]
['Q1812183', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1812183 property:P1040 ?d . ?d rdf:type ontology:Q502895 }
Alois Fisárek
The editor of that work of art is Joseph Alois Fisárek
Alois Fisárek
action filter_type
action find
entity Empties
relation film editor
type common name
['Empties', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Empties property:film_editor ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q386724 Q838948
USER
Which works of art are demonstrated in around 1 works and works of art ?
(c(Q386724)|c(Q838948),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 1
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?c property:P180 ?h . ?h rdf:type ontology:Q838948 . ?c rdf:type ontology:Q386724 } UNION { ?c property:P180 ?h . ?h rdf:type ontology:Q838948 . ?c rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 1
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?c property:depicts ?h . ?h rdf:type ontology:work_of_art . ?c rdf:type ontology:work } UNION { ?c property:depicts ?h . ?h rdf:type ontology:work_of_art . ?c rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
[]
work of art work work of art
Q3497617 Q2551806 Q179900
SYSTEM
equestrian statue of Joan of Arc, Belvedere Torso, David
Q143912 Q23770419 Q1064990 Q3497617 Q831869 Q324926 Q3013723 Q17305006 Q2551806 Q9764 Q179900 Q1350279 Q18177089 Q492461 Q1349065 Q397447 Q183272
(c(Q386724)|c(Q838948),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 1
The [ANSWERS] are demonstrated in around 1 works and works of art
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?c property:P180 ?h . ?h rdf:type ontology:Q838948 . ?c rdf:type ontology:Q386724 } UNION { ?c property:P180 ?h . ?h rdf:type ontology:Q838948 . ?c rdf:type ontology:Q838948 } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
triumphal arch Bear Hunter Monument aux Girondins equestrian statue of Joan of Arc oenochoe fibula The Railrodder Galatea Belvedere Torso flamenco David pyxis Dénicheur d'oursons kalathos Passion play torc frieze
The equestrian statue of Joan of Arc, Belvedere Torso and David are demonstrated in around 1 works and works of art
equestrian statue of Joan of Arc Belvedere Torso David
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 1
[[{'concept': 'work'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?h WHERE { { ?c property:depicts ?h . ?h rdf:type ontology:work_of_art . ?c rdf:type ontology:work } UNION { ?c property:depicts ?h . ?h rdf:type ontology:work_of_art . ?c rdf:type ontology:work_of_art } } GROUP BY ?h } . FILTER ( ?k = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19864476 Q10779415
P19
Q56061
USER
Which administrative territories were Alois Fisárek or Curt Brinkman born in ?
OR((Q10779415,P19,c(Q56061)), (Q19864476,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10779415
relation P19
action find
entity Q19864476
relation P19
type Q56061
{'OR': [['Q10779415', 'P19', {'concept': 'Q56061'}], ['Q19864476', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?s ) { ( resource:Q10779415 ) ( resource:Q19864476 ) } . ?s property:P19 ?b } . ?b rdf:type ontology:Q56061 }
Curt Brinkman Alois Fisárek
action filter_type
action union
action find
entity Alois Fisárek
relation place of birth
action find
entity Curt Brinkman
relation place of birth
type administrative territorial entity
{'OR': [['Alois Fisárek', 'place of birth', {'concept': 'administrative territorial entity'}], ['Curt Brinkman', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?s ) { ( resource:Alois_Fisárek ) ( resource:Curt_Brinkman ) } . ?s property:place_of_birth ?b } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1019967 Q1520232
SYSTEM
Opočno, Shelley
Q1019967 Q1520232
OR((Q10779415,P19,c(Q56061)), (Q19864476,P19,c(Q56061)))
action filter_type
action union
action find
entity Q10779415
relation P19
action find
entity Q19864476
relation P19
type Q56061
Alois Fisárek or Curt Brinkman were born in [ANSWERS]
{'OR': [['Q10779415', 'P19', {'concept': 'Q56061'}], ['Q19864476', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?s ) { ( resource:Q10779415 ) ( resource:Q19864476 ) } . ?s property:P19 ?b } . ?b rdf:type ontology:Q56061 }
Opočno Shelley
Alois Fisárek or Curt Brinkman were born in Opočno and Shelley
Opočno Shelley
action filter_type
action union
action find
entity Alois Fisárek
relation place of birth
action find
entity Curt Brinkman
relation place of birth
type administrative territorial entity
{'OR': [['Alois Fisárek', 'place of birth', {'concept': 'administrative territorial entity'}], ['Curt Brinkman', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?s ) { ( resource:Alois_Fisárek ) ( resource:Curt_Brinkman ) } . ?s property:place_of_birth ?b } . ?b rdf:type ontology:administrative_territorial_entity }
[]