Simple Question (Direct)
Simple Question
Q3059712
P106
Q12737077
USER
What does Eugène Battaille do for a living ?
(Q3059712,P106,c(Q12737077))
action filter_type
action find
entity Q3059712
relation P106
type Q12737077
['Q3059712', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3059712 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Eugène Battaille
action filter_type
action find
entity Eugène Battaille
relation occupation
type occupation
['Eugène Battaille', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Eugène_Battaille property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q3059712,P106,c(Q12737077))
action filter_type
action find
entity Q3059712
relation P106
type Q12737077
Eugène Battaille does a [ANSWER] for a living
['Q3059712', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q3059712 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
painter
Eugène Battaille does a painter for a living
painter
action filter_type
action find
entity Eugène Battaille
relation occupation
type occupation
['Eugène Battaille', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Eugène_Battaille property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1028181
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1028181']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q1028181 . ?d rdf:type ontology:Q502895 }
painter
action filter_type
action find_reverse
entity painter
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'painter']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:painter . ?d rdf:type ontology:common_name }
[]
common name
Q1677284
SYSTEM
Jean-Pierre Côté
Q1677284
(c(Q502895),P39,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P39
type Q502895
[ANSWER] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q1028181']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q1028181 . ?d rdf:type ontology:Q502895 }
Jean-Pierre Côté
Jean-Pierre Côté held the position of that occupation
Jean-Pierre Côté
action filter_type
action find_reverse
entity painter
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'painter']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:painter . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P921
Q223393
USER
Which literary genre has painter as its principal topic ?
(c(Q223393),P921,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q1028181']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q1028181 . ?r rdf:type ontology:Q223393 }
painter
action filter_type
action find_reverse
entity painter
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'painter']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:painter . ?r rdf:type ontology:literary_genre }
[]
literary genre
Q21712440
SYSTEM
Le Dictionnaire des peintres belges du XIVe siècle à nos jours
Q21712440
(c(Q223393),P921,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P921
type Q223393
[ANSWER] has painter as its principal topic
[{'concept': 'Q223393'}, 'P921', 'Q1028181']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q1028181 . ?r rdf:type ontology:Q223393 }
Le Dictionnaire des peintres belges du XIVe siècle à nos jours
Le Dictionnaire des peintres belges du XIVe siècle à nos jours has painter as its principal topic
Le Dictionnaire des peintres belges du XIVe siècle à nos jours
action filter_type
action find_reverse
entity painter
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'painter']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:painter . ?r rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1028181
P425
Q3249551
USER
Which process has that one as thier associated field of occupation ?
(Q21712440,P425,c(Q3249551))
action filter_type
action find
entity Q1028181
relation P425
type Q3249551
['Q21712440', 'P425', {'concept': 'Q3249551'}]
SELECT DISTINCT ?k WHERE { resource:Q1028181 property:P425 ?k . ?k rdf:type ontology:Q3249551 }
painter
action filter_type
action find
entity painter
relation field of this occupation
type process
['Le Dictionnaire des peintres belges du XIVe siècle à nos jours', 'field of this occupation', {'concept': 'process'}]
SELECT DISTINCT ?k WHERE { resource:painter property:field_of_this_occupation ?k . ?k rdf:type ontology:process }
[]
process
Q11629
SYSTEM
art of painting
Q11629
(Q21712440,P425,c(Q3249551))
action filter_type
action find
entity Q1028181
relation P425
type Q3249551
The [ANSWER] has that one as thier associated field of occupation
['Q21712440', 'P425', {'concept': 'Q3249551'}]
SELECT DISTINCT ?k WHERE { resource:Q1028181 property:P425 ?k . ?k rdf:type ontology:Q3249551 }
art of painting
The art of painting has that one as thier associated field of occupation
art of painting
action filter_type
action find
entity painter
relation field of this occupation
type process
['Le Dictionnaire des peintres belges du XIVe siècle à nos jours', 'field of this occupation', {'concept': 'process'}]
SELECT DISTINCT ?k WHERE { resource:painter property:field_of_this_occupation ?k . ?k rdf:type ontology:process }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1478321
P828
Q7189713 Q3249551
USER
How many physiological conditions causes approximately the same number of processes as Spinal stenosis ?
(c(Q3249551),P828,c(Q7189713))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q1478321
relation P828
type Q7189713
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { FILTER ( ?c = ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q1478321 property:P828 ?d . ?d rdf:type ontology:Q7189713 } } . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P828 ?v . ?v rdf:type ontology:Q7189713 . ?a rdf:type ontology:Q3249551 } GROUP BY ?v } }
Spinal stenosis
action count
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity Spinal stenosis
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { FILTER ( ?c = ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Spinal_stenosis property:has_cause ?d . ?d rdf:type ontology:physiological_condition } } . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:has_cause ?v . ?v rdf:type ontology:physiological_condition . ?a rdf:type ontology:process } GROUP BY ?v } }
[]
physiological condition process
SYSTEM
4
Q2849606 Q193078 Q1478321 Q649122
(c(Q3249551),P828,c(Q7189713))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q1478321
relation P828
type Q7189713
[ANSWER]
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { FILTER ( ?c = ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q1478321 property:P828 ?d . ?d rdf:type ontology:Q7189713 } } . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P828 ?v . ?v rdf:type ontology:Q7189713 . ?a rdf:type ontology:Q3249551 } GROUP BY ?v } }
vasospasm trauma Spinal stenosis Jugular venous pressure
4
action count
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity Spinal stenosis
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { FILTER ( ?c = ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Spinal_stenosis property:has_cause ?d . ?d rdf:type ontology:physiological_condition } } . { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:has_cause ?v . ?v rdf:type ontology:physiological_condition . ?a rdf:type ontology:process } GROUP BY ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q649122
P828
Q7189713 Q3249551
USER
And also tell me about Jugular venous pressure?
(c(Q3249551),P828,c(Q7189713))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q649122
relation P828
type Q7189713
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P828 ?c . ?c rdf:type ontology:Q7189713 . ?z rdf:type ontology:Q3249551 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q649122 property:P828 ?v . ?v rdf:type ontology:Q7189713 } } . FILTER ( ?a = ?g ) }
Jugular venous pressure
action count
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity Jugular venous pressure
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:has_cause ?c . ?c rdf:type ontology:physiological_condition . ?z rdf:type ontology:process } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Jugular_venous_pressure property:has_cause ?v . ?v rdf:type ontology:physiological_condition } } . FILTER ( ?a = ?g ) }
[]
physiological condition process
SYSTEM
4
Q2849606 Q193078 Q1478321 Q649122
(c(Q3249551),P828,c(Q7189713))
action count
action approx
action find_reverse_tuple_counts
relation P828
type Q7189713
type Q3249551
action count
action filter_type
action find
entity Q649122
relation P828
type Q7189713
[ANSWER]
[{'concept': 'Q3249551'}, 'P828', {'concept': 'Q7189713'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P828 ?c . ?c rdf:type ontology:Q7189713 . ?z rdf:type ontology:Q3249551 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Q649122 property:P828 ?v . ?v rdf:type ontology:Q7189713 } } . FILTER ( ?a = ?g ) }
vasospasm trauma Spinal stenosis Jugular venous pressure
4
action count
action approx
action find_reverse_tuple_counts
relation has cause
type physiological condition
type process
action count
action filter_type
action find
entity Jugular venous pressure
relation has cause
type physiological condition
[{'concept': 'process'}, 'has cause', {'concept': 'physiological condition'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:has_cause ?c . ?c rdf:type ontology:physiological_condition . ?z rdf:type ontology:process } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { resource:Jugular_venous_pressure property:has_cause ?v . ?v rdf:type ontology:physiological_condition } } . FILTER ( ?a = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21712440
P361
Q1209283
USER
Which electronic media is Le Dictionnaire des peintres belges du XIVe siècle à nos jours a part of ?
(Q21712440,P361,c(Q1209283))
action filter_type
action find
entity Q21712440
relation P361
type Q1209283
['Q21712440', 'P361', {'concept': 'Q1209283'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1209283 . resource:Q21712440 property:P361 ?r }
Le Dictionnaire des peintres belges du XIVe siècle à nos jours
action filter_type
action find
entity Le Dictionnaire des peintres belges du XIVe siècle à nos jours
relation part of
type electronic media
['Le Dictionnaire des peintres belges du XIVe siècle à nos jours', 'part of', {'concept': 'electronic media'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:electronic_media . resource:Le_Dictionnaire_des_peintres_belges_du_XIVe_siècle_à_nos_jours property:part_of ?r }
[]
electronic media
Q2876688
SYSTEM
BALaT
Q2876688
(Q21712440,P361,c(Q1209283))
action filter_type
action find
entity Q21712440
relation P361
type Q1209283
[ANSWER] is Le Dictionnaire des peintres belges du XIVe siècle à nos jours a part of
['Q21712440', 'P361', {'concept': 'Q1209283'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1209283 . resource:Q21712440 property:P361 ?r }
BALaT
BALaT is Le Dictionnaire des peintres belges du XIVe siècle à nos jours a part of
BALaT
action filter_type
action find
entity Le Dictionnaire des peintres belges du XIVe siècle à nos jours
relation part of
type electronic media
['Le Dictionnaire des peintres belges du XIVe siècle à nos jours', 'part of', {'concept': 'electronic media'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:electronic_media . resource:Le_Dictionnaire_des_peintres_belges_du_XIVe_siècle_à_nos_jours property:part_of ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q166936
Q1209283
USER
And how about Internet Message Access Protocol?
(Q166936,P361,c(Q1209283))
action filter_type
action find
entity Q166936
relation P361
type Q1209283
['Q166936', 'P361', {'concept': 'Q1209283'}]
SELECT DISTINCT ?x WHERE { resource:Q166936 property:P361 ?x . ?x rdf:type ontology:Q1209283 }
Internet Message Access Protocol
action filter_type
action find
entity Internet Message Access Protocol
relation part of
type electronic media
['Internet Message Access Protocol', 'part of', {'concept': 'electronic media'}]
SELECT DISTINCT ?x WHERE { resource:Internet_Message_Access_Protocol property:part_of ?x . ?x rdf:type ontology:electronic_media }
[]
electronic media
Q9158
SYSTEM
email
Q9158
(Q166936,P361,c(Q1209283))
action filter_type
action find
entity Q166936
relation P361
type Q1209283
[ANSWER]
['Q166936', 'P361', {'concept': 'Q1209283'}]
SELECT DISTINCT ?x WHERE { resource:Q166936 property:P361 ?x . ?x rdf:type ontology:Q1209283 }
email
email
action filter_type
action find
entity Internet Message Access Protocol
relation part of
type electronic media
['Internet Message Access Protocol', 'part of', {'concept': 'electronic media'}]
SELECT DISTINCT ?x WHERE { resource:Internet_Message_Access_Protocol property:part_of ?x . ?x rdf:type ontology:electronic_media }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q11629
P366
Q11177771 Q214609
USER
How many artistic techniques or materials mainly plays the role of a art of painting ?
(c(Q11177771),P366,Q11629) (c(Q214609),P366,Q11629)
action count
action union
action filter_type
action find_reverse
entity Q11629
relation P366
type Q11177771
action filter_type
action find_reverse
entity Q11629
relation P366
type Q214609
[{'concept': 'Q11177771'}, 'P366', 'Q11629'] [{'concept': 'Q214609'}, 'P366', 'Q11629']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q11177771 ) ( ontology:Q214609 ) } }
art of painting
action count
action union
action filter_type
action find_reverse
entity art of painting
relation use
type artistic technique
action filter_type
action find_reverse
entity art of painting
relation use
type material
[{'concept': 'artistic technique'}, 'use', 'art of painting'] [{'concept': 'material'}, 'use', 'art of painting']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:artistic_technique ) ( ontology:material ) } }
[]
artistic technique material
SYSTEM
2
Q1231896 Q127418
(c(Q11177771),P366,Q11629) (c(Q214609),P366,Q11629)
action count
action union
action filter_type
action find_reverse
entity Q11629
relation P366
type Q11177771
action filter_type
action find_reverse
entity Q11629
relation P366
type Q214609
[ANSWER]
[{'concept': 'Q11177771'}, 'P366', 'Q11629'] [{'concept': 'Q214609'}, 'P366', 'Q11629']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q11177771 ) ( ontology:Q214609 ) } }
painting technique ink
2
action count
action union
action filter_type
action find_reverse
entity art of painting
relation use
type artistic technique
action filter_type
action find_reverse
entity art of painting
relation use
type material
[{'concept': 'artistic technique'}, 'use', 'art of painting'] [{'concept': 'material'}, 'use', 'art of painting']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:artistic_technique ) ( ontology:material ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11629
P1056
Q838948
USER
Which work of art is produced by art of painting ?
(Q11629,P1056,c(Q838948))
action filter_type
action find
entity Q11629
relation P1056
type Q838948
['Q11629', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . resource:Q11629 property:P1056 ?b }
art of painting
action filter_type
action find
entity art of painting
relation product
type work of art
['art of painting', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . resource:art_of_painting property:product ?b }
[]
work of art
Q3305213
SYSTEM
painting
Q3305213
(Q11629,P1056,c(Q838948))
action filter_type
action find
entity Q11629
relation P1056
type Q838948
Is [ANSWER] is produced by art of [ANSWER]
['Q11629', 'P1056', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . resource:Q11629 property:P1056 ?b }
painting
Is painting is produced by art of painting
painting
action filter_type
action find
entity art of painting
relation product
type work of art
['art of painting', 'product', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . resource:art_of_painting property:product ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21712440
P123
Q43229
USER
Who published Le Dictionnaire des peintres belges du XIVe siècle à nos jours ?
(Q21712440,P123,c(Q43229))
action filter_type
action find
entity Q21712440
relation P123
type Q43229
['Q21712440', 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q21712440 property:P123 ?o . ?o rdf:type ontology:Q43229 }
Le Dictionnaire des peintres belges du XIVe siècle à nos jours
action filter_type
action find
entity Le Dictionnaire des peintres belges du XIVe siècle à nos jours
relation publisher
type organization
['Le Dictionnaire des peintres belges du XIVe siècle à nos jours', 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Le_Dictionnaire_des_peintres_belges_du_XIVe_siècle_à_nos_jours property:publisher ?o . ?o rdf:type ontology:organization }
[]
organization
Q3212232
SYSTEM
La Renaissance du livre
Q3212232
(Q21712440,P123,c(Q43229))
action filter_type
action find
entity Q21712440
relation P123
type Q43229
[ANSWER] published Le Dictionnaire des peintres belges du XIVe siècle à nos jours
['Q21712440', 'P123', {'concept': 'Q43229'}]
SELECT DISTINCT ?o WHERE { resource:Q21712440 property:P123 ?o . ?o rdf:type ontology:Q43229 }
La Renaissance du livre
La Renaissance du livre published Le Dictionnaire des peintres belges du XIVe siècle à nos jours
La Renaissance du livre
action filter_type
action find
entity Le Dictionnaire des peintres belges du XIVe siècle à nos jours
relation publisher
type organization
['Le Dictionnaire des peintres belges du XIVe siècle à nos jours', 'publisher', {'concept': 'organization'}]
SELECT DISTINCT ?o WHERE { resource:Le_Dictionnaire_des_peintres_belges_du_XIVe_siècle_à_nos_jours property:publisher ?o . ?o rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P417
Q502895
USER
Which person is the patron saint of painter ?
(Q1028181,P417,c(Q502895))
action filter_type
action find
entity Q1028181
relation P417
type Q502895
['Q1028181', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1028181 property:P417 ?o . ?o rdf:type ontology:Q502895 }
painter
action filter_type
action find
entity painter
relation patron saint
type common name
['painter', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:painter property:patron_saint ?o . ?o rdf:type ontology:common_name }
[]
common name
Q128538
SYSTEM
Luke the Evangelist
Q128538
(Q1028181,P417,c(Q502895))
action filter_type
action find
entity Q1028181
relation P417
type Q502895
[ANSWER] is the patron saint of painter
['Q1028181', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1028181 property:P417 ?o . ?o rdf:type ontology:Q502895 }
Luke the Evangelist
Luke the Evangelist is the patron saint of painter
Luke the Evangelist
action filter_type
action find
entity painter
relation patron saint
type common name
['painter', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:painter property:patron_saint ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1028181
P101
Q502895
USER
Which people have his/her area as that occupation ?
(c(Q502895),P101,Q128538)
action filter_type
action find_reverse
entity Q1028181
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q128538']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q1028181 . ?v rdf:type ontology:Q502895 }
painter
action filter_type
action find_reverse
entity painter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Luke the Evangelist']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:painter . ?v rdf:type ontology:common_name }
[]
common name
Q5582 Q352 Q102139
SYSTEM
Vincent van Gogh, Adolf Hitler, Margrethe II of Denmark
Q5582 Q352 Q102139
(c(Q502895),P101,Q128538)
action filter_type
action find_reverse
entity Q1028181
relation P101
type Q502895
[ANSWERS] have his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q128538']
SELECT DISTINCT ?v WHERE { ?v property:P101 resource:Q1028181 . ?v rdf:type ontology:Q502895 }
Vincent van Gogh Adolf Hitler Margrethe II of Denmark
Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark have his/her area as that occupation
Vincent van Gogh Adolf Hitler Margrethe II of Denmark
action filter_type
action find_reverse
entity painter
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Luke the Evangelist']
SELECT DISTINCT ?v WHERE { ?v property:field_of_work resource:painter . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5582 Q352 Q102139
P40
Q502895
USER
Which people have Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark as a child ?
(c(Q502895),P40,Q5582) (c(Q502895),P40,Q352) (c(Q502895),P40,Q102139)
action union
action filter_type
action find_reverse
entity Q5582
relation P40
type Q502895
action filter_type
action find_reverse
entity Q352
relation P40
type Q502895
action filter_type
action find_reverse
entity Q102139
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5582'] [{'concept': 'Q502895'}, 'P40', 'Q352'] [{'concept': 'Q502895'}, 'P40', 'Q102139']
SELECT DISTINCT ?n WHERE { { ?n property:P40 resource:Q5582 . ?n rdf:type ontology:Q502895 } UNION { ?n property:P40 resource:Q352 . ?n rdf:type ontology:Q502895 } }
Vincent van Gogh Adolf Hitler Margrethe II of Denmark
action union
action filter_type
action find_reverse
entity Vincent van Gogh
relation child
type common name
action filter_type
action find_reverse
entity Adolf Hitler
relation child
type common name
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vincent van Gogh'] [{'concept': 'common name'}, 'child', 'Adolf Hitler'] [{'concept': 'common name'}, 'child', 'Margrethe II of Denmark']
SELECT DISTINCT ?n WHERE { { ?n property:child resource:Vincent_van_Gogh . ?n rdf:type ontology:common_name } UNION { ?n property:child resource:Adolf_Hitler . ?n rdf:type ontology:common_name } }
[]
common name
Q78500 Q158314 Q151312
SYSTEM
Alois Hitler, Klara Hitler, Frederick IX of Denmark
Q2233061 Q158314 Q78500 Q151312 Q163010
(c(Q502895),P40,Q5582) (c(Q502895),P40,Q352) (c(Q502895),P40,Q102139)
action union
action filter_type
action find_reverse
entity Q5582
relation P40
type Q502895
action filter_type
action find_reverse
entity Q352
relation P40
type Q502895
action filter_type
action find_reverse
entity Q102139
relation P40
type Q502895
[ANSWERS] have Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark as a child
[{'concept': 'Q502895'}, 'P40', 'Q5582'] [{'concept': 'Q502895'}, 'P40', 'Q352'] [{'concept': 'Q502895'}, 'P40', 'Q102139']
SELECT DISTINCT ?n WHERE { { ?n property:P40 resource:Q5582 . ?n rdf:type ontology:Q502895 } UNION { ?n property:P40 resource:Q352 . ?n rdf:type ontology:Q502895 } }
Theodorus van Gogh Klara Hitler Alois Hitler Frederick IX of Denmark Ingrid of Sweden
Alois Hitler, Klara Hitler and Frederick IX of Denmark have Vincent van Gogh, Adolf Hitler and Margrethe II of Denmark as a child
Alois Hitler Klara Hitler Frederick IX of Denmark
action union
action filter_type
action find_reverse
entity Vincent van Gogh
relation child
type common name
action filter_type
action find_reverse
entity Adolf Hitler
relation child
type common name
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vincent van Gogh'] [{'concept': 'common name'}, 'child', 'Adolf Hitler'] [{'concept': 'common name'}, 'child', 'Margrethe II of Denmark']
SELECT DISTINCT ?n WHERE { { ?n property:child resource:Vincent_van_Gogh . ?n rdf:type ontology:common_name } UNION { ?n property:child resource:Adolf_Hitler . ?n rdf:type ontology:common_name } }
[]