Simple Question (Direct)
Simple Question
Q1337031
P21
Q290
USER
Which sex does Ilario Castagner have ?
(Q1337031,P21,c(Q290))
action filter_type
action find
entity Q1337031
relation P21
type Q290
['Q1337031', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1337031 property:P21 ?i . ?i rdf:type ontology:Q290 }
Ilario Castagner
action filter_type
action find
entity Ilario Castagner
relation gender
type sex
['Ilario Castagner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Ilario_Castagner property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1337031,P21,c(Q290))
action filter_type
action find
entity Q1337031
relation P21
type Q290
Ilario Castagner has a [ANSWER]
['Q1337031', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q1337031 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Ilario Castagner has a male
male
action filter_type
action find
entity Ilario Castagner
relation gender
type sex
['Ilario Castagner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Ilario_Castagner property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1337031
P106
Q12737077
USER
What is the profession of Ilario Castagner ?
(Q1337031,P106,c(Q12737077))
action filter_type
action find
entity Q1337031
relation P106
type Q12737077
['Q1337031', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1337031 property:P106 ?b }
Ilario Castagner
action filter_type
action find
entity Ilario Castagner
relation occupation
type occupation
['Ilario Castagner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Ilario_Castagner property:occupation ?b }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1337031,P106,c(Q12737077))
action filter_type
action find
entity Q1337031
relation P106
type Q12737077
The profession of Ilario Castagner is an [ANSWER]
['Q1337031', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q1337031 property:P106 ?b }
association football player
The profession of Ilario Castagner is an association football player
association football player
action filter_type
action find
entity Ilario Castagner
relation occupation
type occupation
['Ilario Castagner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Ilario_Castagner property:occupation ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q105216
Q12737077
USER
And what about Felix Deutsch?
(Q105216,P106,c(Q12737077))
action filter_type
action find
entity Q105216
relation P106
type Q12737077
['Q105216', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q105216 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Felix Deutsch
action filter_type
action find
entity Felix Deutsch
relation occupation
type occupation
['Felix Deutsch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Felix_Deutsch property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q15637082
SYSTEM
industrialist
Q15637082
(Q105216,P106,c(Q12737077))
action filter_type
action find
entity Q105216
relation P106
type Q12737077
[ANSWER]
['Q105216', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q105216 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
industrialist
industrialist
action filter_type
action find
entity Felix Deutsch
relation occupation
type occupation
['Felix Deutsch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Felix_Deutsch property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q309953
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of greater number of occupations than Gregory the Illuminator ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q309953
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P417 ?k . ?k rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?p > ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q309953 property:P417 ?e . ?e rdf:type ontology:Q502895 } } }
Gregory the Illuminator
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Gregory the Illuminator
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:patron_saint ?k . ?k rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?p > ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Gregory_the_Illuminator property:patron_saint ?e . ?e rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q309953
relation P417
type Q502895
[ANSWERS] are the names of the patron saint of greater number of occupations than Gregory the Illuminator
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P417 ?k . ?k rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?p > ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Q309953 property:P417 ?e . ?e rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of the patron saint of greater number of occupations than Gregory the Illuminator
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Gregory the Illuminator
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:patron_saint ?k . ?k rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?p > ?z ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { resource:Gregory_the_Illuminator property:patron_saint ?e . ?e rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q357093
P417
Q502895 Q12737077
USER
And what about Saint Spyridon?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q357093
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P417 ?n . ?n rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?n } . FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q357093 property:P417 ?l . ?l rdf:type ontology:Q502895 } } }
Saint Spyridon
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Spyridon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:patron_saint ?n . ?n rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?n } . FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Saint_Spyridon property:patron_saint ?l . ?l rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q357093
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P417 ?n . ?n rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 } GROUP BY ?n } . FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q357093 property:P417 ?l . ?l rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint Spyridon
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:patron_saint ?n . ?n rdf:type ontology:common_name . ?q rdf:type ontology:occupation } GROUP BY ?n } . FILTER ( ?o > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Saint_Spyridon property:patron_saint ?l . ?l rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26299860
P725
Q502895 Q386724
USER
How many works did greater number of people do the dubbing for than Hércules y el primer médico del mundo ?
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26299860
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Q26299860 property:P725 ?b . ?b rdf:type ontology:Q386724 } } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?x ) WHERE { ?s property:P725 ?u . ?u rdf:type ontology:Q502895 . ?s rdf:type ontology:Q386724 } GROUP BY ?s } }
Hércules y el primer médico del mundo
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el primer médico del mundo
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Hércules_y_el_primer_médico_del_mundo property:voice_actor ?b . ?b rdf:type ontology:work } } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?x ) WHERE { ?s property:voice_actor ?u . ?u rdf:type ontology:common_name . ?s rdf:type ontology:work } GROUP BY ?s } }
[]
common name work
SYSTEM
5
Q26331781 Q23752771 Q26712000 Q26301623 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26299860
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Q26299860 property:P725 ?b . ?b rdf:type ontology:Q386724 } } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?x ) WHERE { ?s property:P725 ?u . ?u rdf:type ontology:Q502895 . ?s rdf:type ontology:Q386724 } GROUP BY ?s } }
Hércules y el examen de conducir Iron Man Hércules y los Tecno-Griegos Hércules y el primer día de escuela Iron Man 2
5
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Hércules y el primer médico del mundo
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { resource:Hércules_y_el_primer_médico_del_mundo property:voice_actor ?b . ?b rdf:type ontology:work } } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?x ) WHERE { ?s property:voice_actor ?u . ?u rdf:type ontology:common_name . ?s rdf:type ontology:work } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P138
Q44539
USER
Which temple is the eponym of Thomas Aquinas ?
(c(Q44539),P138,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q9438']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q44539 . ?n property:P138 resource:Q9438 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Thomas Aquinas']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:temple . ?n property:named_after resource:Thomas_Aquinas }
[]
temple
Q3584573
SYSTEM
Église Saint-Thomas-d'Aquin
Q3584573
(c(Q44539),P138,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P138
type Q44539
[ANSWER] is the eponym of Thomas Aquinas
[{'concept': 'Q44539'}, 'P138', 'Q9438']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q44539 . ?n property:P138 resource:Q9438 }
Église Saint-Thomas-d'Aquin
Église Saint-Thomas-d'Aquin is the eponym of Thomas Aquinas
Église Saint-Thomas-d'Aquin
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Thomas Aquinas']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:temple . ?n property:named_after resource:Thomas_Aquinas }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3584573
P276
Q3305213
USER
What is situated at that temple ?
(c(Q3305213),P276,Q3584573)
action filter_type
action find_reverse
entity Q3584573
relation P276
type Q3305213
[{'concept': 'Q3305213'}, 'P276', 'Q3584573']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q3584573 . ?v rdf:type ontology:Q3305213 }
Église Saint-Thomas-d'Aquin
action filter_type
action find_reverse
entity Église Saint-Thomas-d'Aquin
relation location
type painting
[{'concept': 'painting'}, 'location', "Église Saint-Thomas-d'Aquin"]
SELECT DISTINCT ?v WHERE { ?v property:location resource:Église_Saint-Thomas-d'Aquin . ?v rdf:type ontology:painting }
[]
painting
Q21566353
SYSTEM
The Virgin and Child appearing to Saint Jerome
Q21566353
(c(Q3305213),P276,Q3584573)
action filter_type
action find_reverse
entity Q3584573
relation P276
type Q3305213
[ANSWER] is situated at that temple
[{'concept': 'Q3305213'}, 'P276', 'Q3584573']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q3584573 . ?v rdf:type ontology:Q3305213 }
The Virgin and Child appearing to Saint Jerome
The Virgin and Child appearing to Saint Jerome is situated at that temple
The Virgin and Child appearing to Saint Jerome
action filter_type
action find_reverse
entity Église Saint-Thomas-d'Aquin
relation location
type painting
[{'concept': 'painting'}, 'location', "Église Saint-Thomas-d'Aquin"]
SELECT DISTINCT ?v WHERE { ?v property:location resource:Église_Saint-Thomas-d'Aquin . ?v rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21566353
P170
Q502895
USER
Who created that painting ?
(Q21566353,P170,c(Q502895))
action filter_type
action find
entity Q21566353
relation P170
type Q502895
['Q21566353', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q21566353 property:P170 ?r . ?r rdf:type ontology:Q502895 }
The Virgin and Child appearing to Saint Jerome
action filter_type
action find
entity The Virgin and Child appearing to Saint Jerome
relation creator
type common name
['The Virgin and Child appearing to Saint Jerome', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:creator ?r . ?r rdf:type ontology:common_name }
[]
common name
Q334262
SYSTEM
Guercino
Q334262
(Q21566353,P170,c(Q502895))
action filter_type
action find
entity Q21566353
relation P170
type Q502895
[ANSWER] created that painting
['Q21566353', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q21566353 property:P170 ?r . ?r rdf:type ontology:Q502895 }
Guercino
Guercino created that painting
Guercino
action filter_type
action find
entity The Virgin and Child appearing to Saint Jerome
relation creator
type common name
['The Virgin and Child appearing to Saint Jerome', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:creator ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21566353
P180
Q502895
USER
What is depcited in The Virgin and Child appearing to Saint Jerome ?
(Q21566353,P180,c(Q502895))
action filter_type
action find
entity Q21566353
relation P180
type Q502895
['Q21566353', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q21566353 property:P180 ?p . ?p rdf:type ontology:Q502895 }
The Virgin and Child appearing to Saint Jerome
action filter_type
action find
entity The Virgin and Child appearing to Saint Jerome
relation depicts
type common name
['The Virgin and Child appearing to Saint Jerome', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:depicts ?p . ?p rdf:type ontology:common_name }
[]
common name
Q44248
SYSTEM
Jerome
Q44248
(Q21566353,P180,c(Q502895))
action filter_type
action find
entity Q21566353
relation P180
type Q502895
St [ANSWER] is depcited in The Virgin and Child appearing to Saint [ANSWER]
['Q21566353', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q21566353 property:P180 ?p . ?p rdf:type ontology:Q502895 }
Jerome
St Jerome is depcited in The Virgin and Child appearing to Saint Jerome
Jerome
action filter_type
action find
entity The Virgin and Child appearing to Saint Jerome
relation depicts
type common name
['The Virgin and Child appearing to Saint Jerome', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:depicts ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21566353
P17
Q15617994
USER
Which administrative territory is that painting present in ?
(Q44248,P17,c(Q15617994))
action filter_type
action find
entity Q21566353
relation P17
type Q15617994
['Q44248', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q21566353 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
The Virgin and Child appearing to Saint Jerome
action filter_type
action find
entity The Virgin and Child appearing to Saint Jerome
relation country
type designation for an administrative territorial entity
['Jerome', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q44248,P17,c(Q15617994))
action filter_type
action find
entity Q21566353
relation P17
type Q15617994
That painting is in [ANSWER]
['Q44248', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q21566353 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
France
That painting is in France
France
action filter_type
action find
entity The Virgin and Child appearing to Saint Jerome
relation country
type designation for an administrative territorial entity
['Jerome', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3089050 Q21566353
P17
Q15617994
USER
Or Cameroon–Nigeria border?
OR((Q21566353,P17,c(Q15617994)), (Q3089050,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21566353
relation P17
action find
entity Q3089050
relation P17
type Q15617994
{'OR': [['Q21566353', 'P17', {'concept': 'Q15617994'}], ['Q3089050', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q21566353 property:P17 ?h } UNION { resource:Q3089050 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Cameroon–Nigeria border The Virgin and Child appearing to Saint Jerome
action filter_type
action union
action find
entity The Virgin and Child appearing to Saint Jerome
relation country
action find
entity Cameroon–Nigeria border
relation country
type designation for an administrative territorial entity
{'OR': [['The Virgin and Child appearing to Saint Jerome', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cameroon–Nigeria border', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:country ?h } UNION { resource:Cameroon–Nigeria_border property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q1009 Q1033
SYSTEM
France, Cameroon, Nigeria
Q142 Q1009 Q1033
OR((Q21566353,P17,c(Q15617994)), (Q3089050,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21566353
relation P17
action find
entity Q3089050
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q21566353', 'P17', {'concept': 'Q15617994'}], ['Q3089050', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q21566353 property:P17 ?h } UNION { resource:Q3089050 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
France Cameroon Nigeria
France Cameroon Nigeria
action filter_type
action union
action find
entity The Virgin and Child appearing to Saint Jerome
relation country
action find
entity Cameroon–Nigeria border
relation country
type designation for an administrative territorial entity
{'OR': [['The Virgin and Child appearing to Saint Jerome', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cameroon–Nigeria border', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:The_Virgin_and_Child_appearing_to_Saint_Jerome property:country ?h } UNION { resource:Cameroon–Nigeria_border property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q838948
USER
Which administrative territories are the origins of lesser number of collectables or works of art than that administrative territory ?
(c(Q2342494)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P495 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:country_of_origin ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
designation for an administrative territorial entity collectable work of art
Comparative|More/Less|Mult. entity type|Clarification
Q1033
SYSTEM
Did you mean Nigeria ?
(c(Q2342494)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P495 ?y } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Did you mean Nigeria ?
Nigeria
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:country_of_origin ?y } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q2342494)|c(Q838948),P495,c(Q15617994))
Q142
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q838948),P495,c(Q15617994))
[ANSWERS] are the origins of lesser number of collectables or works of art than that administrative territory
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origins of lesser number of collectables or works of art than that administrative territory
Italy Brazil Georgia
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q909 Q166876
P50 P674
Q223393
USER
Which literary genres have the character Isidore of Seville or were written by Jorge Luis Borges ?
OR((c(Q223393),P674,Q166876), (c(Q223393),P50,Q909))
action filter_type
action union
action find_reverse
entity Q166876
relation P674
action find_reverse
entity Q909
relation P50
type Q223393
{'OR': [[{'concept': 'Q223393'}, 'P674', 'Q166876'], [{'concept': 'Q223393'}, 'P50', 'Q909']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P674 resource:Q166876 } UNION { ?m property:P50 resource:Q909 } } . ?m rdf:type ontology:Q223393 }
Jorge Luis Borges Isidore of Seville
action filter_type
action union
action find_reverse
entity Isidore of Seville
relation characters
action find_reverse
entity Jorge Luis Borges
relation author
type literary genre
{'OR': [[{'concept': 'literary genre'}, 'characters', 'Isidore of Seville'], [{'concept': 'literary genre'}, 'author', 'Jorge Luis Borges']]}
SELECT DISTINCT ?m WHERE { { { ?m property:characters resource:Isidore_of_Seville } UNION { ?m property:author resource:Jorge_Luis_Borges } } . ?m rdf:type ontology:literary_genre }
[]
literary genre
Q16385599 Q5824936 Q7755460 Q7737371 Q5825337 Q7768645 Q16385691 Q7727356 Q916045 Q952043
SYSTEM
Some of them are The Encounter, The Mirror and the Mask, The Other, The Gospel According to Mark, Tom Castro, the Implausible Imposter, The Theologians, The End, The Congress, An Examination of the Work of Herbert Quain, The Aleph
Q4363741 Q7768645 Q7620430 Q7750119 Q3821383 Q473 Q1097462 Q916045 Q2895958 Q7763198 Q951413 Q7763057 Q7770930 Q7729306 Q7462770 Q7879916 Q3818182 Q5247280 Q7781238 Q2668858 Q5373009 Q5824936 Q16385691 Q2470062 Q2283867 Q7734858 Q2489763 Q16385599 Q40185 Q952043 Q4828337 Q1420059 Q4929951 Q7782685 Q5825337 Q7730341 Q7727356 Q3555321 Q7773209 Q7755460 Q7090964 Q7737371
OR((c(Q223393),P674,Q166876), (c(Q223393),P50,Q909))
action filter_type
action union
action find_reverse
entity Q166876
relation P674
action find_reverse
entity Q909
relation P50
type Q223393
[ANSWERS] have the character Isidore of Seville or were written by Jorge Luis Borges
{'OR': [[{'concept': 'Q223393'}, 'P674', 'Q166876'], [{'concept': 'Q223393'}, 'P50', 'Q909']]}
SELECT DISTINCT ?m WHERE { { { ?m property:P674 resource:Q166876 } UNION { ?m property:P50 resource:Q909 } } . ?m rdf:type ontology:Q223393 }
The Writing of the God The Theologians Story of the Warrior and the Captive The Man on the Threshold The Immortal The Library of Babel The Garden of Forking Paths An Examination of the Work of Herbert Quain Borges and I The Sect of the Phoenix The South The Secret Miracle The Two Kings and the Two Labyrinths The Dead Man Shakespeare's Memory Ulrikke The Approach to Al-Mu'tasim Death and the Compass Theme of the Traitor and the Hero Three Versions of Judas Emma Zunz The Mirror and the Mask The End Pierre Menard, Author of the Quixote The Lottery in Babylon The Form of the Sword Funes the Memorious The Encounter The Divine Comedy The Aleph Averroes's Search The Zahir Blue Tigers There Are More Things Tom Castro, the Implausible Imposter The Disk The Congress The Book of Sand The Wait The Other On Exactitude in Science The Gospel According to Mark
The Encounter, The Mirror and the Mask, The Other, The Gospel According to Mark, Tom Castro, the Implausible Imposter, The Theologians, The End, The Congress, An Examination of the Work of Herbert Quain and The Aleph have the character Isidore of Seville or were written by Jorge Luis Borges
The Encounter The Mirror and the Mask The Other The Gospel According to Mark Tom Castro, the Implausible Imposter The Theologians The End The Congress An Examination of the Work of Herbert Quain The Aleph
action filter_type
action union
action find_reverse
entity Isidore of Seville
relation characters
action find_reverse
entity Jorge Luis Borges
relation author
type literary genre
{'OR': [[{'concept': 'literary genre'}, 'characters', 'Isidore of Seville'], [{'concept': 'literary genre'}, 'author', 'Jorge Luis Borges']]}
SELECT DISTINCT ?m WHERE { { { ?m property:characters resource:Isidore_of_Seville } UNION { ?m property:author resource:Jorge_Luis_Borges } } . ?m rdf:type ontology:literary_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q81931
P85
Q7725634
USER
How many literary works are the national anthems of Italy or Confederate States of America ?
(Q38,P85,c(Q7725634)) (Q81931,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q38
relation P85
type Q7725634
action filter_type
action find
entity Q81931
relation P85
type Q7725634
['Q38', 'P85', {'concept': 'Q7725634'}] ['Q81931', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?j property:P85 ?n . VALUES ( ?j ) { ( resource:Q38 ) ( resource:Q81931 ) } }
Italy Confederate States of America
action count
action union
action filter_type
action find
entity Italy
relation anthem
type literary work
action filter_type
action find
entity Confederate States of America
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}] ['Confederate States of America', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?j property:anthem ?n . VALUES ( ?j ) { ( resource:Italy ) ( resource:Confederate_States_of_America ) } }
[]
literary work
SYSTEM
2
Q187 Q964168
(Q38,P85,c(Q7725634)) (Q81931,P85,c(Q7725634))
action count
action union
action filter_type
action find
entity Q38
relation P85
type Q7725634
action filter_type
action find
entity Q81931
relation P85
type Q7725634
[ANSWER]
['Q38', 'P85', {'concept': 'Q7725634'}] ['Q81931', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?j property:P85 ?n . VALUES ( ?j ) { ( resource:Q38 ) ( resource:Q81931 ) } }
Il Canto degli Italiani God Save the South
2
action count
action union
action filter_type
action find
entity Italy
relation anthem
type literary work
action filter_type
action find
entity Confederate States of America
relation anthem
type literary work
['Italy', 'anthem', {'concept': 'literary work'}] ['Confederate States of America', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?j property:anthem ?n . VALUES ( ?j ) { ( resource:Italy ) ( resource:Confederate_States_of_America ) } }
[]