1 /* 2 * Copyright (C) 2006, Jamie McCracken <jamiemcc@gnome.org> 3 * Copyright (C) 2008, Nokia <ivan.frade@nokia.com> 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * Boston, MA 02110-1301, USA. 19 */ 20 21 #ifndef __LIBTRACKER_SPARQL_ONTOLOGIES_H__ 22 #define __LIBTRACKER_SPARQL_ONTOLOGIES_H__ 23 24 G_BEGIN_DECLS 25 26 #if !defined (__LIBTRACKER_SPARQL_INSIDE__) && !defined (TRACKER_COMPILATION) 27 #error "only <libtracker-sparql/tracker-sparql.h> must be included directly." 28 #endif 29 30 /* Core: resources, data types */ 31 #define TRACKER_PREFIX_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" 32 #define TRACKER_PREFIX_RDFS "http://www.w3.org/2000/01/rdf-schema#" 33 #define TRACKER_PREFIX_XSD "http://www.w3.org/2001/XMLSchema#" 34 #define TRACKER_PREFIX_TRACKER "http://www.tracker-project.org/ontologies/tracker#" 35 #define TRACKER_PREFIX_DC "http://purl.org/dc/elements/1.1/" 36 37 /* Our Nepomuk selection */ 38 #define TRACKER_PREFIX_NRL "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#" 39 #define TRACKER_PREFIX_NMO "http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#" 40 #define TRACKER_PREFIX_NIE "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#" 41 #define TRACKER_PREFIX_NCO "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#" 42 #define TRACKER_PREFIX_NAO "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#" 43 #define TRACKER_PREFIX_NID3 "http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#" 44 #define TRACKER_PREFIX_NFO "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#" 45 #define TRACKER_PREFIX_OSINFO "http://www.tracker-project.org/ontologies/osinfo#" 46 47 /* Temporary */ 48 #define TRACKER_PREFIX_SLO "http://www.tracker-project.org/temp/slo#" 49 #define TRACKER_PREFIX_NMM "http://www.tracker-project.org/temp/nmm#" 50 #define TRACKER_PREFIX_MLO "http://www.tracker-project.org/temp/mlo#" 51 #define TRACKER_PREFIX_MFO "http://www.tracker-project.org/temp/mfo#" 52 53 /* RDF/SPARQL consistency */ 54 #define TRACKER_PREFIX_DATASOURCE_URN \ 55 "urn:nepomuk:datasource:" 56 57 #define TRACKER_DATASOURCE_URN_NON_REMOVABLE_MEDIA \ 58 TRACKER_PREFIX_DATASOURCE_URN "9291a450-1d49-11de-8c30-0800200c9a66" 59 60 #define TRACKER_OWN_GRAPH_URN "urn:uuid:472ed0cc-40ff-4e37-9c0c-062d78656540" 61 62 G_END_DECLS 63 64 #endif /* __LIBTRACKER_SPARQL_ONTOLOGY_H__ */ 65