Simple Question (Direct)
Simple Question
Q4959286
P22
Q502895
USER
Which person was the father of Line Knutzon ?
(Q4959286,P22,c(Q502895))
action filter_type
action find
entity Q4959286
relation P22
type Q502895
['Q4959286', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q4959286 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Line Knutzon
action filter_type
action find
entity Line Knutzon
relation father
type common name
['Line Knutzon', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Line_Knutzon property:father ?g . ?g rdf:type ontology:common_name }
[]
common name
Q2756267
SYSTEM
Lars Knutzon
Q2756267
(Q4959286,P22,c(Q502895))
action filter_type
action find
entity Q4959286
relation P22
type Q502895
The [ANSWER] was the father of Line Knutzon
['Q4959286', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q4959286 property:P22 ?g . ?g rdf:type ontology:Q502895 }
Lars Knutzon
The Lars Knutzon was the father of Line Knutzon
Lars Knutzon
action filter_type
action find
entity Line Knutzon
relation father
type common name
['Line Knutzon', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Line_Knutzon property:father ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4959286
P21
Q290
USER
What is the sex of Line Knutzon ?
(Q4959286,P21,c(Q290))
action filter_type
action find
entity Q4959286
relation P21
type Q290
['Q4959286', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q4959286 property:P21 ?w }
Line Knutzon
action filter_type
action find
entity Line Knutzon
relation gender
type sex
['Line Knutzon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Line_Knutzon property:gender ?w }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4959286,P21,c(Q290))
action filter_type
action find
entity Q4959286
relation P21
type Q290
The sex of Line Knutzon is the [ANSWER]
['Q4959286', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q4959286 property:P21 ?w }
female
The sex of Line Knutzon is the female
female
action filter_type
action find
entity Line Knutzon
relation gender
type sex
['Line Knutzon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Line_Knutzon property:gender ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6490633 Q4959286
P19
Q56061
USER
Which administrative territories were Line Knutzon or Larry Kirwan born at ?
OR((Q4959286,P19,c(Q56061)), (Q6490633,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4959286
relation P19
action find
entity Q6490633
relation P19
type Q56061
{'OR': [['Q4959286', 'P19', {'concept': 'Q56061'}], ['Q6490633', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . { VALUES ( ?l ) { ( resource:Q4959286 ) ( resource:Q6490633 ) } . ?l property:P19 ?z } }
Larry Kirwan Line Knutzon
action filter_type
action union
action find
entity Line Knutzon
relation place of birth
action find
entity Larry Kirwan
relation place of birth
type administrative territorial entity
{'OR': [['Line Knutzon', 'place of birth', {'concept': 'administrative territorial entity'}], ['Larry Kirwan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . { VALUES ( ?l ) { ( resource:Line_Knutzon ) ( resource:Larry_Kirwan ) } . ?l property:place_of_birth ?z } }
[]
administrative territorial entity
Q209126 Q25331
SYSTEM
Wexford, Odense
Q209126 Q25331
OR((Q4959286,P19,c(Q56061)), (Q6490633,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4959286
relation P19
action find
entity Q6490633
relation P19
type Q56061
Line Knutzon or Larry Kirwan were born in [ANSWERS]
{'OR': [['Q4959286', 'P19', {'concept': 'Q56061'}], ['Q6490633', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q56061 . { VALUES ( ?l ) { ( resource:Q4959286 ) ( resource:Q6490633 ) } . ?l property:P19 ?z } }
Wexford Odense
Line Knutzon or Larry Kirwan were born in Wexford and Odense
Wexford Odense
action filter_type
action union
action find
entity Line Knutzon
relation place of birth
action find
entity Larry Kirwan
relation place of birth
type administrative territorial entity
{'OR': [['Line Knutzon', 'place of birth', {'concept': 'administrative territorial entity'}], ['Larry Kirwan', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity . { VALUES ( ?l ) { ( resource:Line_Knutzon ) ( resource:Larry_Kirwan ) } . ?l property:place_of_birth ?z } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9078312 Q6490633
P27
Q15617994
USER
Which administrative territories are Larry Kirwan or Yu Lele an inhabitant of ?
OR((Q6490633,P27,c(Q15617994)), (Q9078312,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6490633
relation P27
action find
entity Q9078312
relation P27
type Q15617994
{'OR': [['Q6490633', 'P27', {'concept': 'Q15617994'}], ['Q9078312', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6490633 property:P27 ?p } UNION { resource:Q9078312 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Yu Lele Larry Kirwan
action filter_type
action union
action find
entity Larry Kirwan
relation country of citizenship
action find
entity Yu Lele
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Larry Kirwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yu Lele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Larry_Kirwan property:country_of_citizenship ?p } UNION { resource:Yu_Lele property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q27
SYSTEM
People's Republic of China, Ireland
Q148 Q27
OR((Q6490633,P27,c(Q15617994)), (Q9078312,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6490633
relation P27
action find
entity Q9078312
relation P27
type Q15617994
[ANSWERS] are Larry Kirwan or Yu Lele an inhabitant of
{'OR': [['Q6490633', 'P27', {'concept': 'Q15617994'}], ['Q9078312', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q6490633 property:P27 ?p } UNION { resource:Q9078312 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
People's Republic of China Ireland
People's Republic of China and Ireland are Larry Kirwan or Yu Lele an inhabitant of
People's Republic of China Ireland
action filter_type
action union
action find
entity Larry Kirwan
relation country of citizenship
action find
entity Yu Lele
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Larry Kirwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yu Lele', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Larry_Kirwan property:country_of_citizenship ?p } UNION { resource:Yu_Lele property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10655889 Q6490633
P27 P495
Q15617994
USER
Which administrative territories do Larry Kirwan belong to or are the countries of origin of Ritsch, ratsch, filibom ?
OR((Q6490633,P27,c(Q15617994)), (Q10655889,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6490633
relation P27
action find
entity Q10655889
relation P495
type Q15617994
{'OR': [['Q6490633', 'P27', {'concept': 'Q15617994'}], ['Q10655889', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q6490633 property:P27 ?k } UNION { resource:Q10655889 property:P495 ?k } } }
Ritsch, ratsch, filibom Larry Kirwan
action filter_type
action union
action find
entity Larry Kirwan
relation country of citizenship
action find
entity Ritsch, ratsch, filibom
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Larry Kirwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ritsch, ratsch, filibom', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Larry_Kirwan property:country_of_citizenship ?k } UNION { resource:Ritsch,_ratsch,_filibom property:country_of_origin ?k } } }
[]
designation for an administrative territorial entity
Q27 Q34
SYSTEM
Ireland, Sweden
Q27 Q34
OR((Q6490633,P27,c(Q15617994)), (Q10655889,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6490633
relation P27
action find
entity Q10655889
relation P495
type Q15617994
[ANSWERS] Larry Kirwan belong to or are the countries of origin of Ritsch , ratsch , filibom
{'OR': [['Q6490633', 'P27', {'concept': 'Q15617994'}], ['Q10655889', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q6490633 property:P27 ?k } UNION { resource:Q10655889 property:P495 ?k } } }
Ireland Sweden
Ireland and Sweden Larry Kirwan belong to or are the countries of origin of Ritsch , ratsch , filibom
Ireland Sweden
action filter_type
action union
action find
entity Larry Kirwan
relation country of citizenship
action find
entity Ritsch, ratsch, filibom
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Larry Kirwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ritsch, ratsch, filibom', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Larry_Kirwan property:country_of_citizenship ?k } UNION { resource:Ritsch,_ratsch,_filibom property:country_of_origin ?k } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3135253
P495
Q838948
USER
Are those administrative territories a country of origin of Hideaways ?
(Q3135253,P495,Q27) (Q3135253,P495,Q34)
action is_in
entity prev_answer
action find
entity Q3135253
relation P495
['Q3135253', 'P495', 'Q27'] ['Q3135253', 'P495', 'Q34']
ASK WHERE { VALUES ( ?q ) { ( resource:Q27 ) ( resource:Q34 ) } . resource:Q3135253 property:P495 ?q }
Hideaways
action is_in
entity prev_answer
action find
entity Hideaways
relation country of origin
['Hideaways', 'country of origin', 'Ireland'] ['Hideaways', 'country of origin', 'Sweden']
ASK WHERE { VALUES ( ?q ) { ( resource:Ireland ) ( resource:Sweden ) } . resource:Hideaways property:country_of_origin ?q }
[]
work of art
SYSTEM
YES
(Q3135253,P495,Q27) (Q3135253,P495,Q34)
action is_in
entity prev_answer
action find
entity Q3135253
relation P495
[ANSWER]
['Q3135253', 'P495', 'Q27'] ['Q3135253', 'P495', 'Q34']
ASK WHERE { VALUES ( ?q ) { ( resource:Q27 ) ( resource:Q34 ) } . resource:Q3135253 property:P495 ?q }
Yes
action is_in
entity prev_answer
action find
entity Hideaways
relation country of origin
['Hideaways', 'country of origin', 'Ireland'] ['Hideaways', 'country of origin', 'Sweden']
ASK WHERE { VALUES ( ?q ) { ( resource:Ireland ) ( resource:Sweden ) } . resource:Hideaways property:country_of_origin ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2756267 Q1900753 Q35
P27
Q1048835
USER
Is Lars Knutzon a native of Massalcoreig and Denmark ?
(Q2756267,P27,Q1900753) (Q2756267,P27,Q35)
action is_in
entity Q2756267
action intersection
action find_reverse
entity Q1900753
relation P27
action find_reverse
entity Q35
relation P27
['Q2756267', 'P27', 'Q1900753'] ['Q2756267', 'P27', 'Q35']
ASK WHERE { resource:Q2756267 property:P27 resource:Q35 . resource:Q2756267 property:P27 resource:Q1900753 }
Lars Knutzon Massalcoreig Denmark
action is_in
entity Lars Knutzon
action intersection
action find_reverse
entity Massalcoreig
relation country of citizenship
action find_reverse
entity Denmark
relation country of citizenship
['Lars Knutzon', 'country of citizenship', 'Massalcoreig'] ['Lars Knutzon', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Lars_Knutzon property:country_of_citizenship resource:Denmark . resource:Lars_Knutzon property:country_of_citizenship resource:Massalcoreig }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2756267,P27,Q1900753) (Q2756267,P27,Q35)
action is_in
entity Q2756267
action intersection
action find_reverse
entity Q1900753
relation P27
action find_reverse
entity Q35
relation P27
[ANSWER]
['Q2756267', 'P27', 'Q1900753'] ['Q2756267', 'P27', 'Q35']
ASK WHERE { resource:Q2756267 property:P27 resource:Q35 . resource:Q2756267 property:P27 resource:Q1900753 }
NO and YES respectively
action is_in
entity Lars Knutzon
action intersection
action find_reverse
entity Massalcoreig
relation country of citizenship
action find_reverse
entity Denmark
relation country of citizenship
['Lars Knutzon', 'country of citizenship', 'Massalcoreig'] ['Lars Knutzon', 'country of citizenship', 'Denmark']
ASK WHERE { resource:Lars_Knutzon property:country_of_citizenship resource:Denmark . resource:Lars_Knutzon property:country_of_citizenship resource:Massalcoreig }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3284859 Q3135253
P495
Q15617994
USER
Which administrative territories did Hideaways or Douro, Faina Fluvial originate ?
OR((Q3135253,P495,c(Q15617994)), (Q3284859,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3135253
relation P495
action find
entity Q3284859
relation P495
type Q15617994
{'OR': [['Q3135253', 'P495', {'concept': 'Q15617994'}], ['Q3284859', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:P495 ?e . VALUES ( ?p ) { ( resource:Q3135253 ) ( resource:Q3284859 ) } } . ?e rdf:type ontology:Q15617994 }
Douro, Faina Fluvial Hideaways
action filter_type
action union
action find
entity Hideaways
relation country of origin
action find
entity Douro, Faina Fluvial
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Hideaways', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Douro, Faina Fluvial', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:country_of_origin ?e . VALUES ( ?p ) { ( resource:Hideaways ) ( resource:Douro,_Faina_Fluvial ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q45 Q34 Q27
SYSTEM
France, Portugal, Sweden, Ireland
Q142 Q45 Q34 Q27
OR((Q3135253,P495,c(Q15617994)), (Q3284859,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q3135253
relation P495
action find
entity Q3284859
relation P495
type Q15617994
Hideaways or Douro , Faina Fluvial originated in [ANSWERS]
{'OR': [['Q3135253', 'P495', {'concept': 'Q15617994'}], ['Q3284859', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:P495 ?e . VALUES ( ?p ) { ( resource:Q3135253 ) ( resource:Q3284859 ) } } . ?e rdf:type ontology:Q15617994 }
France Portugal Sweden Ireland
Hideaways or Douro , Faina Fluvial originated in France, Portugal, Sweden and Ireland
France Portugal Sweden Ireland
action filter_type
action union
action find
entity Hideaways
relation country of origin
action find
entity Douro, Faina Fluvial
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Hideaways', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Douro, Faina Fluvial', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?p property:country_of_origin ?e . VALUES ( ?p ) { ( resource:Hideaways ) ( resource:Douro,_Faina_Fluvial ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2741803 Q6490633
P136
Q151885
USER
Which concepts can be considered as category for Larry Kirwan or Richard Lederer ?
OR((Q6490633,P136,c(Q151885)), (Q2741803,P136,c(Q151885)))
action filter_type
action union
action find
entity Q6490633
relation P136
action find
entity Q2741803
relation P136
type Q151885
{'OR': [['Q6490633', 'P136', {'concept': 'Q151885'}], ['Q2741803', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:P136 ?r . VALUES ( ?q ) { ( resource:Q6490633 ) ( resource:Q2741803 ) } } . ?r rdf:type ontology:Q151885 }
Richard Lederer Larry Kirwan
action filter_type
action union
action find
entity Larry Kirwan
relation genre
action find
entity Richard Lederer
relation genre
type concept
{'OR': [['Larry Kirwan', 'genre', {'concept': 'concept'}], ['Richard Lederer', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:genre ?r . VALUES ( ?q ) { ( resource:Larry_Kirwan ) ( resource:Richard_Lederer ) } } . ?r rdf:type ontology:concept }
[]
concept
Q3071 Q756956
SYSTEM
punk rock, dark ambient
Q3071 Q756956
OR((Q6490633,P136,c(Q151885)), (Q2741803,P136,c(Q151885)))
action filter_type
action union
action find
entity Q6490633
relation P136
action find
entity Q2741803
relation P136
type Q151885
And [ANSWERS] can be considered as category for Larry Kirwan or Richard Lederer
{'OR': [['Q6490633', 'P136', {'concept': 'Q151885'}], ['Q2741803', 'P136', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:P136 ?r . VALUES ( ?q ) { ( resource:Q6490633 ) ( resource:Q2741803 ) } } . ?r rdf:type ontology:Q151885 }
punk rock dark ambient
And punk rock and dark ambient can be considered as category for Larry Kirwan or Richard Lederer
punk rock dark ambient
action filter_type
action union
action find
entity Larry Kirwan
relation genre
action find
entity Richard Lederer
relation genre
type concept
{'OR': [['Larry Kirwan', 'genre', {'concept': 'concept'}], ['Richard Lederer', 'genre', {'concept': 'concept'}]]}
SELECT DISTINCT ?r WHERE { { ?q property:genre ?r . VALUES ( ?q ) { ( resource:Larry_Kirwan ) ( resource:Richard_Lederer ) } } . ?r rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P136
Q151885 Q2031291 Q838948
USER
Which concepts can be considered as category for max number of releases and works of art ?
(c(Q2031291)|c(Q838948),P136,c(Q151885))
action argmax
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } . ?b rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } GROUP BY ?p } } }
action argmax
action union
action find_reverse_tuple_counts
relation genre
type concept
type release
action find_reverse_tuple_counts
relation genre
type concept
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:release ) ( ontology:work_of_art ) } . ?b rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:release ) ( ontology:work_of_art ) } } GROUP BY ?p } } }
[]
concept release work of art
Q131578
SYSTEM
J-pop
Q131578
(c(Q2031291)|c(Q838948),P136,c(Q151885))
action argmax
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2031291
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
[ANSWER] can be considered as category for max number of releases and works of art
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } . ?b rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } } GROUP BY ?p } } }
J-pop
J-pop can be considered as category for max number of releases and works of art
J-pop
action argmax
action union
action find_reverse_tuple_counts
relation genre
type concept
type release
action find_reverse_tuple_counts
relation genre
type concept
type work of art
[[{'concept': 'release'}, {'concept': 'work of art'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?z = ?u ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?y WHERE { VALUES ( ?o ) { ( ontology:release ) ( ontology:work_of_art ) } . ?b rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( MAX ( ?s ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) ?p WHERE { ?g rdf:type ?h . VALUES ( ?h ) { ( ontology:release ) ( ontology:work_of_art ) } } GROUP BY ?p } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1558632
P36
Q56061 Q20667921 Q15617994
USER
Which administrative territories consists of less number of administrative territories and french administrative divisions as their capital than Rome ?
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q1558632
relation P36
type Q56061
type Q20667921
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q1558632 property:P36 ?u . { { ?u rdf:type ontology:Q56061 } UNION { ?u rdf:type ontology:Q20667921 } } } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { { ?c property:P36 ?n . ?n rdf:type ontology:Q56061 . ?c rdf:type ontology:Q15617994 } UNION { ?c property:P36 ?n . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q20667921 } } GROUP BY ?c } }
Rome
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Rome
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Rome property:capital ?u . { { ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { { ?c property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:capital ?n . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?c } }
[]
administrative territorial entity type of french administrative division designation for an administrative territorial entity
Q347 Q218 Q1011
SYSTEM
Liechtenstein, Romania, Cape Verde
Q2991354 Q414 Q1111401 Q504637 Q399 Q2466631 Q2527360 Q699731 Q1742192 Q4464924 Q2344966 Q739 Q733 Q736 Q16628524 Q1284 Q1443 Q843 Q2007 Q541811 Q1458 Q14551680 Q1050 Q12717 Q298 Q115 Q114 Q21296012 Q541589 Q1961264 Q696651 Q948 Q731547 Q1268811 Q702 Q709 Q833 Q2093388 Q290739 Q790 Q598193 Q796 Q794 Q889 Q884 Q1452646 Q881 Q1508919 Q541095 Q5613245 Q280312 Q3118738 Q686312 Q1037 Q1030 Q697 Q2039306 Q662056 Q30831 Q694594 Q874 Q878 Q46130 Q3044714 Q1951 Q2236821 Q4854468 Q492437 Q389004 Q492430 Q9073753 Q711 Q717 Q1090678 Q19786899 Q2348751 Q1948 Q511365 Q1270568 Q27 Q34762 Q793437 Q225 Q47261 Q347 Q580447 Q10957559 Q965 Q962 Q963 Q2344833 Q1008 Q2039314 Q72670 Q568751 Q2150573 Q474421 Q3342 Q842 Q4712 Q928 Q851 Q224 Q222 Q691265 Q313175 Q2996404 Q228 Q3462133 Q3846423 Q3207 Q176 Q212 Q211 Q218 Q161258 Q4496152 Q3514973 Q974 Q1234961 Q1222 Q1019 Q1011 Q5192588 Q672
(c(Q15617994),P36,c(Q56061)|c(Q20667921))
action less
action union
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q1558632
relation P36
type Q56061
type Q20667921
[ANSWERS] consist of less number of administrative territories and french administrative divisions as their capital than Rome
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q1558632 property:P36 ?u . { { ?u rdf:type ontology:Q56061 } UNION { ?u rdf:type ontology:Q20667921 } } } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { { ?c property:P36 ?n . ?n rdf:type ontology:Q56061 . ?c rdf:type ontology:Q15617994 } UNION { ?c property:P36 ?n . ?c rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q20667921 } } GROUP BY ?c } }
Aquiles Serdán Municipality Argentina Kispest District Alta Verapaz Department Armenia Chiautla de Tapia Municipality Stura Wied King's Lynn and West Norfolk Tugulymsky District Netrokona District Colombia Paraguay Ecuador San Salvador el Verde municipality Abruzzo Molise Pakistan Northwest Territories Ems-Oriental Calabria Principality of Lippe Swaziland Bas-Rhin Chile Ethiopia Kenya Amatitlán Ems-Supérieur Tecámac Municipality Saxe-Eisenach Tunisia Lippe Dyle Federated States of Micronesia Marshall Islands Malaysia Sunamganj District Sesia Haiti Apennins Iraq Iran Afghanistan South Korea Montenotte Vietnam Marengo Rhin-et-Moselle Guadalupe Municipality Principality of Lüneburg Guanentá Province Duchy of Amalfi Rwanda Namibia Nauru Jamalpur District Cushamen Department Red Sea Governorate Bremen-Verden Turkmenistan United Arab Emirates Rhône Ouest Alberta Rhône-et-Loire Bandava Bouches-du-Weser Wallachia Bouches-de-l'Elbe San Vicente Tancuayalab municipality Mongolia Venezuela Sègre Magyaróvár District Kurigram District Manitoba Arvika Municipality Ems Ireland Principality of Bayreuth Bergantiños Bosnia and Herzegovina Duchy of Bavaria Liechtenstein Duchy of Styria Moldavia Burkina Faso Benin Botswana Kishoreganj District Côte d'Ivoire Sherpur District Batumi Oblast Mont-Tonnerre Unterelsaß Principality of Fürstenberg Côte-d'Or Oman Duchy of Burgundy Philippines Saudi Arabia Croatia Albania Mont-Terrible Saxe-Lauenburg Alushta municipality Andorra Saxe-Coburg and Gotha Viesca Municipality Aude Quebec Ukraine Latvia Romania Clipperton Island Khartsyzk Municipality Tanaro Democratic Republic of the Congo Doire Aosta Valley Madagascar Cape Verde Cuenca District, Huancavelica Tuvalu
Liechtenstein, Romania and Cape Verde consist of less number of administrative territories and french administrative divisions as their capital than Rome
Liechtenstein Romania Cape Verde
action less
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Rome
relation capital
type administrative territorial entity
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Rome property:capital ?u . { { ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?k < ?z ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?c WHERE { { ?c property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:capital ?n . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q43287
P27
Q502895
USER
How many people are a native of France and German Empire ?
(c(Q502895),P27,Q142) (c(Q502895),P27,Q43287)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P27
type Q502895
action filter_type
action find_reverse
entity Q43287
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q142'] [{'concept': 'Q502895'}, 'P27', 'Q43287']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:P27 resource:Q142 . ?y rdf:type ontology:Q502895 . ?y property:P27 resource:Q43287 . ?y rdf:type ontology:Q502895 }
France German Empire
action count
action intersection
action filter_type
action find_reverse
entity France
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'France'] [{'concept': 'common name'}, 'country of citizenship', 'German Empire']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:country_of_citizenship resource:France . ?y rdf:type ontology:common_name . ?y property:country_of_citizenship resource:German_Empire . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
15
Q110355 Q1090939 Q21453279 Q121262 Q101282 Q107530 Q105981 Q102268 Q108927 Q109938 Q109561 Q118792 Q4020253 Q1227009 Q103444
(c(Q502895),P27,Q142) (c(Q502895),P27,Q43287)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P27
type Q502895
action filter_type
action find_reverse
entity Q43287
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q142'] [{'concept': 'Q502895'}, 'P27', 'Q43287']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:P27 resource:Q142 . ?y rdf:type ontology:Q502895 . ?y property:P27 resource:Q43287 . ?y rdf:type ontology:Q502895 }
Jules-Dominique Antoine Chéri Maurice Henry Guillaume Schlesinger Édouard Werlé Jean Marie Pierre Colbus Peter Küchly Paul Dupont des Loges Edouard Jaunez Johannes Michael Dellès Joseph Guerber German Mäurer Joseph Eugène Pougnet Willy Sulzbacher Dionysius Will Johann Baptist Mangès
15
action count
action intersection
action filter_type
action find_reverse
entity France
relation country of citizenship
type common name
action filter_type
action find_reverse
entity German Empire
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'France'] [{'concept': 'common name'}, 'country of citizenship', 'German Empire']
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:country_of_citizenship resource:France . ?y rdf:type ontology:common_name . ?y property:country_of_citizenship resource:German_Empire . ?y rdf:type ontology:common_name }
[]