yuns
[Protege 기초 실습14] Object Property - (Qualified)Cardinality Restrictions 본문
[Protege 기초 실습14] Object Property - (Qualified)Cardinality Restrictions
yuuuun 2022. 12. 29. 23:14무료 오픈 소스 온톨로지 편집기 실습 - Cardinality Restrictions and Qualified Cardinality Restrictions
tutorial을 보고 실습을 진행해보고자 한다.
Cardinality Restrictions
Cardinality Restrictions: 최소/최대 혹은 정확히 구체적인 관계의 숫자를 정의할 수 있음
- Maximum Cardinality Restriction: 참여할 수 있는 개인의 최대 갯수
- Minimum Cardinality Restriction: 참여할 수 있는 개인의 최소 갯수
- Cardinality Restriction specifies the exact number of P relationship that an individual must participate in.
관계를 채우는 개인이 서로 다르다고 판단될 수 있는 경우에만 관계가 별도의 관계로 간주
Pizza아래에 InterestingPizza(3개 이상의 Topping이 포함되어 있는)를 추가해보자.
이렇게하면 hasTopping이 세개 이상있는 피자를 참조해주는데.. 이상하게 그렇게 실행이 안 된다. 나중에 이유를 찾아서 넣어봐야 될 것 같다.. 에러도 아니고.. 정답?데이터로 제공되는 pizza owl를 찾아봤지만 똑같이 설정해줬는데.. 도통 어디가 잘못됐는지 모르겠다..
++) disjoint문제인 것을 확인했고, 아래 블로그에서 포스팅을 했다.
[Protege 기초 실습16] More On Open World Reasoning
무료 오픈 소스 온톨로지 편집기 실습 - More On Open World Reasoning tutorial을 보고 실습을 진행해보고자 한다. VegetarianPizza와 대비되는?(complement of VegetarianPizza) NonVegetarianPizza 클래스를 만들어보도록 하
yunny-p.tistory.com
Qualified Cardinality Restrictions(QCR)
QCR는 쉽게 이해하자면, 관계의 개수가 정확히 특정 숫자에 해당하는 restriction을 의미
FourCheesePizza를 만들어보기 실습인데 이것도 마찬가지로 이상하게 반영이 안 되서 일단은 패스해본다..
'protege' 카테고리의 다른 글
[Protege 기초 실습16] More On Open World Reasoning (0) | 2022.12.30 |
---|---|
[Protege 기초 실습15] Datatype Properties (0) | 2022.12.30 |
[Protege 기초 실습13] Object Property - Adding Spiciness to Pizza Toppings (0) | 2022.12.29 |
[Protege 기초 실습12] Object Property - Value Partitions (0) | 2022.12.29 |
[Protege 기초 실습11] Object Property - Automated Classification and Open World Reasoning (0) | 2022.12.29 |