Simple Question (Direct)
Simple Question
Q11767674
P106
Q12737077
USER
What is the job of Marcin Kłosowski ?
(Q11767674,P106,c(Q12737077))
action filter_type
action find
entity Q11767674
relation P106
type Q12737077
['Q11767674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q11767674 property:P106 ?f }
Marcin Kłosowski
action filter_type
action find
entity Marcin Kłosowski
relation occupation
type occupation
['Marcin Kłosowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Marcin_Kłosowski property:occupation ?f }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q11767674,P106,c(Q12737077))
action filter_type
action find
entity Q11767674
relation P106
type Q12737077
The job of Marcin Kłosowski is an [ANSWER]
['Q11767674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . resource:Q11767674 property:P106 ?f }
association football player
The job of Marcin Kłosowski is an association football player
association football player
action filter_type
action find
entity Marcin Kłosowski
relation occupation
type occupation
['Marcin Kłosowski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . resource:Marcin_Kłosowski property:occupation ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11767674
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q11767674
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q11767674 property:P641 ?b . ?b rdf:type ontology:Q349 }
Marcin Kłosowski
action filter_type
action find
entity Marcin Kłosowski
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Marcin_Kłosowski property:sport ?b . ?b rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q11767674
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { resource:Q11767674 property:P641 ?b . ?b rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Marcin Kłosowski
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { resource:Marcin_Kłosowski property:sport ?b . ?b rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q189776
P417
Q502895 Q12737077
USER
Which people are the patron saints of more number of occupations than Zeno of Verona ?
(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 Q189776
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { ?h rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 . ?j property:P417 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:Q502895 . resource:Q189776 property:P417 ?s } } . FILTER ( ?r > ?f ) }
Zeno of Verona
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Zeno of Verona
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { ?h rdf:type ontology:common_name . ?j rdf:type ontology:occupation . ?j property:patron_saint ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:common_name . resource:Zeno_of_Verona property:patron_saint ?s } } . FILTER ( ?r > ?f ) }
[]
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 Q189776
relation P417
type Q502895
[ANSWERS] are the patron saints of more number of occupations than Zeno of Verona
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { ?h rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 . ?j property:P417 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:Q502895 . resource:Q189776 property:P417 ?s } } . FILTER ( ?r > ?f ) }
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 saints of more number of occupations than Zeno of Verona
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 Zeno of Verona
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?r ) WHERE { ?h rdf:type ontology:common_name . ?j rdf:type ontology:occupation . ?j property:patron_saint ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s rdf:type ontology:common_name . resource:Zeno_of_Verona property:patron_saint ?s } } . FILTER ( ?r > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q977571
P417
Q502895 Q12737077
USER
And what about Caprasius of Lérins?
(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 Q977571
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P417 ?p . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q977571 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?q > ?n ) }
Caprasius of Lérins
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Caprasius of Lérins
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:patron_saint ?p . ?p rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Caprasius_of_Lérins property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?q > ?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 Q977571
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P417 ?p . ?p rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q977571 property:P417 ?t . ?t rdf:type ontology:Q502895 } } . FILTER ( ?q > ?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 Caprasius of Lérins
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:patron_saint ?p . ?p rdf:type ontology:common_name . ?i rdf:type ontology:occupation } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Caprasius_of_Lérins property:patron_saint ?t . ?t rdf:type ontology:common_name } } . FILTER ( ?q > ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q423245
P921
Q732577
USER
How many publications are association football player or hydrobromic acid a main subject of ?
(c(Q732577),P921,Q937857) (c(Q732577),P921,Q423245)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q732577
action filter_type
action find_reverse
entity Q423245
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q937857'] [{'concept': 'Q732577'}, 'P921', 'Q423245']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P921 ?v . VALUES ( ?v ) { ( resource:Q937857 ) ( resource:Q423245 ) } }
association football player hydrobromic acid
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type publication
action filter_type
action find_reverse
entity hydrobromic acid
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'association football player'] [{'concept': 'publication'}, 'main subject', 'hydrobromic acid']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:main_subject ?v . VALUES ( ?v ) { ( resource:association_football_player ) ( resource:hydrobromic_acid ) } }
[]
publication
SYSTEM
3
Q26354055 Q26352775 Q26347456
(c(Q732577),P921,Q937857) (c(Q732577),P921,Q423245)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q732577
action filter_type
action find_reverse
entity Q423245
relation P921
type Q732577
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q937857'] [{'concept': 'Q732577'}, 'P921', 'Q423245']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:P921 ?v . VALUES ( ?v ) { ( resource:Q937857 ) ( resource:Q423245 ) } }
HHE Report No. HETA-97-0111-2647, Ingersoll-Rand Company, Von Duprin Division, Indianapolis, Indiana Health Hazard Evaluation Report HETA 98-0003-2698, Potlatch Corporation, Minnesota Pulp and Paper Division, Cloquet, Minnesota HHE Report No. HETA-91-115-2299, Inland Steel Company, East Chicago, Indiana
3
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type publication
action filter_type
action find_reverse
entity hydrobromic acid
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'association football player'] [{'concept': 'publication'}, 'main subject', 'hydrobromic acid']
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { ?g property:main_subject ?v . VALUES ( ?v ) { ( resource:association_football_player ) ( resource:hydrobromic_acid ) } }
[]