Simple Question (Direct)
Simple Question
Q1066634
P641
Q349
USER
What did Charles van Baar van Slangenburgh participate in ?
(Q1066634,P641,c(Q349))
action filter_type
action find
entity Q1066634
relation P641
type Q349
['Q1066634', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1066634 property:P641 ?y }
Charles van Baar van Slangenburgh
action filter_type
action find
entity Charles van Baar van Slangenburgh
relation sport
type sport
['Charles van Baar van Slangenburgh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Charles_van_Baar_van_Slangenburgh property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1066634,P641,c(Q349))
action filter_type
action find
entity Q1066634
relation P641
type Q349
Charles van Baar van Slangenburgh participated in [ANSWER]
['Q1066634', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1066634 property:P641 ?y }
association football
Charles van Baar van Slangenburgh participated in association football
association football
action filter_type
action find
entity Charles van Baar van Slangenburgh
relation sport
type sport
['Charles van Baar van Slangenburgh', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Charles_van_Baar_van_Slangenburgh property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1066634
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1066634
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1066634 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Charles van Baar van Slangenburgh
action filter_type
action find
entity Charles van Baar van Slangenburgh
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Charles_van_Baar_van_Slangenburgh property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q1066634
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q1066634 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Charles van Baar van Slangenburgh
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Charles_van_Baar_van_Slangenburgh property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P417 ?n . ?o rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q502895 } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?z rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q502895 . ?z property:P417 ?l } GROUP BY ?l } . FILTER ( ?g = ?f ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:patron_saint ?n . ?o rdf:type ontology:occupation . ?n rdf:type ontology:common_name } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?z rdf:type ontology:occupation . ?l rdf:type ontology:common_name . ?z property:patron_saint ?l } GROUP BY ?l } . FILTER ( ?g = ?f ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the names of person who is the patron saints of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:P417 ?n . ?o rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q502895 } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?z rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q502895 . ?z property:P417 ?l } GROUP BY ?l } . FILTER ( ?g = ?f ) }
Catherine of Alexandria
Catherine of Alexandria is the names of person who is the patron saints of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?f ) { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?d ) WHERE { ?o property:patron_saint ?n . ?o rdf:type ontology:occupation . ?n rdf:type ontology:common_name } GROUP BY ?n } } . { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?z rdf:type ontology:occupation . ?l rdf:type ontology:common_name . ?z property:patron_saint ?l } GROUP BY ?l } . FILTER ( ?g = ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q11204 Q502895 Q12737077
USER
Which occupations are appointed by exactly 8 legislatures or people ?
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 8
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } . ?x rdf:type ?t } GROUP BY ?b } . FILTER ( ?k = 8 ) }
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
value 8
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:legislature ) } . ?x rdf:type ?t } GROUP BY ?b } . FILTER ( ?k = 8 ) }
[]
legislature common name occupation
Q4970706
SYSTEM
Federal Chancellor of Germany
Q4970706
(c(Q12737077),P748,c(Q11204)|c(Q502895))
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q11204
action find_tuple_counts
relation P748
type Q12737077
type Q502895
value 8
[ANSWER] is appointed by exactly 8 legislatures or people
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q11204 ) } . ?x rdf:type ?t } GROUP BY ?b } . FILTER ( ?k = 8 ) }
Federal Chancellor of Germany
Federal Chancellor of Germany is appointed by exactly 8 legislatures or people
Federal Chancellor of Germany
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type legislature
action find_tuple_counts
relation appointed by
type occupation
type common name
value 8
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?k ) WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:legislature ) } . ?x rdf:type ?t } GROUP BY ?b } . FILTER ( ?k = 8 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179718
P180
Q3305213
USER
Which paintings express Catherine of Alexandria ?
(c(Q3305213),P180,Q179718)
action filter_type
action find_reverse
entity Q179718
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q179718']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q179718 . ?n rdf:type ontology:Q3305213 }
Catherine of Alexandria
action filter_type
action find_reverse
entity Catherine of Alexandria
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Catherine of Alexandria']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:Catherine_of_Alexandria . ?n rdf:type ontology:painting }
[]
painting
Q1215717 Q20026950 Q22262391
SYSTEM
Coronation of the Virgin, Joan of Arc, the Fated One, The Madonna Enthroned between St. Catherine and St. Elizabeth from Hungary
Q1215717 Q20026950 Q22262391
(c(Q3305213),P180,Q179718)
action filter_type
action find_reverse
entity Q179718
relation P180
type Q3305213
The Coronation of the Virgin, Joan of Arc, the Fated One and The Madonna enthroned between St. Catherine and St. Elizabeth from Hungary express Catherine of Alexandria
[{'concept': 'Q3305213'}, 'P180', 'Q179718']
SELECT DISTINCT ?n WHERE { ?n property:P180 resource:Q179718 . ?n rdf:type ontology:Q3305213 }
Coronation of the Virgin Joan of Arc, the Fated One The Madonna Enthroned between St. Catherine and St. Elizabeth from Hungary
The Coronation of the Virgin, Joan of Arc, the Fated One and The Madonna enthroned between St. Catherine and St. Elizabeth from Hungary express Catherine of Alexandria
Coronation of the Virgin Joan of Arc, the Fated One The Madonna Enthroned between St. Catherine and St. Elizabeth from Hungary
action filter_type
action find_reverse
entity Catherine of Alexandria
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'Catherine of Alexandria']
SELECT DISTINCT ?n WHERE { ?n property:depicts resource:Catherine_of_Alexandria . ?n rdf:type ontology:painting }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179718
P2348
Q3024240
USER
When did Catherine of Alexandria occur ?
(Q179718,P2348,c(Q3024240))
action filter_type
action find
entity Q179718
relation P2348
type Q3024240
['Q179718', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?z WHERE { resource:Q179718 property:P2348 ?z . ?z rdf:type ontology:Q3024240 }
Catherine of Alexandria
action filter_type
action find
entity Catherine of Alexandria
relation period
type former country
['Catherine of Alexandria', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?z WHERE { resource:Catherine_of_Alexandria property:period ?z . ?z rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q179718,P2348,c(Q3024240))
action filter_type
action find
entity Q179718
relation P2348
type Q3024240
Catherine of Alexandria occurred Imperial [ANSWER]
['Q179718', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?z WHERE { resource:Q179718 property:P2348 ?z . ?z rdf:type ontology:Q3024240 }
Roman Empire
Catherine of Alexandria occurred Imperial Roman Empire
Roman Empire
action filter_type
action find
entity Catherine of Alexandria
relation period
type former country
['Catherine of Alexandria', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?z WHERE { resource:Catherine_of_Alexandria property:period ?z . ?z rdf:type ontology:former_country }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179718
P411
Q82799
USER
What is the name of Catherine of Alexandria ?
(Q179718,P411,c(Q82799))
action filter_type
action find
entity Q179718
relation P411
type Q82799
['Q179718', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q179718 property:P411 ?u . ?u rdf:type ontology:Q82799 }
Catherine of Alexandria
action filter_type
action find
entity Catherine of Alexandria
relation canonization status
type name
['Catherine of Alexandria', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Catherine_of_Alexandria property:canonization_status ?u . ?u rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q179718,P411,c(Q82799))
action filter_type
action find
entity Q179718
relation P411
type Q82799
The name of Catherine of Alexandria is a [ANSWER]
['Q179718', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q179718 property:P411 ?u . ?u rdf:type ontology:Q82799 }
saint
The name of Catherine of Alexandria is a saint
saint
action filter_type
action find
entity Catherine of Alexandria
relation canonization status
type name
['Catherine of Alexandria', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Catherine_of_Alexandria property:canonization_status ?u . ?u rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43115
P166
Q502895
USER
Which people won that name ?
(c(Q502895),P166,Q43115)
action filter_type
action find_reverse
entity Q43115
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q43115']
SELECT DISTINCT ?y WHERE { ?y property:P166 resource:Q43115 . ?y rdf:type ontology:Q502895 }
saint
action filter_type
action find_reverse
entity saint
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'saint']
SELECT DISTINCT ?y WHERE { ?y property:award_received resource:saint . ?y rdf:type ontology:common_name }
[]
common name
Q212850 Q87664 Q19049325
SYSTEM
Vitus, Ansverus, Mochaemog
Q212850 Q87664 Q19049325
(c(Q502895),P166,Q43115)
action filter_type
action find_reverse
entity Q43115
relation P166
type Q502895
[ANSWERS] won that name
[{'concept': 'Q502895'}, 'P166', 'Q43115']
SELECT DISTINCT ?y WHERE { ?y property:P166 resource:Q43115 . ?y rdf:type ontology:Q502895 }
Vitus Ansverus Mochaemog
Vitus, Ansverus and Mochaemog won that name
Vitus Ansverus Mochaemog
action filter_type
action find_reverse
entity saint
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'saint']
SELECT DISTINCT ?y WHERE { ?y property:award_received resource:saint . ?y rdf:type ontology:common_name }
[]