Simple Question (Direct)
Simple Question
Q21120986
P702
Q863908
USER
Which nucleic acid sequence encodes Olfactory receptor 6C74 ?
(Q21120986,P702,c(Q863908))
action filter_type
action find
entity Q21120986
relation P702
type Q863908
['Q21120986', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q21120986 property:P702 ?g . ?g rdf:type ontology:Q863908 }
Olfactory receptor 6C74
action filter_type
action find
entity Olfactory receptor 6C74
relation encoded by
type nucleic acid sequence
['Olfactory receptor 6C74', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:Olfactory_receptor_6C74 property:encoded_by ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18053760
SYSTEM
OR6C74
Q18053760
(Q21120986,P702,c(Q863908))
action filter_type
action find
entity Q21120986
relation P702
type Q863908
4 [ANSWER] encodes Olfactory receptor 6C74
['Q21120986', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?g WHERE { resource:Q21120986 property:P702 ?g . ?g rdf:type ontology:Q863908 }
OR6C74
4 OR6C74 encodes Olfactory receptor 6C74
OR6C74
action filter_type
action find
entity Olfactory receptor 6C74
relation encoded by
type nucleic acid sequence
['Olfactory receptor 6C74', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?g WHERE { resource:Olfactory_receptor_6C74 property:encoded_by ?g . ?g rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21120986
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by Olfactory receptor 6C74 ?
(c(Q863908),P688,Q21120986)
action filter_type
action find_reverse
entity Q21120986
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21120986']
SELECT DISTINCT ?f WHERE { ?f property:P688 resource:Q21120986 . ?f rdf:type ontology:Q863908 }
Olfactory receptor 6C74
action filter_type
action find_reverse
entity Olfactory receptor 6C74
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Olfactory receptor 6C74']
SELECT DISTINCT ?f WHERE { ?f property:encodes resource:Olfactory_receptor_6C74 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18053760
SYSTEM
OR6C74
Q18053760
(c(Q863908),P688,Q21120986)
action filter_type
action find_reverse
entity Q21120986
relation P688
type Q863908
The nucleic acid sequence that is encoded by Olfactory receptor 6C 74 is [ANSWER]
[{'concept': 'Q863908'}, 'P688', 'Q21120986']
SELECT DISTINCT ?f WHERE { ?f property:P688 resource:Q21120986 . ?f rdf:type ontology:Q863908 }
OR6C74
The nucleic acid sequence that is encoded by Olfactory receptor 6C 74 is OR6C74
OR6C74
action filter_type
action find_reverse
entity Olfactory receptor 6C74
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Olfactory receptor 6C74']
SELECT DISTINCT ?f WHERE { ?f property:encodes resource:Olfactory_receptor_6C74 . ?f rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21120986
P703
Q16521
USER
Where is that nutrient found ?
(Q18053760,P703,c(Q16521))
action filter_type
action find
entity Q21120986
relation P703
type Q16521
['Q18053760', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q21120986 property:P703 ?q . ?q rdf:type ontology:Q16521 }
Olfactory receptor 6C74
action filter_type
action find
entity Olfactory receptor 6C74
relation found in taxon
type taxon
['OR6C74', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:Olfactory_receptor_6C74 property:found_in_taxon ?q . ?q rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q18053760,P703,c(Q16521))
action filter_type
action find
entity Q21120986
relation P703
type Q16521
That nutrient is found in [ANSWER]
['Q18053760', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q21120986 property:P703 ?q . ?q rdf:type ontology:Q16521 }
Homo sapiens
That nutrient is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Olfactory receptor 6C74
relation found in taxon
type taxon
['OR6C74', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:Olfactory_receptor_6C74 property:found_in_taxon ?q . ?q rdf:type ontology:taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18338470
P180
Q16521 Q11060274
USER
Which prints depict greater number of taxons than The Bagpiper ?
(c(Q11060274),P180,c(Q16521))
action greater
action find_tuple_counts
relation P180
type Q11060274
type Q16521
action count
action filter_type
action find
entity Q18338470
relation P180
type Q11060274
[{'concept': 'Q11060274'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { ?k property:P180 ?z . ?k rdf:type ontology:Q11060274 . ?z rdf:type ontology:Q16521 } GROUP BY ?k } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q18338470 property:P180 ?t . ?t rdf:type ontology:Q11060274 } } }
The Bagpiper
action greater
action find_tuple_counts
relation depicts
type print
type taxon
action count
action filter_type
action find
entity The Bagpiper
relation depicts
type print
[{'concept': 'print'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { ?k property:depicts ?z . ?k rdf:type ontology:print . ?z rdf:type ontology:taxon } GROUP BY ?k } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:The_Bagpiper property:depicts ?t . ?t rdf:type ontology:print } } }
[]
taxon print
Q3898508 Q2717022 Q18822989
SYSTEM
Adam and Eve, The Dream of the Fisherman's Wife, Behind L'Élan by Fremiet (Trocadéro)
Q20968202 Q7547192 Q18822983 Q2717022 Q1219903 Q22661827 Q23681804 Q20667113 Q3898508 Q7314351 Q20667109 Q18822848 Q18822989
(c(Q11060274),P180,c(Q16521))
action greater
action find_tuple_counts
relation P180
type Q11060274
type Q16521
action count
action filter_type
action find
entity Q18338470
relation P180
type Q11060274
[ANSWERS] depict greater number of taxons than The Bagpiper
[{'concept': 'Q11060274'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { ?k property:P180 ?z . ?k rdf:type ontology:Q11060274 . ?z rdf:type ontology:Q16521 } GROUP BY ?k } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q18338470 property:P180 ?t . ?t rdf:type ontology:Q11060274 } } }
Two dogs by a lakeside Snakes On the Roofs The Dream of the Fisherman's Wife The Deformed Landser Sow Return from the Fields The Dance of Albion Untitled Adam and Eve Reptiles The Olive Trees of the Riviera Frontispiece Behind L'Élan by Fremiet (Trocadéro)
Adam and Eve, The Dream of the Fisherman's Wife and Behind L'Élan by Fremiet (Trocadéro) depict greater number of taxons than The Bagpiper
Adam and Eve The Dream of the Fisherman's Wife Behind L'Élan by Fremiet (Trocadéro)
action greater
action find_tuple_counts
relation depicts
type print
type taxon
action count
action filter_type
action find
entity The Bagpiper
relation depicts
type print
[{'concept': 'print'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?r ) WHERE { ?k property:depicts ?z . ?k rdf:type ontology:print . ?z rdf:type ontology:taxon } GROUP BY ?k } . FILTER ( ?r > ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:The_Bagpiper property:depicts ?t . ?t rdf:type ontology:print } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P180
Q56061
USER
How many administrative territories are expressed in that print ?
(Q18822989,P180,c(Q56061))
['Q18822989', 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18822989 property:P180 ?z . ?z rdf:type ontology:Q56061 }
["Behind L'Élan by Fremiet (Trocadéro)", 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Behind_L'Élan_by_Fremiet_(Trocadéro) property:depicts ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q18822989
SYSTEM
Did you mean Behind L'Élan by Fremiet (Trocadéro) ?
(Q3898508,P180,c(Q56061)) (Q2717022,P180,c(Q56061)) (Q18822989,P180,c(Q56061))
[ANSWER]
['Q3898508', 'P180', {'concept': 'Q56061'}] ['Q2717022', 'P180', {'concept': 'Q56061'}] ['Q18822989', 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18822989 property:P180 ?z . ?z rdf:type ontology:Q56061 }
Did you mean Behind L'Élan by Fremiet (Trocadéro) ?
Behind L'Élan by Fremiet (Trocadéro)
['Adam and Eve', 'depicts', {'concept': 'administrative territorial entity'}] ["The Dream of the Fisherman's Wife", 'depicts', {'concept': 'administrative territorial entity'}] ["Behind L'Élan by Fremiet (Trocadéro)", 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Behind_L'Élan_by_Fremiet_(Trocadéro) property:depicts ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q18822989,P180,c(Q56061))
['Q18822989', 'P180', {'concept': 'Q56061'}]
["Behind L'Élan by Fremiet (Trocadéro)", 'depicts', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1
Q90
(Q18822989,P180,c(Q56061))
[ANSWER]
['Q18822989', 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18822989 property:P180 ?z . ?z rdf:type ontology:Q56061 }
Paris
1
["Behind L'Élan by Fremiet (Trocadéro)", 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Behind_L'Élan_by_Fremiet_(Trocadéro) property:depicts ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3898508
P136
Q483394
USER
What can be considered as category for Adam and Eve ?
(Q3898508,P136,c(Q483394))
action filter_type
action find
entity Q3898508
relation P136
type Q483394
['Q3898508', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { resource:Q3898508 property:P136 ?y . ?y rdf:type ontology:Q483394 }
Adam and Eve
action filter_type
action find
entity Adam and Eve
relation genre
type genre
['Adam and Eve', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { resource:Adam_and_Eve property:genre ?y . ?y rdf:type ontology:genre }
[]
genre
Q40446
SYSTEM
nude
Q40446
(Q3898508,P136,c(Q483394))
action filter_type
action find
entity Q3898508
relation P136
type Q483394
Art [ANSWER] can be considered as category for Adam and Eve
['Q3898508', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?y WHERE { resource:Q3898508 property:P136 ?y . ?y rdf:type ontology:Q483394 }
nude
Art nude can be considered as category for Adam and Eve
nude
action filter_type
action find
entity Adam and Eve
relation genre
type genre
['Adam and Eve', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?y WHERE { resource:Adam_and_Eve property:genre ?y . ?y rdf:type ontology:genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3898508
P170
Q502895
USER
Who is the creator of Adam and Eve ?
(Q3898508,P170,c(Q502895))
action filter_type
action find
entity Q3898508
relation P170
type Q502895
['Q3898508', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q3898508 property:P170 ?h }
Adam and Eve
action filter_type
action find
entity Adam and Eve
relation creator
type common name
['Adam and Eve', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Adam_and_Eve property:creator ?h }
[]
common name
Q5580
SYSTEM
Albrecht Dürer
Q5580
(Q3898508,P170,c(Q502895))
action filter_type
action find
entity Q3898508
relation P170
type Q502895
The creator of Adam and Eve is the [ANSWER]
['Q3898508', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q3898508 property:P170 ?h }
Albrecht Dürer
The creator of Adam and Eve is the Albrecht Dürer
Albrecht Dürer
action filter_type
action find
entity Adam and Eve
relation creator
type common name
['Adam and Eve', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Adam_and_Eve property:creator ?h }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1078913
P101
Q483394 Q502895 Q43229
USER
How many genres are the fields of work of approximately the same number of people and organizations as plastic arts ?
(c(Q502895)|c(Q43229),P101,c(Q483394))
action count
action approx
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 Q1078913
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { { ?j rdf:type ontology:Q483394 . ?f rdf:type ontology:Q43229 . ?f property:P101 ?j } UNION { ?f property:P101 ?j . ?j rdf:type ontology:Q483394 . ?f rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P101 resource:Q1078913 . { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q43229 } } } } . FILTER ( ?v = ?n ) }
plastic arts
action count
action approx
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 plastic arts
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { { ?j rdf:type ontology:genre . ?f rdf:type ontology:organization . ?f property:field_of_work ?j } UNION { ?f property:field_of_work ?j . ?j rdf:type ontology:genre . ?f rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:field_of_work resource:plastic_arts . { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:organization } } } } . FILTER ( ?v = ?n ) }
[]
genre common name organization
SYSTEM
34
Q3739535 Q128115 Q627603 Q622812 Q678649 Q213051 Q8253 Q142714 Q208189 Q49084 Q995600 Q650483 Q2142888 Q2125867 Q2762504 Q506858 Q24925 Q1421557 Q9134 Q192110 Q291 Q1078913 Q124922 Q754803 Q737498 Q860372 Q422635 Q128758 Q15852218 Q17516 Q3566966 Q2839016 Q156035 Q181001
(c(Q502895)|c(Q43229),P101,c(Q483394))
action count
action approx
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 Q1078913
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { { ?j rdf:type ontology:Q483394 . ?f rdf:type ontology:Q43229 . ?f property:P101 ?j } UNION { ?f property:P101 ?j . ?j rdf:type ontology:Q483394 . ?f rdf:type ontology:Q502895 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P101 resource:Q1078913 . { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q43229 } } } } . FILTER ( ?v = ?n ) }
art game abstract art cartoon 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 mythology self-portrait pornography plastic arts reportage wuxia academic journal digital art action art satire urban art street art web documentary allegory opinion journalism erotica
34
action count
action approx
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 plastic arts
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { { ?j rdf:type ontology:genre . ?f rdf:type ontology:organization . ?f property:field_of_work ?j } UNION { ?f property:field_of_work ?j . ?j rdf:type ontology:genre . ?f rdf:type ontology:common_name } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:field_of_work resource:plastic_arts . { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:organization } } } } . FILTER ( ?v = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q124922
P101
Q483394 Q502895 Q43229
USER
And what about reportage?
(c(Q502895)|c(Q43229),P101,c(Q483394))
action count
action approx
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 Q124922
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:P101 ?g . ?g rdf:type ontology:Q483394 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P101 ?g . ?g rdf:type ontology:Q483394 . ?k rdf:type ontology:Q43229 } } GROUP BY ?g } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?f rdf:type ?s } . ?f property:P101 resource:Q124922 } } }
reportage
action count
action approx
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 reportage
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:field_of_work ?g . ?g rdf:type ontology:genre . ?k rdf:type ontology:common_name } UNION { ?k property:field_of_work ?g . ?g rdf:type ontology:genre . ?k rdf:type ontology:organization } } GROUP BY ?g } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:common_name ) ( ontology:organization ) } . ?f rdf:type ?s } . ?f property:field_of_work resource:reportage } } }
[]
genre common name organization
SYSTEM
34
Q3739535 Q128115 Q627603 Q622812 Q678649 Q213051 Q8253 Q142714 Q208189 Q49084 Q995600 Q650483 Q2142888 Q2125867 Q2762504 Q506858 Q24925 Q1421557 Q9134 Q192110 Q291 Q1078913 Q124922 Q754803 Q737498 Q860372 Q422635 Q128758 Q15852218 Q17516 Q3566966 Q2839016 Q156035 Q181001
(c(Q502895)|c(Q43229),P101,c(Q483394))
action count
action approx
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 Q124922
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:P101 ?g . ?g rdf:type ontology:Q483394 . ?k rdf:type ontology:Q502895 } UNION { ?k property:P101 ?g . ?g rdf:type ontology:Q483394 . ?k rdf:type ontology:Q43229 } } GROUP BY ?g } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } . ?f rdf:type ?s } . ?f property:P101 resource:Q124922 } } }
art game abstract art cartoon 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 mythology self-portrait pornography plastic arts reportage wuxia academic journal digital art action art satire urban art street art web documentary allegory opinion journalism erotica
34
action count
action approx
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 reportage
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:field_of_work ?g . ?g rdf:type ontology:genre . ?k rdf:type ontology:common_name } UNION { ?k property:field_of_work ?g . ?g rdf:type ontology:genre . ?k rdf:type ontology:organization } } GROUP BY ?g } . FILTER ( ?l = ?w ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { VALUES ( ?s ) { ( ontology:common_name ) ( ontology:organization ) } . ?f rdf:type ?s } . ?f property:field_of_work resource:reportage } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q124922
P101
Q483394 Q502895 Q43229
USER
How many genres are the fields of work of lesser number of people or organizations than reportage ?
(c(Q502895)|c(Q43229),P101,c(Q483394))
action count
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 Q124922
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?c WHERE { { ?s property:P101 ?c . ?s rdf:type ontology:Q502895 . ?c rdf:type ontology:Q483394 } UNION { ?s property:P101 ?c . ?c rdf:type ontology:Q483394 . ?s rdf:type ontology:Q43229 } } GROUP BY ?c } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P101 resource:Q124922 . { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q43229 } } } } }
reportage
action count
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 reportage
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?c WHERE { { ?s property:field_of_work ?c . ?s rdf:type ontology:common_name . ?c rdf:type ontology:genre } UNION { ?s property:field_of_work ?c . ?c rdf:type ontology:genre . ?s rdf:type ontology:organization } } GROUP BY ?c } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:field_of_work resource:reportage . { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:organization } } } } }
[]
genre common name organization
SYSTEM
5
Q3739535 Q208189 Q737498 Q3566966 Q181001
(c(Q502895)|c(Q43229),P101,c(Q483394))
action count
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 Q124922
relation P101
type Q502895
type Q43229
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?c WHERE { { ?s property:P101 ?c . ?s rdf:type ontology:Q502895 . ?c rdf:type ontology:Q483394 } UNION { ?s property:P101 ?c . ?c rdf:type ontology:Q483394 . ?s rdf:type ontology:Q43229 } } GROUP BY ?c } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P101 resource:Q124922 . { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q43229 } } } } }
art game real-time strategy academic journal web documentary erotica
5
action count
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 reportage
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) ?c WHERE { { ?s property:field_of_work ?c . ?s rdf:type ontology:common_name . ?c rdf:type ontology:genre } UNION { ?s property:field_of_work ?c . ?c rdf:type ontology:genre . ?s rdf:type ontology:organization } } GROUP BY ?c } . FILTER ( ?j < ?t ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:field_of_work resource:reportage . { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:organization } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5580
P40
Q502895
USER
Who have Albrecht Dürer as a child ?
(c(Q502895),P40,Q5580)
action filter_type
action find_reverse
entity Q5580
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5580']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q5580 . ?b rdf:type ontology:Q502895 }
Albrecht Dürer
action filter_type
action find_reverse
entity Albrecht Dürer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Albrecht Dürer']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Albrecht_Dürer . ?b rdf:type ontology:common_name }
[]
common name
Q21567927 Q535910
SYSTEM
Barbara Dürer, Albrecht Dürer the Elder
Q21567927 Q535910
(c(Q502895),P40,Q5580)
action filter_type
action find_reverse
entity Q5580
relation P40
type Q502895
[ANSWERS] have Albrecht Dürer as a child
[{'concept': 'Q502895'}, 'P40', 'Q5580']
SELECT DISTINCT ?b WHERE { ?b property:P40 resource:Q5580 . ?b rdf:type ontology:Q502895 }
Barbara Dürer Albrecht Dürer the Elder
Barbara Dürer and Albrecht Dürer the Elder have Albrecht Dürer as a child
Barbara Dürer Albrecht Dürer the Elder
action filter_type
action find_reverse
entity Albrecht Dürer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Albrecht Dürer']
SELECT DISTINCT ?b WHERE { ?b property:child resource:Albrecht_Dürer . ?b rdf:type ontology:common_name }
[]