Simple Question (Direct)
Simple Question
Q11449871
P106
Q12737077
USER
What are the professions of Katsuhiro Uno ?
(Q11449871,P106,c(Q12737077))
action filter_type
action find
entity Q11449871
relation P106
type Q12737077
['Q11449871', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q11449871 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Katsuhiro Uno
action filter_type
action find
entity Katsuhiro Uno
relation occupation
type occupation
['Katsuhiro Uno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Katsuhiro_Uno property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q37226 Q170790
SYSTEM
teacher, mathematician
Q37226 Q170790
(Q11449871,P106,c(Q12737077))
action filter_type
action find
entity Q11449871
relation P106
type Q12737077
The professions of Katsuhiro Uno are a [ANSWERS]
['Q11449871', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q11449871 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
teacher mathematician
The professions of Katsuhiro Uno are a teacher and mathematician
teacher mathematician
action filter_type
action find
entity Katsuhiro Uno
relation occupation
type occupation
['Katsuhiro Uno', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Katsuhiro_Uno property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q37226 Q170790
P101
Q502895
USER
Who works in the domain of those occupations ?
(c(Q502895),P101,Q37226) (c(Q502895),P101,Q170790)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q37226'] [{'concept': 'Q502895'}, 'P101', 'Q170790']
SELECT DISTINCT ?g WHERE { ?g property:P101 ?p . VALUES ( ?p ) { ( resource:Q37226 ) ( resource:Q170790 ) } . ?g rdf:type ontology:Q502895 }
teacher mathematician
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'teacher'] [{'concept': 'common name'}, 'field of work', 'mathematician']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work ?p . VALUES ( ?p ) { ( resource:teacher ) ( resource:mathematician ) } . ?g rdf:type ontology:common_name }
[]
common name
Q34943 Q60677 Q5938836
SYSTEM
Ptolemy, Charles Proteus Steinmetz, José Carrillo Menéndez
Q27469157 Q34943 Q60677 Q5938836
(c(Q502895),P101,Q37226) (c(Q502895),P101,Q170790)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those occupations
[{'concept': 'Q502895'}, 'P101', 'Q37226'] [{'concept': 'Q502895'}, 'P101', 'Q170790']
SELECT DISTINCT ?g WHERE { ?g property:P101 ?p . VALUES ( ?p ) { ( resource:Q37226 ) ( resource:Q170790 ) } . ?g rdf:type ontology:Q502895 }
Victoria Chitepo Ptolemy Charles Proteus Steinmetz José Carrillo Menéndez
Ptolemy, Charles Proteus Steinmetz and José Carrillo Menéndez work in the domain of those occupations
Ptolemy Charles Proteus Steinmetz José Carrillo Menéndez
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'teacher'] [{'concept': 'common name'}, 'field of work', 'mathematician']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work ?p . VALUES ( ?p ) { ( resource:teacher ) ( resource:mathematician ) } . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q34943 Q60677 Q5938836
P101
Q12737077
USER
Which occupations are the area of Ptolemy, Charles Proteus Steinmetz and José Carrillo Menéndez ?
(Q34943,P101,c(Q12737077)) (Q60677,P101,c(Q12737077)) (Q5938836,P101,c(Q12737077))
action union
action filter_type
action find
entity Q34943
relation P101
type Q12737077
action filter_type
action find
entity Q60677
relation P101
type Q12737077
action filter_type
action find
entity Q5938836
relation P101
type Q12737077
['Q34943', 'P101', {'concept': 'Q12737077'}] ['Q60677', 'P101', {'concept': 'Q12737077'}] ['Q5938836', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q12737077 . resource:Q34943 property:P101 ?u } UNION { resource:Q60677 property:P101 ?u . ?u rdf:type ontology:Q12737077 } }
Ptolemy Charles Proteus Steinmetz José Carrillo Menéndez
action union
action filter_type
action find
entity Ptolemy
relation field of work
type occupation
action filter_type
action find
entity Charles Proteus Steinmetz
relation field of work
type occupation
action filter_type
action find
entity José Carrillo Menéndez
relation field of work
type occupation
['Ptolemy', 'field of work', {'concept': 'occupation'}] ['Charles Proteus Steinmetz', 'field of work', {'concept': 'occupation'}] ['José Carrillo Menéndez', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:occupation . resource:Ptolemy property:field_of_work ?u } UNION { resource:Charles_Proteus_Steinmetz property:field_of_work ?u . ?u rdf:type ontology:occupation } }
[]
occupation
Q170790 Q170790 Q170790
SYSTEM
mathematician
Q170790 Q170790 Q170790
(Q34943,P101,c(Q12737077)) (Q60677,P101,c(Q12737077)) (Q5938836,P101,c(Q12737077))
action union
action filter_type
action find
entity Q34943
relation P101
type Q12737077
action filter_type
action find
entity Q60677
relation P101
type Q12737077
action filter_type
action find
entity Q5938836
relation P101
type Q12737077
The [ANSWER], [ANSWER] and [ANSWER] are the area of Ptolemy, Charles Proteus Steinmetz and José Carrillo Menéndez
['Q34943', 'P101', {'concept': 'Q12737077'}] ['Q60677', 'P101', {'concept': 'Q12737077'}] ['Q5938836', 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q12737077 . resource:Q34943 property:P101 ?u } UNION { resource:Q60677 property:P101 ?u . ?u rdf:type ontology:Q12737077 } }
mathematician mathematician mathematician
The mathematician, mathematician and mathematician are the area of Ptolemy, Charles Proteus Steinmetz and José Carrillo Menéndez
mathematician mathematician mathematician
action union
action filter_type
action find
entity Ptolemy
relation field of work
type occupation
action filter_type
action find
entity Charles Proteus Steinmetz
relation field of work
type occupation
action filter_type
action find
entity José Carrillo Menéndez
relation field of work
type occupation
['Ptolemy', 'field of work', {'concept': 'occupation'}] ['Charles Proteus Steinmetz', 'field of work', {'concept': 'occupation'}] ['José Carrillo Menéndez', 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:occupation . resource:Ptolemy property:field_of_work ?u } UNION { resource:Charles_Proteus_Steinmetz property:field_of_work ?u . ?u rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34943
P138
Q2684591
USER
Which statement is the eponym of Ptolemy ?
(c(Q2684591),P138,Q34943)
action filter_type
action find_reverse
entity Q34943
relation P138
type Q2684591
[{'concept': 'Q2684591'}, 'P138', 'Q34943']
SELECT DISTINCT ?g WHERE { ?g property:P138 resource:Q34943 . ?g rdf:type ontology:Q2684591 }
Ptolemy
action filter_type
action find_reverse
entity Ptolemy
relation named after
type statement
[{'concept': 'statement'}, 'named after', 'Ptolemy']
SELECT DISTINCT ?g WHERE { ?g property:named_after resource:Ptolemy . ?g rdf:type ontology:statement }
[]
statement
Q459547
SYSTEM
Ptolemy's theorem
Q459547
(c(Q2684591),P138,Q34943)
action filter_type
action find_reverse
entity Q34943
relation P138
type Q2684591
[ANSWER] is the eponym of Ptolemy
[{'concept': 'Q2684591'}, 'P138', 'Q34943']
SELECT DISTINCT ?g WHERE { ?g property:P138 resource:Q34943 . ?g rdf:type ontology:Q2684591 }
Ptolemy's theorem
Ptolemy's theorem is the eponym of Ptolemy
Ptolemy's theorem
action filter_type
action find_reverse
entity Ptolemy
relation named after
type statement
[{'concept': 'statement'}, 'named after', 'Ptolemy']
SELECT DISTINCT ?g WHERE { ?g property:named_after resource:Ptolemy . ?g rdf:type ontology:statement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34943
P674
Q223393
USER
Which literary genre has the character that person ?
(c(Q223393),P674,Q459547)
action filter_type
action find_reverse
entity Q34943
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q459547']
SELECT DISTINCT ?f WHERE { ?f property:P674 resource:Q34943 . ?f rdf:type ontology:Q223393 }
Ptolemy
action filter_type
action find_reverse
entity Ptolemy
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', "Ptolemy's theorem"]
SELECT DISTINCT ?f WHERE { ?f property:characters resource:Ptolemy . ?f rdf:type ontology:literary_genre }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q459547)
action filter_type
action find_reverse
entity Q34943
relation P674
type Q223393
[ANSWER] has the character that person
[{'concept': 'Q223393'}, 'P674', 'Q459547']
SELECT DISTINCT ?f WHERE { ?f property:P674 resource:Q34943 . ?f rdf:type ontology:Q223393 }
The Divine Comedy
The Divine Comedy has the character that person
The Divine Comedy
action filter_type
action find_reverse
entity Ptolemy
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', "Ptolemy's theorem"]
SELECT DISTINCT ?f WHERE { ?f property:characters resource:Ptolemy . ?f rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40185
P180
Q838948
USER
Which work of art expresses that literary genre ?
(c(Q838948),P180,Q40185)
action filter_type
action find_reverse
entity Q40185
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q40185']
SELECT DISTINCT ?z WHERE { ?z property:P180 resource:Q40185 . ?z rdf:type ontology:Q838948 }
The Divine Comedy
action filter_type
action find_reverse
entity The Divine Comedy
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'The Divine Comedy']
SELECT DISTINCT ?z WHERE { ?z property:depicts resource:The_Divine_Comedy . ?z rdf:type ontology:work_of_art }
[]
work of art
Q16025108
SYSTEM
Dante Alighieri
Q16025108
(c(Q838948),P180,Q40185)
action filter_type
action find_reverse
entity Q40185
relation P180
type Q838948
[ANSWER] expresses that literary genre
[{'concept': 'Q838948'}, 'P180', 'Q40185']
SELECT DISTINCT ?z WHERE { ?z property:P180 resource:Q40185 . ?z rdf:type ontology:Q838948 }
Dante Alighieri
Dante Alighieri expresses that literary genre
Dante Alighieri
action filter_type
action find_reverse
entity The Divine Comedy
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'The Divine Comedy']
SELECT DISTINCT ?z WHERE { ?z property:depicts resource:The_Divine_Comedy . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16025108
P186
Q8063
USER
Which rock is used to make that work of art ?
(Q16025108,P186,c(Q8063))
action filter_type
action find
entity Q16025108
relation P186
type Q8063
['Q16025108', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?e WHERE { resource:Q16025108 property:P186 ?e . ?e rdf:type ontology:Q8063 }
Dante Alighieri
action filter_type
action find
entity Dante Alighieri
relation material used
type rock
['Dante Alighieri', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?e WHERE { resource:Dante_Alighieri property:material_used ?e . ?e rdf:type ontology:rock }
[]
rock
Q41177
SYSTEM
granite
Q41177
(Q16025108,P186,c(Q8063))
action filter_type
action find
entity Q16025108
relation P186
type Q8063
[ANSWER] is used to make that work of art
['Q16025108', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?e WHERE { resource:Q16025108 property:P186 ?e . ?e rdf:type ontology:Q8063 }
granite
Granite is used to make that work of art
granite
action filter_type
action find
entity Dante Alighieri
relation material used
type rock
['Dante Alighieri', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?e WHERE { resource:Dante_Alighieri property:material_used ?e . ?e rdf:type ontology:rock }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16025108
P170
Q502895
USER
Who created that work of art ?
(Q41177,P170,c(Q502895))
action filter_type
action find
entity Q16025108
relation P170
type Q502895
['Q41177', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q16025108 property:P170 ?z }
Dante Alighieri
action filter_type
action find
entity Dante Alighieri
relation creator
type common name
['granite', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Dante_Alighieri property:creator ?z }
[]
common name
Q1368887
SYSTEM
Ettore Ximenes
Q1368887
(Q41177,P170,c(Q502895))
action filter_type
action find
entity Q16025108
relation P170
type Q502895
[ANSWER] created that work of art
['Q41177', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q16025108 property:P170 ?z }
Ettore Ximenes
Ettore Ximenes created that work of art
Ettore Ximenes
action filter_type
action find
entity Dante Alighieri
relation creator
type common name
['granite', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Dante_Alighieri property:creator ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16025108
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q1368887,P136,c(Q1792379))
action filter_type
action find
entity Q16025108
relation P136
type Q1792379
['Q1368887', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q16025108 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
Dante Alighieri
action filter_type
action find
entity Dante Alighieri
relation genre
type art genre
['Ettore Ximenes', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:Dante_Alighieri property:genre ?r . ?r rdf:type ontology:art_genre }
[]
art genre
Q179700
SYSTEM
statue
Q179700
(Q1368887,P136,c(Q1792379))
action filter_type
action find
entity Q16025108
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q1368887', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?r WHERE { resource:Q16025108 property:P136 ?r . ?r rdf:type ontology:Q1792379 }
statue
Statue can be considered as category for that work of art
statue
action filter_type
action find
entity Dante Alighieri
relation genre
type art genre
['Ettore Ximenes', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?r WHERE { resource:Dante_Alighieri property:genre ?r . ?r rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q11060274 Q3305213
USER
How many occupations are depicted in around 3 prints or paintings ?
(c(Q11060274)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 3
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?a WHERE { { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q11060274 } UNION { ?u property:P180 ?a . ?u rdf:type ontology:Q3305213 . ?a rdf:type ontology:Q12737077 } } GROUP BY ?a } . FILTER ( ?v = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 3
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?a WHERE { { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:print } UNION { ?u property:depicts ?a . ?u rdf:type ontology:painting . ?a rdf:type ontology:occupation } } GROUP BY ?a } . FILTER ( ?v = 3 ) }
[]
occupation print painting
SYSTEM
2
Q733786 Q4991371
(c(Q11060274)|c(Q3305213),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
value 3
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?a WHERE { { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q11060274 } UNION { ?u property:P180 ?a . ?u rdf:type ontology:Q3305213 . ?a rdf:type ontology:Q12737077 } } GROUP BY ?a } . FILTER ( ?v = 3 ) }
monk soldier
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
value 3
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?a WHERE { { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:print } UNION { ?u property:depicts ?a . ?u rdf:type ontology:painting . ?a rdf:type ontology:occupation } } GROUP BY ?a } . FILTER ( ?v = 3 ) }
[]