Mark,

You could generate another ontology using XSD to OWL importer which purely
assigns XSD datatypes for literals. The XSD to OWL importer has an option
called "Use only XSD datatypes for datatype properties and literals". After
generating a "schema" ontology using that option, you could use it in
Semantic XML mapping.

If the above solution doesn't work for you, then for sameness, you would
need to use a SPARQL query with spif:cast function, which casts a given
datatype to a literal. The following example generates a ?y literal with
value of ?x with xsd:string datatype:

BIND( spif:cast( ?x, xsd:string ) AS ?y) )

Gokhan


On Thu, Jun 14, 2012 at 10:39 AM, Mark Colquhoun <
[email protected]> wrote:

> Hi,
>
> I am trying to infer sameness across two different sources of data by
> using an InverseFunctionalProperty. One of the sources of data is being
> imported as XML using a XML/RDF mapping imported using a XSD document. For
> this datasource, the property that I would like to use as
> the InverseFunctionalProperty is of a data type generated from the xsd
> import. That is, to compare a value from the XML datasource, I need to use
> something like "4120"^^<
> http://www.mydomain.com.au/ontology/mapping/etdcs#SiteDatatype>. I think
> becuase of this, I am having trouble produce sameAs relationships through
> my InverseFunctionProperty as the other property I am comparing is a string
> (i.e. "4120"). I did note that the SiteDataType is a subClassOf xsd:string
> however I'm not sure what I have to run to have the SiteDatatype to be
> inferred as xsd:string?
>
> I'm not sure if I have explained this very well above but does anyone have
> any suggestions on how to modify my two properties so that they can be
> compared to each other to determine equivalence?
>
> Regards,
> Mark.
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include Enterprise
> Vocabulary Network (EVN), 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
>

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), 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

Reply via email to