Simple Question (Direct)
Simple Question
Q5542752
P1412
Q34770
USER
Which language is George N. Dale capable of writing ?
(Q5542752,P1412,c(Q34770))
action filter_type
action find
entity Q5542752
relation P1412
type Q34770
['Q5542752', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q5542752 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
George N. Dale
action filter_type
action find
entity George N. Dale
relation languages spoken, written or signed
type language
['George N. Dale', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:George_N._Dale property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5542752,P1412,c(Q34770))
action filter_type
action find
entity Q5542752
relation P1412
type Q34770
[ANSWER] is George N. Dale capable of writing
['Q5542752', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q5542752 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
English is George N. Dale capable of writing
English
action filter_type
action find
entity George N. Dale
relation languages spoken, written or signed
type language
['George N. Dale', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:George_N._Dale property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5542752
P39
Q12737077
USER
Which occupation was a position occupied by George N. Dale ?
(Q5542752,P39,c(Q12737077))
action filter_type
action find
entity Q5542752
relation P39
type Q12737077
['Q5542752', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5542752 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
George N. Dale
action filter_type
action find
entity George N. Dale
relation position held
type occupation
['George N. Dale', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:George_N._Dale property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q17484018
SYSTEM
member of the Vermont House of Representatives
Q17484018
(Q5542752,P39,c(Q12737077))
action filter_type
action find
entity Q5542752
relation P39
type Q12737077
A [ANSWER] was a position occupied by George N. Dale
['Q5542752', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5542752 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the Vermont House of Representatives
A member of the Vermont House of Representatives was a position occupied by George N. Dale
member of the Vermont House of Representatives
action filter_type
action find
entity George N. Dale
relation position held
type occupation
['George N. Dale', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:George_N._Dale property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17484018 Q377355
P39
Q502895
USER
Was Louise Dimanche responsible for occupying the position of that occupation ?
(Q377355,P39,Q17484018)
action is_in
entity Q377355
action find
entity Q17484018
relation P39
['Q377355', 'P39', 'Q17484018']
ASK WHERE { resource:Q17484018 property:P39 resource:Q377355 }
member of the Vermont House of Representatives Louise Dimanche
action is_in
entity Louise Dimanche
action find
entity member of the Vermont House of Representatives
relation position held
['Louise Dimanche', 'position held', 'member of the Vermont House of Representatives']
ASK WHERE { resource:member_of_the_Vermont_House_of_Representatives property:position_held resource:Louise_Dimanche }
[]
common name
SYSTEM
NO
(Q377355,P39,Q17484018)
action is_in
entity Q377355
action find
entity Q17484018
relation P39
[ANSWER]
['Q377355', 'P39', 'Q17484018']
ASK WHERE { resource:Q17484018 property:P39 resource:Q377355 }
No
action is_in
entity Louise Dimanche
action find
entity member of the Vermont House of Representatives
relation position held
['Louise Dimanche', 'position held', 'member of the Vermont House of Representatives']
ASK WHERE { resource:member_of_the_Vermont_House_of_Representatives property:position_held resource:Louise_Dimanche }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a part of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?z }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:classification_scheme . resource:English property:part_of ?z }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
Are [ANSWERS] are English a part of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?z }
Anglic languages Anglo-Frisian languages
Are Anglic languages and Anglo-Frisian languages are English a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:classification_scheme . resource:English property:part_of ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3114402
Q5962346
USER
And how about Zuruahá language?
(Q3114402,P361,c(Q5962346))
action filter_type
action find
entity Q3114402
relation P361
type Q5962346
['Q3114402', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?n WHERE { resource:Q3114402 property:P361 ?n . ?n rdf:type ontology:Q5962346 }
Zuruahá language
action filter_type
action find
entity Zuruahá language
relation part of
type classification scheme
['Zuruahá language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?n WHERE { resource:Zuruahá_language property:part_of ?n . ?n rdf:type ontology:classification_scheme }
[]
classification scheme
Q626772
SYSTEM
Arawan languages
Q626772
(Q3114402,P361,c(Q5962346))
action filter_type
action find
entity Q3114402
relation P361
type Q5962346
[ANSWER]
['Q3114402', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?n WHERE { resource:Q3114402 property:P361 ?n . ?n rdf:type ontology:Q5962346 }
Arawan languages
Arawan languages
action filter_type
action find
entity Zuruahá language
relation part of
type classification scheme
['Zuruahá language', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?n WHERE { resource:Zuruahá_language property:part_of ?n . ?n rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1141901
P520
Q153556 Q15142889 Q5962346
USER
Which classification schemes are armed with around the same number of ranged weapons or weapon families as Gotland-class submarine ?
(c(Q5962346),P520,c(Q153556)|c(Q15142889))
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action count
action filter_multi_types
action find
entity Q1141901
relation P520
type Q153556
type Q15142889
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q153556'}, {'concept': 'Q15142889'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?q ) WHERE { { ?u property:P520 ?s . ?u rdf:type ontology:Q5962346 . ?s rdf:type ontology:Q153556 } UNION { ?u property:P520 ?s . ?u rdf:type ontology:Q5962346 . ?s rdf:type ontology:Q15142889 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:Q153556 } UNION { ?v rdf:type ontology:Q15142889 } } . resource:Q1141901 property:P520 ?v } } . FILTER ( ?q = ?a ) }
Gotland-class submarine
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action count
action filter_multi_types
action find
entity Gotland-class submarine
relation armament
type ranged weapon
type weapon family
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'ranged weapon'}, {'concept': 'weapon family'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?q ) WHERE { { ?u property:armament ?s . ?u rdf:type ontology:classification_scheme . ?s rdf:type ontology:ranged_weapon } UNION { ?u property:armament ?s . ?u rdf:type ontology:classification_scheme . ?s rdf:type ontology:weapon_family } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:ranged_weapon } UNION { ?v rdf:type ontology:weapon_family } } . resource:Gotland-class_submarine property:armament ?v } } . FILTER ( ?q = ?a ) }
[]
ranged weapon weapon family classification scheme
Q911728 Q663037 Q1541289
SYSTEM
Victor III class submarine, Alfa-class submarine, Västergötland-class submarine
Q1541289 Q1141901 Q911728 Q663037 Q2117340
(c(Q5962346),P520,c(Q153556)|c(Q15142889))
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action count
action filter_multi_types
action find
entity Q1141901
relation P520
type Q153556
type Q15142889
[ANSWERS] are armed with around the same number of ranged weapons or weapon families as Gotland-class submarine
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q153556'}, {'concept': 'Q15142889'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?q ) WHERE { { ?u property:P520 ?s . ?u rdf:type ontology:Q5962346 . ?s rdf:type ontology:Q153556 } UNION { ?u property:P520 ?s . ?u rdf:type ontology:Q5962346 . ?s rdf:type ontology:Q15142889 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:Q153556 } UNION { ?v rdf:type ontology:Q15142889 } } . resource:Q1141901 property:P520 ?v } } . FILTER ( ?q = ?a ) }
Västergötland-class submarine Gotland-class submarine Victor III class submarine Alfa-class submarine Södermanland-class submarine
Victor III class submarine, Alfa-class submarine and Västergötland-class submarine are armed with around the same number of ranged weapons or weapon families as Gotland-class submarine
Victor III class submarine Alfa-class submarine Västergötland-class submarine
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action count
action filter_multi_types
action find
entity Gotland-class submarine
relation armament
type ranged weapon
type weapon family
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'ranged weapon'}, {'concept': 'weapon family'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?q ) WHERE { { ?u property:armament ?s . ?u rdf:type ontology:classification_scheme . ?s rdf:type ontology:ranged_weapon } UNION { ?u property:armament ?s . ?u rdf:type ontology:classification_scheme . ?s rdf:type ontology:weapon_family } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:ranged_weapon } UNION { ?v rdf:type ontology:weapon_family } } . resource:Gotland-class_submarine property:armament ?v } } . FILTER ( ?q = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q911728
P520
Q153556 Q15142889 Q5962346
USER
And what about Victor III class submarine?
(c(Q5962346),P520,c(Q153556)|c(Q15142889))
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action count
action filter_multi_types
action find
entity Q911728
relation P520
type Q153556
type Q15142889
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q153556'}, {'concept': 'Q15142889'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { { ?j property:P520 ?r . ?j rdf:type ontology:Q5962346 . ?r rdf:type ontology:Q153556 } UNION { ?j property:P520 ?r . ?j rdf:type ontology:Q5962346 . ?r rdf:type ontology:Q15142889 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q911728 property:P520 ?a . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q153556 ) ( ontology:Q15142889 ) } } } } . FILTER ( ?w = ?s ) }
Victor III class submarine
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action count
action filter_multi_types
action find
entity Victor III class submarine
relation armament
type ranged weapon
type weapon family
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'ranged weapon'}, {'concept': 'weapon family'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { { ?j property:armament ?r . ?j rdf:type ontology:classification_scheme . ?r rdf:type ontology:ranged_weapon } UNION { ?j property:armament ?r . ?j rdf:type ontology:classification_scheme . ?r rdf:type ontology:weapon_family } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Victor_III_class_submarine property:armament ?a . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:ranged_weapon ) ( ontology:weapon_family ) } } } } . FILTER ( ?w = ?s ) }
[]
ranged weapon weapon family classification scheme
Q911728 Q663037 Q1541289
SYSTEM
Victor III class submarine, Alfa-class submarine, Västergötland-class submarine
Q1541289 Q1141901 Q911728 Q663037 Q2117340
(c(Q5962346),P520,c(Q153556)|c(Q15142889))
action approx
action union
action find_tuple_counts
relation P520
type Q5962346
type Q153556
action find_tuple_counts
relation P520
type Q5962346
type Q15142889
action count
action filter_multi_types
action find
entity Q911728
relation P520
type Q153556
type Q15142889
[ANSWERS]
[{'concept': 'Q5962346'}, 'P520', [{'concept': 'Q153556'}, {'concept': 'Q15142889'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { { ?j property:P520 ?r . ?j rdf:type ontology:Q5962346 . ?r rdf:type ontology:Q153556 } UNION { ?j property:P520 ?r . ?j rdf:type ontology:Q5962346 . ?r rdf:type ontology:Q15142889 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Q911728 property:P520 ?a . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:Q153556 ) ( ontology:Q15142889 ) } } } } . FILTER ( ?w = ?s ) }
Västergötland-class submarine Gotland-class submarine Victor III class submarine Alfa-class submarine Södermanland-class submarine
Victor III class submarine Alfa-class submarine Västergötland-class submarine
action approx
action union
action find_tuple_counts
relation armament
type classification scheme
type ranged weapon
action find_tuple_counts
relation armament
type classification scheme
type weapon family
action count
action filter_multi_types
action find
entity Victor III class submarine
relation armament
type ranged weapon
type weapon family
[{'concept': 'classification scheme'}, 'armament', [{'concept': 'ranged weapon'}, {'concept': 'weapon family'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?w ) WHERE { { ?j property:armament ?r . ?j rdf:type ontology:classification_scheme . ?r rdf:type ontology:ranged_weapon } UNION { ?j property:armament ?r . ?j rdf:type ontology:classification_scheme . ?r rdf:type ontology:weapon_family } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { resource:Victor_III_class_submarine property:armament ?a . { ?a rdf:type ?p . VALUES ( ?p ) { ( ontology:ranged_weapon ) ( ontology:weapon_family ) } } } } . FILTER ( ?w = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16970921 Q17484018
P1001
Q852446
USER
Which US administrative territories come under the jurisdiction of member of the Vermont House of Representatives or New York state election, 1917 ?
OR((Q17484018,P1001,c(Q852446)), (Q16970921,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q17484018
relation P1001
action find
entity Q16970921
relation P1001
type Q852446
{'OR': [['Q17484018', 'P1001', {'concept': 'Q852446'}], ['Q16970921', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q17484018 property:P1001 ?t } UNION { resource:Q16970921 property:P1001 ?t } } . ?t rdf:type ontology:Q852446 }
New York state election, 1917 member of the Vermont House of Representatives
action filter_type
action union
action find
entity member of the Vermont House of Representatives
relation applies to jurisdiction
action find
entity New York state election, 1917
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['member of the Vermont House of Representatives', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['New York state election, 1917', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?t WHERE { { { resource:member_of_the_Vermont_House_of_Representatives property:applies_to_jurisdiction ?t } UNION { resource:New_York_state_election,_1917 property:applies_to_jurisdiction ?t } } . ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q16551 Q1384
SYSTEM
Vermont, New York
Q16551 Q1384
OR((Q17484018,P1001,c(Q852446)), (Q16970921,P1001,c(Q852446)))
action filter_type
action union
action find
entity Q17484018
relation P1001
action find
entity Q16970921
relation P1001
type Q852446
[ANSWERS] come under the jurisdiction of member of the Vermont House of Representatives or New York state election, 1917
{'OR': [['Q17484018', 'P1001', {'concept': 'Q852446'}], ['Q16970921', 'P1001', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q17484018 property:P1001 ?t } UNION { resource:Q16970921 property:P1001 ?t } } . ?t rdf:type ontology:Q852446 }
Vermont New York
Vermont and New York come under the jurisdiction of member of the Vermont House of Representatives or New York state election, 1917
Vermont New York
action filter_type
action union
action find
entity member of the Vermont House of Representatives
relation applies to jurisdiction
action find
entity New York state election, 1917
relation applies to jurisdiction
type administrative territorial entity of the United States
{'OR': [['member of the Vermont House of Representatives', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['New York state election, 1917', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?t WHERE { { { resource:member_of_the_Vermont_House_of_Representatives property:applies_to_jurisdiction ?t } UNION { resource:New_York_state_election,_1917 property:applies_to_jurisdiction ?t } } . ?t rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q5962346 Q2088357 Q2031291
USER
Which classification schemes can be considered as category for atmost 2 musical ensembles or releases ?
(c(Q2088357)|c(Q2031291),P136,c(Q5962346))
action atmost
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2031291
value 2
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:Q2088357 . ?j rdf:type ontology:Q5962346 . ?m property:P136 ?j } UNION { ?m property:P136 ?j . ?j rdf:type ontology:Q5962346 . ?m rdf:type ontology:Q2031291 } } GROUP BY ?j } }
action atmost
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action find_reverse_tuple_counts
relation genre
type classification scheme
type release
value 2
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:musical_ensemble . ?j rdf:type ontology:classification_scheme . ?m property:genre ?j } UNION { ?m property:genre ?j . ?j rdf:type ontology:classification_scheme . ?m rdf:type ontology:release } } GROUP BY ?j } }
[]
classification scheme musical ensemble release
Q380313 Q161272 Q349479
SYSTEM
archival science, social psychology, building industry
Q968679 Q5227671 Q18336 Q21188110 Q1153495 Q4949058 Q1107 Q581714 Q1273568 Q281111 Q338632 Q336181 Q216545 Q7724161 Q16894224 Q3546572 Q47307 Q5434357 Q3421644 Q1366112 Q861402 Q29197 Q23745 Q188504 Q380313 Q20267837 Q7696995 Q4382232 Q1407245 Q4922471 Q17113138 Q5465514 Q23739 Q204698 Q2290276 Q161272 Q20220309 Q6546170 Q4765080 Q349479 Q336059 Q179805 Q47555 Q288608 Q2091526 Q7603925 Q1457145 Q12322867 Q1962634 Q399811 Q775344 Q6022825 Q482612 Q182415 Q21232614 Q3951815 Q20652466 Q1413406 Q178840 Q1924856 Q986699 Q5428822 Q7988576
(c(Q2088357)|c(Q2031291),P136,c(Q5962346))
action atmost
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2031291
value 2
[ANSWERS] can be considered as category for atmost 2 musical ensembles or releases
[[{'concept': 'Q2088357'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:Q2088357 . ?j rdf:type ontology:Q5962346 . ?m property:P136 ?j } UNION { ?m property:P136 ?j . ?j rdf:type ontology:Q5962346 . ?m rdf:type ontology:Q2031291 } } GROUP BY ?j } }
Terza rima dating game show heraldry American television sitcom configuration management bottle episode anime animated series children's television series Ghazal documentary soap opera variety show Christian theology teleserial sports program tabloid talk show genealogy fantasy television reality show television drama educational television season premiere telenovela alternative medicine archival science historical television series television comedy procedural drama television show black sitcom teen sitcom food reality television soap opera limerick season finale social psychology horror television series light entertainment animated sitcom building industry science fiction political philosophy political economy Scripted Reality medical drama television documentary cooking show crime television news television series Japanese television drama teen drama Indian soap opera Korean drama reality television reality television series sceneggiato black comedy television program technical documentation television series about families metal construction late-night talk show factual television television western
Archival science, social psychology and building industry can be considered as category for atmost 2 musical ensembles or releases
archival science social psychology building industry
action atmost
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action find_reverse_tuple_counts
relation genre
type classification scheme
type release
value 2
[[{'concept': 'musical ensemble'}, {'concept': 'release'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?c <= 2 ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?c ) WHERE { { ?m rdf:type ontology:musical_ensemble . ?j rdf:type ontology:classification_scheme . ?m property:genre ?j } UNION { ?m property:genre ?j . ?j rdf:type ontology:classification_scheme . ?m rdf:type ontology:release } } GROUP BY ?j } }
[]