Simple Question (Direct)
Simple Question
Q698123
P166
Q2003221
USER
What was awarded to William de Croÿ ?
(Q698123,P166,c(Q2003221))
action filter_type
action find
entity Q698123
relation P166
type Q2003221
['Q698123', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?h WHERE { resource:Q698123 property:P166 ?h . ?h rdf:type ontology:Q2003221 }
William de Croÿ
action filter_type
action find
entity William de Croÿ
relation award received
type chivalric order
['William de Croÿ', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?h WHERE { resource:William_de_Croÿ property:award_received ?h . ?h rdf:type ontology:chivalric_order }
[]
chivalric order
Q15117228
SYSTEM
Knight of the Order of the Golden Fleece
Q15117228
(Q698123,P166,c(Q2003221))
action filter_type
action find
entity Q698123
relation P166
type Q2003221
The [ANSWER] was awarded to William de Croÿ
['Q698123', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?h WHERE { resource:Q698123 property:P166 ?h . ?h rdf:type ontology:Q2003221 }
Knight of the Order of the Golden Fleece
The Knight of the Order of the Golden Fleece was awarded to William de Croÿ
Knight of the Order of the Golden Fleece
action filter_type
action find
entity William de Croÿ
relation award received
type chivalric order
['William de Croÿ', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?h WHERE { resource:William_de_Croÿ property:award_received ?h . ?h rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q698123
P53
Q8436
USER
Which family did that person belong to ?
(Q15117228,P53,c(Q8436))
action filter_type
action find
entity Q698123
relation P53
type Q8436
['Q15117228', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?e WHERE { resource:Q698123 property:P53 ?e . ?e rdf:type ontology:Q8436 }
William de Croÿ
action filter_type
action find
entity William de Croÿ
relation noble family
type family
['Knight of the Order of the Golden Fleece', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?e WHERE { resource:William_de_Croÿ property:noble_family ?e . ?e rdf:type ontology:family }
[]
family
Q699409
SYSTEM
House of Croÿ
Q699409
(Q15117228,P53,c(Q8436))
action filter_type
action find
entity Q698123
relation P53
type Q8436
That person belonged to [ANSWER]
['Q15117228', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?e WHERE { resource:Q698123 property:P53 ?e . ?e rdf:type ontology:Q8436 }
House of Croÿ
That person belonged to House of Croÿ
House of Croÿ
action filter_type
action find
entity William de Croÿ
relation noble family
type family
['Knight of the Order of the Golden Fleece', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?e WHERE { resource:William_de_Croÿ property:noble_family ?e . ?e rdf:type ontology:family }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q699409 Q507380
P27
Q15617994
USER
Does House of Croÿ belong to Hausham ?
(Q699409,P27,Q507380)
action is_in
entity Q507380
action find
entity Q699409
relation P27
['Q699409', 'P27', 'Q507380']
ASK WHERE { resource:Q699409 property:P27 resource:Q507380 }
House of Croÿ Hausham
action is_in
entity Hausham
action find
entity House of Croÿ
relation country of citizenship
['House of Croÿ', 'country of citizenship', 'Hausham']
ASK WHERE { resource:House_of_Croÿ property:country_of_citizenship resource:Hausham }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q699409,P27,Q507380)
action is_in
entity Q507380
action find
entity Q699409
relation P27
[ANSWER]
['Q699409', 'P27', 'Q507380']
ASK WHERE { resource:Q699409 property:P27 resource:Q507380 }
No
action is_in
entity Hausham
action find
entity House of Croÿ
relation country of citizenship
['House of Croÿ', 'country of citizenship', 'Hausham']
ASK WHERE { resource:House_of_Croÿ property:country_of_citizenship resource:Hausham }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q698123 Q12841974
P20
Q515
USER
How many cities are the places of death of William de Croÿ or Mir Hassan Khan ?
(Q698123,P20,c(Q515)) (Q12841974,P20,c(Q515))
action count
action union
action filter_type
action find
entity Q698123
relation P20
type Q515
action filter_type
action find
entity Q12841974
relation P20
type Q515
['Q698123', 'P20', {'concept': 'Q515'}] ['Q12841974', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { VALUES ( ?d ) { ( resource:Q12841974 ) ( resource:Q698123 ) } . ?d property:P20 ?v }
William de Croÿ Mir Hassan Khan
action count
action union
action filter_type
action find
entity William de Croÿ
relation place of death
type city
action filter_type
action find
entity Mir Hassan Khan
relation place of death
type city
['William de Croÿ', 'place of death', {'concept': 'city'}] ['Mir Hassan Khan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { VALUES ( ?d ) { ( resource:Mir_Hassan_Khan ) ( resource:William_de_Croÿ ) } . ?d property:place_of_death ?v }
[]
city
SYSTEM
2
Q3852 Q3616
(Q698123,P20,c(Q515)) (Q12841974,P20,c(Q515))
action count
action union
action filter_type
action find
entity Q698123
relation P20
type Q515
action filter_type
action find
entity Q12841974
relation P20
type Q515
[ANSWER]
['Q698123', 'P20', {'concept': 'Q515'}] ['Q12841974', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { VALUES ( ?d ) { ( resource:Q12841974 ) ( resource:Q698123 ) } . ?d property:P20 ?v }
Worms Tehran
2
action count
action union
action filter_type
action find
entity William de Croÿ
relation place of death
type city
action filter_type
action find
entity Mir Hassan Khan
relation place of death
type city
['William de Croÿ', 'place of death', {'concept': 'city'}] ['Mir Hassan Khan', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) WHERE { VALUES ( ?d ) { ( resource:Mir_Hassan_Khan ) ( resource:William_de_Croÿ ) } . ?d property:place_of_death ?v }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q179718
P417
Q502895 Q16970 Q12737077
USER
Which people are the patron saints of more number of churches and occupations than Catherine of Alexandria ?
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q179718
relation P417
type Q16970
type Q12737077
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P417 resource:Q179718 . { { ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q16970 } } } } . FILTER ( ?z > ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?v WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } } GROUP BY ?v } }
Catherine of Alexandria
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Catherine of Alexandria
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:patron_saint resource:Catherine_of_Alexandria . { { ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:church } } } } . FILTER ( ?z > ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?v WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:church ) ( ontology:occupation ) } } GROUP BY ?v } }
[]
common name church occupation
Q174044 Q177903 Q33923
SYSTEM
Alexander Nevsky, Stephen I of Hungary, Peter
Q133704 Q174044 Q177903 Q33923 Q161775 Q9200 Q44269 Q40662
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q179718
relation P417
type Q16970
type Q12737077
[ANSWERS] are the patron saints of more number of churches and occupations than Catherine of Alexandria
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P417 resource:Q179718 . { { ?a rdf:type ontology:Q12737077 } UNION { ?a rdf:type ontology:Q16970 } } } } . FILTER ( ?z > ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?v WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } } GROUP BY ?v } }
Martin of Tours Alexander Nevsky Stephen I of Hungary Peter Stephen Paul Saint Nicholas John the Baptist
Alexander Nevsky, Stephen I of Hungary and Peter are the patron saints of more number of churches and occupations than Catherine of Alexandria
Alexander Nevsky Stephen I of Hungary Peter
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Catherine of Alexandria
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:patron_saint resource:Catherine_of_Alexandria . { { ?a rdf:type ontology:occupation } UNION { ?a rdf:type ontology:church } } } } . FILTER ( ?z > ?q ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?v WHERE { ?y rdf:type ?d . VALUES ( ?d ) { ( ontology:church ) ( ontology:occupation ) } } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q539890
P417
Q502895 Q16970 Q12737077
USER
And how about Lazarus of Bethany?
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q539890
relation P417
type Q16970
type Q12737077
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } . ?v rdf:type ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P417 resource:Q539890 . { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } } } . FILTER ( ?k > ?o ) }
Lazarus of Bethany
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Lazarus of Bethany
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:church ) ( ontology:occupation ) } . ?v rdf:type ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:patron_saint resource:Lazarus_of_Bethany . { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:occupation ) ( ontology:church ) } } } } . FILTER ( ?k > ?o ) }
[]
common name church occupation
Q166876 Q174044 Q676555
SYSTEM
Isidore of Seville, Alexander Nevsky, Francis of Assisi
Q133704 Q229190 Q152457 Q128267 Q328804 Q174044 Q166876 Q163900 Q170547 Q676555 Q244380 Q212850 Q42887 Q177903 Q33923 Q161775 Q128538 Q183240 Q145746 Q167477 Q48438 Q44281 Q170164 Q196527 Q196653 Q9200 Q2142772 Q43999 Q359259 Q44269 Q44265 Q192816 Q43982 Q179718 Q40662 Q80513 Q43600 Q26486 Q744884 Q151967 Q149727 Q164294 Q159862 Q17590 Q200895 Q44248
(c(Q16970)|c(Q12737077),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_multi_types
action find_reverse
entity Q539890
relation P417
type Q16970
type Q12737077
[ANSWERS]
[[{'concept': 'Q16970'}, {'concept': 'Q12737077'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } . ?v rdf:type ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:P417 resource:Q539890 . { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:Q12737077 ) ( ontology:Q16970 ) } } } } . FILTER ( ?k > ?o ) }
Martin of Tours Catherine of Siena Saint Roch Joseph John the Evangelist Alexander Nevsky Isidore of Seville Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Vitus Clement I Stephen I of Hungary Peter Stephen Luke the Evangelist Saint Lucy Joseph Anthony of Padua Saint George Ignatius of Loyola Helena of Constantinople Saint Wenceslaus I, Duke of Bohemia Saint Veronica Paul Gereon James Saint Emeric of Hungary Saint Nicholas Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Saint Cecilia Matthew the Apostle Ladislaus I of Hungary Zita Saint Blaise Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Jerome
Isidore of Seville Alexander Nevsky Francis of Assisi
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_multi_types
action find_reverse
entity Lazarus of Bethany
relation patron saint
type church
type occupation
[[{'concept': 'church'}, {'concept': 'occupation'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?k ) WHERE { VALUES ( ?z ) { ( ontology:church ) ( ontology:occupation ) } . ?v rdf:type ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r property:patron_saint resource:Lazarus_of_Bethany . { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:occupation ) ( ontology:church ) } } } } . FILTER ( ?k > ?o ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q166876 Q174044 Q676555
P106
Q12737077
USER
Which occupations have Isidore of Seville, Alexander Nevsky and Francis of Assisi as his/her 's career ?
(Q166876,P106,c(Q12737077)) (Q174044,P106,c(Q12737077)) (Q676555,P106,c(Q12737077))
action union
action filter_type
action find
entity Q166876
relation P106
type Q12737077
action filter_type
action find
entity Q174044
relation P106
type Q12737077
action filter_type
action find
entity Q676555
relation P106
type Q12737077
['Q166876', 'P106', {'concept': 'Q12737077'}] ['Q174044', 'P106', {'concept': 'Q12737077'}] ['Q676555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { resource:Q166876 property:P106 ?b . ?b rdf:type ontology:Q12737077 } UNION { resource:Q174044 property:P106 ?b . ?b rdf:type ontology:Q12737077 } }
Isidore of Seville Alexander Nevsky Francis of Assisi
action union
action filter_type
action find
entity Isidore of Seville
relation occupation
type occupation
action filter_type
action find
entity Alexander Nevsky
relation occupation
type occupation
action filter_type
action find
entity Francis of Assisi
relation occupation
type occupation
['Isidore of Seville', 'occupation', {'concept': 'occupation'}] ['Alexander Nevsky', 'occupation', {'concept': 'occupation'}] ['Francis of Assisi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { resource:Isidore_of_Seville property:occupation ?b . ?b rdf:type ontology:occupation } UNION { resource:Alexander_Nevsky property:occupation ?b . ?b rdf:type ontology:occupation } }
[]
occupation
Q201788 Q250867 Q16031530
SYSTEM
historian, Catholic priest, music theorist
Q201788 Q250867 Q16031530 Q36180 Q2259532 Q14915627 Q11900058 Q2566598 Q548320 Q49757 Q161944 Q36180
(Q166876,P106,c(Q12737077)) (Q174044,P106,c(Q12737077)) (Q676555,P106,c(Q12737077))
action union
action filter_type
action find
entity Q166876
relation P106
type Q12737077
action filter_type
action find
entity Q174044
relation P106
type Q12737077
action filter_type
action find
entity Q676555
relation P106
type Q12737077
[ANSWERS] have Isidore of Seville, Alexander Nevsky and Francis of Assisi as his/her 's career
['Q166876', 'P106', {'concept': 'Q12737077'}] ['Q174044', 'P106', {'concept': 'Q12737077'}] ['Q676555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { { resource:Q166876 property:P106 ?b . ?b rdf:type ontology:Q12737077 } UNION { resource:Q174044 property:P106 ?b . ?b rdf:type ontology:Q12737077 } }
historian Catholic priest music theorist writer cleric musicologist explorer religious friar poet deacon writer
Historian, Catholic priest and music theorist have Isidore of Seville, Alexander Nevsky and Francis of Assisi as his/her 's career
historian Catholic priest music theorist
action union
action filter_type
action find
entity Isidore of Seville
relation occupation
type occupation
action filter_type
action find
entity Alexander Nevsky
relation occupation
type occupation
action filter_type
action find
entity Francis of Assisi
relation occupation
type occupation
['Isidore of Seville', 'occupation', {'concept': 'occupation'}] ['Alexander Nevsky', 'occupation', {'concept': 'occupation'}] ['Francis of Assisi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { { resource:Isidore_of_Seville property:occupation ?b . ?b rdf:type ontology:occupation } UNION { resource:Alexander_Nevsky property:occupation ?b . ?b rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q698123
P22
Q502895
USER
Who was the dad of William de Croÿ ?
(Q698123,P22,c(Q502895))
action filter_type
action find
entity Q698123
relation P22
type Q502895
['Q698123', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q698123 property:P22 ?p }
William de Croÿ
action filter_type
action find
entity William de Croÿ
relation father
type common name
['William de Croÿ', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:William_de_Croÿ property:father ?p }
[]
common name
Q2084633
SYSTEM
Philip I de Croÿ
Q2084633
(Q698123,P22,c(Q502895))
action filter_type
action find
entity Q698123
relation P22
type Q502895
The dad of William de Croÿ was King [ANSWER]
['Q698123', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q698123 property:P22 ?p }
Philip I de Croÿ
The dad of William de Croÿ was King Philip I de Croÿ
Philip I de Croÿ
action filter_type
action find
entity William de Croÿ
relation father
type common name
['William de Croÿ', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:William_de_Croÿ property:father ?p }
[]