Not logged in : Login

About: VirtTipsAndTricksConvertPropertiesToString     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtTipsAndTricksConvertPropertiesToString
maker
Title
  • VirtTipsAndTricksConvertPropertiesToString
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+How do I use SPARUL to change a selection of property values from URI References to Literals? Assume a given graph where triples are comprised of property values that are mixed across URI References and Typed Literals as exemplified by the results of the query below: <verbatim> SELECT DISTINCT ?sa ?oa FROM <http://ucb.com/nbeabase> WHERE { ?sa a <http://ucb.com/nbeabase/resource/Batch> . ?sa <http://ucb.com/nbeabase/resource/chemAbsNo> ?oa . FILTER regex(?oa, '-','i') } </verbatim> You can use the following SPARUL pattern to harmonize the property values across relevant triples in a specific graph, as shown below: <verbatim> SQL> SPARQL INSERT INTO GRAPH <http://ucb.com/nbeabase> { ?sa <http://ucb.com/nbeabase/resource/sampleId> `str (?oa)` } WHERE { ?sa <http://ucb.com/nbeabase/resource/chemAbsNo> ?oa . FILTER regex(?oa, '-','i') } </verbatim> ---+++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfandsparql.html][RDF Data Access and Data Management]]
id
  • f1f29a07863be31fff4640f5f9c3afe1
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksConvertPropertiesToString
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:43:59Z
atom:updated
  • 2017-06-13T05:43:59Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git150 as of Jan 20 2025


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 764 MB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2025 OpenLink Software