Hello Ivan, I use TTLP from .NET using virtado3. I have attached simplified source code and TTLP parameters values (.NET String is UTF-16).
Regards, Alexander 2010/1/30 Ivan Mikhailov <imikhai...@openlinksw.com> > Hello Alexander, > > May I get a sample TTLP call statement that demonstrates the problem, > please? (My mail client shows an attachment icon at your previous mail > but no attachments, please re-attach in some different way if there were > any) > > Best Regards, > > Ivan Mikhailov > OpenLink Software > http://virtuoso.openlinksw.com > > On Sat, 2010-01-30 at 01:04 +0600, Alexander Sidorov wrote: > > Hi Hugh, > > > > I have localized the problem and can be more specific now. > > > > I use two ways to add triples to the store: > > 1. SPARQL INSERT DATA query > > 2. DB.DBA.TTLP stored procedure > > The first way work normally, but the second stores triples with > > incorrect encoding (and nonenglish literals are displayed wrong). > > > > Regards, > > Alexander > > > > 2010/1/29 Hugh Williams <hwilli...@openlinksw.com> > > Hi Alexander, > > > > By what means are you inserting and retrieving the literals ? > > What are the literal values being inserted and what are the > > values that are being retrieved incorrectly ? If you can > > provide minimal steps to reproduce then we can attempt > > recreation in-house ... > > > > Best Regards > > Hugh Williams > > Professional Services > > OpenLink Software > > Web: http://www.openlinksw.com > > Support: http://support.openlinksw.com > > Forums: http://boards.openlinksw.com/support > > Twitter: http://twitter.com/OpenLink > > > > On 29 Jan 2010, at 14:41, Alexander Sidorov wrote: > > > > > > > > > Hello! > > > > > > I am using Virtuoso Open Source 5 and have problems storing > > and retrieving non-english literals. > > > Virtuoso.ini: Charset = UTF-8 > > > > > > Is this a known problem? > > > > > > Regards, > > > Alexander > > > > > > > > > > ------------------------------------------------------------------------------ > > > The Planet: dedicated and managed hosting, cloud storage, > > colocation > > > Stay online with enterprise data centers and the best > > network in the business > > > Choose flexible plans and management services without > > long-term contracts > > > Personal 24x7 support from experience hosting pros just a > > phone call away. > > > > > > http://p.sf.net/sfu/theplanet-com_______________________________________________ > > > Virtuoso-users mailing list > > > Virtuoso-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > > > > > > > > > ------------------------------------------------------------------------------ > > The Planet: dedicated and managed hosting, cloud storage, colocation > > Stay online with enterprise data centers and the best network in the > business > > Choose flexible plans and management services without long-term contracts > > Personal 24x7 support from experience hosting pros just a phone call > away. > > http://p.sf.net/sfu/theplanet-com > > _______________________________________________ Virtuoso-users mailing > list Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users > >
Source code: VirtuosoCommand cmd = new VirtuosoCommand(); cmd.CommandText = "DB.DBA.TTLP(@data, @base, @graph, 1)"; cmd.Parameters.Add("data", data); cmd.Parameters.Add("base", baseUri); cmd.Parameters.Add("graph", baseUri); cmd.Connection = this._db; int result = cmd.ExecuteNonQuery(); Data: baseUri = "http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#" data = @base <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#>. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. @prefix : <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#>. @prefix dc: <http://purl.org/dc/elements/1.1/>. @prefix CEEO: <http://kms.cctpu.edu.ru/ontologies/2009/5/CEEO.owl#>. @prefix owl2xml: <http://www.w3.org/2006/12/owl2-xml#>. @prefix TPU: <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#>. @prefix owl: <http://www.w3.org/2002/07/owl#>. @prefix CommonConceptOntology: <http://kms.cctpu.edu.ru/ontologies/2009/5/CommonConceptOntology.owl#>. @prefix TPU2: <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#8>. @prefix UniversityOntology: <http://kms.cctpu.edu.ru/ontologies/2009/5/UniversityOntology.owl#>. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl> rdf:type owl:Ontology. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl> owl:imports <http://kms.cctpu.edu.ru/ontologies/2009/5/CEEO.owl>. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl> owl:imports <http://kms.cctpu.edu.ru/ontologies/2009/5/CommonConceptOntology.owl>. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl> owl:imports <http://kms.cctpu.edu.ru/ontologies/2009/5/UniversityOntology.owl>. dc:title rdf:type owl:AnnotationProperty. CommonConceptOntology:referTo rdf:type owl:ObjectProperty. UniversityOntology:hasDegree rdf:type owl:ObjectProperty. CommonConceptOntology:age rdf:type owl:DatatypeProperty. CommonConceptOntology:firstName rdf:type owl:DatatypeProperty. CommonConceptOntology:surname rdf:type owl:DatatypeProperty. CEEO:Entity rdf:type owl:Class. CEEO:Entity rdfs:subClassOf owl:Thing. UniversityOntology:Department rdf:type owl:Class. UniversityOntology:HeadOChair rdf:type owl:Class. UniversityOntology:HeadOfResearchLaboratory rdf:type owl:Class. UniversityOntology:PostgraduateStudent rdf:type owl:Class. UniversityOntology:ResearchLaboratory rdf:type owl:Class. UniversityOntology:Student rdf:type owl:Class. UniversityOntology:StudentGroup rdf:type owl:Class. UniversityOntology:Subdepartment rdf:type owl:Class. UniversityOntology:University rdf:type owl:Class. owl:Thing rdf:type owl:Class. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#8Mq52> rdf:type owl:Thing. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#8Mq52> rdf:type UniversityOntology:StudentGroup. <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#8Mq52> CommonConceptOntology:referTo TPU:OSU. TPU:AVTF rdf:type UniversityOntology:Department. TPU:AVTF rdf:type owl:Thing. TPU:AVTF CommonConceptOntology:referTo TPU:TPU. TPU:ChernyAV rdf:type UniversityOntology:PostgraduateStudent. TPU:ChernyAV rdf:type owl:Thing. TPU:ChernyAV CommonConceptOntology:age 25 . TPU:ChernyAV CommonConceptOntology:firstName "Антон"^^xsd:string. TPU:ChernyAV CommonConceptOntology:surname "Черний"^^xsd:string. TPU:ChernyAV UniversityOntology:hasDegree UniversityOntology:Master. TPU:LabSUZ rdf:type owl:Thing. TPU:LabSUZ rdf:type UniversityOntology:ResearchLaboratory. TPU:LabSUZ CommonConceptOntology:referTo TPU:OSU. TPU:OSU rdf:type UniversityOntology:Subdepartment. TPU:OSU rdf:type owl:Thing. TPU:OSU CommonConceptOntology:referTo TPU:AVTF. TPU:SidorovAO rdf:type owl:Thing. TPU:SidorovAO rdf:type UniversityOntology:Student. TPU:SidorovAO CommonConceptOntology:age 21 . TPU:SidorovAO CommonConceptOntology:firstName "Александр". TPU:SidorovAO CommonConceptOntology:surname "Сидоров". TPU:SidorovAO CommonConceptOntology:referTo <http://kms.cctpu.edu.ru/ontologies/2009/5/TPU.owl#8Mq52>. TPU:SidorovAO UniversityOntology:hasDegree UniversityOntology:BachelorDegree. TPU:SilichVA rdf:type UniversityOntology:HeadOChair. TPU:SilichVA rdf:type owl:Thing. TPU:TPU rdf:type UniversityOntology:University. TPU:TPU rdf:type owl:Thing. TPU:TPU dc:title "томский Политехнический Университет"^^xsd:string. TPU:TuzovskiyAF rdf:type owl:Thing. TPU:TuzovskiyAF rdf:type UniversityOntology:HeadOfResearchLaboratory. UniversityOntology:BachelorDegree rdf:type owl:Thing. UniversityOntology:Master rdf:type owl:Thing.