Simple Question (Direct)
Simple Question
Q370724
P106
Q12737077
USER
Which occupation is the profession of Ryan Donahue ?
(Q370724,P106,c(Q12737077))
action filter_type
action find
entity Q370724
relation P106
type Q12737077
['Q370724', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q370724 property:P106 ?z }
Ryan Donahue
action filter_type
action find
entity Ryan Donahue
relation occupation
type occupation
['Ryan Donahue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Ryan_Donahue property:occupation ?z }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q370724,P106,c(Q12737077))
action filter_type
action find
entity Q370724
relation P106
type Q12737077
[ANSWER] is the profession of Ryan Donahue
['Q370724', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q370724 property:P106 ?z }
American football player
American football player is the profession of Ryan Donahue
American football player
action filter_type
action find
entity Ryan Donahue
relation occupation
type occupation
['Ryan Donahue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Ryan_Donahue property:occupation ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q370724
P641
Q349
USER
What did that person participate in ?
(Q19204627,P641,c(Q349))
action filter_type
action find
entity Q370724
relation P641
type Q349
['Q19204627', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q370724 property:P641 ?s }
Ryan Donahue
action filter_type
action find
entity Ryan Donahue
relation sport
type sport
['American football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Ryan_Donahue property:sport ?s }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q19204627,P641,c(Q349))
action filter_type
action find
entity Q370724
relation P641
type Q349
That person participated in [ANSWER]
['Q19204627', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q370724 property:P641 ?s }
American football
That person participated in American football
American football
action filter_type
action find
entity Ryan Donahue
relation sport
type sport
['American football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Ryan_Donahue property:sport ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2456880
P417
Q502895 Q12737077
USER
Which people are the patron saints of more number of occupations than Tryphon, Respicius, and Nympha ?
(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 Q2456880
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q502895 . ?k property:P417 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q2456880 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?f > ?u ) }
Tryphon, Respicius, and Nympha
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Tryphon, Respicius, and Nympha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:occupation . ?v rdf:type ontology:common_name . ?k property:patron_saint ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Tryphon,_Respicius,_and_Nympha property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?f > ?u ) }
[]
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 Q2456880
relation P417
type Q502895
[ANSWERS] are the patron saints of more number of occupations than Tryphon, Respicius, and Nympha
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q502895 . ?k property:P417 ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q2456880 property:P417 ?x . ?x rdf:type ontology:Q502895 } } . FILTER ( ?f > ?u ) }
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 Tryphon, Respicius, and Nympha
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 Tryphon, Respicius, and Nympha
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ontology:occupation . ?v rdf:type ontology:common_name . ?k property:patron_saint ?v } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Tryphon,_Respicius,_and_Nympha property:patron_saint ?x . ?x rdf:type ontology:common_name } } . FILTER ( ?f > ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1249745
P417
Q502895 Q12737077
USER
And what about Mamilian of Palermo?
(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 Q1249745
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q1249745 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?w > ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P417 ?y . ?y rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?y } }
Mamilian of Palermo
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Mamilian of Palermo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Mamilian_of_Palermo property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?w > ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:patron_saint ?y . ?y rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?y } }
[]
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 Q1249745
relation P417
type Q502895
[ANSWERS]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Q1249745 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?w > ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P417 ?y . ?y rdf:type ontology:Q502895 . ?h rdf:type ontology:Q12737077 } GROUP BY ?y } }
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 Mamilian of Palermo
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { resource:Mamilian_of_Palermo property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?w > ?i ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:patron_saint ?y . ?y rdf:type ontology:common_name . ?h rdf:type ontology:occupation } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9438
P138
Q44539 Q163740
USER
How many temples and nonprofit organizations have Thomas Aquinas as their namesake ?
(c(Q44539),P138,Q9438) (c(Q163740),P138,Q9438)
action count
action union
action filter_type
action find_reverse
entity Q9438
relation P138
type Q44539
action filter_type
action find_reverse
entity Q9438
relation P138
type Q163740
[{'concept': 'Q44539'}, 'P138', 'Q9438'] [{'concept': 'Q163740'}, 'P138', 'Q9438']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P138 resource:Q9438 . ?m rdf:type ontology:Q44539 } UNION { ?m rdf:type ontology:Q163740 . ?m property:P138 resource:Q9438 } }
Thomas Aquinas
action count
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type temple
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type nonprofit organization
[{'concept': 'temple'}, 'named after', 'Thomas Aquinas'] [{'concept': 'nonprofit organization'}, 'named after', 'Thomas Aquinas']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:named_after resource:Thomas_Aquinas . ?m rdf:type ontology:temple } UNION { ?m rdf:type ontology:nonprofit_organization . ?m property:named_after resource:Thomas_Aquinas } }
[]
temple nonprofit organization
SYSTEM
1 temples and 1 nonprofit organizations
Q3584573 Q1164229
(c(Q44539),P138,Q9438) (c(Q163740),P138,Q9438)
action count
action union
action filter_type
action find_reverse
entity Q9438
relation P138
type Q44539
action filter_type
action find_reverse
entity Q9438
relation P138
type Q163740
[ANSWER]
[{'concept': 'Q44539'}, 'P138', 'Q9438'] [{'concept': 'Q163740'}, 'P138', 'Q9438']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P138 resource:Q9438 . ?m rdf:type ontology:Q44539 } UNION { ?m rdf:type ontology:Q163740 . ?m property:P138 resource:Q9438 } }
Église Saint-Thomas-d'Aquin University of St. Thomas
1 temples and 1 nonprofit organizations
action count
action union
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type temple
action filter_type
action find_reverse
entity Thomas Aquinas
relation named after
type nonprofit organization
[{'concept': 'temple'}, 'named after', 'Thomas Aquinas'] [{'concept': 'nonprofit organization'}, 'named after', 'Thomas Aquinas']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:named_after resource:Thomas_Aquinas . ?m rdf:type ontology:temple } UNION { ?m rdf:type ontology:nonprofit_organization . ?m property:named_after resource:Thomas_Aquinas } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P50
Q7366
USER
Which song is Thomas Aquinas an author of ?
(c(Q7366),P50,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P50
type Q7366
[{'concept': 'Q7366'}, 'P50', 'Q9438']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7366 . ?e property:P50 resource:Q9438 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation author
type song
[{'concept': 'song'}, 'author', 'Thomas Aquinas']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:song . ?e property:author resource:Thomas_Aquinas }
[]
song
Q618055
SYSTEM
Tantum Ergo
Q618055
(c(Q7366),P50,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P50
type Q7366
Which song is Thomas Aquinas an author of
[{'concept': 'Q7366'}, 'P50', 'Q9438']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7366 . ?e property:P50 resource:Q9438 }
Tantum Ergo
Which song is Thomas Aquinas an author of
Tantum Ergo
action filter_type
action find_reverse
entity Thomas Aquinas
relation author
type song
[{'concept': 'song'}, 'author', 'Thomas Aquinas']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:song . ?e property:author resource:Thomas_Aquinas }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9438
P1412
Q34770
USER
Which language can that person understand ?
(Q618055,P1412,c(Q34770))
action filter_type
action find
entity Q9438
relation P1412
type Q34770
['Q618055', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q9438 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation languages spoken, written or signed
type language
['Tantum Ergo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Thomas_Aquinas property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q618055,P1412,c(Q34770))
action filter_type
action find
entity Q9438
relation P1412
type Q34770
That person can understand from [ANSWER]
['Q618055', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q9438 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Latin
That person can understand from Latin
Latin
action filter_type
action find
entity Thomas Aquinas
relation languages spoken, written or signed
type language
['Tantum Ergo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Thomas_Aquinas property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q618055
P364
Q34770
USER
Which language was used originally for the creation of Tantum Ergo ?
(Q618055,P364,c(Q34770))
action filter_type
action find
entity Q618055
relation P364
type Q34770
['Q618055', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q618055 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Tantum Ergo
action filter_type
action find
entity Tantum Ergo
relation original language of work
type language
['Tantum Ergo', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Tantum_Ergo property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q618055,P364,c(Q34770))
action filter_type
action find
entity Q618055
relation P364
type Q34770
[ANSWER] was used originally for the creation of Tantum Ergo
['Q618055', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q618055 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Latin
Latin was used originally for the creation of Tantum Ergo
Latin
action filter_type
action find
entity Tantum Ergo
relation original language of work
type language
['Tantum Ergo', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Tantum_Ergo property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q15416 Q170584
USER
How many languages are associated with approximately the same number of television programs or projects as that language ?
(c(Q15416)|c(Q170584),P2439,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q170584
action count
action filter_multi_types
action find_reverse
entity Q397
relation P2439
type Q15416
type Q170584
[[{'concept': 'Q15416'}, {'concept': 'Q170584'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { { ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q15416 . ?v property:P2439 ?r } UNION { ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q170584 . ?v property:P2439 ?r } } GROUP BY ?r } . FILTER ( ?b = ?d ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P2439 resource:Q397 . { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15416 ) ( ontology:Q170584 ) } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation language
type language
type television program
action find_reverse_tuple_counts
relation language
type language
type project
action count
action filter_multi_types
action find_reverse
entity Latin
relation language
type television program
type project
[[{'concept': 'television program'}, {'concept': 'project'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { { ?r rdf:type ontology:language . ?v rdf:type ontology:television_program . ?v property:language ?r } UNION { ?r rdf:type ontology:language . ?v rdf:type ontology:project . ?v property:language ?r } } GROUP BY ?r } . FILTER ( ?b = ?d ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:language resource:Latin . { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:television_program ) ( ontology:project ) } } } } }
[]
language television program project
SYSTEM
2
Q1321 Q397
(c(Q15416)|c(Q170584),P2439,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q15416
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q170584
action count
action filter_multi_types
action find_reverse
entity Q397
relation P2439
type Q15416
type Q170584
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q170584'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { { ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q15416 . ?v property:P2439 ?r } UNION { ?r rdf:type ontology:Q34770 . ?v rdf:type ontology:Q170584 . ?v property:P2439 ?r } } GROUP BY ?r } . FILTER ( ?b = ?d ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P2439 resource:Q397 . { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15416 ) ( ontology:Q170584 ) } } } } }
Spanish Latin
2
action count
action approx
action union
action find_reverse_tuple_counts
relation language
type language
type television program
action find_reverse_tuple_counts
relation language
type language
type project
action count
action filter_multi_types
action find_reverse
entity Latin
relation language
type television program
type project
[[{'concept': 'television program'}, {'concept': 'project'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?v ) AS ?b ) WHERE { { ?r rdf:type ontology:language . ?v rdf:type ontology:television_program . ?v property:language ?r } UNION { ?r rdf:type ontology:language . ?v rdf:type ontology:project . ?v property:language ?r } } GROUP BY ?r } . FILTER ( ?b = ?d ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:language resource:Latin . { ?t rdf:type ?c . VALUES ( ?c ) { ( ontology:television_program ) ( ontology:project ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35726
P364
Q34770 Q201658 Q21114848
USER
How many languages were used originally for the creation of more number of film genres and magazine genres than Etruscan ?
(c(Q201658)|c(Q21114848),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q35726
relation P364
type Q201658
type Q21114848
[[{'concept': 'Q201658'}, {'concept': 'Q21114848'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?c ) WHERE { VALUES ( ?b ) { ( ontology:Q201658 ) ( ontology:Q21114848 ) } . ?j rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P364 resource:Q35726 . { { ?e rdf:type ontology:Q21114848 } UNION { ?e rdf:type ontology:Q201658 } } } } . FILTER ( ?c > ?y ) }
Etruscan
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Etruscan
relation original language of work
type film genre
type magazine genre
[[{'concept': 'film genre'}, {'concept': 'magazine genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?c ) WHERE { VALUES ( ?b ) { ( ontology:film_genre ) ( ontology:magazine_genre ) } . ?j rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:original_language_of_work resource:Etruscan . { { ?e rdf:type ontology:magazine_genre } UNION { ?e rdf:type ontology:film_genre } } } } . FILTER ( ?c > ?y ) }
[]
language film genre magazine genre
SYSTEM
7
Q1860 Q8785 Q1321 Q397 Q9056 Q652 Q3110592
(c(Q201658)|c(Q21114848),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q35726
relation P364
type Q201658
type Q21114848
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q21114848'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?c ) WHERE { VALUES ( ?b ) { ( ontology:Q201658 ) ( ontology:Q21114848 ) } . ?j rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P364 resource:Q35726 . { { ?e rdf:type ontology:Q21114848 } UNION { ?e rdf:type ontology:Q201658 } } } } . FILTER ( ?c > ?y ) }
English Armenian Spanish Latin Czech Italian written Chinese
7
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Etruscan
relation original language of work
type film genre
type magazine genre
[[{'concept': 'film genre'}, {'concept': 'magazine genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?j ) AS ?c ) WHERE { VALUES ( ?b ) { ( ontology:film_genre ) ( ontology:magazine_genre ) } . ?j rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:original_language_of_work resource:Etruscan . { { ?e rdf:type ontology:magazine_genre } UNION { ?e rdf:type ontology:film_genre } } } } . FILTER ( ?c > ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q25167
P364
Q34770 Q201658 Q21114848
USER
And what about Bokmål?
(c(Q201658)|c(Q21114848),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q25167
relation P364
type Q201658
type Q21114848
[[{'concept': 'Q201658'}, {'concept': 'Q21114848'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:Q201658 ) ( ontology:Q21114848 ) } . ?m rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P364 resource:Q25167 . { { ?y rdf:type ontology:Q201658 } UNION { ?y rdf:type ontology:Q21114848 } } } } . FILTER ( ?i > ?l ) }
Bokmål
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Bokmål
relation original language of work
type film genre
type magazine genre
[[{'concept': 'film genre'}, {'concept': 'magazine genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:film_genre ) ( ontology:magazine_genre ) } . ?m rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:original_language_of_work resource:Bokmål . { { ?y rdf:type ontology:film_genre } UNION { ?y rdf:type ontology:magazine_genre } } } } . FILTER ( ?i > ?l ) }
[]
language film genre magazine genre
SYSTEM
7
Q1860 Q8785 Q1321 Q397 Q9056 Q652 Q3110592
(c(Q201658)|c(Q21114848),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q25167
relation P364
type Q201658
type Q21114848
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q21114848'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:Q201658 ) ( ontology:Q21114848 ) } . ?m rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P364 resource:Q25167 . { { ?y rdf:type ontology:Q201658 } UNION { ?y rdf:type ontology:Q21114848 } } } } . FILTER ( ?i > ?l ) }
English Armenian Spanish Latin Czech Italian written Chinese
7
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type film genre
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Bokmål
relation original language of work
type film genre
type magazine genre
[[{'concept': 'film genre'}, {'concept': 'magazine genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:film_genre ) ( ontology:magazine_genre ) } . ?m rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:original_language_of_work resource:Bokmål . { { ?y rdf:type ontology:film_genre } UNION { ?y rdf:type ontology:magazine_genre } } } } . FILTER ( ?i > ?l ) }
[]