Simple Question (Direct)
Simple Question
Q3624303
P26
Q502895
USER
Who is married to Arthur Pierson ?
(Q3624303,P26,c(Q502895))
action filter_type
action find
entity Q3624303
relation P26
type Q502895
['Q3624303', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q3624303 property:P26 ?q }
Arthur Pierson
action filter_type
action find
entity Arthur Pierson
relation spouse
type common name
['Arthur Pierson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Arthur_Pierson property:spouse ?q }
[]
common name
Q19667270
SYSTEM
Ruth Matteson
Q19667270
(Q3624303,P26,c(Q502895))
action filter_type
action find
entity Q3624303
relation P26
type Q502895
He [ANSWER] is married to Arthur Pierson
['Q3624303', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q3624303 property:P26 ?q }
Ruth Matteson
He Ruth Matteson is married to Arthur Pierson
Ruth Matteson
action filter_type
action find
entity Arthur Pierson
relation spouse
type common name
['Arthur Pierson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Arthur_Pierson property:spouse ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3624303
P20
Q56061
USER
Where did the demise of Arthur Pierson occur ?
(Q3624303,P20,c(Q56061))
action filter_type
action find
entity Q3624303
relation P20
type Q56061
['Q3624303', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3624303 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Arthur Pierson
action filter_type
action find
entity Arthur Pierson
relation place of death
type administrative territorial entity
['Arthur Pierson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Arthur_Pierson property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q47164
SYSTEM
Santa Monica
Q47164
(Q3624303,P20,c(Q56061))
action filter_type
action find
entity Q3624303
relation P20
type Q56061
The demise of Arthur Pierson occurred in [ANSWER]
['Q3624303', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3624303 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Santa Monica
The demise of Arthur Pierson occurred in Santa Monica
Santa Monica
action filter_type
action find
entity Arthur Pierson
relation place of death
type administrative territorial entity
['Arthur Pierson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Arthur_Pierson property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3624303
P1196
Q1931388
USER
What situation did Arthur Pierson die in ?
(Q3624303,P1196,c(Q1931388))
action filter_type
action find
entity Q3624303
relation P1196
type Q1931388
['Q3624303', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q3624303 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
Arthur Pierson
action filter_type
action find
entity Arthur Pierson
relation manner of death
type cause of death
['Arthur Pierson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Arthur_Pierson property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3624303,P1196,c(Q1931388))
action filter_type
action find
entity Q3624303
relation P1196
type Q1931388
Arthur Pierson died of [ANSWER]
['Q3624303', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q3624303 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
Arthur Pierson died of natural causes
natural causes
action filter_type
action find
entity Arthur Pierson
relation manner of death
type cause of death
['Arthur Pierson', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Arthur_Pierson property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3624303
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q3739104)
action filter_type
action find_reverse
entity Q3624303
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3739104']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q3624303 }
Arthur Pierson
action filter_type
action find_reverse
entity Arthur Pierson
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'natural causes']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Arthur_Pierson }
[]
work of art
Q3747097 Q14755360 Q1777093
SYSTEM
Follies Girl, The Strange Case of Clara Deane, The Devil's Brother
Q3747097 Q14755360 Q1777093
(c(Q838948),P161,Q3739104)
action filter_type
action find_reverse
entity Q3624303
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q3739104']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q838948 . ?g property:P161 resource:Q3624303 }
Follies Girl The Strange Case of Clara Deane The Devil's Brother
Follies Girl, The Strange Case of Clara Deane and The Devil's Brother star that person as actor
Follies Girl The Strange Case of Clara Deane The Devil's Brother
action filter_type
action find_reverse
entity Arthur Pierson
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'natural causes']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:work_of_art . ?g property:cast_member resource:Arthur_Pierson }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3624303
P21
Q290
USER
Which sex does that person belong to ?
(Q3747097,P21,c(Q290)) (Q14755360,P21,c(Q290)) (Q1777093,P21,c(Q290))
action filter_type
action find
entity Q3624303
relation P21
type Q290
['Q3747097', 'P21', {'concept': 'Q290'}] ['Q14755360', 'P21', {'concept': 'Q290'}] ['Q1777093', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3624303 property:P21 ?a . ?a rdf:type ontology:Q290 }
Arthur Pierson
action filter_type
action find
entity Arthur Pierson
relation gender
type sex
['Follies Girl', 'gender', {'concept': 'sex'}] ['The Strange Case of Clara Deane', 'gender', {'concept': 'sex'}] ["The Devil's Brother", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Pierson property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3747097,P21,c(Q290)) (Q14755360,P21,c(Q290)) (Q1777093,P21,c(Q290))
action filter_type
action find
entity Q3624303
relation P21
type Q290
That person belongs to [ANSWER]
['Q3747097', 'P21', {'concept': 'Q290'}] ['Q14755360', 'P21', {'concept': 'Q290'}] ['Q1777093', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3624303 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Arthur Pierson
relation gender
type sex
['Follies Girl', 'gender', {'concept': 'sex'}] ['The Strange Case of Clara Deane', 'gender', {'concept': 'sex'}] ["The Devil's Brother", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Arthur_Pierson property:gender ?a . ?a rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q453698
P417
Q502895 Q16970 Q56061
USER
Which people are the names of person who are the patron saints of greater number of churches and administrative territories than Saint Amand ?
(c(Q16970)|c(Q56061),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q453698
relation P417
type Q16970
type Q56061
[[{'concept': 'Q16970'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P417 resource:Q453698 . { { ?t rdf:type ontology:Q16970 } UNION { ?t rdf:type ontology:Q56061 } } } } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:P417 ?c . ?v rdf:type ontology:Q16970 . ?c rdf:type ontology:Q502895 } UNION { ?v property:P417 ?c . ?c rdf:type ontology:Q502895 . ?v rdf:type ontology:Q56061 } } GROUP BY ?c } }
Saint Amand
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Saint Amand
relation patron saint
type church
type administrative territorial entity
[[{'concept': 'church'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:patron_saint resource:Saint_Amand . { { ?t rdf:type ontology:church } UNION { ?t rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:patron_saint ?c . ?v rdf:type ontology:church . ?c rdf:type ontology:common_name } UNION { ?v property:patron_saint ?c . ?c rdf:type ontology:common_name . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?c } }
[]
common name church administrative territorial entity
Q8413 Q8018 Q174044
SYSTEM
Constantine the Great, Augustine of Hippo, Alexander Nevsky
Q133704 Q152457 Q172390 Q516729 Q3893243 Q732865 Q696682 Q320199 Q43689 Q3776432 Q128267 Q328804 Q174044 Q1284098 Q163900 Q31966 Q170547 Q44024 Q676555 Q244380 Q287916 Q539890 Q212850 Q1346958 Q51885 Q234697 Q1284971 Q357093 Q115550 Q8413 Q558148 Q379685 Q42887 Q4210004 Q177903 Q2697247 Q457903 Q8018 Q315312 Q216946 Q33923 Q161775 Q128538 Q316599 Q183240 Q145746 Q298845 Q167477 Q288295 Q297742 Q218921 Q183332 Q48438 Q44281 Q170164 Q43399 Q189776 Q965463 Q196527 Q336731 Q4161703 Q9200 Q174880 Q235863 Q2142772 Q43999 Q1747656 Q1393825 Q359259 Q12871 Q369691 Q44269 Q2456500 Q192816 Q43982 Q179718 Q445357 Q40662 Q1976199 Q534691 Q80513 Q26486 Q158504 Q151967 Q149727 Q11905449 Q4026158 Q164294 Q3561124 Q159862 Q17590 Q200895 Q284323 Q59071 Q1383532 Q44248 Q1269112 Q310633
(c(Q16970)|c(Q56061),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q453698
relation P417
type Q16970
type Q56061
[ANSWERS] are the names of person who are the patron saints of greater number of churches and administrative territories than Saint Amand
[[{'concept': 'Q16970'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P417 resource:Q453698 . { { ?t rdf:type ontology:Q16970 } UNION { ?t rdf:type ontology:Q56061 } } } } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:P417 ?c . ?v rdf:type ontology:Q16970 . ?c rdf:type ontology:Q502895 } UNION { ?v property:P417 ?c . ?c rdf:type ontology:Q502895 . ?v rdf:type ontology:Q56061 } } GROUP BY ?c } }
Martin of Tours Saint Roch Martin I Sebaldus Pamphilus of Sulmona Vitalis of Milan Arnold von Arnoldsweiler Apollinaris of Ravenna Ambrose Gonçalo de Amarante Joseph John the Evangelist Alexander Nevsky Turibius of Astorga Saint Francis Xavier Mark the Evangelist Anthony the Great Athanasius of Alexandria Francis of Assisi Saint Denis Finbarr of Cork Lazarus of Bethany Vitus Judas Cyriacus Thecla Maria Goretti La Mosca Victor Maurus Saint Spyridon Nicholas of Flüe Constantine the Great Leonard of Noblac Isidore the Laborer Clement I Venantius of Camerino Stephen I of Hungary Catellus of Castellammare Saint Bavo Augustine of Hippo Januarius Charles Borromeo Peter Stephen Luke the Evangelist Saint Maurice Saint Lucy Joseph Saint Florian Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Saint Sebastian Saint George Ignatius of Loyola Helena of Constantinople Andrew Zeno of Verona Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Dimitry Prilutsky Paul Teresa of Ávila Genevieve Gereon James Saturninus of Cagliari Valerius of Saragossa Saint Emeric of Hungary Simon the Zealot Saint Ursula Saint Nicholas Eulalia of Barcelona Saint Barbara Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Gaudentius of Novara Paschal Baylon Saint Cecilia Ladislaus I of Hungary Clement of Ohrid Saint Blaise Saint Giles Anastasi de Lleida Possidonio Saint Anna Acisclus Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Eulalia of Mérida Peter de Regalado Rainerius Jerome Saint Ninian Demetrius of Thessaloniki
Constantine the Great, Augustine of Hippo and Alexander Nevsky are the names of person who are the patron saints of greater number of churches and administrative territories than Saint Amand
Constantine the Great Augustine of Hippo Alexander Nevsky
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Saint Amand
relation patron saint
type church
type administrative territorial entity
[[{'concept': 'church'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:patron_saint resource:Saint_Amand . { { ?t rdf:type ontology:church } UNION { ?t rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?x > ?s ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:patron_saint ?c . ?v rdf:type ontology:church . ?c rdf:type ontology:common_name } UNION { ?v property:patron_saint ?c . ?c rdf:type ontology:common_name . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?c } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q744884
P417
Q502895 Q16970 Q56061
USER
And what about Zita?
(c(Q16970)|c(Q56061),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q744884
relation P417
type Q16970
type Q56061
[[{'concept': 'Q16970'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?l property:P417 ?s . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } UNION { ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q56061 . ?l property:P417 ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P417 resource:Q744884 . { { ?k rdf:type ontology:Q16970 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?g > ?v ) }
Zita
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Zita
relation patron saint
type church
type administrative territorial entity
[[{'concept': 'church'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?l property:patron_saint ?s . ?s rdf:type ontology:common_name . ?l rdf:type ontology:church } UNION { ?s rdf:type ontology:common_name . ?l rdf:type ontology:administrative_territorial_entity . ?l property:patron_saint ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:patron_saint resource:Zita . { { ?k rdf:type ontology:church } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?g > ?v ) }
[]
common name church administrative territorial entity
Q8413 Q8018 Q174044
SYSTEM
Constantine the Great, Augustine of Hippo, Alexander Nevsky
Q133704 Q152457 Q172390 Q516729 Q3893243 Q732865 Q696682 Q320199 Q43689 Q3776432 Q128267 Q328804 Q174044 Q1284098 Q163900 Q31966 Q170547 Q44024 Q676555 Q244380 Q287916 Q539890 Q212850 Q1346958 Q51885 Q234697 Q1284971 Q357093 Q115550 Q8413 Q558148 Q379685 Q42887 Q4210004 Q177903 Q2697247 Q457903 Q8018 Q315312 Q216946 Q33923 Q161775 Q128538 Q316599 Q183240 Q145746 Q298845 Q167477 Q288295 Q297742 Q218921 Q183332 Q48438 Q44281 Q170164 Q43399 Q189776 Q965463 Q196527 Q336731 Q4161703 Q9200 Q174880 Q235863 Q2142772 Q43999 Q1747656 Q1393825 Q359259 Q12871 Q369691 Q44269 Q2456500 Q192816 Q43982 Q179718 Q445357 Q40662 Q1976199 Q534691 Q80513 Q26486 Q158504 Q151967 Q149727 Q11905449 Q4026158 Q164294 Q3561124 Q159862 Q17590 Q200895 Q284323 Q59071 Q1383532 Q44248 Q1269112 Q310633
(c(Q16970)|c(Q56061),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q56061
action count
action filter_multi_types
action find_reverse
entity Q744884
relation P417
type Q16970
type Q56061
[ANSWERS]
[[{'concept': 'Q16970'}, {'concept': 'Q56061'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?l property:P417 ?s . ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } UNION { ?s rdf:type ontology:Q502895 . ?l rdf:type ontology:Q56061 . ?l property:P417 ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P417 resource:Q744884 . { { ?k rdf:type ontology:Q16970 } UNION { ?k rdf:type ontology:Q56061 } } } } . FILTER ( ?g > ?v ) }
Martin of Tours Saint Roch Martin I Sebaldus Pamphilus of Sulmona Vitalis of Milan Arnold von Arnoldsweiler Apollinaris of Ravenna Ambrose Gonçalo de Amarante Joseph John the Evangelist Alexander Nevsky Turibius of Astorga Saint Francis Xavier Mark the Evangelist Anthony the Great Athanasius of Alexandria Francis of Assisi Saint Denis Finbarr of Cork Lazarus of Bethany Vitus Judas Cyriacus Thecla Maria Goretti La Mosca Victor Maurus Saint Spyridon Nicholas of Flüe Constantine the Great Leonard of Noblac Isidore the Laborer Clement I Venantius of Camerino Stephen I of Hungary Catellus of Castellammare Saint Bavo Augustine of Hippo Januarius Charles Borromeo Peter Stephen Luke the Evangelist Saint Maurice Saint Lucy Joseph Saint Florian Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Saint Sebastian Saint George Ignatius of Loyola Helena of Constantinople Andrew Zeno of Verona Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Dimitry Prilutsky Paul Teresa of Ávila Genevieve Gereon James Saturninus of Cagliari Valerius of Saragossa Saint Emeric of Hungary Simon the Zealot Saint Ursula Saint Nicholas Eulalia of Barcelona Saint Barbara Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Gaudentius of Novara Paschal Baylon Saint Cecilia Ladislaus I of Hungary Clement of Ohrid Saint Blaise Saint Giles Anastasi de Lleida Possidonio Saint Anna Acisclus Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Eulalia of Mérida Peter de Regalado Rainerius Jerome Saint Ninian Demetrius of Thessaloniki
Constantine the Great Augustine of Hippo Alexander Nevsky
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Zita
relation patron saint
type church
type administrative territorial entity
[[{'concept': 'church'}, {'concept': 'administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) ?s WHERE { { ?l property:patron_saint ?s . ?s rdf:type ontology:common_name . ?l rdf:type ontology:church } UNION { ?s rdf:type ontology:common_name . ?l rdf:type ontology:administrative_territorial_entity . ?l property:patron_saint ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:patron_saint resource:Zita . { { ?k rdf:type ontology:church } UNION { ?k rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?g > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8413
P180
Q838948
USER
Which works of art depict Constantine the Great ?
(c(Q838948),P180,Q8413)
action filter_type
action find_reverse
entity Q8413
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q8413']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q8413 . ?v rdf:type ontology:Q838948 }
Constantine the Great
action filter_type
action find_reverse
entity Constantine the Great
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Constantine the Great']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:Constantine_the_Great . ?v rdf:type ontology:work_of_art }
[]
work of art
Q21141679 Q1869134
SYSTEM
The Vision of Constantine, equestrian statue of Constantine
Q21141679 Q1869134
(c(Q838948),P180,Q8413)
action filter_type
action find_reverse
entity Q8413
relation P180
type Q838948
[ANSWERS] depict Constantine the Great
[{'concept': 'Q838948'}, 'P180', 'Q8413']
SELECT DISTINCT ?v WHERE { ?v property:P180 resource:Q8413 . ?v rdf:type ontology:Q838948 }
The Vision of Constantine equestrian statue of Constantine
The Vision of Constantine and equestrian statue of Constantine depict Constantine the Great
The Vision of Constantine equestrian statue of Constantine
action filter_type
action find_reverse
entity Constantine the Great
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Constantine the Great']
SELECT DISTINCT ?v WHERE { ?v property:depicts resource:Constantine_the_Great . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21141679 Q1869134
P136
Q1792379
USER
What can be considered as category for The Vision of Constantine and equestrian statue of Constantine ?
(Q21141679,P136,c(Q1792379)) (Q1869134,P136,c(Q1792379))
action union
action filter_type
action find
entity Q21141679
relation P136
type Q1792379
action filter_type
action find
entity Q1869134
relation P136
type Q1792379
['Q21141679', 'P136', {'concept': 'Q1792379'}] ['Q1869134', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q1792379 . resource:Q21141679 property:P136 ?w } UNION { resource:Q1869134 property:P136 ?w . ?w rdf:type ontology:Q1792379 } }
The Vision of Constantine equestrian statue of Constantine
action union
action filter_type
action find
entity The Vision of Constantine
relation genre
type art genre
action filter_type
action find
entity equestrian statue of Constantine
relation genre
type art genre
['The Vision of Constantine', 'genre', {'concept': 'art genre'}] ['equestrian statue of Constantine', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:art_genre . resource:The_Vision_of_Constantine property:genre ?w } UNION { resource:equestrian_statue_of_Constantine property:genre ?w . ?w rdf:type ontology:art_genre } }
[]
art genre
Q659396 Q659396
SYSTEM
equestrian statue
Q659396 Q659396
(Q21141679,P136,c(Q1792379)) (Q1869134,P136,c(Q1792379))
action union
action filter_type
action find
entity Q21141679
relation P136
type Q1792379
action filter_type
action find
entity Q1869134
relation P136
type Q1792379
[ANSWER] and [ANSWER] can be considered as category for The Vision of Constantine and [ANSWER] of Constantine
['Q21141679', 'P136', {'concept': 'Q1792379'}] ['Q1869134', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q1792379 . resource:Q21141679 property:P136 ?w } UNION { resource:Q1869134 property:P136 ?w . ?w rdf:type ontology:Q1792379 } }
equestrian statue equestrian statue
Equestrian statue and equestrian statue can be considered as category for The Vision of Constantine and equestrian statue of Constantine
equestrian statue equestrian statue
action union
action filter_type
action find
entity The Vision of Constantine
relation genre
type art genre
action filter_type
action find
entity equestrian statue of Constantine
relation genre
type art genre
['The Vision of Constantine', 'genre', {'concept': 'art genre'}] ['equestrian statue of Constantine', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:art_genre . resource:The_Vision_of_Constantine property:genre ?w } UNION { resource:equestrian_statue_of_Constantine property:genre ?w . ?w rdf:type ontology:art_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8413
P127
Q3305213
USER
Which painting is owned by Constantine the Great ?
(c(Q3305213),P127,Q8413)
action filter_type
action find_reverse
entity Q8413
relation P127
type Q3305213
[{'concept': 'Q3305213'}, 'P127', 'Q8413']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q8413 . ?z rdf:type ontology:Q3305213 }
Constantine the Great
action filter_type
action find_reverse
entity Constantine the Great
relation owned by
type painting
[{'concept': 'painting'}, 'owned by', 'Constantine the Great']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Constantine_the_Great . ?z rdf:type ontology:painting }
[]
painting
Q573619
SYSTEM
Black Madonna of Częstochowa
Q573619
(c(Q3305213),P127,Q8413)
action filter_type
action find_reverse
entity Q8413
relation P127
type Q3305213
[ANSWER] is owned by Constantine the Great
[{'concept': 'Q3305213'}, 'P127', 'Q8413']
SELECT DISTINCT ?z WHERE { ?z property:P127 resource:Q8413 . ?z rdf:type ontology:Q3305213 }
Black Madonna of Częstochowa
Black Madonna of Częstochowa is owned by Constantine the Great
Black Madonna of Częstochowa
action filter_type
action find_reverse
entity Constantine the Great
relation owned by
type painting
[{'concept': 'painting'}, 'owned by', 'Constantine the Great']
SELECT DISTINCT ?z WHERE { ?z property:owned_by resource:Constantine_the_Great . ?z rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8413
P921
Q838948
USER
Which work of art is Constantine the Great a main subject of ?
(c(Q838948),P921,Q8413)
action filter_type
action find_reverse
entity Q8413
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q8413']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P921 resource:Q8413 }
Constantine the Great
action filter_type
action find_reverse
entity Constantine the Great
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Constantine the Great']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:main_subject resource:Constantine_the_Great }
[]
work of art
Q21141679
SYSTEM
The Vision of Constantine
Q21141679
(c(Q838948),P921,Q8413)
action filter_type
action find_reverse
entity Q8413
relation P921
type Q838948
[ANSWER] is Constantine the Great a main subject of
[{'concept': 'Q838948'}, 'P921', 'Q8413']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P921 resource:Q8413 }
The Vision of Constantine
The Vision of Constantine is Constantine the Great a main subject of
The Vision of Constantine
action filter_type
action find_reverse
entity Constantine the Great
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Constantine the Great']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:main_subject resource:Constantine_the_Great }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8413
P22
Q502895
USER
Which people have that one as dad ?
(c(Q502895),P22,Q21141679)
action filter_type
action find_reverse
entity Q8413
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q21141679']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q8413 . ?a rdf:type ontology:Q502895 }
Constantine the Great
action filter_type
action find_reverse
entity Constantine the Great
relation father
type common name
[{'concept': 'common name'}, 'father', 'The Vision of Constantine']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Constantine_the_Great . ?a rdf:type ontology:common_name }
[]
common name
Q46418 Q46734 Q185538
SYSTEM
Constantius II, Constantine II, Constans
Q464452 Q46734 Q46418 Q185538 Q311646 Q1001933
(c(Q502895),P22,Q21141679)
action filter_type
action find_reverse
entity Q8413
relation P22
type Q502895
[ANSWERS] have that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q21141679']
SELECT DISTINCT ?a WHERE { ?a property:P22 resource:Q8413 . ?a rdf:type ontology:Q502895 }
Constantina Constantine II Constantius II Constans Crispus Helena
Constantius II, Constantine II and Constans have that one as dad
Constantius II Constantine II Constans
action filter_type
action find_reverse
entity Constantine the Great
relation father
type common name
[{'concept': 'common name'}, 'father', 'The Vision of Constantine']
SELECT DISTINCT ?a WHERE { ?a property:father resource:Constantine_the_Great . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46734
P53
Q13417114
USER
What dynasty does that person belong to ?
(Q46734,P53,c(Q13417114))
action filter_type
action find
entity Q46734
relation P53
type Q13417114
['Q46734', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?y WHERE { resource:Q46734 property:P53 ?y . ?y rdf:type ontology:Q13417114 }
Constantine II
action filter_type
action find
entity Constantine II
relation noble family
type noble family
['Constantine II', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?y WHERE { resource:Constantine_II property:noble_family ?y . ?y rdf:type ontology:noble_family }
[]
noble family
Clarification for simple ques.
Q185538
SYSTEM
Did you mean Constans ?
Q46418 Q46734 Q185538
(Q46418,P53,c(Q13417114)) (Q46734,P53,c(Q13417114)) (Q185538,P53,c(Q13417114))
[ANSWER]
['Q46418', 'P53', {'concept': 'Q13417114'}] ['Q46734', 'P53', {'concept': 'Q13417114'}] ['Q185538', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?y WHERE { resource:Q46734 property:P53 ?y . ?y rdf:type ontology:Q13417114 }
Constantius II Constantine II Constans
Did you mean Constans ?
Constans
['Constantius II', 'noble family', {'concept': 'noble family'}] ['Constantine II', 'noble family', {'concept': 'noble family'}] ['Constans', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?y WHERE { resource:Constantine_II property:noble_family ?y . ?y rdf:type ontology:noble_family }
[]
Simple Question (Coreferenced)
USER
No, I meant Constantine II. Could you tell me the answer for that?
(Q46734,P53,c(Q13417114))
Q46734
['Q46734', 'P53', {'concept': 'Q13417114'}]
['Constantine II', 'noble family', {'concept': 'noble family'}]
[]
Q175454
SYSTEM
Constantinian dynasty
Q175454
(Q46734,P53,c(Q13417114))
action filter_type
action find
entity Q46734
relation P53
type Q13417114
That person belongs to [ANSWER]
['Q46734', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?y WHERE { resource:Q46734 property:P53 ?y . ?y rdf:type ontology:Q13417114 }
Constantinian dynasty
That person belongs to Constantinian dynasty
Constantinian dynasty
action filter_type
action find
entity Constantine II
relation noble family
type noble family
['Constantine II', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?y WHERE { resource:Constantine_II property:noble_family ?y . ?y rdf:type ontology:noble_family }
[]