Simple Question (Direct)
Simple Question
Q329092
P735
Q82799
USER
Which name is Kehinde Wiley known by ?
(Q329092,P735,c(Q82799))
action filter_type
action find
entity Q329092
relation P735
type Q82799
['Q329092', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q329092 property:P735 ?j }
Kehinde Wiley
action filter_type
action find
entity Kehinde Wiley
relation given name
type name
['Kehinde Wiley', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Kehinde_Wiley property:given_name ?j }
[]
name
Q16277792
SYSTEM
Kehinde
Q16277792
(Q329092,P735,c(Q82799))
action filter_type
action find
entity Q329092
relation P735
type Q82799
[ANSWER] Wiley is known as [ANSWER]
['Q329092', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q82799 . resource:Q329092 property:P735 ?j }
Kehinde
Kehinde Wiley is known as Kehinde
Kehinde
action filter_type
action find
entity Kehinde Wiley
relation given name
type name
['Kehinde Wiley', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:name . resource:Kehinde_Wiley property:given_name ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q329092
P136
Q483394
USER
What can be considered as category for Kehinde Wiley ?
(Q329092,P136,c(Q483394))
action filter_type
action find
entity Q329092
relation P136
type Q483394
['Q329092', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q483394 . resource:Q329092 property:P136 ?p }
Kehinde Wiley
action filter_type
action find
entity Kehinde Wiley
relation genre
type genre
['Kehinde Wiley', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:genre . resource:Kehinde_Wiley property:genre ?p }
[]
genre
Q134307
SYSTEM
portrait
Q134307
(Q329092,P136,c(Q483394))
action filter_type
action find
entity Q329092
relation P136
type Q483394
[ANSWER] can be considered as category for Kehinde Wiley
['Q329092', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q483394 . resource:Q329092 property:P136 ?p }
portrait
Portrait can be considered as category for Kehinde Wiley
portrait
action filter_type
action find
entity Kehinde Wiley
relation genre
type genre
['Kehinde Wiley', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:genre . resource:Kehinde_Wiley property:genre ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q483394 Q502895 Q43229
USER
Which genres are the field of work of less number of people or organizations than that genre ?
(c(Q502895)|c(Q43229),P101,c(Q483394))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q483394
type Q502895
action find_reverse_tuple_counts
relation P101
type Q483394
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q134307
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:P101 ?i . ?i rdf:type ontology:Q483394 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P101 ?i . ?i rdf:type ontology:Q483394 . ?u rdf:type ontology:Q43229 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P101 resource:Q134307 . { { ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q43229 } } } } . FILTER ( ?w < ?s ) }
action less
action union
action find_reverse_tuple_counts
relation field of work
type genre
type common name
action find_reverse_tuple_counts
relation field of work
type genre
type organization
action count
action filter_multi_types
action find_reverse
entity portrait
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:field_of_work ?i . ?i rdf:type ontology:genre . ?u rdf:type ontology:common_name } UNION { ?u property:field_of_work ?i . ?i rdf:type ontology:genre . ?u rdf:type ontology:organization } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:field_of_work resource:portrait . { { ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:organization } } } } . FILTER ( ?w < ?s ) }
[]
genre common name organization
Q9134 Q754803 Q128115
SYSTEM
mythology, wuxia, abstract art
Q3739535 Q128115 Q627603 Q212431 Q622812 Q678649 Q213051 Q8253 Q142714 Q208189 Q49084 Q995600 Q650483 Q2142888 Q2125867 Q2762504 Q506858 Q24925 Q1421557 Q1127717 Q9134 Q2293082 Q213156 Q192110 Q291 Q1078913 Q124922 Q754803 Q737498 Q860372 Q422635 Q128758 Q15852218 Q482919 Q17516 Q3566966 Q2839016 Q156035 Q181001
(c(Q502895)|c(Q43229),P101,c(Q483394))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q483394
type Q502895
action find_reverse_tuple_counts
relation P101
type Q483394
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q134307
relation P101
type Q502895
type Q43229
[ANSWERS] are the field of work of less number of people or organizations than that genre
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:P101 ?i . ?i rdf:type ontology:Q483394 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P101 ?i . ?i rdf:type ontology:Q483394 . ?u rdf:type ontology:Q43229 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P101 resource:Q134307 . { { ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q43229 } } } } . FILTER ( ?w < ?s ) }
art game abstract art cartoon installation art talk show body art non-fiction fiction card game real-time strategy short story popular science sports journalism business journalism radio documentary Indie game photojournalism science fiction light art investigative journalism mythology Escapology performance art self-portrait pornography plastic arts reportage wuxia academic journal digital art action art satire urban art caricature street art web documentary allegory opinion journalism erotica
Mythology, wuxia and abstract art are the field of work of less number of people or organizations than that genre
mythology wuxia abstract art
action less
action union
action find_reverse_tuple_counts
relation field of work
type genre
type common name
action find_reverse_tuple_counts
relation field of work
type genre
type organization
action count
action filter_multi_types
action find_reverse
entity portrait
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?w ) WHERE { { ?u property:field_of_work ?i . ?i rdf:type ontology:genre . ?u rdf:type ontology:common_name } UNION { ?u property:field_of_work ?i . ?i rdf:type ontology:genre . ?u rdf:type ontology:organization } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:field_of_work resource:portrait . { { ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:organization } } } } . FILTER ( ?w < ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9134
P361
Q1969448
USER
What is a part of that genre ?
(c(Q1969448),P361,Q9134)
action filter_type
action find_reverse
entity Q9134
relation P361
type Q1969448
[{'concept': 'Q1969448'}, 'P361', 'Q9134']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q9134 . ?g rdf:type ontology:Q1969448 }
mythology
action filter_type
action find_reverse
entity mythology
relation part of
type term
[{'concept': 'term'}, 'part of', 'mythology']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:mythology . ?g rdf:type ontology:term }
[]
term
Clarification for simple ques.
Q128115
SYSTEM
Did you mean abstract art ?
Q9134 Q754803 Q128115
(c(Q1969448),P361,Q9134) (c(Q1969448),P361,Q754803) (c(Q1969448),P361,Q128115)
[ANSWER]
[{'concept': 'Q1969448'}, 'P361', 'Q9134'] [{'concept': 'Q1969448'}, 'P361', 'Q754803'] [{'concept': 'Q1969448'}, 'P361', 'Q128115']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q9134 . ?g rdf:type ontology:Q1969448 }
mythology wuxia abstract art
Did you mean abstract art ?
abstract art
[{'concept': 'term'}, 'part of', 'mythology'] [{'concept': 'term'}, 'part of', 'wuxia'] [{'concept': 'term'}, 'part of', 'abstract art']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:mythology . ?g rdf:type ontology:term }
[]
Simple Question (Coreferenced)
USER
No, I meant mythology. Could you tell me the answer for that?
(c(Q1969448),P361,Q9134)
Q9134
[{'concept': 'Q1969448'}, 'P361', 'Q9134']
[{'concept': 'term'}, 'part of', 'mythology']
[]
Q6404072
SYSTEM
Kibu
Q6404072
(c(Q1969448),P361,Q9134)
action filter_type
action find_reverse
entity Q9134
relation P361
type Q1969448
A part of that genre is called [ANSWER]
[{'concept': 'Q1969448'}, 'P361', 'Q9134']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q9134 . ?g rdf:type ontology:Q1969448 }
Kibu
A part of that genre is called Kibu
Kibu
action filter_type
action find_reverse
entity mythology
relation part of
type term
[{'concept': 'term'}, 'part of', 'mythology']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:mythology . ?g rdf:type ontology:term }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1860
P2439
Q34770 Q1969448
USER
How many languages are associated with lesser number of terms than English ?
(c(Q1969448),P2439,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1969448
action count
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1969448
[{'concept': 'Q1969448'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P2439 ?g . ?g rdf:type ontology:Q34770 . ?c rdf:type ontology:Q1969448 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:Q1969448 . ?d property:P2439 resource:Q1860 } } . FILTER ( ?z < ?s ) }
English
action count
action less
action find_reverse_tuple_counts
relation language
type language
type term
action count
action filter_type
action find_reverse
entity English
relation language
type term
[{'concept': 'term'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:language ?g . ?g rdf:type ontology:language . ?c rdf:type ontology:term } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:term . ?d property:language resource:English } } . FILTER ( ?z < ?s ) }
[]
language term
SYSTEM
11
Q36765 Q18130932 Q9056 Q13414913 Q652 Q8752 Q1321 Q397 Q35505 Q25167 Q25164
(c(Q1969448),P2439,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1969448
action count
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1969448
[ANSWER]
[{'concept': 'Q1969448'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P2439 ?g . ?g rdf:type ontology:Q34770 . ?c rdf:type ontology:Q1969448 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:Q1969448 . ?d property:P2439 resource:Q1860 } } . FILTER ( ?z < ?s ) }
Demotic Traditional Chinese Czech Simplified Chinese Italian Basque Spanish Latin Old Norse language Bokmål Nynorsk
11
action count
action less
action find_reverse_tuple_counts
relation language
type language
type term
action count
action filter_type
action find_reverse
entity English
relation language
type term
[{'concept': 'term'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:language ?g . ?g rdf:type ontology:language . ?c rdf:type ontology:term } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { ?d rdf:type ontology:term . ?d property:language resource:English } } . FILTER ( ?z < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q397
P2439
Q34770 Q1969448
USER
And how about Latin?
(c(Q1969448),P2439,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1969448
action count
action filter_type
action find_reverse
entity Q397
relation P2439
type Q1969448
[{'concept': 'Q1969448'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P2439 ?p . ?p rdf:type ontology:Q34770 . ?y rdf:type ontology:Q1969448 } GROUP BY ?p } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P2439 resource:Q397 . ?h rdf:type ontology:Q1969448 } } }
Latin
action count
action less
action find_reverse_tuple_counts
relation language
type language
type term
action count
action filter_type
action find_reverse
entity Latin
relation language
type term
[{'concept': 'term'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:language ?p . ?p rdf:type ontology:language . ?y rdf:type ontology:term } GROUP BY ?p } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:language resource:Latin . ?h rdf:type ontology:term } } }
[]
language term
SYSTEM
10
Q36765 Q18130932 Q9056 Q13414913 Q652 Q8752 Q1321 Q35505 Q25167 Q25164
(c(Q1969448),P2439,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1969448
action count
action filter_type
action find_reverse
entity Q397
relation P2439
type Q1969448
[ANSWER]
[{'concept': 'Q1969448'}, 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:P2439 ?p . ?p rdf:type ontology:Q34770 . ?y rdf:type ontology:Q1969448 } GROUP BY ?p } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P2439 resource:Q397 . ?h rdf:type ontology:Q1969448 } } }
Demotic Traditional Chinese Czech Simplified Chinese Italian Basque Spanish Old Norse language Bokmål Nynorsk
10
action count
action less
action find_reverse_tuple_counts
relation language
type language
type term
action count
action filter_type
action find_reverse
entity Latin
relation language
type term
[{'concept': 'term'}, 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?r ) WHERE { ?y property:language ?p . ?p rdf:type ontology:language . ?y rdf:type ontology:term } GROUP BY ?p } . FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:language resource:Latin . ?h rdf:type ontology:term } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P136
Q483394 Q2088357 Q166142
USER
Which genres do max number of musical ensembles and applications belong to ?
(c(Q2088357)|c(Q166142),P136,c(Q483394))
action argmax
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q483394
type Q166142
[[{'concept': 'Q2088357'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?s WHERE { { ?z property:P136 ?s . ?s rdf:type ontology:Q483394 . ?z rdf:type ontology:Q2088357 } UNION { ?s rdf:type ontology:Q483394 . ?z rdf:type ontology:Q166142 . ?z property:P136 ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?n WHERE { VALUES ( ?v ) { ( ontology:Q166142 ) ( ontology:Q2088357 ) } . ?j rdf:type ?v } GROUP BY ?n } . FILTER ( ?m = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation genre
type genre
type musical ensemble
action find_reverse_tuple_counts
relation genre
type genre
type application
[[{'concept': 'musical ensemble'}, {'concept': 'application'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?s WHERE { { ?z property:genre ?s . ?s rdf:type ontology:genre . ?z rdf:type ontology:musical_ensemble } UNION { ?s rdf:type ontology:genre . ?z rdf:type ontology:application . ?z property:genre ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?n WHERE { VALUES ( ?v ) { ( ontology:application ) ( ontology:musical_ensemble ) } . ?j rdf:type ?v } GROUP BY ?n } . FILTER ( ?m = ?b ) }
[]
genre musical ensemble application
Q270948
SYSTEM
action game
Q270948
(c(Q2088357)|c(Q166142),P136,c(Q483394))
action argmax
action union
action find_reverse_tuple_counts
relation P136
type Q483394
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q483394
type Q166142
Max number of musical ensembles and applications belong to an [ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q166142'}], 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?s WHERE { { ?z property:P136 ?s . ?s rdf:type ontology:Q483394 . ?z rdf:type ontology:Q2088357 } UNION { ?s rdf:type ontology:Q483394 . ?z rdf:type ontology:Q166142 . ?z property:P136 ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?n WHERE { VALUES ( ?v ) { ( ontology:Q166142 ) ( ontology:Q2088357 ) } . ?j rdf:type ?v } GROUP BY ?n } . FILTER ( ?m = ?b ) }
action game
Max number of musical ensembles and applications belong to an action game
action game
action argmax
action union
action find_reverse_tuple_counts
relation genre
type genre
type musical ensemble
action find_reverse_tuple_counts
relation genre
type genre
type application
[[{'concept': 'musical ensemble'}, {'concept': 'application'}], 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) ?s WHERE { { ?z property:genre ?s . ?s rdf:type ontology:genre . ?z rdf:type ontology:musical_ensemble } UNION { ?s rdf:type ontology:genre . ?z rdf:type ontology:application . ?z property:genre ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) ?n WHERE { VALUES ( ?v ) { ( ontology:application ) ( ontology:musical_ensemble ) } . ?j rdf:type ?v } GROUP BY ?n } . FILTER ( ?m = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9134
P361
Q95074
USER
Which fictional characters are a portion of mythology ?
(c(Q95074),P361,Q9134)
action filter_type
action find_reverse
entity Q9134
relation P361
type Q95074
[{'concept': 'Q95074'}, 'P361', 'Q9134']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q9134 . ?z rdf:type ontology:Q95074 }
mythology
action filter_type
action find_reverse
entity mythology
relation part of
type fictional character
[{'concept': 'fictional character'}, 'part of', 'mythology']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:mythology . ?z rdf:type ontology:fictional_character }
[]
fictional character
Q3268516 Q6949149
SYSTEM
Lycus, mythic humanoid
Q3268516 Q6949149
(c(Q95074),P361,Q9134)
action filter_type
action find_reverse
entity Q9134
relation P361
type Q95074
[ANSWERS] are a portion of mythology
[{'concept': 'Q95074'}, 'P361', 'Q9134']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q9134 . ?z rdf:type ontology:Q95074 }
Lycus mythic humanoid
Lycus and mythic humanoid are a portion of mythology
Lycus mythic humanoid
action filter_type
action find_reverse
entity mythology
relation part of
type fictional character
[{'concept': 'fictional character'}, 'part of', 'mythology']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:mythology . ?z rdf:type ontology:fictional_character }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3268516
P21
Q290
USER
Which sex does that fictional character belong to ?
(Q3268516,P21,c(Q290))
action filter_type
action find
entity Q3268516
relation P21
type Q290
['Q3268516', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3268516 property:P21 ?r . ?r rdf:type ontology:Q290 }
Lycus
action filter_type
action find
entity Lycus
relation gender
type sex
['Lycus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Lycus property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q6949149
SYSTEM
Did you mean mythic humanoid ?
Q3268516 Q6949149
(Q3268516,P21,c(Q290)) (Q6949149,P21,c(Q290))
[ANSWER]
['Q3268516', 'P21', {'concept': 'Q290'}] ['Q6949149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3268516 property:P21 ?r . ?r rdf:type ontology:Q290 }
Lycus mythic humanoid
Did you mean mythic humanoid ?
mythic humanoid
['Lycus', 'gender', {'concept': 'sex'}] ['mythic humanoid', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Lycus property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Lycus. Could you tell me the answer for that?
(Q3268516,P21,c(Q290))
Q3268516
['Q3268516', 'P21', {'concept': 'Q290'}]
['Lycus', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q3268516,P21,c(Q290))
action filter_type
action find
entity Q3268516
relation P21
type Q290
That fictional character belongs to [ANSWER]
['Q3268516', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q3268516 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That fictional character belongs to male
male
action filter_type
action find
entity Lycus
relation gender
type sex
['Lycus', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Lycus property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q128115
P921
Q667276
USER
Which art exhibition has abstract art as its main topic ?
(c(Q667276),P921,Q128115)
action filter_type
action find_reverse
entity Q128115
relation P921
type Q667276
[{'concept': 'Q667276'}, 'P921', 'Q128115']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q128115 . ?t rdf:type ontology:Q667276 }
abstract art
action filter_type
action find_reverse
entity abstract art
relation main subject
type art exhibition
[{'concept': 'art exhibition'}, 'main subject', 'abstract art']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:abstract_art . ?t rdf:type ontology:art_exhibition }
[]
art exhibition
Q265378
SYSTEM
Documenta 1
Q265378
(c(Q667276),P921,Q128115)
action filter_type
action find_reverse
entity Q128115
relation P921
type Q667276
[ANSWER] has abstract art as its main topic
[{'concept': 'Q667276'}, 'P921', 'Q128115']
SELECT DISTINCT ?t WHERE { ?t property:P921 resource:Q128115 . ?t rdf:type ontology:Q667276 }
Documenta 1
Documenta 1 has abstract art as its main topic
Documenta 1
action filter_type
action find_reverse
entity abstract art
relation main subject
type art exhibition
[{'concept': 'art exhibition'}, 'main subject', 'abstract art']
SELECT DISTINCT ?t WHERE { ?t property:main_subject resource:abstract_art . ?t rdf:type ontology:art_exhibition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q265378
P276
Q2668072
USER
Where is that art exhibition located ?
(Q265378,P276,c(Q2668072))
action filter_type
action find
entity Q265378
relation P276
type Q2668072
['Q265378', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2668072 . resource:Q265378 property:P276 ?m }
Documenta 1
action filter_type
action find
entity Documenta 1
relation location
type collection
['Documenta 1', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collection . resource:Documenta_1 property:location ?m }
[]
collection
Q449280
SYSTEM
Fridericianum
Q449280
(Q265378,P276,c(Q2668072))
action filter_type
action find
entity Q265378
relation P276
type Q2668072
That art exhibition is located in [ANSWER]
['Q265378', 'P276', {'concept': 'Q2668072'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2668072 . resource:Q265378 property:P276 ?m }
Fridericianum
That art exhibition is located in Fridericianum
Fridericianum
action filter_type
action find
entity Documenta 1
relation location
type collection
['Documenta 1', 'location', {'concept': 'collection'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:collection . resource:Documenta_1 property:location ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q449280 Q183
P17
Q1048835
USER
Is Fridericianum present in Germany ?
(Q449280,P17,Q183)
action is_in
entity Q183
action find
entity Q449280
relation P17
['Q449280', 'P17', 'Q183']
ASK WHERE { resource:Q449280 property:P17 resource:Q183 }
Fridericianum Germany
action is_in
entity Germany
action find
entity Fridericianum
relation country
['Fridericianum', 'country', 'Germany']
ASK WHERE { resource:Fridericianum property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q449280,P17,Q183)
action is_in
entity Q183
action find
entity Q449280
relation P17
[ANSWER]
['Q449280', 'P17', 'Q183']
ASK WHERE { resource:Q449280 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Fridericianum
relation country
['Fridericianum', 'country', 'Germany']
ASK WHERE { resource:Fridericianum property:country resource:Germany }
[]