Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
tracker-miners
tracker-miners-bsc1171771-sparql.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tracker-miners-bsc1171771-sparql.patch of Package tracker-miners
From 27eb798a93d5488f9c1539e9a43acb6a1d42725f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho <carlosg@gnome.org> Date: Sat, 25 Aug 2018 14:17:00 +0200 Subject: [PATCH] libtracker-extract: Use tracker_resource_set_uri() with rdf:type Dealing with it as a string produces the wrong SPARQL: _:foo rdf:type "rdfs:Resource" --- src/libtracker-extract/tracker-resource-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtracker-extract/tracker-resource-helpers.c b/src/libtracker-extract/tracker-resource-helpers.c index 0ee1406a0..8a4c7449d 100644 --- a/src/libtracker-extract/tracker-resource-helpers.c +++ b/src/libtracker-extract/tracker-resource-helpers.c @@ -185,7 +185,7 @@ tracker_extract_new_location (const char *street_address, addruri = tracker_sparql_get_uuid_urn (); address = tracker_resource_new (addruri); - tracker_resource_set_string (address, "rdf:type", "nco:PostalAddress"); + tracker_resource_set_uri (address, "rdf:type", "nco:PostalAddress"); g_free (addruri); -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor