Simple Question (Direct)
Simple Question
Q24809422
P106
Q12737077
USER
What are the job of Jan Marusarz ?
(Q24809422,P106,c(Q12737077))
action filter_type
action find
entity Q24809422
relation P106
type Q12737077
['Q24809422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q24809422 property:P106 ?h }
Jan Marusarz
action filter_type
action find
entity Jan Marusarz
relation occupation
type occupation
['Jan Marusarz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Jan_Marusarz property:occupation ?h }
[]
occupation
Q13382605 Q13382603
SYSTEM
Nordic combined skier, ski jumper
Q13382605 Q13382603
(Q24809422,P106,c(Q12737077))
action filter_type
action find
entity Q24809422
relation P106
type Q12737077
The job of Jan Marusarz are a [ANSWERS]
['Q24809422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q24809422 property:P106 ?h }
Nordic combined skier ski jumper
The job of Jan Marusarz are a Nordic combined skier and ski jumper
Nordic combined skier ski jumper
action filter_type
action find
entity Jan Marusarz
relation occupation
type occupation
['Jan Marusarz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Jan_Marusarz property:occupation ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24809422
P21
Q290
USER
Which sex does that person possess ?
(Q13382605,P21,c(Q290)) (Q13382603,P21,c(Q290))
action filter_type
action find
entity Q24809422
relation P21
type Q290
['Q13382605', 'P21', {'concept': 'Q290'}] ['Q13382603', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q24809422 property:P21 ?s . ?s rdf:type ontology:Q290 }
Jan Marusarz
action filter_type
action find
entity Jan Marusarz
relation gender
type sex
['Nordic combined skier', 'gender', {'concept': 'sex'}] ['ski jumper', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jan_Marusarz property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13382605,P21,c(Q290)) (Q13382603,P21,c(Q290))
action filter_type
action find
entity Q24809422
relation P21
type Q290
That person possesses a [ANSWER]
['Q13382605', 'P21', {'concept': 'Q290'}] ['Q13382603', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q24809422 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Jan Marusarz
relation gender
type sex
['Nordic combined skier', 'gender', {'concept': 'sex'}] ['ski jumper', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Jan_Marusarz property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24809422
P7
Q502895
USER
Who is that one a sibling of ?
(Q6581097,P7,c(Q502895))
action filter_type
action find
entity Q24809422
relation P7
type Q502895
['Q6581097', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q24809422 property:P7 ?x }
Jan Marusarz
action filter_type
action find
entity Jan Marusarz
relation brother
type common name
['male', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Jan_Marusarz property:brother ?x }
[]
common name
Q1345386
SYSTEM
Stanisław Marusarz
Q1345386
(Q6581097,P7,c(Q502895))
action filter_type
action find
entity Q24809422
relation P7
type Q502895
That one a sibling of is [ANSWER]
['Q6581097', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q24809422 property:P7 ?x }
Stanisław Marusarz
That one a sibling of is Stanisław Marusarz
Stanisław Marusarz
action filter_type
action find
entity Jan Marusarz
relation brother
type common name
['male', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Jan_Marusarz property:brother ?x }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 2176 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2176
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 2176 ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?a ) WHERE { ?w rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 . ?b property:P1303 ?w } GROUP BY ?w } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2176
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 2176 ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?a ) WHERE { ?w rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name . ?b property:instrument ?w } GROUP BY ?w } }
[]
musical instrument common name
Q46185 Q8338 Q8371
SYSTEM
bass guitar, trumpet, cello
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2176
[ANSWERS] can approximately 2176 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 2176 ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?a ) WHERE { ?w rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 . ?b property:P1303 ?w } GROUP BY ?w } }
bass guitar trumpet cello organ drum kit
Bass guitar, trumpet and cello can approximately 2176 people perform with
bass guitar trumpet cello
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2176
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?a = 2176 ) . { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?a ) WHERE { ?w rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name . ?b property:instrument ?w } GROUP BY ?w } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46185 Q8338 Q8371
P425
Q12737077
USER
Which occupations do those musical instruments belong to ?
(c(Q12737077),P425,Q46185) (c(Q12737077),P425,Q8338) (c(Q12737077),P425,Q8371)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q46185'] [{'concept': 'Q12737077'}, 'P425', 'Q8338'] [{'concept': 'Q12737077'}, 'P425', 'Q8371']
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:Q46185 ) ( resource:Q8338 ) ( resource:Q8371 ) } . ?r property:P425 ?z . ?r rdf:type ontology:Q12737077 }
bass guitar trumpet cello
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'bass guitar'] [{'concept': 'occupation'}, 'field of this occupation', 'trumpet'] [{'concept': 'occupation'}, 'field of this occupation', 'cello']
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:bass_guitar ) ( resource:trumpet ) ( resource:cello ) } . ?r property:field_of_this_occupation ?z . ?r rdf:type ontology:occupation }
[]
occupation
Q21504978 Q17093672 Q13219637
SYSTEM
bass-guitarist, trumpeter, cellist
Q21504978 Q17093672 Q13219637
(c(Q12737077),P425,Q46185) (c(Q12737077),P425,Q8338) (c(Q12737077),P425,Q8371)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
Those musical instruments belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q46185'] [{'concept': 'Q12737077'}, 'P425', 'Q8338'] [{'concept': 'Q12737077'}, 'P425', 'Q8371']
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:Q46185 ) ( resource:Q8338 ) ( resource:Q8371 ) } . ?r property:P425 ?z . ?r rdf:type ontology:Q12737077 }
bass-guitarist trumpeter cellist
Those musical instruments belong to the bass-guitarist, trumpeter and cellist
bass-guitarist trumpeter cellist
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'bass guitar'] [{'concept': 'occupation'}, 'field of this occupation', 'trumpet'] [{'concept': 'occupation'}, 'field of this occupation', 'cello']
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:bass_guitar ) ( resource:trumpet ) ( resource:cello ) } . ?r property:field_of_this_occupation ?z . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21504978 Q17093672 Q13219637
P425
Q34379
USER
Which musical instruments are associated with the field of occupation those ones ?
(Q21504978,P425,c(Q34379)) (Q17093672,P425,c(Q34379)) (Q13219637,P425,c(Q34379))
action filter_type
action find
entity prev_answer
relation P425
type Q34379
['Q21504978', 'P425', {'concept': 'Q34379'}] ['Q17093672', 'P425', {'concept': 'Q34379'}] ['Q13219637', 'P425', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34379 . ?j property:P425 ?d . VALUES ( ?j ) { ( resource:Q21504978 ) ( resource:Q17093672 ) ( resource:Q13219637 ) } }
bass-guitarist trumpeter cellist
action filter_type
action find
entity prev_answer
relation field of this occupation
type musical instrument
['bass-guitarist', 'field of this occupation', {'concept': 'musical instrument'}] ['trumpeter', 'field of this occupation', {'concept': 'musical instrument'}] ['cellist', 'field of this occupation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:musical_instrument . ?j property:field_of_this_occupation ?d . VALUES ( ?j ) { ( resource:bass-guitarist ) ( resource:trumpeter ) ( resource:cellist ) } }
[]
musical instrument
Q46185 Q8338 Q8371
SYSTEM
bass guitar, trumpet, cello
Q46185 Q8338 Q8371
(Q21504978,P425,c(Q34379)) (Q17093672,P425,c(Q34379)) (Q13219637,P425,c(Q34379))
action filter_type
action find
entity prev_answer
relation P425
type Q34379
[ANSWERS] are associated with the field of occupation those ones
['Q21504978', 'P425', {'concept': 'Q34379'}] ['Q17093672', 'P425', {'concept': 'Q34379'}] ['Q13219637', 'P425', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34379 . ?j property:P425 ?d . VALUES ( ?j ) { ( resource:Q21504978 ) ( resource:Q17093672 ) ( resource:Q13219637 ) } }
bass guitar trumpet cello
Bass guitar, trumpet and cello are associated with the field of occupation those ones
bass guitar trumpet cello
action filter_type
action find
entity prev_answer
relation field of this occupation
type musical instrument
['bass-guitarist', 'field of this occupation', {'concept': 'musical instrument'}] ['trumpeter', 'field of this occupation', {'concept': 'musical instrument'}] ['cellist', 'field of this occupation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:musical_instrument . ?j property:field_of_this_occupation ?d . VALUES ( ?j ) { ( resource:bass-guitarist ) ( resource:trumpeter ) ( resource:cellist ) } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
How many musical instruments are used as instrumentation in greater number of concertoes than that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|Count over More/Less|Single entity type|Clarification
Q8338
SYSTEM
Did you mean trumpet ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean trumpet ?
trumpet
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant cello. Could you tell me the answer for that?
(c(Q9748),P870,c(Q34379))
Q8371
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
SYSTEM
3
Q5994 Q8355 Q81982
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
piano violin harpsichord
3
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q160373
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of more number of occupations than Marcellinus ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q160373
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Q160373 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P417 ?s . ?s rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?s } }
Marcellinus
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Marcellinus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Marcellinus property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:patron_saint ?s . ?s rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?s } }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q160373
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Q160373 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P417 ?s . ?s rdf:type ontology:Q502895 . ?g rdf:type ontology:Q12737077 } GROUP BY ?s } }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Marcellinus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Marcellinus property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?h > ?j ) . { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:patron_saint ?s . ?s rdf:type ontology:common_name . ?g rdf:type ontology:occupation } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q445357
P417
Q502895 Q12737077
USER
And how about Henry?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q445357
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P417 ?w . ?w rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q445357 property:P417 ?e } } }
Henry
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Henry
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:patron_saint ?w . ?w rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:common_name . resource:Henry property:patron_saint ?e } } }
[]
common name occupation
SYSTEM
54
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 count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q445357
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:P417 ?w . ?w rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q445357 property:P417 ?e } } }
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
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Henry
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?v ) AS ?t ) WHERE { ?v property:patron_saint ?w . ?w rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?w } . FILTER ( ?t > ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:common_name . resource:Henry property:patron_saint ?e } } }
[]