Simple Question (Direct)
Simple Question
Q994638
P1038
Q502895
USER
Which people are related with Ferdinand Georg August Lobkowitz ?
(Q994638,P1038,c(Q502895))
action filter_type
action find
entity Q994638
relation P1038
type Q502895
['Q994638', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q994638 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
Ferdinand Georg August Lobkowitz
action filter_type
action find
entity Ferdinand Georg August Lobkowitz
relation relative
type common name
['Ferdinand Georg August Lobkowitz', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:relative ?e . ?e rdf:type ontology:common_name }
[]
common name
Q11775037 Q570845
SYSTEM
František Lobkowicz, Joseph Franz von Lobkowitz
Q11775037 Q570845
(Q994638,P1038,c(Q502895))
action filter_type
action find
entity Q994638
relation P1038
type Q502895
[ANSWERS] are related with Ferdinand Georg August Lobkowitz
['Q994638', 'P1038', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q994638 property:P1038 ?e . ?e rdf:type ontology:Q502895 }
František Lobkowicz Joseph Franz von Lobkowitz
František Lobkowicz and Joseph Franz von Lobkowitz are related with Ferdinand Georg August Lobkowitz
František Lobkowicz Joseph Franz von Lobkowitz
action filter_type
action find
entity Ferdinand Georg August Lobkowitz
relation relative
type common name
['Ferdinand Georg August Lobkowitz', 'relative', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:relative ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q11775037 Q570845
P1038
Q502895
USER
Who are kins of František Lobkowicz and Joseph Franz von Lobkowitz ?
(c(Q502895),P1038,Q11775037) (c(Q502895),P1038,Q570845)
action union
action filter_type
action find
entity Q11775037
relation P1038
type Q502895
action filter_type
action find
entity Q570845
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q11775037'] [{'concept': 'Q502895'}, 'P1038', 'Q570845']
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Q570845 ) ( resource:Q11775037 ) } . ?l property:P1038 ?t }
František Lobkowicz Joseph Franz von Lobkowitz
action union
action filter_type
action find
entity František Lobkowicz
relation relative
type common name
action filter_type
action find
entity Joseph Franz von Lobkowitz
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'František Lobkowicz'] [{'concept': 'common name'}, 'relative', 'Joseph Franz von Lobkowitz']
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Joseph_Franz_von_Lobkowitz ) ( resource:František_Lobkowicz ) } . ?l property:relative ?t }
[]
common name
Q994638
SYSTEM
Ferdinand Georg August Lobkowitz
Q994638
(c(Q502895),P1038,Q11775037) (c(Q502895),P1038,Q570845)
action union
action filter_type
action find
entity Q11775037
relation P1038
type Q502895
action filter_type
action find
entity Q570845
relation P1038
type Q502895
Kins of František Lobkowicz and Joseph Franz von Lobkowitz are born [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q11775037'] [{'concept': 'Q502895'}, 'P1038', 'Q570845']
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Q570845 ) ( resource:Q11775037 ) } . ?l property:P1038 ?t }
Ferdinand Georg August Lobkowitz
Kins of František Lobkowicz and Joseph Franz von Lobkowitz are born Ferdinand Georg August Lobkowitz
Ferdinand Georg August Lobkowitz
action union
action filter_type
action find
entity František Lobkowicz
relation relative
type common name
action filter_type
action find
entity Joseph Franz von Lobkowitz
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'František Lobkowicz'] [{'concept': 'common name'}, 'relative', 'Joseph Franz von Lobkowitz']
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Joseph_Franz_von_Lobkowitz ) ( resource:František_Lobkowicz ) } . ?l property:relative ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q994638 Q32672 Q1905594
P27
Q1048835
USER
Is that person a civilian of Arrifana and Ossó de Sió ?
(Q994638,P27,Q32672) (Q994638,P27,Q1905594)
action is_in
entity Q994638
action intersection
action find_reverse
entity Q32672
relation P27
action find_reverse
entity Q1905594
relation P27
['Q994638', 'P27', 'Q32672'] ['Q994638', 'P27', 'Q1905594']
ASK WHERE { resource:Q994638 property:P27 resource:Q32672 . resource:Q994638 property:P27 resource:Q1905594 }
Ferdinand Georg August Lobkowitz Arrifana Ossó de Sió
action is_in
entity Ferdinand Georg August Lobkowitz
action intersection
action find_reverse
entity Arrifana
relation country of citizenship
action find_reverse
entity Ossó de Sió
relation country of citizenship
['Ferdinand Georg August Lobkowitz', 'country of citizenship', 'Arrifana'] ['Ferdinand Georg August Lobkowitz', 'country of citizenship', 'Ossó de Sió']
ASK WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:country_of_citizenship resource:Arrifana . resource:Ferdinand_Georg_August_Lobkowitz property:country_of_citizenship resource:Ossó_de_Sió }
[]
political territorial entity
SYSTEM
NO
(Q994638,P27,Q32672) (Q994638,P27,Q1905594)
action is_in
entity Q994638
action intersection
action find_reverse
entity Q32672
relation P27
action find_reverse
entity Q1905594
relation P27
[ANSWER]
['Q994638', 'P27', 'Q32672'] ['Q994638', 'P27', 'Q1905594']
ASK WHERE { resource:Q994638 property:P27 resource:Q32672 . resource:Q994638 property:P27 resource:Q1905594 }
No
action is_in
entity Ferdinand Georg August Lobkowitz
action intersection
action find_reverse
entity Arrifana
relation country of citizenship
action find_reverse
entity Ossó de Sió
relation country of citizenship
['Ferdinand Georg August Lobkowitz', 'country of citizenship', 'Arrifana'] ['Ferdinand Georg August Lobkowitz', 'country of citizenship', 'Ossó de Sió']
ASK WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:country_of_citizenship resource:Arrifana . resource:Ferdinand_Georg_August_Lobkowitz property:country_of_citizenship resource:Ossó_de_Sió }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q570845 Q22117225
P40
Q502895
USER
Is Karl Hassack a child of Joseph Franz von Lobkowitz ?
(Q570845,P40,Q22117225)
action is_in
entity Q22117225
action find
entity Q570845
relation P40
['Q570845', 'P40', 'Q22117225']
ASK WHERE { resource:Q570845 property:P40 resource:Q22117225 }
Joseph Franz von Lobkowitz Karl Hassack
action is_in
entity Karl Hassack
action find
entity Joseph Franz von Lobkowitz
relation child
['Joseph Franz von Lobkowitz', 'child', 'Karl Hassack']
ASK WHERE { resource:Joseph_Franz_von_Lobkowitz property:child resource:Karl_Hassack }
[]
common name
SYSTEM
NO
(Q570845,P40,Q22117225)
action is_in
entity Q22117225
action find
entity Q570845
relation P40
[ANSWER]
['Q570845', 'P40', 'Q22117225']
ASK WHERE { resource:Q570845 property:P40 resource:Q22117225 }
No
action is_in
entity Karl Hassack
action find
entity Joseph Franz von Lobkowitz
relation child
['Joseph Franz von Lobkowitz', 'child', 'Karl Hassack']
ASK WHERE { resource:Joseph_Franz_von_Lobkowitz property:child resource:Karl_Hassack }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11775037 Q695447
P27
Q15617994
USER
Is František Lobkowicz a civilian of Hausmannstätten ?
(Q11775037,P27,Q695447)
action is_in
entity Q695447
action find
entity Q11775037
relation P27
['Q11775037', 'P27', 'Q695447']
ASK WHERE { resource:Q11775037 property:P27 resource:Q695447 }
František Lobkowicz Hausmannstätten
action is_in
entity Hausmannstätten
action find
entity František Lobkowicz
relation country of citizenship
['František Lobkowicz', 'country of citizenship', 'Hausmannstätten']
ASK WHERE { resource:František_Lobkowicz property:country_of_citizenship resource:Hausmannstätten }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q11775037,P27,Q695447)
action is_in
entity Q695447
action find
entity Q11775037
relation P27
[ANSWER]
['Q11775037', 'P27', 'Q695447']
ASK WHERE { resource:Q11775037 property:P27 resource:Q695447 }
No
action is_in
entity Hausmannstätten
action find
entity František Lobkowicz
relation country of citizenship
['František Lobkowicz', 'country of citizenship', 'Hausmannstätten']
ASK WHERE { resource:František_Lobkowicz property:country_of_citizenship resource:Hausmannstätten }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q994638 Q490
P20
Q56061
USER
Did the demise of Ferdinand Georg August Lobkowitz occur Milan ?
(Q994638,P20,Q490)
action is_in
entity Q490
action find
entity Q994638
relation P20
['Q994638', 'P20', 'Q490']
ASK WHERE { resource:Q994638 property:P20 resource:Q490 }
Ferdinand Georg August Lobkowitz Milan
action is_in
entity Milan
action find
entity Ferdinand Georg August Lobkowitz
relation place of death
['Ferdinand Georg August Lobkowitz', 'place of death', 'Milan']
ASK WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:place_of_death resource:Milan }
[]
administrative territorial entity
SYSTEM
YES
(Q994638,P20,Q490)
action is_in
entity Q490
action find
entity Q994638
relation P20
[ANSWER]
['Q994638', 'P20', 'Q490']
ASK WHERE { resource:Q994638 property:P20 resource:Q490 }
Yes
action is_in
entity Milan
action find
entity Ferdinand Georg August Lobkowitz
relation place of death
['Ferdinand Georg August Lobkowitz', 'place of death', 'Milan']
ASK WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:place_of_death resource:Milan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q994638
P106
Q12737077
USER
What does that person do for a living ?
action filter_type
action find
entity Q994638
relation P106
type Q12737077
SELECT DISTINCT ?d WHERE { resource:Q994638 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Ferdinand Georg August Lobkowitz
action filter_type
action find
entity Ferdinand Georg August Lobkowitz
relation occupation
type occupation
SELECT DISTINCT ?d WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q994638
relation P106
type Q12737077
[ANSWER] that person does for a living
SELECT DISTINCT ?d WHERE { resource:Q994638 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
Politician that person does for a living
politician
action filter_type
action find
entity Ferdinand Georg August Lobkowitz
relation occupation
type occupation
SELECT DISTINCT ?d WHERE { resource:Ferdinand_Georg_August_Lobkowitz property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q994638
P21
Q290
USER
Which sex does that person possess ?
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q994638
relation P21
type Q290
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q994638 property:P21 ?q }
Ferdinand Georg August Lobkowitz
action filter_type
action find
entity Ferdinand Georg August Lobkowitz
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Ferdinand_Georg_August_Lobkowitz property:gender ?q }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q82955,P21,c(Q290))
action filter_type
action find
entity Q994638
relation P21
type Q290
That person possesses a [ANSWER]
['Q82955', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q994638 property:P21 ?q }
male
That person possesses a male
male
action filter_type
action find
entity Ferdinand Georg August Lobkowitz
relation gender
type sex
['politician', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Ferdinand_Georg_August_Lobkowitz property:gender ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9156208
P417
Q502895 Q12737077
USER
Which people are the patron saint of more number of occupations than Anthony ?
(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 Q9156208
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P417 ?z . ?z rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?z } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q9156208 property:P417 ?e . ?e rdf:type ontology:Q502895 } } }
Anthony
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Anthony
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:patron_saint ?z . ?z rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?z } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Anthony 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 Q9156208
relation P417
type Q502895
[ANSWERS] are the patron saint of more number of occupations than Anthony
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P417 ?z . ?z rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?z } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q9156208 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 patron saint of more number of occupations than Anthony
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 Anthony
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:patron_saint ?z . ?z rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?z } . FILTER ( ?h > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Anthony property:patron_saint ?e . ?e rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q44024
P417
Q502895 Q12737077
USER
And also tell me about Athanasius of Alexandria?
(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 Q44024
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P417 ?d . ?d rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q44024 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?o > ?n ) }
Athanasius of Alexandria
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Athanasius of Alexandria
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:patron_saint ?d . ?d rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Athanasius_of_Alexandria property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?o > ?n ) }
[]
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 Q44024
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P417 ?d . ?d rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q44024 property:P417 ?f . ?f rdf:type ontology:Q502895 } } . FILTER ( ?o > ?n ) }
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 Athanasius of Alexandria
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:patron_saint ?d . ?d rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Athanasius_of_Alexandria property:patron_saint ?f . ?f rdf:type ontology:common_name } } . FILTER ( ?o > ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q40185
P674
Q223393
USER
Are those people a character of The Divine Comedy ?
(Q40185,P674,Q9438) (Q40185,P674,Q60059) (Q40185,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q40185
relation P674
['Q40185', 'P674', 'Q9438'] ['Q40185', 'P674', 'Q60059'] ['Q40185', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?v ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q40185 property:P674 ?v }
The Divine Comedy
action is_in
entity prev_answer
action find
entity The Divine Comedy
relation characters
['The Divine Comedy', 'characters', 'Thomas Aquinas'] ['The Divine Comedy', 'characters', 'Albertus Magnus'] ['The Divine Comedy', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?v ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:The_Divine_Comedy property:characters ?v }
[]
literary genre
SYSTEM
YES
(Q40185,P674,Q9438) (Q40185,P674,Q60059) (Q40185,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q40185
relation P674
[ANSWER]
['Q40185', 'P674', 'Q9438'] ['Q40185', 'P674', 'Q60059'] ['Q40185', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?v ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q40185 property:P674 ?v }
Yes
action is_in
entity prev_answer
action find
entity The Divine Comedy
relation characters
['The Divine Comedy', 'characters', 'Thomas Aquinas'] ['The Divine Comedy', 'characters', 'Albertus Magnus'] ['The Divine Comedy', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?v ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:The_Divine_Comedy property:characters ?v }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9438 Q15782180 Q102851
P737
Q502895
USER
Was Thomas Aquinas influenced by Alec Panchen and Boethius ?
(Q9438,P737,Q15782180) (Q9438,P737,Q102851)
action is_in
entity Q9438
action intersection
action find_reverse
entity Q15782180
relation P737
action find_reverse
entity Q102851
relation P737
['Q9438', 'P737', 'Q15782180'] ['Q9438', 'P737', 'Q102851']
ASK WHERE { resource:Q9438 property:P737 resource:Q15782180 . resource:Q9438 property:P737 resource:Q102851 }
Thomas Aquinas Alec Panchen Boethius
action is_in
entity Thomas Aquinas
action intersection
action find_reverse
entity Alec Panchen
relation influenced by
action find_reverse
entity Boethius
relation influenced by
['Thomas Aquinas', 'influenced by', 'Alec Panchen'] ['Thomas Aquinas', 'influenced by', 'Boethius']
ASK WHERE { resource:Thomas_Aquinas property:influenced_by resource:Alec_Panchen . resource:Thomas_Aquinas property:influenced_by resource:Boethius }
[]
common name
SYSTEM
NO and YES respectively
(Q9438,P737,Q15782180) (Q9438,P737,Q102851)
action is_in
entity Q9438
action intersection
action find_reverse
entity Q15782180
relation P737
action find_reverse
entity Q102851
relation P737
[ANSWER]
['Q9438', 'P737', 'Q15782180'] ['Q9438', 'P737', 'Q102851']
ASK WHERE { resource:Q9438 property:P737 resource:Q15782180 . resource:Q9438 property:P737 resource:Q102851 }
NO and YES respectively
action is_in
entity Thomas Aquinas
action intersection
action find_reverse
entity Alec Panchen
relation influenced by
action find_reverse
entity Boethius
relation influenced by
['Thomas Aquinas', 'influenced by', 'Alec Panchen'] ['Thomas Aquinas', 'influenced by', 'Boethius']
ASK WHERE { resource:Thomas_Aquinas property:influenced_by resource:Alec_Panchen . resource:Thomas_Aquinas property:influenced_by resource:Boethius }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works have been dubbed by exactly 9 people ?
(c(Q386724),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 9
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?f ) WHERE { ?i rdf:type ontology:Q386724 . ?t rdf:type ontology:Q502895 . ?i property:P725 ?t } GROUP BY ?i } . FILTER ( ?f = 9 ) }
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 9
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?f ) WHERE { ?i rdf:type ontology:work . ?t rdf:type ontology:common_name . ?i property:voice_actor ?t } GROUP BY ?i } . FILTER ( ?f = 9 ) }
[]
common name work
Q26829863
SYSTEM
Angry Birds: La película
Q26829863
(c(Q386724),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 9
[ANSWER] have been dubbed by exactly 9 people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?f ) WHERE { ?i rdf:type ontology:Q386724 . ?t rdf:type ontology:Q502895 . ?i property:P725 ?t } GROUP BY ?i } . FILTER ( ?f = 9 ) }
Angry Birds: La película
Angry Birds: La película have been dubbed by exactly 9 people
Angry Birds: La película
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 9
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?f ) WHERE { ?i rdf:type ontology:work . ?t rdf:type ontology:common_name . ?i property:voice_actor ?t } GROUP BY ?i } . FILTER ( ?f = 9 ) }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q60025 Q9438
P737
Q502895
USER
Which people influenced Thomas Aquinas but not Hannah Arendt ?
AND((Q9438,P737,c(Q502895)), NOT((Q60025,P737,c(Q502895))))
action filter_type
action difference
action find
entity Q9438
relation P737
action find
entity Q60025
relation P737
type Q502895
{'AND': [['Q9438', 'P737', {'concept': 'Q502895'}], {'NOT': [['Q60025', 'P737', {'concept': 'Q502895'}]]}]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q9438 property:P737 ?p . FILTER NOT EXISTS { resource:Q60025 property:P737 ?p } }
Hannah Arendt Thomas Aquinas
action filter_type
action difference
action find
entity Thomas Aquinas
relation influenced by
action find
entity Hannah Arendt
relation influenced by
type common name
{'AND': [['Thomas Aquinas', 'influenced by', {'concept': 'common name'}], {'NOT': [['Hannah Arendt', 'influenced by', {'concept': 'common name'}]]}]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Thomas_Aquinas property:influenced_by ?p . FILTER NOT EXISTS { resource:Hannah_Arendt property:influenced_by ?p } }
[]
common name
Q184500 Q8011 Q9546 Q179759 Q60059 Q102851 Q127398 Q39837 Q43939 Q1541
SYSTEM
Some of them are Johannes Scotus Eriugena, Avicenna, Al-Ghazali, Al-Kindi, Albertus Magnus, Boethius, Maimonides, Averroes, Anselm of Canterbury, Cicero
Q9191 Q43939 Q9546 Q8011 Q39837 Q184500 Q102851 Q127398 Q1541 Q179759 Q60059
AND((Q9438,P737,c(Q502895)), NOT((Q60025,P737,c(Q502895))))
action filter_type
action difference
action find
entity Q9438
relation P737
action find
entity Q60025
relation P737
type Q502895
[ANSWERS] influenced Thomas Aquinas but not Hannah Arendt
{'AND': [['Q9438', 'P737', {'concept': 'Q502895'}], {'NOT': [['Q60025', 'P737', {'concept': 'Q502895'}]]}]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q9438 property:P737 ?p . FILTER NOT EXISTS { resource:Q60025 property:P737 ?p } }
René Descartes Anselm of Canterbury Al-Ghazali Avicenna Averroes Johannes Scotus Eriugena Boethius Maimonides Cicero Al-Kindi Albertus Magnus
Johannes Scotus Eriugena, Avicenna, Al-Ghazali, Al-Kindi, Albertus Magnus, Boethius, Maimonides, Averroes, Anselm of Canterbury and Cicero influenced Thomas Aquinas but not Hannah Arendt
Johannes Scotus Eriugena Avicenna Al-Ghazali Al-Kindi Albertus Magnus Boethius Maimonides Averroes Anselm of Canterbury Cicero
action filter_type
action difference
action find
entity Thomas Aquinas
relation influenced by
action find
entity Hannah Arendt
relation influenced by
type common name
{'AND': [['Thomas Aquinas', 'influenced by', {'concept': 'common name'}], {'NOT': [['Hannah Arendt', 'influenced by', {'concept': 'common name'}]]}]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Thomas_Aquinas property:influenced_by ?p . FILTER NOT EXISTS { resource:Hannah_Arendt property:influenced_by ?p } }
[]