Simple Question (Direct)
Simple Question
Q9014498
P410
Q4189293
USER
Which is the title held by José María Santocildes ?
(Q9014498,P410,c(Q4189293))
action filter_type
action find
entity Q9014498
relation P410
type Q4189293
['Q9014498', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?u WHERE { resource:Q9014498 property:P410 ?u . ?u rdf:type ontology:Q4189293 }
José María Santocildes
action filter_type
action find
entity José María Santocildes
relation military rank
type title
['José María Santocildes', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?u WHERE { resource:José_María_Santocildes property:military_rank ?u . ?u rdf:type ontology:title }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q9014498,P410,c(Q4189293))
action filter_type
action find
entity Q9014498
relation P410
type Q4189293
[ANSWER] is the title held by José María Santocildes
['Q9014498', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?u WHERE { resource:Q9014498 property:P410 ?u . ?u rdf:type ontology:Q4189293 }
general officer
General officer is the title held by José María Santocildes
general officer
action filter_type
action find
entity José María Santocildes
relation military rank
type title
['José María Santocildes', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?u WHERE { resource:José_María_Santocildes property:military_rank ?u . ?u rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9014498
P106
Q12737077
USER
Which occupation has José María Santocildes as his/her 's career ?
(Q9014498,P106,c(Q12737077))
action filter_type
action find
entity Q9014498
relation P106
type Q12737077
['Q9014498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q9014498 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
José María Santocildes
action filter_type
action find
entity José María Santocildes
relation occupation
type occupation
['José María Santocildes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:José_María_Santocildes property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q9014498,P106,c(Q12737077))
action filter_type
action find
entity Q9014498
relation P106
type Q12737077
As [ANSWER] has José María Santocildes as his/her 's career
['Q9014498', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q9014498 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
military personnel
As military personnel has José María Santocildes as his/her 's career
military personnel
action filter_type
action find
entity José María Santocildes
relation occupation
type occupation
['José María Santocildes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:José_María_Santocildes property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9014498
P1412
Q34770
USER
Which language does José María Santocildes speak in ?
(Q9014498,P1412,c(Q34770))
action filter_type
action find
entity Q9014498
relation P1412
type Q34770
['Q9014498', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q9014498 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
José María Santocildes
action filter_type
action find
entity José María Santocildes
relation languages spoken, written or signed
type language
['José María Santocildes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:José_María_Santocildes property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q9014498,P1412,c(Q34770))
action filter_type
action find
entity Q9014498
relation P1412
type Q34770
José María Santocildes speaks in [ANSWER]
['Q9014498', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { resource:Q9014498 property:P1412 ?i . ?i rdf:type ontology:Q34770 }
Spanish
José María Santocildes speaks in Spanish
Spanish
action filter_type
action find
entity José María Santocildes
relation languages spoken, written or signed
type language
['José María Santocildes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { resource:José_María_Santocildes property:languages_spoken,_written_or_signed ?i . ?i rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9014498
P20
Q56061
USER
Which administrative territory is the place of death of José María Santocildes ?
(Q9014498,P20,c(Q56061))
action filter_type
action find
entity Q9014498
relation P20
type Q56061
['Q9014498', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q9014498 property:P20 ?v . ?v rdf:type ontology:Q56061 }
José María Santocildes
action filter_type
action find
entity José María Santocildes
relation place of death
type administrative territorial entity
['José María Santocildes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:José_María_Santocildes property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492
SYSTEM
Barcelona
Q1492
(Q9014498,P20,c(Q56061))
action filter_type
action find
entity Q9014498
relation P20
type Q56061
[ANSWER] is the place of death of José María Santocildes
['Q9014498', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q9014498 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Barcelona
Barcelona is the place of death of José María Santocildes
Barcelona
action filter_type
action find
entity José María Santocildes
relation place of death
type administrative territorial entity
['José María Santocildes', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:José_María_Santocildes property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have their base port as approximately 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:P532 ?j . ?w rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?w } . FILTER ( ?v = 2 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:port_of_registry ?j . ?w rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?v = 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] have their base port as approximately 2 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:P532 ?j . ?w rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?w } . FILTER ( ?v = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste have their base port as approximately 2 administrative territories
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?v ) WHERE { ?w property:port_of_registry ?j . ?w rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?v = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1352725 Q2596850
P176
Q43229
USER
Which organizations are the producer of MS Azura or BIO Hesperides ?
OR((Q2596850,P176,c(Q43229)), (Q1352725,P176,c(Q43229)))
action filter_type
action union
action find
entity Q2596850
relation P176
action find
entity Q1352725
relation P176
type Q43229
{'OR': [['Q2596850', 'P176', {'concept': 'Q43229'}], ['Q1352725', 'P176', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . { { resource:Q2596850 property:P176 ?w } UNION { resource:Q1352725 property:P176 ?w } } }
BIO Hesperides MS Azura
action filter_type
action union
action find
entity MS Azura
relation manufacturer
action find
entity BIO Hesperides
relation manufacturer
type organization
{'OR': [['MS Azura', 'manufacturer', {'concept': 'organization'}], ['BIO Hesperides', 'manufacturer', {'concept': 'organization'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . { { resource:MS_Azura property:manufacturer ?w } UNION { resource:BIO_Hesperides property:manufacturer ?w } } }
[]
organization
Q1327429 Q378849
SYSTEM
Fincantieri, Navantia
Q1327429 Q378849
OR((Q2596850,P176,c(Q43229)), (Q1352725,P176,c(Q43229)))
action filter_type
action union
action find
entity Q2596850
relation P176
action find
entity Q1352725
relation P176
type Q43229
[ANSWERS] are the producer of MS Azura or BIO Hesperides
{'OR': [['Q2596850', 'P176', {'concept': 'Q43229'}], ['Q1352725', 'P176', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q43229 . { { resource:Q2596850 property:P176 ?w } UNION { resource:Q1352725 property:P176 ?w } } }
Fincantieri Navantia
Fincantieri and Navantia are the producer of MS Azura or BIO Hesperides
Fincantieri Navantia
action filter_type
action union
action find
entity MS Azura
relation manufacturer
action find
entity BIO Hesperides
relation manufacturer
type organization
{'OR': [['MS Azura', 'manufacturer', {'concept': 'organization'}], ['BIO Hesperides', 'manufacturer', {'concept': 'organization'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:organization . { { resource:MS_Azura property:manufacturer ?w } UNION { resource:BIO_Hesperides property:manufacturer ?w } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1327429 Q378849
P176
Q5962346
USER
Which classification schemes were manufactured by Fincantieri and Navantia ?
(c(Q5962346),P176,Q1327429) (c(Q5962346),P176,Q378849)
action union
action filter_type
action find_reverse
entity Q1327429
relation P176
type Q5962346
action filter_type
action find_reverse
entity Q378849
relation P176
type Q5962346
[{'concept': 'Q5962346'}, 'P176', 'Q1327429'] [{'concept': 'Q5962346'}, 'P176', 'Q378849']
SELECT DISTINCT ?r WHERE { ?r property:P176 ?v . VALUES ( ?v ) { ( resource:Q1327429 ) ( resource:Q378849 ) } }
Fincantieri Navantia
action union
action filter_type
action find_reverse
entity Fincantieri
relation manufacturer
type classification scheme
action filter_type
action find_reverse
entity Navantia
relation manufacturer
type classification scheme
[{'concept': 'classification scheme'}, 'manufacturer', 'Fincantieri'] [{'concept': 'classification scheme'}, 'manufacturer', 'Navantia']
SELECT DISTINCT ?r WHERE { ?r property:manufacturer ?v . VALUES ( ?v ) { ( resource:Fincantieri ) ( resource:Navantia ) } }
[]
classification scheme
Q2062612 Q2140361 Q2165906
SYSTEM
S1000 class submarines, Sauro-class submarine, Toti-class submarine
Q2165906 Q2140361 Q2062612 Q913332
(c(Q5962346),P176,Q1327429) (c(Q5962346),P176,Q378849)
action union
action filter_type
action find_reverse
entity Q1327429
relation P176
type Q5962346
action filter_type
action find_reverse
entity Q378849
relation P176
type Q5962346
[ANSWERS] were manufactured by Fincantieri and Navantia
[{'concept': 'Q5962346'}, 'P176', 'Q1327429'] [{'concept': 'Q5962346'}, 'P176', 'Q378849']
SELECT DISTINCT ?r WHERE { ?r property:P176 ?v . VALUES ( ?v ) { ( resource:Q1327429 ) ( resource:Q378849 ) } }
Toti-class submarine Sauro-class submarine S1000 class submarines S-80-class submarine
S1000 class submarines, Sauro-class submarine and Toti-class submarine were manufactured by Fincantieri and Navantia
S1000 class submarines Sauro-class submarine Toti-class submarine
action union
action filter_type
action find_reverse
entity Fincantieri
relation manufacturer
type classification scheme
action filter_type
action find_reverse
entity Navantia
relation manufacturer
type classification scheme
[{'concept': 'classification scheme'}, 'manufacturer', 'Fincantieri'] [{'concept': 'classification scheme'}, 'manufacturer', 'Navantia']
SELECT DISTINCT ?r WHERE { ?r property:manufacturer ?v . VALUES ( ?v ) { ( resource:Fincantieri ) ( resource:Navantia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2165906
P289
Q2235308
USER
Which ship type possesses a vessel class called that classification scheme ?
(c(Q2235308),P289,Q2165906)
action filter_type
action find_reverse
entity Q2165906
relation P289
type Q2235308
[{'concept': 'Q2235308'}, 'P289', 'Q2165906']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2235308 . ?j property:P289 resource:Q2165906 }
Toti-class submarine
action filter_type
action find_reverse
entity Toti-class submarine
relation vessel class
type ship type
[{'concept': 'ship type'}, 'vessel class', 'Toti-class submarine']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ship_type . ?j property:vessel_class resource:Toti-class_submarine }
[]
ship type
Clarification for simple ques.
Q2062612
SYSTEM
Did you mean S1000 class submarines ?
Q2062612 Q2140361 Q2165906
(c(Q2235308),P289,Q2062612) (c(Q2235308),P289,Q2140361) (c(Q2235308),P289,Q2165906)
[ANSWER]
[{'concept': 'Q2235308'}, 'P289', 'Q2062612'] [{'concept': 'Q2235308'}, 'P289', 'Q2140361'] [{'concept': 'Q2235308'}, 'P289', 'Q2165906']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2235308 . ?j property:P289 resource:Q2165906 }
S1000 class submarines Sauro-class submarine Toti-class submarine
Did you mean S1000 class submarines ?
S1000 class submarines
[{'concept': 'ship type'}, 'vessel class', 'S1000 class submarines'] [{'concept': 'ship type'}, 'vessel class', 'Sauro-class submarine'] [{'concept': 'ship type'}, 'vessel class', 'Toti-class submarine']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ship_type . ?j property:vessel_class resource:Toti-class_submarine }
[]
Simple Question (Coreferenced)
USER
No, I meant Toti-class submarine. Could you tell me the answer for that?
(c(Q2235308),P289,Q2165906)
Q2165906
[{'concept': 'Q2235308'}, 'P289', 'Q2165906']
[{'concept': 'ship type'}, 'vessel class', 'Toti-class submarine']
[]
Q1056346
SYSTEM
Italian submarine Enrico Toti
Q1056346
(c(Q2235308),P289,Q2165906)
action filter_type
action find_reverse
entity Q2165906
relation P289
type Q2235308
[ANSWER] possesses a vessel class called that classification scheme
[{'concept': 'Q2235308'}, 'P289', 'Q2165906']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2235308 . ?j property:P289 resource:Q2165906 }
Italian submarine Enrico Toti
Italian submarine Enrico Toti possesses a vessel class called that classification scheme
Italian submarine Enrico Toti
action filter_type
action find_reverse
entity Toti-class submarine
relation vessel class
type ship type
[{'concept': 'ship type'}, 'vessel class', 'Toti-class submarine']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ship_type . ?j property:vessel_class resource:Toti-class_submarine }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q874405
USER
How many social groups are named after atleast 1 ship type ?
(c(Q874405),P138,c(Q2235308))
action count
action atleast
action find_tuple_counts
relation P138
type Q874405
type Q2235308
value 1
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?d ) WHERE { ?q property:P138 ?e . ?q rdf:type ontology:Q874405 . ?e rdf:type ontology:Q2235308 } GROUP BY ?q } . FILTER ( ?d >= 1 ) }
action count
action atleast
action find_tuple_counts
relation named after
type social group
type ship type
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?d ) WHERE { ?q property:named_after ?e . ?q rdf:type ontology:social_group . ?e rdf:type ontology:ship_type } GROUP BY ?q } . FILTER ( ?d >= 1 ) }
[]
ship type social group
SYSTEM
1
Q13462819
(c(Q874405),P138,c(Q2235308))
action count
action atleast
action find_tuple_counts
relation P138
type Q874405
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?d ) WHERE { ?q property:P138 ?e . ?q rdf:type ontology:Q874405 . ?e rdf:type ontology:Q2235308 } GROUP BY ?q } . FILTER ( ?d >= 1 ) }
Niantic, Inc.
1
action count
action atleast
action find_tuple_counts
relation named after
type social group
type ship type
value 1
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?d ) WHERE { ?q property:named_after ?e . ?q rdf:type ontology:social_group . ?e rdf:type ontology:ship_type } GROUP BY ?q } . FILTER ( ?d >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3546572
P136
Q5962346 Q2342494 Q15416
USER
How many classification schemes are the genre of less number of collectables or television programs than tabloid talk show ?
(c(Q2342494)|c(Q15416),P136,c(Q5962346))
action count
action less
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3546572
relation P136
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?v WHERE { { ?s property:P136 ?v . ?v rdf:type ontology:Q5962346 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P136 ?v . ?s rdf:type ontology:Q15416 . ?v rdf:type ontology:Q5962346 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P136 resource:Q3546572 . { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } } } . FILTER ( ?l < ?k ) }
tabloid talk show
action count
action less
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type collectable
action find_reverse_tuple_counts
relation genre
type classification scheme
type television program
action count
action filter_multi_types
action find_reverse
entity tabloid talk show
relation genre
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?v WHERE { { ?s property:genre ?v . ?v rdf:type ontology:classification_scheme . ?s rdf:type ontology:collectable } UNION { ?s property:genre ?v . ?s rdf:type ontology:television_program . ?v rdf:type ontology:classification_scheme } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:genre resource:tabloid_talk_show . { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:television_program ) } } } } . FILTER ( ?l < ?k ) }
[]
classification scheme collectable television program
SYSTEM
33
Q968679 Q18336 Q21188110 Q1153495 Q4949058 Q281111 Q338632 Q216545 Q7724161 Q16894224 Q47307 Q3421644 Q861402 Q29197 Q188504 Q380313 Q4382232 Q1407245 Q4922471 Q204698 Q2290276 Q161272 Q6546170 Q4765080 Q349479 Q47555 Q288608 Q399811 Q482612 Q21232614 Q3951815 Q1413406 Q1924856
(c(Q2342494)|c(Q15416),P136,c(Q5962346))
action count
action less
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q3546572
relation P136
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?v WHERE { { ?s property:P136 ?v . ?v rdf:type ontology:Q5962346 . ?s rdf:type ontology:Q2342494 } UNION { ?s property:P136 ?v . ?s rdf:type ontology:Q15416 . ?v rdf:type ontology:Q5962346 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:P136 resource:Q3546572 . { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } } } . FILTER ( ?l < ?k ) }
Terza rima heraldry American television sitcom configuration management bottle episode Ghazal documentary soap opera Christian theology teleserial sports program genealogy reality show educational television season premiere alternative medicine archival science procedural drama television show black sitcom limerick season finale social psychology light entertainment animated sitcom building industry political economy Scripted Reality Japanese television drama Korean drama reality television series sceneggiato technical documentation metal construction
33
action count
action less
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type collectable
action find_reverse_tuple_counts
relation genre
type classification scheme
type television program
action count
action filter_multi_types
action find_reverse
entity tabloid talk show
relation genre
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) ?v WHERE { { ?s property:genre ?v . ?v rdf:type ontology:classification_scheme . ?s rdf:type ontology:collectable } UNION { ?s property:genre ?v . ?s rdf:type ontology:television_program . ?v rdf:type ontology:classification_scheme } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u property:genre resource:tabloid_talk_show . { ?u rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:television_program ) } } } } . FILTER ( ?l < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q288608
P136
Q5962346 Q2342494 Q15416
USER
And also tell me about Scripted Reality?
(c(Q2342494)|c(Q15416),P136,c(Q5962346))
action count
action less
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q288608
relation P136
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P136 resource:Q288608 . { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?o rdf:type ?v } } } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P136 ?f . ?f rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q2342494 } UNION { ?u property:P136 ?f . ?f rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q15416 } } GROUP BY ?f } }
Scripted Reality
action count
action less
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type collectable
action find_reverse_tuple_counts
relation genre
type classification scheme
type television program
action count
action filter_multi_types
action find_reverse
entity Scripted Reality
relation genre
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:genre resource:Scripted_Reality . { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:television_program ) } . ?o rdf:type ?v } } } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:genre ?f . ?f rdf:type ontology:classification_scheme . ?u rdf:type ontology:collectable } UNION { ?u property:genre ?f . ?f rdf:type ontology:classification_scheme . ?u rdf:type ontology:television_program } } GROUP BY ?f } }
[]
classification scheme collectable television program
SYSTEM
19
Q968679 Q21188110 Q1153495 Q4949058 Q281111 Q338632 Q7724161 Q16894224 Q29197 Q188504 Q380313 Q1407245 Q204698 Q2290276 Q6546170 Q349479 Q3951815 Q1413406 Q1924856
(c(Q2342494)|c(Q15416),P136,c(Q5962346))
action count
action less
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q288608
relation P136
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:P136 resource:Q288608 . { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?o rdf:type ?v } } } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:P136 ?f . ?f rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q2342494 } UNION { ?u property:P136 ?f . ?f rdf:type ontology:Q5962346 . ?u rdf:type ontology:Q15416 } } GROUP BY ?f } }
Terza rima American television sitcom configuration management bottle episode Ghazal documentary soap opera teleserial sports program season premiere alternative medicine archival science television show limerick season finale light entertainment building industry sceneggiato technical documentation metal construction
19
action count
action less
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type collectable
action find_reverse_tuple_counts
relation genre
type classification scheme
type television program
action count
action filter_multi_types
action find_reverse
entity Scripted Reality
relation genre
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o property:genre resource:Scripted_Reality . { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:television_program ) } . ?o rdf:type ?v } } } . FILTER ( ?s < ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?s ) WHERE { { ?u property:genre ?f . ?f rdf:type ontology:classification_scheme . ?u rdf:type ontology:collectable } UNION { ?u property:genre ?f . ?f rdf:type ontology:classification_scheme . ?u rdf:type ontology:television_program } } GROUP BY ?f } }
[]