Simple Question (Direct)
Simple Question
Q3171733
P21
Q290
USER
What is the sex of Jean Deval de Guymont ?
(Q3171733,P21,c(Q290))
action filter_type
action find
entity Q3171733
relation P21
type Q290
['Q3171733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3171733 property:P21 ?p . ?p rdf:type ontology:Q290 }
Jean Deval de Guymont
action filter_type
action find
entity Jean Deval de Guymont
relation gender
type sex
['Jean Deval de Guymont', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Jean_Deval_de_Guymont property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3171733,P21,c(Q290))
action filter_type
action find
entity Q3171733
relation P21
type Q290
The sex of Jean Deval de Guymont is the [ANSWER]
['Q3171733', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3171733 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Jean Deval de Guymont is the male
male
action filter_type
action find
entity Jean Deval de Guymont
relation gender
type sex
['Jean Deval de Guymont', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Jean_Deval_de_Guymont property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3171733
P20
Q20667921
USER
Where did Jean Deval de Guymont die ?
(Q3171733,P20,c(Q20667921))
action filter_type
action find
entity Q3171733
relation P20
type Q20667921
['Q3171733', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q3171733 property:P20 ?t . ?t rdf:type ontology:Q20667921 }
Jean Deval de Guymont
action filter_type
action find
entity Jean Deval de Guymont
relation place of death
type type of french administrative division
['Jean Deval de Guymont', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Jean_Deval_de_Guymont property:place_of_death ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q207575
SYSTEM
Riom
Q207575
(Q3171733,P20,c(Q20667921))
action filter_type
action find
entity Q3171733
relation P20
type Q20667921
Jean Deval de Guymont died in [ANSWER]
['Q3171733', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q3171733 property:P20 ?t . ?t rdf:type ontology:Q20667921 }
Riom
Jean Deval de Guymont died in Riom
Riom
action filter_type
action find
entity Jean Deval de Guymont
relation place of death
type type of french administrative division
['Jean Deval de Guymont', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Jean_Deval_de_Guymont property:place_of_death ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207575
P47
Q20667921
USER
Which french administrative divisions have a shared border with that one ?
(Q207575,P47,c(Q20667921))
action filter_type
action find
entity Q207575
relation P47
type Q20667921
['Q207575', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . resource:Q207575 property:P47 ?a }
Riom
action filter_type
action find
entity Riom
relation shares border with
type type of french administrative division
['Riom', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . resource:Riom property:shares_border_with ?a }
[]
type of french administrative division
Q333441 Q624049 Q660266
SYSTEM
Ennezat, Châteaugay, Châtel-Guyon
Q624049 Q1214410 Q530551 Q668913 Q333441 Q537011 Q660266 Q1098521 Q673842 Q1221399 Q671932
(Q207575,P47,c(Q20667921))
action filter_type
action find
entity Q207575
relation P47
type Q20667921
[ANSWERS] have a shared border with that one
['Q207575', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q20667921 . resource:Q207575 property:P47 ?a }
Châteaugay Ménétrol Pessat-Villeneuve Enval Ennezat Clerlande Châtel-Guyon Saint-Beauzire Mozac Marsat Saint-Bonnet-près-Riom
Ennezat, Châteaugay and Châtel-Guyon have a shared border with that one
Ennezat Châteaugay Châtel-Guyon
action filter_type
action find
entity Riom
relation shares border with
type type of french administrative division
['Riom', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:type_of_french_administrative_division . resource:Riom property:shares_border_with ?a }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q207575
P47
Q20667921
USER
Does Riom share border with those ones ?
(Q207575,P47,Q333441) (Q207575,P47,Q624049) (Q207575,P47,Q660266)
action is_in
entity prev_answer
action find
entity Q207575
relation P47
['Q207575', 'P47', 'Q333441'] ['Q207575', 'P47', 'Q624049'] ['Q207575', 'P47', 'Q660266']
ASK WHERE { resource:Q207575 property:P47 ?m . VALUES ( ?m ) { ( resource:Q624049 ) ( resource:Q1214410 ) ( resource:Q530551 ) } }
Riom
action is_in
entity prev_answer
action find
entity Riom
relation shares border with
['Riom', 'shares border with', 'Ennezat'] ['Riom', 'shares border with', 'Châteaugay'] ['Riom', 'shares border with', 'Châtel-Guyon']
ASK WHERE { resource:Riom property:shares_border_with ?m . VALUES ( ?m ) { ( resource:Châteaugay ) ( resource:Ménétrol ) ( resource:Pessat-Villeneuve ) } }
[]
type of french administrative division
SYSTEM
YES
(Q207575,P47,Q333441) (Q207575,P47,Q624049) (Q207575,P47,Q660266)
action is_in
entity prev_answer
action find
entity Q207575
relation P47
[ANSWER]
['Q207575', 'P47', 'Q333441'] ['Q207575', 'P47', 'Q624049'] ['Q207575', 'P47', 'Q660266']
ASK WHERE { resource:Q207575 property:P47 ?m . VALUES ( ?m ) { ( resource:Q624049 ) ( resource:Q1214410 ) ( resource:Q530551 ) } }
Yes
action is_in
entity prev_answer
action find
entity Riom
relation shares border with
['Riom', 'shares border with', 'Ennezat'] ['Riom', 'shares border with', 'Châteaugay'] ['Riom', 'shares border with', 'Châtel-Guyon']
ASK WHERE { resource:Riom property:shares_border_with ?m . VALUES ( ?m ) { ( resource:Châteaugay ) ( resource:Ménétrol ) ( resource:Pessat-Villeneuve ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3171733
P106
Q12737077
USER
Which occupations are the professions of Jean Deval de Guymont ?
(Q3171733,P106,c(Q12737077))
action filter_type
action find
entity Q3171733
relation P106
type Q12737077
['Q3171733', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3171733 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Jean Deval de Guymont
action filter_type
action find
entity Jean Deval de Guymont
relation occupation
type occupation
['Jean Deval de Guymont', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jean_Deval_de_Guymont property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q82955 Q4594605
SYSTEM
politician, magistrate
Q82955 Q4594605
(Q3171733,P106,c(Q12737077))
action filter_type
action find
entity Q3171733
relation P106
type Q12737077
The professions of Jean Deval de Guymont are a [ANSWERS]
['Q3171733', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3171733 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
politician magistrate
The professions of Jean Deval de Guymont are a politician and magistrate
politician magistrate
action filter_type
action find
entity Jean Deval de Guymont
relation occupation
type occupation
['Jean Deval de Guymont', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Jean_Deval_de_Guymont property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6271084
Q12737077
USER
And also tell me about Jon Kral?
(Q6271084,P106,c(Q12737077))
action filter_type
action find
entity Q6271084
relation P106
type Q12737077
['Q6271084', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6271084 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Jon Kral
action filter_type
action find
entity Jon Kral
relation occupation
type occupation
['Jon Kral', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jon_Kral property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q33231
SYSTEM
photographer
Q33231
(Q6271084,P106,c(Q12737077))
action filter_type
action find
entity Q6271084
relation P106
type Q12737077
[ANSWER]
['Q6271084', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q6271084 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
photographer
photographer
action filter_type
action find
entity Jon Kral
relation occupation
type occupation
['Jon Kral', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Jon_Kral property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saint of approximately 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?k ) WHERE { ?b rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 . ?q property:P417 ?b } GROUP BY ?b } . FILTER ( ?k = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?k ) WHERE { ?b rdf:type ontology:common_name . ?q rdf:type ontology:occupation . ?q property:patron_saint ?b } GROUP BY ?b } . FILTER ( ?k = 1 ) }
[]
common name occupation
SYSTEM
38
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?k ) WHERE { ?b rdf:type ontology:Q502895 . ?q rdf:type ontology:Q12737077 . ?q property:P417 ?b } GROUP BY ?b } . FILTER ( ?k = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
38
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?k ) WHERE { ?b rdf:type ontology:common_name . ?q rdf:type ontology:occupation . ?q property:patron_saint ?b } GROUP BY ?b } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint 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 ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P417 ?n . ?n rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?n } } . FILTER ( ?b = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P417 ?f . ?f rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?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 ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:patron_saint ?n . ?n rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?n } } . FILTER ( ?b = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:patron_saint ?f . ?f rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?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 the patron saint of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P417 ?n . ?n rdf:type ontology:Q502895 . ?v rdf:type ontology:Q12737077 } GROUP BY ?n } } . FILTER ( ?b = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P417 ?f . ?f rdf:type ontology:Q502895 . ?u rdf:type ontology:Q12737077 } GROUP BY ?f } }
Catherine of Alexandria
Catherine of Alexandria is the names of the patron saint 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 ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?r ) { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:patron_saint ?n . ?n rdf:type ontology:common_name . ?v rdf:type ontology:occupation } GROUP BY ?n } } . FILTER ( ?b = ?r ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:patron_saint ?f . ?f rdf:type ontology:common_name . ?u rdf:type ontology:occupation } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did max number of people dub for ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?p ) WHERE { ?k property:P725 ?b . ?k rdf:type ontology:Q386724 . ?b rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?p = ?y ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?i ) WHERE { ?t property:P725 ?m . ?t rdf:type ontology:Q386724 . ?m rdf:type ontology:Q502895 } GROUP BY ?t } } }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?p ) WHERE { ?k property:voice_actor ?b . ?k rdf:type ontology:work . ?b rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?p = ?y ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?i ) WHERE { ?t property:voice_actor ?m . ?t rdf:type ontology:work . ?m rdf:type ontology:common_name } GROUP BY ?t } } }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
Max number of people dubbed as [ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?p ) WHERE { ?k property:P725 ?b . ?k rdf:type ontology:Q386724 . ?b rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?p = ?y ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?i ) WHERE { ?t property:P725 ?m . ?t rdf:type ontology:Q386724 . ?m rdf:type ontology:Q502895 } GROUP BY ?t } } }
Hércules y el examen de conducir
Max number of people dubbed as Hércules y el examen de conducir
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?p ) WHERE { ?k property:voice_actor ?b . ?k rdf:type ontology:work . ?b rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?p = ?y ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?y ) { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?i ) WHERE { ?t property:voice_actor ?m . ?t rdf:type ontology:work . ?m rdf:type ontology:common_name } GROUP BY ?t } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q15416 Q386724
USER
Which television programs sketch the fictional universe of max number of works ?
(c(Q386724),P1445,Q18844725)
action argmax
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
[{'concept': 'Q386724'}, 'P1445', 'Q18844725']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P1445 ?m . ?m rdf:type ontology:Q15416 . ?x rdf:type ontology:Q386724 } GROUP BY ?m } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P1445 ?a . ?a rdf:type ontology:Q15416 . ?g rdf:type ontology:Q386724 } GROUP BY ?a } . FILTER ( ?s = ?d ) }
action argmax
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
[{'concept': 'work'}, 'fictional universe described in', 'Fear the Walking Dead']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:fictional_universe_described_in ?m . ?m rdf:type ontology:television_program . ?x rdf:type ontology:work } GROUP BY ?m } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:fictional_universe_described_in ?a . ?a rdf:type ontology:television_program . ?g rdf:type ontology:work } GROUP BY ?a } . FILTER ( ?s = ?d ) }
[]
television program work
Q232737 Q18844725 Q27120
SYSTEM
The Walking Dead, Fear the Walking Dead, Aladdin
Q2659351 Q837622 Q388517 Q27120 Q232737 Q3492143 Q18844725
(c(Q386724),P1445,Q18844725)
action argmax
action find_reverse_tuple_counts
relation P1445
type Q15416
type Q386724
[ANSWERS] sketch the fictional universe of max number of works
[{'concept': 'Q386724'}, 'P1445', 'Q18844725']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P1445 ?m . ?m rdf:type ontology:Q15416 . ?x rdf:type ontology:Q386724 } GROUP BY ?m } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:P1445 ?a . ?a rdf:type ontology:Q15416 . ?g rdf:type ontology:Q386724 } GROUP BY ?a } . FILTER ( ?s = ?d ) }
Scared Shrekless Stargate Infinity Shrek the Halls Aladdin The Walking Dead Puss in Boots: The Three Diablos Fear the Walking Dead
The Walking Dead, Fear the Walking Dead and Aladdin sketch the fictional universe of max number of works
The Walking Dead Fear the Walking Dead Aladdin
action argmax
action find_reverse_tuple_counts
relation fictional universe described in
type television program
type work
[{'concept': 'work'}, 'fictional universe described in', 'Fear the Walking Dead']
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?d ) { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:fictional_universe_described_in ?m . ?m rdf:type ontology:television_program . ?x rdf:type ontology:work } GROUP BY ?m } } . { SELECT DISTINCT ?a ( COUNT ( ?g ) AS ?s ) WHERE { ?g property:fictional_universe_described_in ?a . ?a rdf:type ontology:television_program . ?g rdf:type ontology:work } GROUP BY ?a } . FILTER ( ?s = ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q232737 Q26986955
P915
Q56061
USER
How many administrative territories were The Walking Dead or Make It Count filmed ?
(Q232737,P915,c(Q56061)) (Q26986955,P915,c(Q56061))
action count
action union
action filter_type
action find
entity Q232737
relation P915
type Q56061
action filter_type
action find
entity Q26986955
relation P915
type Q56061
['Q232737', 'P915', {'concept': 'Q56061'}] ['Q26986955', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:Q232737 property:P915 ?e . ?e rdf:type ontology:Q56061 } UNION { resource:Q26986955 property:P915 ?e . ?e rdf:type ontology:Q56061 } }
The Walking Dead Make It Count
action count
action union
action filter_type
action find
entity The Walking Dead
relation filming location
type administrative territorial entity
action filter_type
action find
entity Make It Count
relation filming location
type administrative territorial entity
['The Walking Dead', 'filming location', {'concept': 'administrative territorial entity'}] ['Make It Count', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:The_Walking_Dead property:filming_location ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { resource:Make_It_Count property:filming_location ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
7
Q220 Q90 Q34647 Q1861 Q84 Q85 Q60
(Q232737,P915,c(Q56061)) (Q26986955,P915,c(Q56061))
action count
action union
action filter_type
action find
entity Q232737
relation P915
type Q56061
action filter_type
action find
entity Q26986955
relation P915
type Q56061
[ANSWER]
['Q232737', 'P915', {'concept': 'Q56061'}] ['Q26986955', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:Q232737 property:P915 ?e . ?e rdf:type ontology:Q56061 } UNION { resource:Q26986955 property:P915 ?e . ?e rdf:type ontology:Q56061 } }
Rome Paris Johannesburg Bangkok London Cairo New York City
7
action count
action union
action filter_type
action find
entity The Walking Dead
relation filming location
type administrative territorial entity
action filter_type
action find
entity Make It Count
relation filming location
type administrative territorial entity
['The Walking Dead', 'filming location', {'concept': 'administrative territorial entity'}] ['Make It Count', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { resource:The_Walking_Dead property:filming_location ?e . ?e rdf:type ontology:administrative_territorial_entity } UNION { resource:Make_It_Count property:filming_location ?e . ?e rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3167944
P3091
Q502895 Q3745054 Q502895
USER
Which people rides on a more number of people and horse breeds than Jean-Michel Bazire ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q3167944
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { { ?x property:P3091 ?u . ?x rdf:type ontology:Q502895 . ?u rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?u . ?x rdf:type ontology:Q502895 . ?u rdf:type ontology:Q3745054 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { VALUES ( ?i ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?f rdf:type ?i } . resource:Q3167944 property:P3091 ?f } } . FILTER ( ?l > ?c ) }
Jean-Michel Bazire
action greater
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Jean-Michel Bazire
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { { ?x property:mount ?u . ?x rdf:type ontology:common_name . ?u rdf:type ontology:common_name } UNION { ?x property:mount ?u . ?x rdf:type ontology:common_name . ?u rdf:type ontology:horse_breed } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { VALUES ( ?i ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?f rdf:type ?i } . resource:Jean-Michel_Bazire property:mount ?f } } . FILTER ( ?l > ?c ) }
[]
common name horse breed common name
Q9682 Q517 Q131691
SYSTEM
Elizabeth II, Napoleon, Arthur Wellesley, 1st Duke of Wellington
Q2831786 Q2120529 Q2964761 Q2643622 Q69084 Q1682742 Q451395 Q1311486 Q682476 Q358777 Q1088130 Q527657 Q364671 Q235022 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q3087038 Q947032 Q3428317 Q2057115 Q131691 Q17350580 Q14912896 Q438197 Q3591240 Q3169911 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q724288 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q538006 Q8409 Q2831635 Q952736 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q2287454 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1617291 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q60968 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1277320 Q6369922 Q1985582 Q1342822 Q76246 Q1691413 Q288267 Q270476 Q272533 Q3074167 Q1930899 Q449891 Q1292304 Q1343527 Q690536 Q175930 Q43958 Q3428878 Q673136 Q886901 Q1261810 Q77560 Q62253 Q3308301 Q1538882 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q3167944
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { { ?x property:P3091 ?u . ?x rdf:type ontology:Q502895 . ?u rdf:type ontology:Q502895 } UNION { ?x property:P3091 ?u . ?x rdf:type ontology:Q502895 . ?u rdf:type ontology:Q3745054 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { VALUES ( ?i ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?f rdf:type ?i } . resource:Q3167944 property:P3091 ?f } } . FILTER ( ?l > ?c ) }
Alberto Larraguibel Pénélope Leprevost Chris Kappler Alexandra Ledermann Paul Schockemöhle Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Yves Saint-Martin Maxime Guyon Margit Otto-Crépin Jean Teulère Anky van Grunsven Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Freddy Head Pierre Jonquères d'Oriola Torrance Fleischmann Patrice Delaveau Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Bassem Hassan Mohammed Helen Langehanenberg Éric Levallois Jean-René Gougeon Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Rodrigo Pessoa Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Pat Eddery Alexander the Great Albert Voorn Nelson Pessoa Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Simon Delestre Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Pierre Durand, Jr. Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Ludger Beerbaum Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger Roger-Yves Bost Karen O'Connor Nick Skelton William Fox-Pitt Marcus Ehning Joseph Fargis Éric Navet Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Michel Robert Beezie Madden Edward Gal Karin Rehbein Pius Schwizer Ian Millar El Cid Reynald Angot Steve Guerdat Blyth Tait Eddie Macken Michael Jung Meredith Michaels-Beerbaum Michael Kinane Kevin Staut Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
Elizabeth II, Napoleon and Arthur Wellesley, 1st Duke of Wellington ride on a more number of people and horse breeds than Jean-Michel Bazire
Elizabeth II Napoleon Arthur Wellesley, 1st Duke of Wellington
action greater
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Jean-Michel Bazire
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?l ) WHERE { { ?x property:mount ?u . ?x rdf:type ontology:common_name . ?u rdf:type ontology:common_name } UNION { ?x property:mount ?u . ?x rdf:type ontology:common_name . ?u rdf:type ontology:horse_breed } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { VALUES ( ?i ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?f rdf:type ?i } . resource:Jean-Michel_Bazire property:mount ?f } } . FILTER ( ?l > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3308301
P3091
Q502895 Q3745054 Q502895
USER
And how about Michael Kinane?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q3308301
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?u rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q3745054 } } . resource:Q3308301 property:P3091 ?t } } . FILTER ( ?m > ?f ) }
Michael Kinane
action greater
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Michael Kinane
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?u rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:horse_breed } } . resource:Michael_Kinane property:mount ?t } } . FILTER ( ?m > ?f ) }
[]
common name horse breed common name
Q724288 Q2120529 Q288267
SYSTEM
Rodrigo Pessoa, Pénélope Leprevost, Éric Navet
Q2120529 Q2057115 Q724288 Q538006 Q288267 Q1538882
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action greater
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q3308301
relation P3091
type Q502895
type Q3745054
[ANSWERS]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?u rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q3745054 } } . resource:Q3308301 property:P3091 ?t } } . FILTER ( ?m > ?f ) }
Pénélope Leprevost Patrice Delaveau Rodrigo Pessoa Pat Eddery Éric Navet Kevin Staut
Rodrigo Pessoa Pénélope Leprevost Éric Navet
action greater
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Michael Kinane
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?u rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:horse_breed } } . resource:Michael_Kinane property:mount ?t } } . FILTER ( ?m > ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q18844725 Q198
P921
Q838948
USER
How many works of art are Fear the Walking Dead or war a main subject of ?
(c(Q838948),P921,Q18844725) (c(Q838948),P921,Q198)
action count
action union
action filter_type
action find_reverse
entity Q18844725
relation P921
type Q838948
action filter_type
action find_reverse
entity Q198
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q18844725'] [{'concept': 'Q838948'}, 'P921', 'Q198']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P921 ?b . VALUES ( ?b ) { ( resource:Q18844725 ) ( resource:Q198 ) } }
Fear the Walking Dead war
action count
action union
action filter_type
action find_reverse
entity Fear the Walking Dead
relation main subject
type work of art
action filter_type
action find_reverse
entity war
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Fear the Walking Dead'] [{'concept': 'work of art'}, 'main subject', 'war']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:main_subject ?b . VALUES ( ?b ) { ( resource:Fear_the_Walking_Dead ) ( resource:war ) } }
[]
work of art
SYSTEM
2
Q21129836 Q323827
(c(Q838948),P921,Q18844725) (c(Q838948),P921,Q198)
action count
action union
action filter_type
action find_reverse
entity Q18844725
relation P921
type Q838948
action filter_type
action find_reverse
entity Q198
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q18844725'] [{'concept': 'Q838948'}, 'P921', 'Q198']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:P921 ?b . VALUES ( ?b ) { ( resource:Q18844725 ) ( resource:Q198 ) } }
The Arts of War Doctor Zhivago
2
action count
action union
action filter_type
action find_reverse
entity Fear the Walking Dead
relation main subject
type work of art
action filter_type
action find_reverse
entity war
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Fear the Walking Dead'] [{'concept': 'work of art'}, 'main subject', 'war']
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { ?m property:main_subject ?b . VALUES ( ?b ) { ( resource:Fear_the_Walking_Dead ) ( resource:war ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2563510
P1303
Q34379 Q502895
USER
Which musical instruments do lesser number of people know to play than steel-string acoustic guitar ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P1303 resource:Q2563510 . ?a rdf:type ontology:Q502895 } } . FILTER ( ?t < ?x ) }
steel-string acoustic guitar
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:instrument resource:steel-string_acoustic_guitar . ?a rdf:type ontology:common_name } } . FILTER ( ?t < ?x ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2563510
relation P1303
type Q502895
[ANSWERS] lesser number of people know to play than steel-string acoustic guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:P1303 resource:Q2563510 . ?a rdf:type ontology:Q502895 } } . FILTER ( ?t < ?x ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir lesser number of people know to play than steel-string acoustic guitar
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity steel-string acoustic guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { ?a property:instrument resource:steel-string_acoustic_guitar . ?a rdf:type ontology:common_name } } . FILTER ( ?t < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q213461
P1303
Q34379 Q502895
USER
And also tell me about harmonium?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q213461
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P1303 resource:Q213461 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?q < ?r ) }
harmonium
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity harmonium
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:instrument resource:harmonium . ?l rdf:type ontology:common_name } } . FILTER ( ?q < ?r ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q862501 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q213461
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P1303 resource:Q213461 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?q < ?r ) }
lyre acoustic bass guitar Body percussion davul Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir ondes Martenot bodhrán Djembe glockenspiel Daxophone celesta toy piano cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity harmonium
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:instrument resource:harmonium . ?l rdf:type ontology:common_name } } . FILTER ( ?q < ?r ) }
[]