Simple Question (Direct)
Simple Question
Q23460119
P702
Q863908
USER
What encodes DNA-directed RNA polymerase subunit alpha    FN1283 ?
(Q23460119,P702,c(Q863908))
action filter_type
action find
entity Q23460119
relation P702
type Q863908
['Q23460119', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?f WHERE { resource:Q23460119 property:P702 ?f . ?f rdf:type ontology:Q863908 }
DNA-directed RNA polymerase subunit alpha    FN1283
action filter_type
action find
entity DNA-directed RNA polymerase subunit alpha    FN1283
relation encoded by
type nucleic acid sequence
['DNA-directed RNA polymerase subunit alpha    FN1283', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?f WHERE { resource:DNA-directed_RNA_polymerase_subunit_alpha____FN1283 property:encoded_by ?f . ?f rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23115830
SYSTEM
DNA-directed RNA polymerase subunit alpha    FN1283
Q23115830
(Q23460119,P702,c(Q863908))
action filter_type
action find
entity Q23460119
relation P702
type Q863908
DNA-directed RNA polymerase subunit alpha FN1283 encodes DNA-directed RNA polymerase subunit alpha FN1283
['Q23460119', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?f WHERE { resource:Q23460119 property:P702 ?f . ?f rdf:type ontology:Q863908 }
DNA-directed RNA polymerase subunit alpha    FN1283
DNA-directed RNA polymerase subunit alpha FN1283 encodes DNA-directed RNA polymerase subunit alpha FN1283
DNA-directed RNA polymerase subunit alpha    FN1283
action filter_type
action find
entity DNA-directed RNA polymerase subunit alpha    FN1283
relation encoded by
type nucleic acid sequence
['DNA-directed RNA polymerase subunit alpha    FN1283', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?f WHERE { resource:DNA-directed_RNA_polymerase_subunit_alpha____FN1283 property:encoded_by ?f . ?f rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23460119
P703
Q631147
USER
Where is DNA-directed RNA polymerase subunit alpha    FN1283 found ?
(Q23460119,P703,c(Q631147))
action filter_type
action find
entity Q23460119
relation P703
type Q631147
['Q23460119', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?o WHERE { resource:Q23460119 property:P703 ?o . ?o rdf:type ontology:Q631147 }
DNA-directed RNA polymerase subunit alpha    FN1283
action filter_type
action find
entity DNA-directed RNA polymerase subunit alpha    FN1283
relation found in taxon
type infraspecific name
['DNA-directed RNA polymerase subunit alpha    FN1283', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?o WHERE { resource:DNA-directed_RNA_polymerase_subunit_alpha____FN1283 property:found_in_taxon ?o . ?o rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102951
SYSTEM
Fusobacterium nucleatum subsp. nucleatum ATCC 25586
Q21102951
(Q23460119,P703,c(Q631147))
action filter_type
action find
entity Q23460119
relation P703
type Q631147
DNA-directed RNA polymerase subunit alpha FN1283 is found in [ANSWER]
['Q23460119', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?o WHERE { resource:Q23460119 property:P703 ?o . ?o rdf:type ontology:Q631147 }
Fusobacterium nucleatum subsp. nucleatum ATCC 25586
DNA-directed RNA polymerase subunit alpha FN1283 is found in Fusobacterium nucleatum subsp. nucleatum ATCC 25586
Fusobacterium nucleatum subsp. nucleatum ATCC 25586
action filter_type
action find
entity DNA-directed RNA polymerase subunit alpha    FN1283
relation found in taxon
type infraspecific name
['DNA-directed RNA polymerase subunit alpha    FN1283', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?o WHERE { resource:DNA-directed_RNA_polymerase_subunit_alpha____FN1283 property:found_in_taxon ?o . ?o rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23115830
P702
Q181394
USER
How many nutrients do DNA-directed RNA polymerase subunit alpha    FN1283 encode ?
(c(Q181394),P702,Q23115830)
action count
action filter_type
action find_reverse
entity Q23115830
relation P702
type Q181394
[{'concept': 'Q181394'}, 'P702', 'Q23115830']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P702 resource:Q23115830 . ?o rdf:type ontology:Q181394 }
DNA-directed RNA polymerase subunit alpha    FN1283
action count
action filter_type
action find_reverse
entity DNA-directed RNA polymerase subunit alpha    FN1283
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'DNA-directed RNA polymerase subunit alpha    FN1283']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:encoded_by resource:DNA-directed_RNA_polymerase_subunit_alpha____FN1283 . ?o rdf:type ontology:nutrient }
[]
nutrient
SYSTEM
1
Q23460119
(c(Q181394),P702,Q23115830)
action count
action filter_type
action find_reverse
entity Q23115830
relation P702
type Q181394
[ANSWER]
[{'concept': 'Q181394'}, 'P702', 'Q23115830']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P702 resource:Q23115830 . ?o rdf:type ontology:Q181394 }
DNA-directed RNA polymerase subunit alpha    FN1283
1
action count
action filter_type
action find_reverse
entity DNA-directed RNA polymerase subunit alpha    FN1283
relation encoded by
type nutrient
[{'concept': 'nutrient'}, 'encoded by', 'DNA-directed RNA polymerase subunit alpha    FN1283']
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:encoded_by resource:DNA-directed_RNA_polymerase_subunit_alpha____FN1283 . ?o rdf:type ontology:nutrient }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q83310
P144
Q15619164
USER
Which abstract being is an extension Mus musculus ?
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?b WHERE { ?b property:P144 resource:Q83310 . ?b rdf:type ontology:Q15619164 }
Mus musculus
action filter_type
action find_reverse
entity Mus musculus
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Mus musculus']
SELECT DISTINCT ?b WHERE { ?b property:based_on resource:Mus_musculus . ?b rdf:type ontology:abstract_being }
[]
abstract being
Q9351
SYSTEM
Pikachu
Q9351
(c(Q15619164),P144,Q83310)
action filter_type
action find_reverse
entity Q83310
relation P144
type Q15619164
[ANSWER] is an extension Mus musculus
[{'concept': 'Q15619164'}, 'P144', 'Q83310']
SELECT DISTINCT ?b WHERE { ?b property:P144 resource:Q83310 . ?b rdf:type ontology:Q15619164 }
Pikachu
Pikachu is an extension Mus musculus
Pikachu
action filter_type
action find_reverse
entity Mus musculus
relation based on
type abstract being
[{'concept': 'abstract being'}, 'based on', 'Mus musculus']
SELECT DISTINCT ?b WHERE { ?b property:based_on resource:Mus_musculus . ?b rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9351
P180
Q838948
USER
Which work of art expresses that abstract being ?
(c(Q838948),P180,Q9351)
action filter_type
action find_reverse
entity Q9351
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q9351']
SELECT DISTINCT ?h WHERE { ?h property:P180 resource:Q9351 . ?h rdf:type ontology:Q838948 }
Pikachu
action filter_type
action find_reverse
entity Pikachu
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Pikachu']
SELECT DISTINCT ?h WHERE { ?h property:depicts resource:Pikachu . ?h rdf:type ontology:work_of_art }
[]
work of art
Q26775830
SYSTEM
Pikachu
Q26775830
(c(Q838948),P180,Q9351)
action filter_type
action find_reverse
entity Q9351
relation P180
type Q838948
[ANSWER] expresses that abstract being
[{'concept': 'Q838948'}, 'P180', 'Q9351']
SELECT DISTINCT ?h WHERE { ?h property:P180 resource:Q9351 . ?h rdf:type ontology:Q838948 }
Pikachu
Pikachu expresses that abstract being
Pikachu
action filter_type
action find_reverse
entity Pikachu
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Pikachu']
SELECT DISTINCT ?h WHERE { ?h property:depicts resource:Pikachu . ?h rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q26775830 Q667394 Q30
P17
Q15617994
USER
Is Pikachu situated in Siebenbäumen and United States of America ?
(Q26775830,P17,Q667394) (Q26775830,P17,Q30)
action is_in
entity Q26775830
action intersection
action find_reverse
entity Q667394
relation P17
action find_reverse
entity Q30
relation P17
['Q26775830', 'P17', 'Q667394'] ['Q26775830', 'P17', 'Q30']
ASK WHERE { resource:Q26775830 property:P17 resource:Q667394 . resource:Q26775830 property:P17 resource:Q30 }
Pikachu Siebenbäumen United States of America
action is_in
entity Pikachu
action intersection
action find_reverse
entity Siebenbäumen
relation country
action find_reverse
entity United States of America
relation country
['Pikachu', 'country', 'Siebenbäumen'] ['Pikachu', 'country', 'United States of America']
ASK WHERE { resource:Pikachu property:country resource:Siebenbäumen . resource:Pikachu property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q26775830,P17,Q667394) (Q26775830,P17,Q30)
action is_in
entity Q26775830
action intersection
action find_reverse
entity Q667394
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q26775830', 'P17', 'Q667394'] ['Q26775830', 'P17', 'Q30']
ASK WHERE { resource:Q26775830 property:P17 resource:Q667394 . resource:Q26775830 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Pikachu
action intersection
action find_reverse
entity Siebenbäumen
relation country
action find_reverse
entity United States of America
relation country
['Pikachu', 'country', 'Siebenbäumen'] ['Pikachu', 'country', 'United States of America']
ASK WHERE { resource:Pikachu property:country resource:Siebenbäumen . resource:Pikachu property:country resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q838948 Q11424 Q838948
USER
Which works of art were max number of films and works of art inspired by ?
(c(Q11424)|c(Q838948),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
[[{'concept': 'Q11424'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P941 ?e . ?e rdf:type ontology:Q838948 . ?w rdf:type ontology:Q11424 } UNION { ?w property:P941 ?e . ?e rdf:type ontology:Q838948 . ?w rdf:type ontology:Q838948 } } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { { ?c rdf:type ontology:Q838948 . ?t rdf:type ontology:Q838948 . ?t property:P941 ?c } UNION { ?t property:P941 ?c . ?c rdf:type ontology:Q838948 . ?t rdf:type ontology:Q11424 } } GROUP BY ?c } . FILTER ( ?l = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
[[{'concept': 'film'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:inspired_by ?e . ?e rdf:type ontology:work_of_art . ?w rdf:type ontology:film } UNION { ?w property:inspired_by ?e . ?e rdf:type ontology:work_of_art . ?w rdf:type ontology:work_of_art } } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { { ?c rdf:type ontology:work_of_art . ?t rdf:type ontology:work_of_art . ?t property:inspired_by ?c } UNION { ?t property:inspired_by ?c . ?c rdf:type ontology:work_of_art . ?t rdf:type ontology:film } } GROUP BY ?c } . FILTER ( ?l = ?u ) }
[]
work of art film work of art
Q83186
SYSTEM
Romeo and Juliet
Q83186
(c(Q11424)|c(Q838948),P941,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q838948
Of art were max number of films and works of art inspired by the [ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q838948'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:P941 ?e . ?e rdf:type ontology:Q838948 . ?w rdf:type ontology:Q11424 } UNION { ?w property:P941 ?e . ?e rdf:type ontology:Q838948 . ?w rdf:type ontology:Q838948 } } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { { ?c rdf:type ontology:Q838948 . ?t rdf:type ontology:Q838948 . ?t property:P941 ?c } UNION { ?t property:P941 ?c . ?c rdf:type ontology:Q838948 . ?t rdf:type ontology:Q11424 } } GROUP BY ?c } . FILTER ( ?l = ?u ) }
Romeo and Juliet
Of art were max number of films and works of art inspired by the Romeo and Juliet
Romeo and Juliet
action argmax
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type work of art
[[{'concept': 'film'}, {'concept': 'work of art'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?f ) WHERE { { ?w property:inspired_by ?e . ?e rdf:type ontology:work_of_art . ?w rdf:type ontology:film } UNION { ?w property:inspired_by ?e . ?e rdf:type ontology:work_of_art . ?w rdf:type ontology:work_of_art } } GROUP BY ?e } } . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?l ) WHERE { { ?c rdf:type ontology:work_of_art . ?t rdf:type ontology:work_of_art . ?t property:inspired_by ?c } UNION { ?t property:inspired_by ?c . ?c rdf:type ontology:work_of_art . ?t rdf:type ontology:film } } GROUP BY ?c } . FILTER ( ?l = ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83186
P1433
Q234460
USER
Which texts were published in that work of art ?
(c(Q234460),P1433,Q83186)
action filter_type
action find_reverse
entity Q83186
relation P1433
type Q234460
[{'concept': 'Q234460'}, 'P1433', 'Q83186']
SELECT DISTINCT ?g WHERE { ?g property:P1433 resource:Q83186 . ?g rdf:type ontology:Q234460 }
Romeo and Juliet
action filter_type
action find_reverse
entity Romeo and Juliet
relation published in
type text
[{'concept': 'text'}, 'published in', 'Romeo and Juliet']
SELECT DISTINCT ?g WHERE { ?g property:published_in resource:Romeo_and_Juliet . ?g rdf:type ontology:text }
[]
text
Q7600519 Q4660979
SYSTEM
Star-crossed, A rose by any other name would smell as sweet
Q7600519 Q4660979
(c(Q234460),P1433,Q83186)
action filter_type
action find_reverse
entity Q83186
relation P1433
type Q234460
[ANSWERS] were published in that work of art
[{'concept': 'Q234460'}, 'P1433', 'Q83186']
SELECT DISTINCT ?g WHERE { ?g property:P1433 resource:Q83186 . ?g rdf:type ontology:Q234460 }
Star-crossed A rose by any other name would smell as sweet
Star-crossed and A rose by any other name would smell as sweet were published in that work of art
Star-crossed A rose by any other name would smell as sweet
action filter_type
action find_reverse
entity Romeo and Juliet
relation published in
type text
[{'concept': 'text'}, 'published in', 'Romeo and Juliet']
SELECT DISTINCT ?g WHERE { ?g property:published_in resource:Romeo_and_Juliet . ?g rdf:type ontology:text }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26775830
P138
Q15619164
USER
What is Pikachu named after ?
(Q26775830,P138,c(Q15619164))
action filter_type
action find
entity Q26775830
relation P138
type Q15619164
['Q26775830', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?s WHERE { resource:Q26775830 property:P138 ?s . ?s rdf:type ontology:Q15619164 }
Pikachu
action filter_type
action find
entity Pikachu
relation named after
type abstract being
['Pikachu', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?s WHERE { resource:Pikachu property:named_after ?s . ?s rdf:type ontology:abstract_being }
[]
abstract being
Q9351
SYSTEM
Pikachu
Q9351
(Q26775830,P138,c(Q15619164))
action filter_type
action find
entity Q26775830
relation P138
type Q15619164
[ANSWER] is named for [ANSWER]
['Q26775830', 'P138', {'concept': 'Q15619164'}]
SELECT DISTINCT ?s WHERE { resource:Q26775830 property:P138 ?s . ?s rdf:type ontology:Q15619164 }
Pikachu
Pikachu is named for Pikachu
Pikachu
action filter_type
action find
entity Pikachu
relation named after
type abstract being
['Pikachu', 'named after', {'concept': 'abstract being'}]
SELECT DISTINCT ?s WHERE { resource:Pikachu property:named_after ?s . ?s rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26775830
P136
Q483394
USER
What can be considered as category for Pikachu ?
(Q26775830,P136,c(Q483394))
action filter_type
action find
entity Q26775830
relation P136
type Q483394
['Q26775830', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?u WHERE { resource:Q26775830 property:P136 ?u . ?u rdf:type ontology:Q483394 }
Pikachu
action filter_type
action find
entity Pikachu
relation genre
type genre
['Pikachu', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?u WHERE { resource:Pikachu property:genre ?u . ?u rdf:type ontology:genre }
[]
genre
Q557141
SYSTEM
public art
Q557141
(Q26775830,P136,c(Q483394))
action filter_type
action find
entity Q26775830
relation P136
type Q483394
[ANSWER] can be considered as category for Pikachu
['Q26775830', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?u WHERE { resource:Q26775830 property:P136 ?u . ?u rdf:type ontology:Q483394 }
public art
Public art can be considered as category for Pikachu
public art
action filter_type
action find
entity Pikachu
relation genre
type genre
['Pikachu', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?u WHERE { resource:Pikachu property:genre ?u . ?u rdf:type ontology:genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q648866
Q483394
USER
And also tell me about Stelarc?
(Q648866,P136,c(Q483394))
action filter_type
action find
entity Q648866
relation P136
type Q483394
['Q648866', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?a WHERE { resource:Q648866 property:P136 ?a . ?a rdf:type ontology:Q483394 }
Stelarc
action filter_type
action find
entity Stelarc
relation genre
type genre
['Stelarc', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?a WHERE { resource:Stelarc property:genre ?a . ?a rdf:type ontology:genre }
[]
genre
Q213156 Q678649
SYSTEM
performance art, body art
Q213156 Q678649
(Q648866,P136,c(Q483394))
action filter_type
action find
entity Q648866
relation P136
type Q483394
[ANSWERS]
['Q648866', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?a WHERE { resource:Q648866 property:P136 ?a . ?a rdf:type ontology:Q483394 }
performance art body art
performance art body art
action filter_type
action find
entity Stelarc
relation genre
type genre
['Stelarc', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?a WHERE { resource:Stelarc property:genre ?a . ?a rdf:type ontology:genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2268725
P135
Q483394 Q3305213
USER
How many paintings are associated with more number of genres than The Trials of Moses ?
(c(Q3305213),P135,c(Q483394))
action count
action greater
action find_tuple_counts
relation P135
type Q3305213
type Q483394
action count
action filter_type
action find
entity Q2268725
relation P135
type Q3305213
[{'concept': 'Q3305213'}, 'P135', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:P135 ?i . ?v rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q483394 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q2268725 property:P135 ?t . ?t rdf:type ontology:Q3305213 } } . FILTER ( ?l > ?r ) }
The Trials of Moses
action count
action greater
action find_tuple_counts
relation movement
type painting
type genre
action count
action filter_type
action find
entity The Trials of Moses
relation movement
type painting
[{'concept': 'painting'}, 'movement', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:movement ?i . ?v rdf:type ontology:painting . ?i rdf:type ontology:genre } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:The_Trials_of_Moses property:movement ?t . ?t rdf:type ontology:painting } } . FILTER ( ?l > ?r ) }
[]
genre painting
SYSTEM
2
Q15150145 Q17627562
(c(Q3305213),P135,c(Q483394))
action count
action greater
action find_tuple_counts
relation P135
type Q3305213
type Q483394
action count
action filter_type
action find
entity Q2268725
relation P135
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P135', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:P135 ?i . ?v rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q483394 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:Q2268725 property:P135 ?t . ?t rdf:type ontology:Q3305213 } } . FILTER ( ?l > ?r ) }
Aux gloires du Lyonnais et du Beaujolais Woman's head with ram horns
2
action count
action greater
action find_tuple_counts
relation movement
type painting
type genre
action count
action filter_type
action find
entity The Trials of Moses
relation movement
type painting
[{'concept': 'painting'}, 'movement', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?i ) AS ?l ) WHERE { ?v property:movement ?i . ?v rdf:type ontology:painting . ?i rdf:type ontology:genre } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { resource:The_Trials_of_Moses property:movement ?t . ?t rdf:type ontology:painting } } . FILTER ( ?l > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3620750
P135
Q483394 Q3305213
USER
And what about The Apostles?
(c(Q3305213),P135,c(Q483394))
action count
action greater
action find_tuple_counts
relation P135
type Q3305213
type Q483394
action count
action filter_type
action find
entity Q3620750
relation P135
type Q3305213
[{'concept': 'Q3305213'}, 'P135', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?r ) WHERE { ?a property:P135 ?j . ?a rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q483394 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q3620750 property:P135 ?s . ?s rdf:type ontology:Q3305213 } } . FILTER ( ?r > ?g ) }
The Apostles
action count
action greater
action find_tuple_counts
relation movement
type painting
type genre
action count
action filter_type
action find
entity The Apostles
relation movement
type painting
[{'concept': 'painting'}, 'movement', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?r ) WHERE { ?a property:movement ?j . ?a rdf:type ontology:painting . ?j rdf:type ontology:genre } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:The_Apostles property:movement ?s . ?s rdf:type ontology:painting } } . FILTER ( ?r > ?g ) }
[]
genre painting
SYSTEM
2
Q15150145 Q17627562
(c(Q3305213),P135,c(Q483394))
action count
action greater
action find_tuple_counts
relation P135
type Q3305213
type Q483394
action count
action filter_type
action find
entity Q3620750
relation P135
type Q3305213
[ANSWER]
[{'concept': 'Q3305213'}, 'P135', {'concept': 'Q483394'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?r ) WHERE { ?a property:P135 ?j . ?a rdf:type ontology:Q3305213 . ?j rdf:type ontology:Q483394 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:Q3620750 property:P135 ?s . ?s rdf:type ontology:Q3305213 } } . FILTER ( ?r > ?g ) }
Aux gloires du Lyonnais et du Beaujolais Woman's head with ram horns
2
action count
action greater
action find_tuple_counts
relation movement
type painting
type genre
action count
action filter_type
action find
entity The Apostles
relation movement
type painting
[{'concept': 'painting'}, 'movement', {'concept': 'genre'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?r ) WHERE { ?a property:movement ?j . ?a rdf:type ontology:painting . ?j rdf:type ontology:genre } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { resource:The_Apostles property:movement ?s . ?s rdf:type ontology:painting } } . FILTER ( ?r > ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9321426 Q2268725
P170 P725
Q502895
USER
Which people are the creators of The Trials of Moses or did the voice dubbing for Finding Dory ?
OR((Q2268725,P170,c(Q502895)), (Q9321426,P725,c(Q502895)))
action filter_type
action union
action find
entity Q2268725
relation P170
action find
entity Q9321426
relation P725
type Q502895
{'OR': [['Q2268725', 'P170', {'concept': 'Q502895'}], ['Q9321426', 'P725', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2268725 property:P170 ?q } UNION { resource:Q9321426 property:P725 ?q } } . ?q rdf:type ontology:Q502895 }
Finding Dory The Trials of Moses
action filter_type
action union
action find
entity The Trials of Moses
relation creator
action find
entity Finding Dory
relation voice actor
type common name
{'OR': [['The Trials of Moses', 'creator', {'concept': 'common name'}], ['Finding Dory', 'voice actor', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_Trials_of_Moses property:creator ?q } UNION { resource:Finding_Dory property:voice_actor ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q24576932 Q331720 Q7703415 Q17386294 Q24577063 Q102642 Q342604 Q24575992 Q24575987 Q16758
SYSTEM
Some of them are Paige Pollack, Brad Garrett, Terrell Ransom, Jr, Angus MacLane, Ashlyn Faith Williams, Diane Keaton, Idris Elba, Aaron Fors, Liza de Weerd, Ed O'Neill
Q229487 Q24576865 Q24075690 Q24577025 Q8022311 Q24576944 Q356303 Q462065 Q483325 Q24575423 Q24575421 Q5669 Q188772 Q2503149 Q6181669 Q102124 Q290094 Q24515051 Q24576852 Q24576851 Q723057 Q24575992 Q24515012 Q24576854 Q24515036 Q313020 Q24576932 Q24576955 Q24577045 Q24576872 Q24576833 Q328723 Q2745577 Q24576958 Q342604 Q24576908 Q102642 Q24576937 Q24577087 Q24576889 Q23017045 Q2426173 Q24576900 Q17386294 Q24575981 Q24514995 Q374093 Q24576984 Q24577063 Q24575987 Q24575988 Q2621064 Q331720 Q248179 Q24576840 Q464320 Q24515068 Q312129 Q740682 Q16758 Q24575989 Q24576927 Q24515060 Q572004 Q7703415 Q14537
OR((Q2268725,P170,c(Q502895)), (Q9321426,P725,c(Q502895)))
action filter_type
action union
action find
entity Q2268725
relation P170
action find
entity Q9321426
relation P725
type Q502895
[ANSWERS] are the creators of The Trials of Moses or did the voice dubbing for Finding Dory
{'OR': [['Q2268725', 'P170', {'concept': 'Q502895'}], ['Q9321426', 'P725', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2268725 property:P170 ?q } UNION { resource:Q9321426 property:P725 ?q } } . ?q rdf:type ontology:Q502895 }
Allison Janney Daniella Jones Dylan Naber Nancy Truman Willow Geer-Alsop David Randolph Albert Brooks Alexander Gould Ellen DeGeneres Doug Burch Veronika Bonell Sandro Botticelli Willem Dafoe David Arnott Jeremy Maxwell Sigourney Weaver Kaitlin Olson Katherine Ringgold Dara Iruka Barbara Harris Kate McKinnon Aaron Fors Sloane Murray Molly Jackson Torbin Xan Bullock Dominic West Paige Pollack Emma Shannon Andreana Weiner Carlyle King Carter Hastings Andrew Stanton Cathy Cavadini Gunnar Sizemore Idris Elba Jason Pace Diane Keaton Alex Puccinelli Dash Zamm Riley Lio Jerome Ranft Vicki Lewis Daniel Edward Mora Angus MacLane Will Collyer Hayden Rolence John Ratzenberger Regina Taufen Ashlyn Faith Williams Liza de Weerd Judi Durand Andy Hirsch Brad Garrett Ty Burrell Aaron Hendry Stephen Root Bennett Dammann Eugene Levy Bob Peterson Ed O'Neill Deb Fink Carrie Paff Lucia Geddes Austin Pendleton Terrell Ransom, Jr Bill Hader
Paige Pollack, Brad Garrett, Terrell Ransom, Jr, Angus MacLane, Ashlyn Faith Williams, Diane Keaton, Idris Elba, Aaron Fors, Liza de Weerd and Ed O'Neill are the creators of The Trials of Moses or did the voice dubbing for Finding Dory
Paige Pollack Brad Garrett Terrell Ransom, Jr Angus MacLane Ashlyn Faith Williams Diane Keaton Idris Elba Aaron Fors Liza de Weerd Ed O'Neill
action filter_type
action union
action find
entity The Trials of Moses
relation creator
action find
entity Finding Dory
relation voice actor
type common name
{'OR': [['The Trials of Moses', 'creator', {'concept': 'common name'}], ['Finding Dory', 'voice actor', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_Trials_of_Moses property:creator ?q } UNION { resource:Finding_Dory property:voice_actor ?q } } . ?q rdf:type ontology:common_name }
[]