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
knowrob::rdf::Property
const IRIAtomPtr Property
Definition:
rdf.h:16
knowrob::rdf::type
const IRIAtomPtr type
Definition:
rdf.h:15
knowrob
Definition:
DataSource.h:13
knowrob::isTypeIRI
bool isTypeIRI(std::string_view iri)
Definition:
rdf.cpp:9
knowrob::iri
IRIAtomPtr iri(std::string_view ns, std::string_view name)
Definition:
IRIAtom.cpp:62
knowrob::isPropertyIRI
bool isPropertyIRI(std::string_view iri)
Definition:
rdf.cpp:12
src
semweb
rdf.cpp
Generated by
1.9.1