Scott,
Thanks, I'll do the test.
I have anyhow this as input with problem word 'Financiën'
<overheid:Thema rdf:about="Financien">
<rdfs:label xml:lang="nl">Financiën</rdfs:label>
<skos:narrower rdf:resource="Organisatie_en_beleid"/>
<skos:inScheme rdf:resource="Thema-Indeling_Overheid_v1.5"/>
<skos:narrower rdf:resource="Begroting"/>
<skos:narrower rdf:resource="Belasting"/>
<skos:prefLabel xml:lang="nl">Financiën</skos:prefLabel>
<skos:narrower rdf:resource="Financieel_toezicht"/>
<skos:notation rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>17a3</skos:notation>
<skos:inScheme rdf:resource="TaxonomieBeleidsagenda"/>
<skos:narrower rdf:resource="Inkomensbeleid"/>
</overheid:Thema>
After the SPARQL Query, serialized as XML to the file system the
corresponding piece is:
<result>
<binding name="thesaurus">
<uri>http://standaarden.overheid.nl/owms/terms/Thema-
Indeling_Overheid_v1.5</uri>
</binding>
<binding name="topConcept">
<uri>http://standaarden.overheid.nl/owms/terms/
Voor_jezelf_beginnen</uri>
</binding>
<binding name="topLabel">
<literal datatype="http://www.w3.org/2001/
XMLSchema#string">Voor jezelf beginnen</literal>
</binding>
<binding name="topnotation">
<literal datatype="http://www.w3.org/2001/
XMLSchema#string">17</literal>
</binding>
<binding name="concept">
<uri>http://standaarden.overheid.nl/owms/terms/
Financien</uri>
</binding>
<binding name="label">
<literal xml:lang="nl">Financiën</literal>
</binding>
<binding name="notation">
<literal datatype="http://www.w3.org/2001/
XMLSchema#string">17a3</literal>
</binding>
</result>
The SPARQLMOtion module:
<sml:SerializeSPARQLResults rdf:ID="SerializeSPARQLQuery">
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>Serialize SPARQLQuery</rdfs:label>
<sm:next rdf:resource="#ExportToCheckEncoding"/>
<sm:nodeX rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
>840</sm:nodeX>
<sm:nodeY rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
>305</sm:nodeY>
<sm:outputVariable rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>sparql</sm:outputVariable>
<sml:selectQuery>
<sp:Select>
<sp:where rdf:parseType="Collection">
<rdf:Description>
<sp:object>
<rdf:Description rdf:nodeID="A0">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>topConcept</sp:varName>
</rdf:Description>
</sp:object>
<sp:predicate rdf:resource="http://www.w3.org/2004/02/skos/
core#hasTopConcept"/>
<sp:subject rdf:parseType="Resource">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>thesaurus</sp:varName>
</sp:subject>
</rdf:Description>
<rdf:Description>
<sp:object rdf:parseType="Resource">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>topLabel</sp:varName>
</sp:object>
<sp:predicate rdf:resource="http://www.w3.org/2004/02/skos/
core#prefLabel"/>
<sp:subject rdf:nodeID="A0"/>
</rdf:Description>
<sp:Optional>
<sp:elements rdf:parseType="Collection">
<rdf:Description>
<sp:object rdf:parseType="Resource">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>topnotation</sp:varName>
</sp:object>
<sp:predicate rdf:resource="http://www.w3.org/2004/02/
skos/core#notation"/>
<sp:subject rdf:nodeID="A0"/>
</rdf:Description>
</sp:elements>
</sp:Optional>
<rdf:Description>
<sp:object>
<rdf:Description rdf:nodeID="A1">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>concept</sp:varName>
</rdf:Description>
</sp:object>
<sp:predicate rdf:resource="http://www.w3.org/2004/02/skos/
core#narrower"/>
<sp:subject rdf:nodeID="A0"/>
</rdf:Description>
<rdf:Description>
<sp:object rdf:parseType="Resource">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>label</sp:varName>
</sp:object>
<sp:predicate rdf:resource="http://www.w3.org/2004/02/skos/
core#prefLabel"/>
<sp:subject rdf:nodeID="A1"/>
</rdf:Description>
<sp:Optional>
<sp:elements rdf:parseType="Collection">
<rdf:Description>
<sp:object rdf:parseType="Resource">
<sp:varName rdf:datatype="http://www.w3.org/2001/
XMLSchema#string"
>notation</sp:varName>
</sp:object>
<sp:predicate rdf:resource="http://www.w3.org/2004/02/
skos/core#notation"/>
<sp:subject rdf:nodeID="A1"/>
</rdf:Description>
</sp:elements>
</sp:Optional>
</sp:where>
</sp:Select>
</sml:selectQuery>
<sml:serialization rdf:resource="http://topbraid.org/
sparqlmotion#XML"/>
</sml:SerializeSPARQLResults>
On May 7, 7:34 pm, Scott Henninger <[email protected]> wrote:
> This email contained a .zip file attachment. Raytheon does not allow email
> attachments that are considered likely to contain malicious code. For your
> protection this attachment has been removed.
>
> If this email is from an unknown source, please simply delete this email.
>
> If this email was expected, and it is from a known sender, you may follow the
> below suggested instructions to obtain these types of attachments.
>
> + Instruct the sender to enclose the file(s) in a ".zip" compressed file, and
> rename the ".zip" compressed file with a different extension, such as,
> ".rtnzip". Password protecting the renamed ".zip" compressed file adds an
> additional layer of protection. When you receive the file, please rename it
> with the extension ".zip".
>
> Additional instructions and options on how to receive these attachments can
> be found at:
>
> http://security.it.ray.com/antivirus/extensions.htmlhttp://security.it.ray.com/news/2007/zipfiles.html
>
> Should you have any questions or difficulty with these instructions, please
> contact the Help Desk at 877.844.4712
>
> ---
>
> Paul; I think this may be an issue of character encoding for the viewer. By
> "debugger" do you mean the Console view? The character encoding setting does
> not render accent characters, but files are created appropriately, and data
> in Composer forms will work as well.
>
> I've attached an example script that shows this. Open the script in
> exampleScript.n3. Run it in the debugger and you will notice that the Console
> does not display the characters properly. But if you open the result.xml file
> in the text editor, the characters render correctly.
>
> -- Scott
>
> On 5/7/10 7:41 AM, PaulZH wrote:
>
> using module sml:SerializeSPARQLResults with property sml:serialization set
> to sm:XML doesn't seem to keep accented characters. In the debugger the
> output variable (type text) shows the issue. The XSLT result using this
> output as input also.
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group
> athttp://groups.google.com/group/topbraid-users?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group
> athttp://groups.google.com/group/topbraid-users?hl=en
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en