Simple Question (Direct)
Simple Question
Q11560894
P734
Q82799
USER
Which name is associated with Takashi Shimizu ?
(Q11560894,P734,c(Q82799))
action filter_type
action find
entity Q11560894
relation P734
type Q82799
['Q11560894', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q11560894 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Takashi Shimizu
action filter_type
action find
entity Takashi Shimizu
relation family name
type name
['Takashi Shimizu', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Takashi_Shimizu property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q16883193
SYSTEM
Shimizu
Q16883193
(Q11560894,P734,c(Q82799))
action filter_type
action find
entity Q11560894
relation P734
type Q82799
Shi [ANSWER] is associated with Takashi [ANSWER]
['Q11560894', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q11560894 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Shimizu
Shi Shimizu is associated with Takashi Shimizu
Shimizu
action filter_type
action find
entity Takashi Shimizu
relation family name
type name
['Takashi Shimizu', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Takashi_Shimizu property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11560894
P27
Q15617994
USER
Which administrative territory does Takashi Shimizu belong to ?
(Q11560894,P27,c(Q15617994))
action filter_type
action find
entity Q11560894
relation P27
type Q15617994
['Q11560894', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q11560894 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Takashi Shimizu
action filter_type
action find
entity Takashi Shimizu
relation country of citizenship
type designation for an administrative territorial entity
['Takashi Shimizu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Takashi_Shimizu property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11560894,P27,c(Q15617994))
action filter_type
action find
entity Q11560894
relation P27
type Q15617994
Takashi Shimizu belongs to [ANSWER]
['Q11560894', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q11560894 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Japan
Takashi Shimizu belongs to Japan
Japan
action filter_type
action find
entity Takashi Shimizu
relation country of citizenship
type designation for an administrative territorial entity
['Takashi Shimizu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Takashi_Shimizu property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11560894
P19
Q56061
USER
Where was that person born ?
(Q17,P19,c(Q56061))
action filter_type
action find
entity Q11560894
relation P19
type Q56061
['Q17', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q11560894 property:P19 ?p }
Takashi Shimizu
action filter_type
action find
entity Takashi Shimizu
relation place of birth
type administrative territorial entity
['Japan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Takashi_Shimizu property:place_of_birth ?p }
[]
administrative territorial entity
Q1490
SYSTEM
Tokyo
Q1490
(Q17,P19,c(Q56061))
action filter_type
action find
entity Q11560894
relation P19
type Q56061
That person was born in [ANSWER]
['Q17', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q11560894 property:P19 ?p }
Tokyo
That person was born in Tokyo
Tokyo
action filter_type
action find
entity Takashi Shimizu
relation place of birth
type administrative territorial entity
['Japan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Takashi_Shimizu property:place_of_birth ?p }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P841
Q573 Q186081 Q502895
USER
Which people have atleast 2 days or time intervals as principal feast day ?
(c(Q502895),P841,c(Q573)|c(Q186081))
action atleast
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
value 2
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { { ?f property:P841 ?l . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q573 } UNION { ?f property:P841 ?l . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q186081 } } GROUP BY ?f } . FILTER ( ?p >= 2 ) }
action atleast
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
value 2
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { { ?f property:feast_day ?l . ?f rdf:type ontology:common_name . ?l rdf:type ontology:day } UNION { ?f property:feast_day ?l . ?f rdf:type ontology:common_name . ?l rdf:type ontology:time_interval } } GROUP BY ?f } . FILTER ( ?p >= 2 ) }
[]
day time interval common name
Q2332287 Q44265 Q158504
SYSTEM
Ingegerd Olofsdotter of Sweden, Benedict of Nursia, Clement of Ohrid
Q770633 Q724454 Q161775 Q44265 Q319319 Q37599 Q3189724 Q170164 Q158504 Q2332287 Q18691847
(c(Q502895),P841,c(Q573)|c(Q186081))
action atleast
action union
action find_tuple_counts
relation P841
type Q502895
type Q573
action find_tuple_counts
relation P841
type Q502895
type Q186081
value 2
[ANSWERS] have atleast 2 days or time intervals as principal feast day
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { { ?f property:P841 ?l . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q573 } UNION { ?f property:P841 ?l . ?f rdf:type ontology:Q502895 . ?l rdf:type ontology:Q186081 } } GROUP BY ?f } . FILTER ( ?p >= 2 ) }
Padarn Julian of Antioch Stephen Benedict of Nursia Abercius of Hieropolis Theodore of Amasea Julienne de Vyazma Helena of Constantinople Clement of Ohrid Ingegerd Olofsdotter of Sweden Saint Ilar
Ingegerd Olofsdotter of Sweden, Benedict of Nursia and Clement of Ohrid have atleast 2 days or time intervals as principal feast day
Ingegerd Olofsdotter of Sweden Benedict of Nursia Clement of Ohrid
action atleast
action union
action find_tuple_counts
relation feast day
type common name
type day
action find_tuple_counts
relation feast day
type common name
type time interval
value 2
[{'concept': 'common name'}, 'feast day', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { { ?f property:feast_day ?l . ?f rdf:type ontology:common_name . ?l rdf:type ontology:day } UNION { ?f property:feast_day ?l . ?f rdf:type ontology:common_name . ?l rdf:type ontology:time_interval } } GROUP BY ?f } . FILTER ( ?p >= 2 ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P417
Q502895 Q44539 Q16970
USER
Which people are the patron saint of greater number of temples and churches than that person ?
(c(Q44539)|c(Q16970),P417,c(Q502895))
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { ?f property:Q28914 ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { ?f property:patron_saint ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]
common name temple church
Comparative|More/Less|Mult. entity type|Clarification
Q2332287
SYSTEM
Did you mean Ingegerd Olofsdotter of Sweden ?
(c(Q44539)|c(Q16970),P417,c(Q502895))
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { ?f property:Q28914 ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
Did you mean Ingegerd Olofsdotter of Sweden ?
Ingegerd Olofsdotter of Sweden
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { ?f property:patron_saint ?y . VALUES ( ?f ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]
Comparative Reasoning (All)
USER
No, I meant Benedict of Nursia. Could you tell me the answer for that?
(c(Q44539)|c(Q16970),P417,c(Q502895))
Q44265
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
[]
Q346 Q8018 Q174044
SYSTEM
Louis IX of France, Augustine of Hippo, Alexander Nevsky
Q133704 Q152457 Q128267 Q328804 Q174044 Q163900 Q170547 Q676555 Q244380 Q177903 Q207113 Q8018 Q33923 Q161775 Q145746 Q167477 Q297742 Q48438 Q44281 Q63070 Q43399 Q196527 Q9200 Q346 Q180936 Q2142772 Q43999 Q359259 Q44269 Q43982 Q179718 Q40662 Q80513 Q26486 Q149727 Q164294 Q159862 Q17590 Q200895 Q310633
(c(Q44539)|c(Q16970),P417,c(Q502895))
[ANSWERS] are the patron saint of greater number of temples and churches than that person
[[{'concept': 'Q44539'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q28914 ?y } UNION { ?x property:Q28914 ?y } } . ?z rdf:type ontology:Q7654661 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q23056934 }
Martin of Tours Saint Roch Joseph John the Evangelist Alexander Nevsky Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Stephen I of Hungary Hippolytus Augustine of Hippo Peter Stephen Joseph Anthony of Padua Margaret the Virgin Saint George Ignatius of Loyola Mary Magdalene Andrew Saint Wenceslaus I, Duke of Bohemia Paul Louis IX of France Saint Gall Gereon James Saint Emeric of Hungary Saint Nicholas Bartholomew the Apostle Catherine of Alexandria John the Baptist Saint Cecilia Ladislaus I of Hungary Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Demetrius of Thessaloniki
Louis IX of France, Augustine of Hippo and Alexander Nevsky are the patron saint of greater number of temples and churches than that person
Louis IX of France Augustine of Hippo Alexander Nevsky
[[{'concept': 'temple'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:patron_saint ?y } UNION { ?x property:patron_saint ?y } } . ?z rdf:type ontology:temple . ?y rdf:type ontology:common_name . ?x rdf:type ontology:church }
[]