I have a ttl
file that I want to load in virtuoso triplestore, I used Quad Store Upload in the UI, the file didn’t load succefully and this error was shown:
You have attempted to upload invalid data. You can only upload RDF, Turtle, N3 serializations of RDF Data to the RDF Data Store.
After investigating I got a sample that causes it
@prefix bkr: <http://www.ondex.org/bioknet/resources/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix bk: <http://www.ondex.org/bioknet/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
bkr:phenotype_52049 rdf:type bk:Phenotype ;
dc:identifier bkr:accsn_arapheno_altered_nonphotochemical_quenching_of_chlorophyll_fluorescence__unable_to_convert_violaxanthin_to_zeaxanthin_in_excessive_light_via_the_xanthophyll_cycle__affects_the_structural_gene_encoding_violaxanthin_deepoxidase__exhibits_greatly_reduced_nonphotochemical_quenching__demonstrating_that_violaxanthin_deepoxidation_is_required_for_the_bulk_of_rapidly_reversible_nonphotochemical_qenching__altered_regulation_of_photosynthetic_energy_conversion_is_associated_with_increased_sensitivity_to_photoinhibition_ .
bkr:accsn_arapheno_altered_nonphotochemical_quenching_of_chlorophyll_fluorescence__unable_to_convert_violaxanthin_to_zeaxanthin_in_excessive_light_via_the_xanthophyll_cycle__affects_the_structural_gene_encoding_violaxanthin_deepoxidase__exhibits_greatly_reduced_nonphotochemical_quenching__demonstrating_that_violaxanthin_deepoxidation_is_required_for_the_bulk_of_rapidly_reversible_nonphotochemical_qenching__altered_regulation_of_photosynthetic_energy_conversion_is_associated_with_increased_sensitivity_to_photoinhibition_
rdf:type bk:Accession .
The error disappear when I replaced accsn_arapheno_altered_nonphotochemical_quenching_of_chlorophyll_fluorescence__unable_to_convert_violaxanthin_to_zeaxanthin_in_excessive_light_via_the_xanthophyll_cycle__affects_the_structural_gene_encoding_violaxanthin_deepoxidase__exhibits_greatly_reduced_nonphotochemical_quenching__demonstrating_that_violaxanthin_deepoxidation_is_required_for_the_bulk_of_rapidly_reversible_nonphotochemical_qenching__altered_regulation_of_photosynthetic_energy_conversion_is_associated_with_increased_sensitivity_to_photoinhibition_
with a shorter string … so I understood that the lenght of the predicate was the cause.
Is there a way to avoid this without modifying the ttl
files?