Simple Question (Direct)
Simple Question
Q5335413
P136
Q151885
USER
What can be considered as category for Ed Skrein ?
(Q5335413,P136,c(Q151885))
action filter_type
action find
entity Q5335413
relation P136
type Q151885
['Q5335413', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q5335413 property:P136 ?u . ?u rdf:type ontology:Q151885 }
Ed Skrein
action filter_type
action find
entity Ed Skrein
relation genre
type concept
['Ed Skrein', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Ed_Skrein property:genre ?u . ?u rdf:type ontology:concept }
[]
concept
Q6010
SYSTEM
rapping
Q6010
(Q5335413,P136,c(Q151885))
action filter_type
action find
entity Q5335413
relation P136
type Q151885
[ANSWER] can be considered as category for Ed Skrein
['Q5335413', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q5335413 property:P136 ?u . ?u rdf:type ontology:Q151885 }
rapping
Rapping can be considered as category for Ed Skrein
rapping
action filter_type
action find
entity Ed Skrein
relation genre
type concept
['Ed Skrein', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Ed_Skrein property:genre ?u . ?u rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5335413
P175
Q6619679
USER
Which fictional humanoid gave the performance of Ed Skrein ?
(c(Q6619679),P175,Q5335413)
action filter_type
action find_reverse
entity Q5335413
relation P175
type Q6619679
[{'concept': 'Q6619679'}, 'P175', 'Q5335413']
SELECT DISTINCT ?o WHERE { ?o property:P175 resource:Q5335413 . ?o rdf:type ontology:Q6619679 }
Ed Skrein
action filter_type
action find_reverse
entity Ed Skrein
relation performer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'performer', 'Ed Skrein']
SELECT DISTINCT ?o WHERE { ?o property:performer resource:Ed_Skrein . ?o rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q15924537
SYSTEM
Frank Martin
Q15924537
(c(Q6619679),P175,Q5335413)
action filter_type
action find_reverse
entity Q5335413
relation P175
type Q6619679
[ANSWER] gave the performance of Ed Skrein
[{'concept': 'Q6619679'}, 'P175', 'Q5335413']
SELECT DISTINCT ?o WHERE { ?o property:P175 resource:Q5335413 . ?o rdf:type ontology:Q6619679 }
Frank Martin
Frank Martin gave the performance of Ed Skrein
Frank Martin
action filter_type
action find_reverse
entity Ed Skrein
relation performer
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'performer', 'Ed Skrein']
SELECT DISTINCT ?o WHERE { ?o property:performer resource:Ed_Skrein . ?o rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5335413
P1346
Q4220917
USER
Which film award was won by Ed Skrein ?
(c(Q4220917),P1346,Q5335413)
action filter_type
action find_reverse
entity Q5335413
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q5335413']
SELECT DISTINCT ?y WHERE { ?y property:P1346 resource:Q5335413 . ?y rdf:type ontology:Q4220917 }
Ed Skrein
action filter_type
action find_reverse
entity Ed Skrein
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Ed Skrein']
SELECT DISTINCT ?y WHERE { ?y property:winner resource:Ed_Skrein . ?y rdf:type ontology:film_award }
[]
film award
Q734036
SYSTEM
MTV Movie Award for Best Fight
Q734036
(c(Q4220917),P1346,Q5335413)
action filter_type
action find_reverse
entity Q5335413
relation P1346
type Q4220917
The [ANSWER] was won by Ed Skrein
[{'concept': 'Q4220917'}, 'P1346', 'Q5335413']
SELECT DISTINCT ?y WHERE { ?y property:P1346 resource:Q5335413 . ?y rdf:type ontology:Q4220917 }
MTV Movie Award for Best Fight
The MTV Movie Award for Best Fight was won by Ed Skrein
MTV Movie Award for Best Fight
action filter_type
action find_reverse
entity Ed Skrein
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Ed Skrein']
SELECT DISTINCT ?y WHERE { ?y property:winner resource:Ed_Skrein . ?y rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5335413
P21
Q290
USER
Which sex does that person belong to ?
(Q734036,P21,c(Q290))
action filter_type
action find
entity Q5335413
relation P21
type Q290
['Q734036', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5335413 property:P21 ?w . ?w rdf:type ontology:Q290 }
Ed Skrein
action filter_type
action find
entity Ed Skrein
relation gender
type sex
['MTV Movie Award for Best Fight', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Ed_Skrein property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q734036,P21,c(Q290))
action filter_type
action find
entity Q5335413
relation P21
type Q290
That person belongs to [ANSWER]
['Q734036', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q5335413 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Ed Skrein
relation gender
type sex
['MTV Movie Award for Best Fight', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Ed_Skrein property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has that sex as his/her means of employment ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:male . ?g rdf:type ontology:common_name }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has that sex as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q6581097 . ?g rdf:type ontology:Q502895 }
Antonín Straka
Antonín Straka has that sex as his/her means of employment
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:male . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3893231
P674
Q6619679 Q5398426 Q223393
USER
Which fictional humanoids plays a role in more number of television series or literary genres than Panfilo ?
(c(Q5398426)|c(Q223393),P674,c(Q6619679))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q3893231
relation P674
type Q5398426
type Q223393
[[{'concept': 'Q5398426'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q5398426 ) ( ontology:Q223393 ) } } GROUP BY ?v } . FILTER ( ?t > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { VALUES ( ?f ) { ( ontology:Q5398426 ) ( ontology:Q223393 ) } . ?x rdf:type ?f } . ?x property:P674 resource:Q3893231 } } }
Panfilo
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type television series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type literary genre
action count
action filter_multi_types
action find_reverse
entity Panfilo
relation characters
type television series
type literary genre
[[{'concept': 'television series'}, {'concept': 'literary genre'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:television_series ) ( ontology:literary_genre ) } } GROUP BY ?v } . FILTER ( ?t > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { VALUES ( ?f ) { ( ontology:television_series ) ( ontology:literary_genre ) } . ?x rdf:type ?f } . ?x property:characters resource:Panfilo } } }
[]
fictional humanoid television series literary genre
Q170534 Q2695156 Q189169
SYSTEM
Hercule Poirot, Batman, Conan the Barbarian
Q170534 Q189169 Q2695156 Q371774 Q82732
(c(Q5398426)|c(Q223393),P674,c(Q6619679))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q3893231
relation P674
type Q5398426
type Q223393
[ANSWERS] play a role in more number of television series or literary genres than Panfilo
[[{'concept': 'Q5398426'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:Q5398426 ) ( ontology:Q223393 ) } } GROUP BY ?v } . FILTER ( ?t > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { VALUES ( ?f ) { ( ontology:Q5398426 ) ( ontology:Q223393 ) } . ?x rdf:type ?f } . ?x property:P674 resource:Q3893231 } } }
Hercule Poirot Conan the Barbarian Batman Nero Wolfe Aeneas
Hercule Poirot, Batman and Conan the Barbarian play a role in more number of television series or literary genres than Panfilo
Hercule Poirot Batman Conan the Barbarian
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type television series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type literary genre
action count
action filter_multi_types
action find_reverse
entity Panfilo
relation characters
type television series
type literary genre
[[{'concept': 'television series'}, {'concept': 'literary genre'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?t ) WHERE { ?z rdf:type ?r . VALUES ( ?r ) { ( ontology:television_series ) ( ontology:literary_genre ) } } GROUP BY ?v } . FILTER ( ?t > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { VALUES ( ?f ) { ( ontology:television_series ) ( ontology:literary_genre ) } . ?x rdf:type ?f } . ?x property:characters resource:Panfilo } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15707554
P674
Q6619679 Q5398426 Q223393
USER
And also tell me about Apple Bloom?
(c(Q5398426)|c(Q223393),P674,c(Q6619679))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q15707554
relation P674
type Q5398426
type Q223393
[[{'concept': 'Q5398426'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q223393 ) ( ontology:Q5398426 ) } . ?d rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P674 resource:Q15707554 . { VALUES ( ?g ) { ( ontology:Q5398426 ) ( ontology:Q223393 ) } . ?j rdf:type ?g } } } . FILTER ( ?m > ?o ) }
Apple Bloom
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type television series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type literary genre
action count
action filter_multi_types
action find_reverse
entity Apple Bloom
relation characters
type television series
type literary genre
[[{'concept': 'television series'}, {'concept': 'literary genre'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:literary_genre ) ( ontology:television_series ) } . ?d rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:characters resource:Apple_Bloom . { VALUES ( ?g ) { ( ontology:television_series ) ( ontology:literary_genre ) } . ?j rdf:type ?g } } } . FILTER ( ?m > ?o ) }
[]
fictional humanoid television series literary genre
Q170534 Q2695156 Q1073739
SYSTEM
Hercule Poirot, Batman, Susan Calvin
Q752269 Q3921991 Q988862 Q18707014 Q13403064 Q15971036 Q170534 Q1367960 Q27075739 Q189169 Q3649320 Q13685096 Q2695156 Q2873226 Q7911184 Q4490996 Q1163861 Q1073739 Q611295 Q18707036 Q18707034 Q674319 Q720235 Q4921101 Q3893231 Q193531 Q194705 Q371774 Q3513000 Q986716 Q82732 Q986728 Q1168491
(c(Q5398426)|c(Q223393),P674,c(Q6619679))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q6619679
type Q223393
action count
action filter_multi_types
action find_reverse
entity Q15707554
relation P674
type Q5398426
type Q223393
[ANSWERS]
[[{'concept': 'Q5398426'}, {'concept': 'Q223393'}], 'P674', {'concept': 'Q6619679'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:Q223393 ) ( ontology:Q5398426 ) } . ?d rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P674 resource:Q15707554 . { VALUES ( ?g ) { ( ontology:Q5398426 ) ( ontology:Q223393 ) } . ?j rdf:type ?g } } } . FILTER ( ?m > ?o ) }
Son Gohan Prince Elijah Baley Yasmina The Prince Akane Miyoshi Hercule Poirot Nobita Nobi The evil stepmother Conan the Barbarian Huntsman Cinderella Batman Ava Lord Valeria Flambeau Marv Susan Calvin Queen Yar Afzal Kerim Shah Machaon Holden Caulfield Nobi Sewashi Panfilo Miss Marple Barbara Gordon Nero Wolfe Dwayne Hicks Tamako Nobi Aeneas Nobisuke Nobi Charlie Brown
Hercule Poirot Batman Susan Calvin
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type television series
action find_reverse_tuple_counts
relation characters
type fictional humanoid
type literary genre
action count
action filter_multi_types
action find_reverse
entity Apple Bloom
relation characters
type television series
type literary genre
[[{'concept': 'television series'}, {'concept': 'literary genre'}], 'characters', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?u ) { ( ontology:literary_genre ) ( ontology:television_series ) } . ?d rdf:type ?u } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:characters resource:Apple_Bloom . { VALUES ( ?g ) { ( ontology:television_series ) ( ontology:literary_genre ) } . ?j rdf:type ?g } } } . FILTER ( ?m > ?o ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P144
Q6619679 Q95074 Q838948
USER
How many fictional humanoids are more number of fictional characters or works of art a fork of than that fictional humanoid ?
(c(Q95074)|c(Q838948),P144,c(Q6619679))
[[{'concept': 'Q95074'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'fictional character'}, {'concept': 'work of art'}], 'based on', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:work_of_art }
[]
fictional humanoid fictional character work of art
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1073739
SYSTEM
Did you mean Susan Calvin ?
(c(Q95074)|c(Q838948),P144,c(Q6619679))
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q838948 }
Did you mean Susan Calvin ?
Susan Calvin
[[{'concept': 'fictional character'}, {'concept': 'work of art'}], 'based on', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Batman. Could you tell me the answer for that?
(c(Q95074)|c(Q838948),P144,c(Q6619679))
Q2695156
[[{'concept': 'Q95074'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q6619679'}]
[[{'concept': 'fictional character'}, {'concept': 'work of art'}], 'based on', {'concept': 'fictional humanoid'}]
[]
SYSTEM
39
Q14153484 Q590350 Q5084282 Q1381592 Q27094822 Q22350744 Q1783187 Q3740047 Q7685373 Q603292 Q199796 Q6668 Q2345627 Q1588097 Q1751029 Q2749247 Q27075739 Q13561019 Q389624 Q107190 Q968748 Q3921991 Q14907269 Q3639999 Q3649320 Q719143 Q2074170 Q13685096 Q1035128 Q27094724 Q2712262 Q170241 Q25858034 Q864751 Q2009573 Q611295 Q19880512 Q5512054 Q738561
(c(Q95074)|c(Q838948),P144,c(Q6619679))
[ANSWER]
[[{'concept': 'Q95074'}, {'concept': 'Q838948'}], 'P144', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P144 ?y } UNION { ?x property:P144 ?y } } . ?z rdf:type ontology:Q95074 . ?y rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q838948 }
Snow White Doctor Mabuse Charley Bates Mowgli Mary Darling Fflewddur Fflam Artful Dodger Fairy Godmother Taran Little John Popeye Pippi Longstocking Hal Jordan Lone Ranger Ali G Wendy Darling The evil stepmother Mr. Smee Charlie Chan Peter Pan Maid Marian Prince Tiger Lily Bill Sikes Huntsman Uncle Remus Friar Tuck Cinderella Captain Hook George Darling Sheriff of Nottingham Tarzan Tweedledee The Hatter James Bond Queen Hope Pym G.I. Joe Tevye
39
[[{'concept': 'fictional character'}, {'concept': 'work of art'}], 'based on', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:based_on ?y } UNION { ?x property:based_on ?y } } . ?z rdf:type ontology:fictional_character . ?y rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q386724 Q15416 Q6619679
USER
Which fictional humanoids are a component of around 2 works or television programs ?
(c(Q6619679),P361,c(Q386724)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P361
type Q6619679
type Q386724
action find_tuple_counts
relation P361
type Q6619679
type Q15416
value 2
[{'concept': 'Q6619679'}, 'P361', [{'concept': 'Q386724'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:P361 ?k . ?v rdf:type ontology:Q6619679 . ?k rdf:type ontology:Q386724 } UNION { ?v property:P361 ?k . ?v rdf:type ontology:Q6619679 . ?k rdf:type ontology:Q15416 } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
action approx
action union
action find_tuple_counts
relation part of
type fictional humanoid
type work
action find_tuple_counts
relation part of
type fictional humanoid
type television program
value 2
[{'concept': 'fictional humanoid'}, 'part of', [{'concept': 'work'}, {'concept': 'television program'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:part_of ?k . ?v rdf:type ontology:fictional_humanoid . ?k rdf:type ontology:work } UNION { ?v property:part_of ?k . ?v rdf:type ontology:fictional_humanoid . ?k rdf:type ontology:television_program } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
[]
work television program fictional humanoid
Q16210649 Q6698296
SYSTEM
Lucy Coe, Lucy Fernandez
Q16210649 Q6698296
(c(Q6619679),P361,c(Q386724)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P361
type Q6619679
type Q386724
action find_tuple_counts
relation P361
type Q6619679
type Q15416
value 2
[ANSWERS] are a component of around 2 works or television programs
[{'concept': 'Q6619679'}, 'P361', [{'concept': 'Q386724'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:P361 ?k . ?v rdf:type ontology:Q6619679 . ?k rdf:type ontology:Q386724 } UNION { ?v property:P361 ?k . ?v rdf:type ontology:Q6619679 . ?k rdf:type ontology:Q15416 } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
Lucy Coe Lucy Fernandez
Lucy Coe and Lucy Fernandez are a component of around 2 works or television programs
Lucy Coe Lucy Fernandez
action approx
action union
action find_tuple_counts
relation part of
type fictional humanoid
type work
action find_tuple_counts
relation part of
type fictional humanoid
type television program
value 2
[{'concept': 'fictional humanoid'}, 'part of', [{'concept': 'work'}, {'concept': 'television program'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?p ) WHERE { { ?v property:part_of ?k . ?v rdf:type ontology:fictional_humanoid . ?k rdf:type ontology:work } UNION { ?v property:part_of ?k . ?v rdf:type ontology:fictional_humanoid . ?k rdf:type ontology:television_program } } GROUP BY ?v } . FILTER ( ?p = 2 ) }
[]