knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
rdfs.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/rdfs.h"
7
8
namespace
knowrob
{
9
bool
isSubClassOfIRI
(std::string_view
iri
)
10
{
return
iri
==
rdfs::subClassOf
->stringForm(); }
11
12
bool
isSubPropertyOfIRI
(std::string_view
iri
)
13
{
return
iri
==
rdfs::subPropertyOf
->stringForm(); }
14
15
}
// knowrob::semweb
knowrob::rdfs::subPropertyOf
const IRIAtomPtr subPropertyOf
Definition:
rdfs.h:16
knowrob::rdfs::subClassOf
const IRIAtomPtr subClassOf
Definition:
rdfs.h:15
knowrob
Definition:
DataSource.h:13
knowrob::isSubClassOfIRI
bool isSubClassOfIRI(std::string_view iri)
Definition:
rdfs.cpp:9
knowrob::isSubPropertyOfIRI
bool isSubPropertyOfIRI(std::string_view iri)
Definition:
rdfs.cpp:12
knowrob::iri
IRIAtomPtr iri(std::string_view ns, std::string_view name)
Definition:
IRIAtom.cpp:62
src
semweb
rdfs.cpp
Generated by
1.9.1