toggle menu
DICE API Documentation
JVM
switch theme
search in API
DICE API Documentation
/
com.embabel.dice.common
/
Relations
/
withSemanticForSubject
with
Semantic
For
Subject
fun
withSemanticForSubject
(
subjectType
:
String
,
predicate
:
String
,
meaning
:
String
)
:
Relations
Add a semantic relation that only applies when the subject is of the given type.