Simple Question (Direct)
Simple Question
Q43189
P19
Q13220204
USER
Which administrative country subdivision is the birthplace of Juanes ?
(Q43189,P19,c(Q13220204))
action filter_type
action find
entity Q43189
relation P19
type Q13220204
['Q43189', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q43189 property:P19 ?x . ?x rdf:type ontology:Q13220204 }
Juanes
action filter_type
action find
entity Juanes
relation place of birth
type second-level administrative country subdivision
['Juanes', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Juanes property:place_of_birth ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q48278
SYSTEM
Antioquia - Medellín
Q48278
(Q43189,P19,c(Q13220204))
action filter_type
action find
entity Q43189
relation P19
type Q13220204
[ANSWER] is the birthplace of Juanes
['Q43189', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { resource:Q43189 property:P19 ?x . ?x rdf:type ontology:Q13220204 }
Antioquia - Medellín
Antioquia - Medellín is the birthplace of Juanes
Antioquia - Medellín
action filter_type
action find
entity Juanes
relation place of birth
type second-level administrative country subdivision
['Juanes', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { resource:Juanes property:place_of_birth ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48278
P551
Q502895
USER
Which people have residence at that administrative country subdivision ?
(c(Q502895),P551,Q48278)
action filter_type
action find_reverse
entity Q48278
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q48278']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q48278 . ?t rdf:type ontology:Q502895 }
Antioquia - Medellín
action filter_type
action find_reverse
entity Antioquia - Medellín
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Antioquia - Medellín']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Antioquia_-_Medellín . ?t rdf:type ontology:common_name }
[]
common name
Q329722 Q6833676
SYSTEM
Fabio Ochoa Vásquez, Michael Quintero
Q329722 Q6833676
(c(Q502895),P551,Q48278)
action filter_type
action find_reverse
entity Q48278
relation P551
type Q502895
[ANSWERS] have residence at that administrative country subdivision
[{'concept': 'Q502895'}, 'P551', 'Q48278']
SELECT DISTINCT ?t WHERE { ?t property:P551 resource:Q48278 . ?t rdf:type ontology:Q502895 }
Fabio Ochoa Vásquez Michael Quintero
Fabio Ochoa Vásquez and Michael Quintero have residence at that administrative country subdivision
Fabio Ochoa Vásquez Michael Quintero
action filter_type
action find_reverse
entity Antioquia - Medellín
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Antioquia - Medellín']
SELECT DISTINCT ?t WHERE { ?t property:residence resource:Antioquia_-_Medellín . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q48278
P190
Q486972 Q515
USER
How many human settlements and cities are twin cities of Antioquia - Medellín ?
(Q48278,P190,c(Q486972)) (Q48278,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q48278
relation P190
type Q486972
action filter_type
action find
entity Q48278
relation P190
type Q515
['Q48278', 'P190', {'concept': 'Q486972'}] ['Q48278', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Q48278 property:P190 ?r . ?r rdf:type ontology:Q486972 } UNION { resource:Q48278 property:P190 ?r . ?r rdf:type ontology:Q515 } }
Antioquia - Medellín
action count
action union
action filter_type
action find
entity Antioquia - Medellín
relation sister city
type human settlement
action filter_type
action find
entity Antioquia - Medellín
relation sister city
type city
['Antioquia - Medellín', 'sister city', {'concept': 'human settlement'}] ['Antioquia - Medellín', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Antioquia_-_Medellín property:sister_city ?r . ?r rdf:type ontology:human_settlement } UNION { resource:Antioquia_-_Medellín property:sister_city ?r . ?r rdf:type ontology:city } }
[]
human settlement city
SYSTEM
1 human settlements and 2 cities
Q1486 Q81033 Q8652
(Q48278,P190,c(Q486972)) (Q48278,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q48278
relation P190
type Q486972
action filter_type
action find
entity Q48278
relation P190
type Q515
[ANSWER]
['Q48278', 'P190', {'concept': 'Q486972'}] ['Q48278', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Q48278 property:P190 ?r . ?r rdf:type ontology:Q486972 } UNION { resource:Q48278 property:P190 ?r . ?r rdf:type ontology:Q515 } }
Buenos Aires Monterrey Miami
1 human settlements and 2 cities
action count
action union
action filter_type
action find
entity Antioquia - Medellín
relation sister city
type human settlement
action filter_type
action find
entity Antioquia - Medellín
relation sister city
type city
['Antioquia - Medellín', 'sister city', {'concept': 'human settlement'}] ['Antioquia - Medellín', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { { resource:Antioquia_-_Medellín property:sister_city ?r . ?r rdf:type ontology:human_settlement } UNION { resource:Antioquia_-_Medellín property:sister_city ?r . ?r rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43189
P1412
Q34770
USER
Which language can Juanes read ?
(Q43189,P1412,c(Q34770))
action filter_type
action find
entity Q43189
relation P1412
type Q34770
['Q43189', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q43189 property:P1412 ?e }
Juanes
action filter_type
action find
entity Juanes
relation languages spoken, written or signed
type language
['Juanes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Juanes property:languages_spoken,_written_or_signed ?e }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q43189,P1412,c(Q34770))
action filter_type
action find
entity Q43189
relation P1412
type Q34770
Juanes can read in [ANSWER]
['Q43189', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q43189 property:P1412 ?e }
Spanish
Juanes can read in Spanish
Spanish
action filter_type
action find
entity Juanes
relation languages spoken, written or signed
type language
['Juanes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Juanes property:languages_spoken,_written_or_signed ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43189
P106
Q12737077
USER
What are the job of Juanes ?
(Q43189,P106,c(Q12737077))
action filter_type
action find
entity Q43189
relation P106
type Q12737077
['Q43189', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q43189 property:P106 ?n }
Juanes
action filter_type
action find
entity Juanes
relation occupation
type occupation
['Juanes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Juanes property:occupation ?n }
[]
occupation
Q753110 Q177220
SYSTEM
songwriter, singer
Q753110 Q177220
(Q43189,P106,c(Q12737077))
action filter_type
action find
entity Q43189
relation P106
type Q12737077
The job of Juanes are a [ANSWERS]
['Q43189', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q43189 property:P106 ?n }
songwriter singer
The job of Juanes are a songwriter and singer
songwriter singer
action filter_type
action find
entity Juanes
relation occupation
type occupation
['Juanes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Juanes property:occupation ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48278
P1444
Q878123
USER
Which racing finally halts at Antioquia - Medellín ?
(c(Q878123),P1444,Q48278)
action filter_type
action find_reverse
entity Q48278
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q48278']
SELECT DISTINCT ?t WHERE { ?t property:P1444 resource:Q48278 . ?t rdf:type ontology:Q878123 }
Antioquia - Medellín
action filter_type
action find_reverse
entity Antioquia - Medellín
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Antioquia - Medellín']
SELECT DISTINCT ?t WHERE { ?t property:destination_point resource:Antioquia_-_Medellín . ?t rdf:type ontology:racing }
[]
racing
Q20750872
SYSTEM
2015 Vuelta a Colombia
Q20750872
(c(Q878123),P1444,Q48278)
action filter_type
action find_reverse
entity Q48278
relation P1444
type Q878123
[ANSWER] finally halts at Antioquia - Medellín
[{'concept': 'Q878123'}, 'P1444', 'Q48278']
SELECT DISTINCT ?t WHERE { ?t property:P1444 resource:Q48278 . ?t rdf:type ontology:Q878123 }
2015 Vuelta a Colombia
2015 Vuelta a Colombia finally halts at Antioquia - Medellín
2015 Vuelta a Colombia
action filter_type
action find_reverse
entity Antioquia - Medellín
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Antioquia - Medellín']
SELECT DISTINCT ?t WHERE { ?t property:destination_point resource:Antioquia_-_Medellín . ?t rdf:type ontology:racing }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20750872
P1344
Q502895
USER
Which person competited in that racing ?
(c(Q502895),P1344,Q20750872)
action filter_type
action find_reverse
entity Q20750872
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q20750872']
SELECT DISTINCT ?p WHERE { ?p property:P1344 resource:Q20750872 . ?p rdf:type ontology:Q502895 }
2015 Vuelta a Colombia
action filter_type
action find_reverse
entity 2015 Vuelta a Colombia
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', '2015 Vuelta a Colombia']
SELECT DISTINCT ?p WHERE { ?p property:participant_of resource:2015_Vuelta_a_Colombia . ?p rdf:type ontology:common_name }
[]
common name
Q22952804
SYSTEM
Roller Diagama
Q22952804
(c(Q502895),P1344,Q20750872)
action filter_type
action find_reverse
entity Q20750872
relation P1344
type Q502895
[ANSWER] competited in that racing
[{'concept': 'Q502895'}, 'P1344', 'Q20750872']
SELECT DISTINCT ?p WHERE { ?p property:P1344 resource:Q20750872 . ?p rdf:type ontology:Q502895 }
Roller Diagama
Roller Diagama competited in that racing
Roller Diagama
action filter_type
action find_reverse
entity 2015 Vuelta a Colombia
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', '2015 Vuelta a Colombia']
SELECT DISTINCT ?p WHERE { ?p property:participant_of resource:2015_Vuelta_a_Colombia . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3663117
P417
Q502895 Q44539 Q15617994
USER
How many people are the names of person who are the patron saints of more number of temples and administrative territories than Castrese di Sessa ?
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q3663117
relation P417
type Q44539
type Q15617994
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?q ) { ( ontology:Q44539 ) ( ontology:Q15617994 ) } . ?b rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P417 resource:Q3663117 . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q44539 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?d > ?a ) }
Castrese di Sessa
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Castrese di Sessa
relation patron saint
type temple
type designation for an administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?q ) { ( ontology:temple ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?b rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:patron_saint resource:Castrese_di_Sessa . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:temple ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?d > ?a ) }
[]
common name temple designation for an administrative territorial entity
SYSTEM
60
Q561838 Q133704 Q152457 Q61914 Q732865 Q43689 Q128267 Q328804 Q170547 Q44024 Q676555 Q2360539 Q1284971 Q188411 Q42887 Q177903 Q207113 Q8018 Q33923 Q161775 Q43954 Q183240 Q145746 Q167477 Q288295 Q297742 Q218921 Q183332 Q48438 Q63070 Q43399 Q379914 Q196527 Q336731 Q9200 Q346 Q180936 Q243427 Q43999 Q43669 Q44269 Q43982 Q179718 Q40662 Q359878 Q210096 Q1976199 Q534691 Q80513 Q740907 Q149727 Q164294 Q42827 Q159862 Q543320 Q17590 Q200895 Q2424767 Q127385 Q310633
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q3663117
relation P417
type Q44539
type Q15617994
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?q ) { ( ontology:Q44539 ) ( ontology:Q15617994 ) } . ?b rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:P417 resource:Q3663117 . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q44539 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?d > ?a ) }
Alexander of Bergamo Martin of Tours Saint Roch Gotthard of Hildesheim Vitalis of Milan Ambrose Joseph John the Evangelist Anthony the Great Athanasius of Alexandria Francis of Assisi Donatus of Arezzo Victor Maurus Bernard of Clairvaux Clement I Stephen I of Hungary Hippolytus Augustine of Hippo Peter Stephen Leo I Saint Lucy Joseph Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Saint Sebastian Saint George Mary Magdalene Andrew Saint Cajetan Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Paul Louis IX of France Saint Gall Adalbert of Prague James Thomas the Apostle Saint Nicholas Bartholomew the Apostle Catherine of Alexandria John the Baptist Erasmus of Formiae Agnes of Rome Gaudentius of Novara Paschal Baylon Saint Cecilia Barbatus of Benevento Saint Giles Saint Anna Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Agatha of Sicily Anthony of Apamea Sixtus II Demetrius of Thessaloniki
60
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Castrese di Sessa
relation patron saint
type temple
type designation for an administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?q ) { ( ontology:temple ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?b rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { ?o property:patron_saint resource:Castrese_di_Sessa . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:temple ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?d > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q132797
P417
Q502895 Q44539 Q15617994
USER
And also tell me about Mark?
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q132797
relation P417
type Q44539
type Q15617994
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?k property:P417 ?p . ?p rdf:type ontology:Q502895 . ?k rdf:type ontology:Q44539 } UNION { ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q502895 . ?k property:P417 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P417 resource:Q132797 . { { ?l rdf:type ontology:Q44539 } UNION { ?l rdf:type ontology:Q15617994 } } } } . FILTER ( ?c > ?v ) }
Mark
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Mark
relation patron saint
type temple
type designation for an administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?k property:patron_saint ?p . ?p rdf:type ontology:common_name . ?k rdf:type ontology:temple } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:common_name . ?k property:patron_saint ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:patron_saint resource:Mark . { { ?l rdf:type ontology:temple } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?c > ?v ) }
[]
common name temple designation for an administrative territorial entity
SYSTEM
103
Q561838 Q133704 Q152457 Q394727 Q61914 Q3893243 Q732865 Q320199 Q43689 Q128267 Q328804 Q240610 Q163900 Q31966 Q170547 Q44024 Q3940728 Q149315 Q676555 Q2360539 Q3615108 Q244380 Q181715 Q212850 Q1284971 Q188411 Q4011186 Q233067 Q686948 Q8413 Q558148 Q42887 Q177903 Q207113 Q8018 Q315312 Q43675 Q216946 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q183240 Q145746 Q167477 Q288295 Q297742 Q218921 Q316295 Q183332 Q48438 Q63070 Q134666 Q43399 Q379914 Q3906150 Q196527 Q336731 Q560531 Q9200 Q346 Q180936 Q243427 Q417686 Q43999 Q12871 Q43669 Q181489 Q44269 Q44265 Q232453 Q192816 Q43982 Q58559 Q179718 Q445357 Q40662 Q359878 Q210096 Q1976199 Q3663117 Q534691 Q80513 Q43600 Q740907 Q151967 Q312314 Q149727 Q367208 Q164294 Q42827 Q159862 Q543320 Q17590 Q200895 Q2424767 Q131945 Q127385 Q196157 Q310633
(c(Q44539)|c(Q15617994),P417,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
action find_reverse_tuple_counts
relation P417
type Q502895
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q132797
relation P417
type Q44539
type Q15617994
[ANSWER]
[[{'concept': 'Q44539'}, {'concept': 'Q15617994'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?k property:P417 ?p . ?p rdf:type ontology:Q502895 . ?k rdf:type ontology:Q44539 } UNION { ?k rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q502895 . ?k property:P417 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:P417 resource:Q132797 . { { ?l rdf:type ontology:Q44539 } UNION { ?l rdf:type ontology:Q15617994 } } } } . FILTER ( ?c > ?v ) }
Alexander of Bergamo Martin of Tours Saint Roch Agnes of Bohemia Gotthard of Hildesheim Pamphilus of Sulmona Vitalis of Milan Apollinaris of Ravenna Ambrose Joseph John the Evangelist Euphemia Saint Francis Xavier Mark the Evangelist Anthony the Great Athanasius of Alexandria Romano martire Silverius Francis of Assisi Donatus of Arezzo Anatolia martire Saint Denis Thérèse of Lisieux Vitus Victor Maurus Bernard of Clairvaux Vicinius of Sarsina Salome Alban of Mainz Constantine the Great Leonard of Noblac Clement I Stephen I of Hungary Hippolytus Augustine of Hippo Januarius Philip the Apostle Charles Borromeo Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Lucy Joseph Anthony of Padua Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Saint George Mary Magdalene Stephen I Andrew Saint Cajetan Placidus Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Suitbert of Kaiserswerdt Paul Louis IX of France Saint Gall Adalbert of Prague Nazarius James Simon the Zealot Thomas the Apostle Eusebius of Vercelli Saint Nicholas Benedict of Nursia Martha Saint Barbara Bartholomew the Apostle Leo IX Catherine of Alexandria Henry John the Baptist Erasmus of Formiae Agnes of Rome Gaudentius of Novara Castrese di Sessa Paschal Baylon Saint Cecilia Matthew the Apostle Barbatus of Benevento Saint Blaise Bruno of Cologne Saint Giles Saint Remigius Saint Anna Gregory I Elizabeth of Hungary Marina the Monk Lawrence of Rome Agatha of Sicily Anthony of Apamea Pius V Sixtus II Louis of Toulouse Demetrius of Thessaloniki
103
action count
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
action find_reverse_tuple_counts
relation patron saint
type common name
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Mark
relation patron saint
type temple
type designation for an administrative territorial entity
[[{'concept': 'temple'}, {'concept': 'designation for an administrative territorial entity'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?p WHERE { { ?k property:patron_saint ?p . ?p rdf:type ontology:common_name . ?k rdf:type ontology:temple } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:common_name . ?k property:patron_saint ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l property:patron_saint resource:Mark . { { ?l rdf:type ontology:temple } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?c > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20750872
P641
Q31629
USER
What did 2015 Vuelta a Colombia participate in ?
(Q20750872,P641,c(Q31629))
action filter_type
action find
entity Q20750872
relation P641
type Q31629
['Q20750872', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q20750872 property:P641 ?y . ?y rdf:type ontology:Q31629 }
2015 Vuelta a Colombia
action filter_type
action find
entity 2015 Vuelta a Colombia
relation sport
type type of sport
['2015 Vuelta a Colombia', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:2015_Vuelta_a_Colombia property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q20750872,P641,c(Q31629))
action filter_type
action find
entity Q20750872
relation P641
type Q31629
2015 Vuelta a Colombia participated in [ANSWER]
['Q20750872', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q20750872 property:P641 ?y . ?y rdf:type ontology:Q31629 }
road bicycle racing
2015 Vuelta a Colombia participated in road bicycle racing
road bicycle racing
action filter_type
action find
entity 2015 Vuelta a Colombia
relation sport
type type of sport
['2015 Vuelta a Colombia', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:2015_Vuelta_a_Colombia property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3509746
Q31629
USER
And also tell me about Szymon Staśkiewicz?
(Q3509746,P641,c(Q31629))
action filter_type
action find
entity Q3509746
relation P641
type Q31629
['Q3509746', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { resource:Q3509746 property:P641 ?p . ?p rdf:type ontology:Q31629 }
Szymon Staśkiewicz
action filter_type
action find
entity Szymon Staśkiewicz
relation sport
type type of sport
['Szymon Staśkiewicz', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { resource:Szymon_Staśkiewicz property:sport ?p . ?p rdf:type ontology:type_of_sport }
[]
type of sport
Q32485
SYSTEM
modern pentathlon
Q32485
(Q3509746,P641,c(Q31629))
action filter_type
action find
entity Q3509746
relation P641
type Q31629
[ANSWER]
['Q3509746', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { resource:Q3509746 property:P641 ?p . ?p rdf:type ontology:Q31629 }
modern pentathlon
modern pentathlon
action filter_type
action find
entity Szymon Staśkiewicz
relation sport
type type of sport
['Szymon Staśkiewicz', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { resource:Szymon_Staśkiewicz property:sport ?p . ?p rdf:type ontology:type_of_sport }
[]