knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
rdf.cpp
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #include "knowrob/semweb/rdf.h"
7 
8 namespace knowrob {
9  bool isTypeIRI(std::string_view iri)
10  { return iri == rdf::type->stringForm(); }
11 
12  bool isPropertyIRI(std::string_view iri)
13  { return iri == rdf::Property->stringForm(); }
14 
15 } // knowrob::semweb
const IRIAtomPtr Property
Definition: rdf.h:16
const IRIAtomPtr type
Definition: rdf.h:15
bool isTypeIRI(std::string_view iri)
Definition: rdf.cpp:9
IRIAtomPtr iri(std::string_view ns, std::string_view name)
Definition: IRIAtom.cpp:62
bool isPropertyIRI(std::string_view iri)
Definition: rdf.cpp:12