Simple Question (Direct)
Simple Question
Q4203614
P21
Q290
USER
Which sex does Isay Davydov have ?
(Q4203614,P21,c(Q290))
action filter_type
action find
entity Q4203614
relation P21
type Q290
['Q4203614', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4203614 property:P21 ?f . ?f rdf:type ontology:Q290 }
Isay Davydov
action filter_type
action find
entity Isay Davydov
relation gender
type sex
['Isay Davydov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Isay_Davydov property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4203614,P21,c(Q290))
action filter_type
action find
entity Q4203614
relation P21
type Q290
Isay Davydov has a [ANSWER]
['Q4203614', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q4203614 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Isay Davydov has a male
male
action filter_type
action find
entity Isay Davydov
relation gender
type sex
['Isay Davydov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Isay_Davydov property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4203614
P136
Q1792379
USER
What can be considered as category for Isay Davydov ?
(Q4203614,P136,c(Q1792379))
action filter_type
action find
entity Q4203614
relation P136
type Q1792379
['Q4203614', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q4203614 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
Isay Davydov
action filter_type
action find
entity Isay Davydov
relation genre
type art genre
['Isay Davydov', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:Isay_Davydov property:genre ?c . ?c rdf:type ontology:art_genre }
[]
art genre
Q5967378
SYSTEM
speculative fiction
Q5967378
(Q4203614,P136,c(Q1792379))
action filter_type
action find
entity Q4203614
relation P136
type Q1792379
[ANSWER] can be considered as category for Isay Davydov
['Q4203614', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?c WHERE { resource:Q4203614 property:P136 ?c . ?c rdf:type ontology:Q1792379 }
speculative fiction
Speculative fiction can be considered as category for Isay Davydov
speculative fiction
action filter_type
action find
entity Isay Davydov
relation genre
type art genre
['Isay Davydov', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?c WHERE { resource:Isay_Davydov property:genre ?c . ?c rdf:type ontology:art_genre }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P136
Q1792379 Q838948 Q2031291
USER
Which art genres are the genre for more number of works of art and releases than that art genre ?
(c(Q838948)|c(Q2031291),P136,c(Q1792379))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q838948
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q5967378
relation P136
type Q838948
type Q2031291
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?d WHERE { { ?g property:P136 ?d . ?d rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P136 ?d . ?d rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q2031291 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P136 resource:Q5967378 . { { ?s rdf:type ontology:Q838948 } UNION { ?s rdf:type ontology:Q2031291 } } } } . FILTER ( ?o > ?l ) }
action greater
action union
action find_reverse_tuple_counts
relation genre
type art genre
type work of art
action find_reverse_tuple_counts
relation genre
type art genre
type release
action count
action filter_multi_types
action find_reverse
entity speculative fiction
relation genre
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?d WHERE { { ?g property:genre ?d . ?d rdf:type ontology:art_genre . ?g rdf:type ontology:work_of_art } UNION { ?g property:genre ?d . ?d rdf:type ontology:art_genre . ?g rdf:type ontology:release } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:genre resource:speculative_fiction . { { ?s rdf:type ontology:work_of_art } UNION { ?s rdf:type ontology:release } } } } . FILTER ( ?o > ?l ) }
[]
art genre work of art release
Q248726 Q214127 Q1339864
SYSTEM
Venus figurine, genre painting, sports film
Q590103 Q2334148 Q179700 Q376693 Q883179 Q1342372 Q319221 Q36279 Q93204 Q1339864 Q185529 Q959790 Q212781 Q1747837 Q1535153 Q4836991 Q596138 Q471839 Q214127 Q18783399 Q188473 Q17489160 Q5442753 Q1919632 Q1788980 Q3072049 Q2561438 Q22981906 Q2973201 Q157394 Q1033891 Q858330 Q1146335 Q200092 Q853630 Q659396 Q93196 Q622548 Q742333 Q1332055 Q248726 Q7379160 Q7444356 Q157443 Q1935609 Q1361932 Q2484376 Q622291 Q4984974 Q2254193 Q7645884 Q3272147 Q860626 Q1341051 Q2137852 Q4875794 Q1200678 Q275934 Q3374376 Q1723850 Q15898171 Q628165 Q699 Q5151497 Q7168625 Q20656232 Q224700 Q3442060 Q459435 Q2975633 Q8261 Q1257444 Q20443008 Q459290 Q1150666 Q5769663 Q5897543 Q369747 Q1115187 Q1054574 Q1740789 Q17013749 Q18810037 Q482 Q2297927 Q169672 Q7210294 Q790192 Q472637 Q1941707 Q4184 Q12912091 Q192881 Q652256 Q3990883 Q1433443 Q5258881 Q846544 Q1194365 Q586250 Q208505 Q185867 Q24862 Q599558 Q663106 Q645928 Q21401869 Q3072039 Q336144 Q172980 Q222639 Q223770 Q17393935 Q19367312 Q6585139 Q2414609 Q5778924 Q2439025 Q842256 Q186424 Q130232 Q624771 Q1800833 Q3476508 Q226730 Q1776156 Q583768 Q542475 Q1117103 Q1135802 Q937330 Q1067324 Q1760864 Q2143665 Q1400853 Q16738862 Q16254232 Q4731380 Q2421031 Q604725 Q496523 Q3476533 Q16675884
(c(Q838948)|c(Q2031291),P136,c(Q1792379))
action greater
action union
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q838948
action find_reverse_tuple_counts
relation P136
type Q1792379
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q5967378
relation P136
type Q838948
type Q2031291
[ANSWERS] are the genre for more number of works of art and releases than that art genre
[[{'concept': 'Q838948'}, {'concept': 'Q2031291'}], 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?d WHERE { { ?g property:P136 ?d . ?d rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P136 ?d . ?d rdf:type ontology:Q1792379 . ?g rdf:type ontology:Q2031291 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P136 resource:Q5967378 . { { ?s rdf:type ontology:Q838948 } UNION { ?s rdf:type ontology:Q2031291 } } } } . FILTER ( ?o > ?l ) }
psychological thriller sculptural group statue herma blaxploitation monster film adventure film biography documentary film sports film pornographic film crime film spaghetti western zombie comedy superhero film B western educational film science fiction film genre painting mythology sculpture action film bust female buddy film melodrama crime-comedy film zombie film slice of life treasure hunt film political cinema fantasy film martial arts film romance novel teen film horror film slasher film equestrian statue Bollywood parody film history painting giallo Venus figurine Rumberas film mob film comedy film propaganda film family film thriller film political thriller buddy cop film rape and revenge film surf film found footage romantic comedy post-apocalyptic film vampire film beach party film mystery film Tokusatsu mythological painting cannibal film survival film road movie fairy tale Comedy of remarriage historical period drama science fiction action film comedy horror partisan film mockumentary coming-of-age story novel film adaptation dystopian film independent film world cinema gothic horror film hood film war film Commedia all'italiana romance film poliziotteschi historical film bust portrait poetry spy film Samurai cinema political drama experimental film docufiction mockbuster autobiography fiction film tragicomedy epic film action thriller peplum film genre werewolf film disaster film pink film prison film crime novel film noir short film erotic film buddy film biographical film flashback film trial film anthology film Western swashbuckler film B movie highway art crime thriller mystery fiction religious painting black comedy film erotic thriller musical film detective fiction drama film slapstick rockumentary animal sculpture silent film girls with guns women in prison film costume drama Z movie art film kouros exploitation film nature documentary children's film portrait painting statuette porn parody allegorical sculpture neo-noir psychological horror heist film monumental sculpture religious sculpture
Venus figurine, genre painting and sports film are the genre for more number of works of art and releases than that art genre
Venus figurine genre painting sports film
action greater
action union
action find_reverse_tuple_counts
relation genre
type art genre
type work of art
action find_reverse_tuple_counts
relation genre
type art genre
type release
action count
action filter_multi_types
action find_reverse
entity speculative fiction
relation genre
type work of art
type release
[[{'concept': 'work of art'}, {'concept': 'release'}], 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?d WHERE { { ?g property:genre ?d . ?d rdf:type ontology:art_genre . ?g rdf:type ontology:work_of_art } UNION { ?g property:genre ?d . ?d rdf:type ontology:art_genre . ?g rdf:type ontology:release } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:genre resource:speculative_fiction . { { ?s rdf:type ontology:work_of_art } UNION { ?s rdf:type ontology:release } } } } . FILTER ( ?o > ?l ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q214127
P135
Q502895
USER
Which person is linked with that art genre ?
(c(Q502895),P135,Q214127)
action filter_type
action find_reverse
entity Q214127
relation P135
type Q502895
[{'concept': 'Q502895'}, 'P135', 'Q214127']
SELECT DISTINCT ?a WHERE { ?a property:P135 resource:Q214127 . ?a rdf:type ontology:Q502895 }
genre painting
action filter_type
action find_reverse
entity genre painting
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'genre painting']
SELECT DISTINCT ?a WHERE { ?a property:movement resource:genre_painting . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q248726
SYSTEM
Did you mean Venus figurine ?
Q248726 Q214127 Q1339864
(c(Q502895),P135,Q248726) (c(Q502895),P135,Q214127) (c(Q502895),P135,Q1339864)
[ANSWER]
[{'concept': 'Q502895'}, 'P135', 'Q248726'] [{'concept': 'Q502895'}, 'P135', 'Q214127'] [{'concept': 'Q502895'}, 'P135', 'Q1339864']
SELECT DISTINCT ?a WHERE { ?a property:P135 resource:Q214127 . ?a rdf:type ontology:Q502895 }
Venus figurine genre painting sports film
Did you mean Venus figurine ?
Venus figurine
[{'concept': 'common name'}, 'movement', 'Venus figurine'] [{'concept': 'common name'}, 'movement', 'genre painting'] [{'concept': 'common name'}, 'movement', 'sports film']
SELECT DISTINCT ?a WHERE { ?a property:movement resource:genre_painting . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant genre painting. Could you tell me the answer for that?
(c(Q502895),P135,Q214127)
Q214127
[{'concept': 'Q502895'}, 'P135', 'Q214127']
[{'concept': 'common name'}, 'movement', 'genre painting']
[]
Q2564226
SYSTEM
Auguste Toulmouche
Q2564226
(c(Q502895),P135,Q214127)
action filter_type
action find_reverse
entity Q214127
relation P135
type Q502895
[ANSWER] is linked with that art genre
[{'concept': 'Q502895'}, 'P135', 'Q214127']
SELECT DISTINCT ?a WHERE { ?a property:P135 resource:Q214127 . ?a rdf:type ontology:Q502895 }
Auguste Toulmouche
Auguste Toulmouche is linked with that art genre
Auguste Toulmouche
action filter_type
action find_reverse
entity genre painting
relation movement
type common name
[{'concept': 'common name'}, 'movement', 'genre painting']
SELECT DISTINCT ?a WHERE { ?a property:movement resource:genre_painting . ?a rdf:type ontology:common_name }
[]