示例#1
0
def test_create_condition():
    label = 'Regent het?'
    observes = 'http://kadjanderman.com/resource/property/web/26f41707-967f-4410-a1f9-a0afe163450d'
    tState = '69'
    return KnowledgeGraph.add_condition(label, observes, tState)
示例#2
0
def test_create_condition():
    label = 'is het bedlampje aan?'
    observes = 'http://kadjanderman.com/resource/property/3f5faa35-134c-4b2a-8f6a-d6fa4c485c52'
    tState = 'on'
    return KnowledgeGraph.add_condition(label, observes, tState)