Simple Question (Direct)
Simple Question
Q21988498
P681
Q15989253
USER
Which are the parts that are a component of Small nuclear ribonucleoprotein-associated protein N ?
(Q21988498,P681,c(Q15989253))
action filter_type
action find
entity Q21988498
relation P681
type Q15989253
['Q21988498', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { resource:Q21988498 property:P681 ?g . ?g rdf:type ontology:Q15989253 }
Small nuclear ribonucleoprotein-associated protein N
action filter_type
action find
entity Small nuclear ribonucleoprotein-associated protein N
relation cell component
type part
['Small nuclear ribonucleoprotein-associated protein N', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { resource:Small_nuclear_ribonucleoprotein-associated_protein_N property:cell_component ?g . ?g rdf:type ontology:part }
[]
part
Q79899 Q40260
SYSTEM
cytoplasm, nucleus
Q79899 Q40260
(Q21988498,P681,c(Q15989253))
action filter_type
action find
entity Q21988498
relation P681
type Q15989253
The parts that are a component of Small nuclear ribonucleoprotein-associated protein N are in [ANSWERS]
['Q21988498', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { resource:Q21988498 property:P681 ?g . ?g rdf:type ontology:Q15989253 }
cytoplasm nucleus
The parts that are a component of Small nuclear ribonucleoprotein-associated protein N are in cytoplasm and nucleus
cytoplasm nucleus
action filter_type
action find
entity Small nuclear ribonucleoprotein-associated protein N
relation cell component
type part
['Small nuclear ribonucleoprotein-associated protein N', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { resource:Small_nuclear_ribonucleoprotein-associated_protein_N property:cell_component ?g . ?g rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21988498
P688
Q863908
USER
Which nucleic acid sequence encodes Small nuclear ribonucleoprotein-associated protein N ?
(c(Q863908),P688,Q21988498)
action filter_type
action find_reverse
entity Q21988498
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21988498']
SELECT DISTINCT ?d WHERE { ?d property:P688 resource:Q21988498 . ?d rdf:type ontology:Q863908 }
Small nuclear ribonucleoprotein-associated protein N
action filter_type
action find_reverse
entity Small nuclear ribonucleoprotein-associated protein N
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Small nuclear ribonucleoprotein-associated protein N']
SELECT DISTINCT ?d WHERE { ?d property:encodes resource:Small_nuclear_ribonucleoprotein-associated_protein_N . ?d rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18254222
SYSTEM
Snrpn
Q18254222
(c(Q863908),P688,Q21988498)
action filter_type
action find_reverse
entity Q21988498
relation P688
type Q863908
N [ANSWER] encodes Small nuclear ribonucleoprotein-associated protein N
[{'concept': 'Q863908'}, 'P688', 'Q21988498']
SELECT DISTINCT ?d WHERE { ?d property:P688 resource:Q21988498 . ?d rdf:type ontology:Q863908 }
Snrpn
N Snrpn encodes Small nuclear ribonucleoprotein-associated protein N
Snrpn
action filter_type
action find_reverse
entity Small nuclear ribonucleoprotein-associated protein N
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Small nuclear ribonucleoprotein-associated protein N']
SELECT DISTINCT ?d WHERE { ?d property:encodes resource:Small_nuclear_ribonucleoprotein-associated_protein_N . ?d rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21988498
P702
Q863908
USER
What is the gene that encodes Small nuclear ribonucleoprotein-associated protein N ?
(Q21988498,P702,c(Q863908))
action filter_type
action find
entity Q21988498
relation P702
type Q863908
['Q21988498', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?j WHERE { resource:Q21988498 property:P702 ?j . ?j rdf:type ontology:Q863908 }
Small nuclear ribonucleoprotein-associated protein N
action filter_type
action find
entity Small nuclear ribonucleoprotein-associated protein N
relation encoded by
type nucleic acid sequence
['Small nuclear ribonucleoprotein-associated protein N', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?j WHERE { resource:Small_nuclear_ribonucleoprotein-associated_protein_N property:encoded_by ?j . ?j rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18254222
SYSTEM
Snrpn
Q18254222
(Q21988498,P702,c(Q863908))
action filter_type
action find
entity Q21988498
relation P702
type Q863908
The gene that encodes Small nuclear ribonucleoprotein-associated protein N is called [ANSWER]
['Q21988498', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?j WHERE { resource:Q21988498 property:P702 ?j . ?j rdf:type ontology:Q863908 }
Snrpn
The gene that encodes Small nuclear ribonucleoprotein-associated protein N is called Snrpn
Snrpn
action filter_type
action find
entity Small nuclear ribonucleoprotein-associated protein N
relation encoded by
type nucleic acid sequence
['Small nuclear ribonucleoprotein-associated protein N', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?j WHERE { resource:Small_nuclear_ribonucleoprotein-associated_protein_N property:encoded_by ?j . ?j rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18254222
P703
Q16521
USER
Where is that nucleic acid sequence found ?
(Q18254222,P703,c(Q16521))
action filter_type
action find
entity Q18254222
relation P703
type Q16521
['Q18254222', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { resource:Q18254222 property:P703 ?d . ?d rdf:type ontology:Q16521 }
Snrpn
action filter_type
action find
entity Snrpn
relation found in taxon
type taxon
['Snrpn', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { resource:Snrpn property:found_in_taxon ?d . ?d rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q18254222,P703,c(Q16521))
action filter_type
action find
entity Q18254222
relation P703
type Q16521
That nucleic acid sequence is found in [ANSWER]
['Q18254222', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?d WHERE { resource:Q18254222 property:P703 ?d . ?d rdf:type ontology:Q16521 }
Mus musculus
That nucleic acid sequence is found in Mus musculus
Mus musculus
action filter_type
action find
entity Snrpn
relation found in taxon
type taxon
['Snrpn', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?d WHERE { resource:Snrpn property:found_in_taxon ?d . ?d rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18273486
Q16521
USER
And what about Atl3?
(Q18273486,P703,c(Q16521))
action filter_type
action find
entity Q18273486
relation P703
type Q16521
['Q18273486', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?w WHERE { resource:Q18273486 property:P703 ?w . ?w rdf:type ontology:Q16521 }
Atl3
action filter_type
action find
entity Atl3
relation found in taxon
type taxon
['Atl3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?w WHERE { resource:Atl3 property:found_in_taxon ?w . ?w rdf:type ontology:taxon }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q18273486,P703,c(Q16521))
action filter_type
action find
entity Q18273486
relation P703
type Q16521
[ANSWER]
['Q18273486', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?w WHERE { resource:Q18273486 property:P703 ?w . ?w rdf:type ontology:Q16521 }
Mus musculus
Mus musculus
action filter_type
action find
entity Atl3
relation found in taxon
type taxon
['Atl3', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?w WHERE { resource:Atl3 property:found_in_taxon ?w . ?w rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18273486
P684
Q863908
USER
What is an otrhologus gene for that one ?
(Q83310,P684,c(Q863908))
action filter_type
action find
entity Q18273486
relation P684
type Q863908
['Q83310', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q18273486 property:P684 ?a . ?a rdf:type ontology:Q863908 }
Atl3
action filter_type
action find
entity Atl3
relation ortholog
type nucleic acid sequence
['Mus musculus', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:Atl3 property:ortholog ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18037798
SYSTEM
ATL3
Q18037798
(Q83310,P684,c(Q863908))
action filter_type
action find
entity Q18273486
relation P684
type Q863908
An otrhologus gene for that one is an [ANSWER]
['Q83310', 'P684', {'concept': 'Q863908'}]
SELECT DISTINCT ?a WHERE { resource:Q18273486 property:P684 ?a . ?a rdf:type ontology:Q863908 }
ATL3
An otrhologus gene for that one is an ATL3
ATL3
action filter_type
action find
entity Atl3
relation ortholog
type nucleic acid sequence
['Mus musculus', 'ortholog', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?a WHERE { resource:Atl3 property:ortholog ?a . ?a rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18037798 Q23558134 Q21116755
P688
Q181394
USER
Does that nucleic acid sequence encodes acetyltransferase    STM4029 and Atlastin-3 ?
(Q18037798,P688,Q23558134) (Q18037798,P688,Q21116755)
action is_in
entity Q18037798
action intersection
action find_reverse
entity Q23558134
relation P688
action find_reverse
entity Q21116755
relation P688
['Q18037798', 'P688', 'Q23558134'] ['Q18037798', 'P688', 'Q21116755']
ASK WHERE { resource:Q18037798 property:P688 resource:Q21116755 . resource:Q18037798 property:P688 resource:Q23558134 }
ATL3 acetyltransferase    STM4029 Atlastin-3
action is_in
entity ATL3
action intersection
action find_reverse
entity acetyltransferase    STM4029
relation encodes
action find_reverse
entity Atlastin-3
relation encodes
['ATL3', 'encodes', 'acetyltransferase    STM4029'] ['ATL3', 'encodes', 'Atlastin-3']
ASK WHERE { resource:ATL3 property:encodes resource:Atlastin-3 . resource:ATL3 property:encodes resource:acetyltransferase____STM4029 }
[]
nutrient
SYSTEM
NO and YES respectively
(Q18037798,P688,Q23558134) (Q18037798,P688,Q21116755)
action is_in
entity Q18037798
action intersection
action find_reverse
entity Q23558134
relation P688
action find_reverse
entity Q21116755
relation P688
[ANSWER]
['Q18037798', 'P688', 'Q23558134'] ['Q18037798', 'P688', 'Q21116755']
ASK WHERE { resource:Q18037798 property:P688 resource:Q21116755 . resource:Q18037798 property:P688 resource:Q23558134 }
NO and YES respectively
action is_in
entity ATL3
action intersection
action find_reverse
entity acetyltransferase    STM4029
relation encodes
action find_reverse
entity Atlastin-3
relation encodes
['ATL3', 'encodes', 'acetyltransferase    STM4029'] ['ATL3', 'encodes', 'Atlastin-3']
ASK WHERE { resource:ATL3 property:encodes resource:Atlastin-3 . resource:ATL3 property:encodes resource:acetyltransferase____STM4029 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18254222 Q21988498
P688
Q181394
USER
Is Small nuclear ribonucleoprotein-associated protein N encoded by Snrpn ?
(Q18254222,P688,Q21988498)
action is_in
entity Q21988498
action find
entity Q18254222
relation P688
['Q18254222', 'P688', 'Q21988498']
ASK WHERE { resource:Q18254222 property:P688 resource:Q21988498 }
Snrpn Small nuclear ribonucleoprotein-associated protein N
action is_in
entity Small nuclear ribonucleoprotein-associated protein N
action find
entity Snrpn
relation encodes
['Snrpn', 'encodes', 'Small nuclear ribonucleoprotein-associated protein N']
ASK WHERE { resource:Snrpn property:encodes resource:Small_nuclear_ribonucleoprotein-associated_protein_N }
[]
nutrient
SYSTEM
YES
(Q18254222,P688,Q21988498)
action is_in
entity Q21988498
action find
entity Q18254222
relation P688
[ANSWER]
['Q18254222', 'P688', 'Q21988498']
ASK WHERE { resource:Q18254222 property:P688 resource:Q21988498 }
Yes
action is_in
entity Small nuclear ribonucleoprotein-associated protein N
action find
entity Snrpn
relation encodes
['Snrpn', 'encodes', 'Small nuclear ribonucleoprotein-associated protein N']
ASK WHERE { resource:Snrpn property:encodes resource:Small_nuclear_ribonucleoprotein-associated_protein_N }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q18254222
Q16521
USER
And which taxon?
(Q18254222,P703,c(Q16521))
action filter_type
action find
entity Q18254222
relation P703
type Q16521
['Q18254222', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q16521 . resource:Q18254222 property:P703 ?j }
Snrpn
action filter_type
action find
entity Snrpn
relation found in taxon
type taxon
['Snrpn', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:taxon . resource:Snrpn property:found_in_taxon ?j }
[]
taxon
Q83310
SYSTEM
Mus musculus
Q83310
(Q18254222,P703,c(Q16521))
action filter_type
action find
entity Q18254222
relation P703
type Q16521
[ANSWER]
['Q18254222', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q16521 . resource:Q18254222 property:P703 ?j }
Mus musculus
Mus musculus
action filter_type
action find
entity Snrpn
relation found in taxon
type taxon
['Snrpn', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:taxon . resource:Snrpn property:found_in_taxon ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q83310 Q23430584
P703
Q181394
USER
Does hypothetical protein    AHA_2861 specy belongs to the taxon that one ?
(Q23430584,P703,Q83310)
action is_in
entity Q23430584
action find
entity Q83310
relation P703
['Q23430584', 'P703', 'Q83310']
ASK WHERE { resource:Q83310 property:P703 resource:Q23430584 }
Mus musculus hypothetical protein    AHA_2861
action is_in
entity hypothetical protein    AHA_2861
action find
entity Mus musculus
relation found in taxon
['hypothetical protein    AHA_2861', 'found in taxon', 'Mus musculus']
ASK WHERE { resource:Mus_musculus property:found_in_taxon resource:hypothetical_protein____AHA_2861 }
[]
nutrient
SYSTEM
NO
(Q23430584,P703,Q83310)
action is_in
entity Q23430584
action find
entity Q83310
relation P703
[ANSWER]
['Q23430584', 'P703', 'Q83310']
ASK WHERE { resource:Q83310 property:P703 resource:Q23430584 }
No
action is_in
entity hypothetical protein    AHA_2861
action find
entity Mus musculus
relation found in taxon
['hypothetical protein    AHA_2861', 'found in taxon', 'Mus musculus']
ASK WHERE { resource:Mus_musculus property:found_in_taxon resource:hypothetical_protein____AHA_2861 }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18037798 Q23255691 Q18273486
P684
Q863908
USER
Is hypothetical protein    Mb2257 and Atl3 an orthlogous gene of ATL3 ?
(Q18037798,P684,Q23255691) (Q18037798,P684,Q18273486)
action is_in
entity Q18037798
action intersection
action find_reverse
entity Q23255691
relation P684
action find_reverse
entity Q18273486
relation P684
['Q18037798', 'P684', 'Q23255691'] ['Q18037798', 'P684', 'Q18273486']
ASK WHERE { resource:Q18037798 property:P684 resource:Q23255691 . resource:Q18037798 property:P684 resource:Q18273486 }
ATL3 hypothetical protein    Mb2257 Atl3
action is_in
entity ATL3
action intersection
action find_reverse
entity hypothetical protein    Mb2257
relation ortholog
action find_reverse
entity Atl3
relation ortholog
['ATL3', 'ortholog', 'hypothetical protein    Mb2257'] ['ATL3', 'ortholog', 'Atl3']
ASK WHERE { resource:ATL3 property:ortholog resource:hypothetical_protein____Mb2257 . resource:ATL3 property:ortholog resource:Atl3 }
[]
nucleic acid sequence
SYSTEM
NO and YES respectively
(Q18037798,P684,Q23255691) (Q18037798,P684,Q18273486)
action is_in
entity Q18037798
action intersection
action find_reverse
entity Q23255691
relation P684
action find_reverse
entity Q18273486
relation P684
[ANSWER]
['Q18037798', 'P684', 'Q23255691'] ['Q18037798', 'P684', 'Q18273486']
ASK WHERE { resource:Q18037798 property:P684 resource:Q23255691 . resource:Q18037798 property:P684 resource:Q18273486 }
NO and YES respectively
action is_in
entity ATL3
action intersection
action find_reverse
entity hypothetical protein    Mb2257
relation ortholog
action find_reverse
entity Atl3
relation ortholog
['ATL3', 'ortholog', 'hypothetical protein    Mb2257'] ['ATL3', 'ortholog', 'Atl3']
ASK WHERE { resource:ATL3 property:ortholog resource:hypothetical_protein____Mb2257 . resource:ATL3 property:ortholog resource:Atl3 }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q217605
P180
Q15989253 Q340169 Q838948
USER
How many parts are expressed in approximately the same number of medias and works of art as claw ?
(c(Q340169)|c(Q838948),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q217605
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P180 resource:Q217605 . { { ?h rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?d WHERE { { ?v property:P180 ?d . ?v rdf:type ontology:Q340169 . ?d rdf:type ontology:Q15989253 } UNION { ?v property:P180 ?d . ?d rdf:type ontology:Q15989253 . ?v rdf:type ontology:Q838948 } } GROUP BY ?d } }
claw
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action count
action filter_multi_types
action find_reverse
entity claw
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:depicts resource:claw . { { ?h rdf:type ontology:media } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?d WHERE { { ?v property:depicts ?d . ?v rdf:type ontology:media . ?d rdf:type ontology:part } UNION { ?v property:depicts ?d . ?d rdf:type ontology:part . ?v rdf:type ontology:work_of_art } } GROUP BY ?d } }
[]
part media work of art
SYSTEM
31
Q129757 Q908430 Q168002 Q392573 Q852590 Q168432 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q340169)|c(Q838948),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q217605
relation P180
type Q340169
type Q838948
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:P180 resource:Q217605 . { { ?h rdf:type ontology:Q340169 } UNION { ?h rdf:type ontology:Q838948 } } } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?d WHERE { { ?v property:P180 ?d . ?v rdf:type ontology:Q340169 . ?d rdf:type ontology:Q15989253 } UNION { ?v property:P180 ?d . ?d rdf:type ontology:Q15989253 . ?v rdf:type ontology:Q838948 } } GROUP BY ?d } }
thigh crown ankle Organ console spire anchor face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
31
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action count
action filter_multi_types
action find_reverse
entity claw
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { ?h property:depicts resource:claw . { { ?h rdf:type ontology:media } UNION { ?h rdf:type ontology:work_of_art } } } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) ?d WHERE { { ?v property:depicts ?d . ?v rdf:type ontology:media . ?d rdf:type ontology:part } UNION { ?v property:depicts ?d . ?d rdf:type ontology:part . ?v rdf:type ontology:work_of_art } } GROUP BY ?d } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q901207
P180
Q15989253 Q340169 Q838948
USER
And how about musical keyboard?
(c(Q340169)|c(Q838948),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q901207
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?t WHERE { ?x rdf:type ?d . VALUES ( ?d ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P180 resource:Q901207 . { { ?z rdf:type ontology:Q340169 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?b = ?p ) }
musical keyboard
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action count
action filter_multi_types
action find_reverse
entity musical keyboard
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?t WHERE { ?x rdf:type ?d . VALUES ( ?d ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:depicts resource:musical_keyboard . { { ?z rdf:type ontology:media } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?b = ?p ) }
[]
part media work of art
SYSTEM
31
Q129757 Q908430 Q168002 Q392573 Q852590 Q168432 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q340169)|c(Q838948),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q901207
relation P180
type Q340169
type Q838948
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?t WHERE { ?x rdf:type ?d . VALUES ( ?d ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P180 resource:Q901207 . { { ?z rdf:type ontology:Q340169 } UNION { ?z rdf:type ontology:Q838948 } } } } . FILTER ( ?b = ?p ) }
thigh crown ankle Organ console spire anchor face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
31
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type media
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action count
action filter_multi_types
action find_reverse
entity musical keyboard
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) ?t WHERE { ?x rdf:type ?d . VALUES ( ?d ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:depicts resource:musical_keyboard . { { ?z rdf:type ontology:media } UNION { ?z rdf:type ontology:work_of_art } } } } . FILTER ( ?b = ?p ) }
[]