DOI QR코드

DOI QR Code

SPQUSAR : A Large-Scale Qualitative Spatial Reasoner Using Apache Spark

SPQUSAR : Apache Spark를 이용한 대용량의 정성적 공간 추론기

  • 김종환 (경기대학교 컴퓨터과학과) ;
  • 김종훈 (경기대학교 컴퓨터과학과) ;
  • 김인철 (경기대학교 컴퓨터과학과)
  • Received : 2015.09.07
  • Accepted : 2015.10.26
  • Published : 2015.12.15

Abstract

In this paper, we present the design and implementation of a large-scale qualitative spatial reasoner using Apache Spark, an in-memory high speed cluster computing environment, which is effective for sequencing and iterating component reasoning jobs. The proposed reasoner can not only check the integrity of a large-scale spatial knowledge base representing topological and directional relationships between spatial objects, but also expand the given knowledge base by deriving new facts in highly efficient ways. In general, qualitative reasoning on topological and directional relationships between spatial objects includes a number of composition operations on every possible pair of disjunctive relations. The proposed reasoner enhances computational efficiency by determining the minimal set of disjunctive relations for spatial reasoning and then reducing the size of the composition table to include only that set. Additionally, in order to improve performance, the proposed reasoner is designed to minimize disk I/Os during distributed reasoning jobs, which are performed on a Hadoop cluster system. In experiments with both artificial and real spatial knowledge bases, the proposed Spark-based spatial reasoner showed higher performance than the existing MapReduce-based one.

본 논문에서는 단위 추론 작업들 간의 순차 처리와 반복 처리에 효과적인 인-메모리 방식의 고속 클러스터 컴퓨팅 환경인 Apache Spark을 이용한 대용량의 정성적 공간 추론기의 설계와 구현에 관해 소개한다. 본 논문에서 제안하는 공간 추론기는 매우 효율적인 방법으로, 공간 객체들 간의 위상 관계와 방향 관계를 나타내는 대규모 공간 지식베이스의 무결성을 검사할 수 있을 뿐만 아니라, 주어진 공간 지식베이스로부터 새로운 사실들을 유도해냄으로써 지식베이스를 확장할 수도 있다. 일반적으로 공간 객체들 간의 위상 관계와 방향 관계에 관한 정성적 추론은 이접 관계들 간의 많은 조합 연산들을 포함한다. 본 추론기에서는 공간 추론에 필요한 최소한의 이접 관계 집합을 찾아내고 이들만을 포함하도록 조합 표를 축소함으로써, 추론의 효율성을 크게 개선시켰다. 또한, 본 추론기에서는 추론 성능 향상을 위해 Hadoop 클러스터 시스템에서 분산 추론 작업이 진행되는 동안 디스크 입출력을 최소화하도록 설계하였다. 대용량의 가상 및 실제 공간 지식베이스를 이용한 실험들에서, 본 논문에서 제안하는 Apache Spark 기반의 정성적 공간 추론기가 MapReduce 기반의 기존 추론기보다 더 높은 성능을 보여주었다.

Keywords

Acknowledgement

Grant : WiseKB: 빅데이터 이해 기반 자가학습형 지식베이스 및 추론 기술 개발

Supported by : 정보통신기술연구진흥센터

References

  1. S. Batsakis, E.G.M. Petrakis, "SOWL: A Framework for Handling Spatio-Temporal Information in Owl 2.0," Rule-Based Reasoning, Programming, and Applications, Springer Berlin Heidelberg, pp. 242-249, 2011.
  2. M. Stocker and E. Sirin, "PelletSpatial: A Hybrid RCC-8 and RDF/OWL Reasoning and Query Engine," OWLED, Vol. 529, 2009.
  3. G. Christodoulou, E.G.M. Petrakis, and S. Batsakis, "Qualitative Spatial Reasoning Using Topological and Directional Information in OWL," Proc. of ICTAI, pp. 596-602, 2012.
  4. S. Nam and I. Kim, "Qualitative Spatial Reasoning with Directional and Topological Relations," Mathematical Problems in Engineering, Vol. 2015, Article ID 902043, 2015.
  5. S. Nam and I. Kim, "Design and Implementation of a Large-Scale Spatial Reasoner Using MapReduce Framework," Transactions on KIPS : Software and Data Engineering, pp. 397-406, 2014.
  6. H. Karau, A. Konwinski, P. Wendell, and M. Zaharia, Learning Spark, O'Reilly Media, 2015.

Cited by

  1. Unified Platform for AI and Big Data Analytics vol.05, pp.08, 2017, https://doi.org/10.4236/jcc.2017.58001