메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


1. insert(endpoint : http://gsda:23030/icbms/update)


prefix qudt: <http://data.nasa.gov/qudt/owl/qudt#> 
prefix quantity: <http://data.nasa.gov/qudt/owl/quantity>  
prefix unit: <http://data.nasa.gov/qudt/owl/unit#> 
prefix dim: <http://data.nasa.gov/qudt/owl/dimension#> 
prefix b: <http://www.onem2m.org/ontology/Base_Ontology#> 
prefix herit: <http://herit-in/herit-cse/>
prefix o: <http://www.iotoasis.org/ontology/>
prefix swrlb: <http://www.w3.org/2003/11/swrlb#> 
prefix protege: <http://protege.stanford.edu/plugins/owl/protege#>
prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/
prefix dc: <http://purl.org/dc/elements/1.1/
prefix j.0: <http://data.qudt.org/qudt/owl/1.0.0/text/
prefix owl: <http://www.w3.org/2002/07/owl#> 
prefix xsp: <http://www.owl-ontologies.com/2005/08/07/xsp.owl#> 
prefix swrl: <http://www.w3.org/2003/11/swrl#> 
prefix skos: <http://www.w3.org/2004/02/skos/core#> 
prefix dul: <http://www.loa-cnr.it/ontologies/DUL.owl#> 
prefix cc: <http://creativecommons.org/ns#> 
prefix p1: <http://purl.org/dc/elements/1.1/#> 
prefix foaf: <http://xmlns.com/foaf/0.1/
prefix xsd: <http://www.w3.org/2001/XMLSchema#> 
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>  
prefix qudt: <http://data.nasa.gov/qudt/owl/qudt#> 
prefix quantity: <http://data.nasa.gov/qudt/owl/quantity>  
prefix unit: <http://data.nasa.gov/qudt/owl/unit#> 
prefix dim: <http://data.nasa.gov/qudt/owl/dimension#> 
prefix b: <http://www.onem2m.org/ontology/Base_Ontology#>   
prefix herit: <http://herit-in/herit-cse/>
prefix o: <http://www.iotoasis.org/ontology/>


#단건을 처리하는 경우

insert data {<http://www.iotoasis.org/herit-in/herit-cse/ONDB_Blind01_002> a o:ApplicationEntity . }


2. delete(endpoint : http://gsda:23030/icbms/update)

prefix qudt: <http://data.nasa.gov/qudt/owl/qudt#> 
prefix quantity: <http://data.nasa.gov/qudt/owl/quantity>  
prefix unit: <http://data.nasa.gov/qudt/owl/unit#> 
prefix dim: <http://data.nasa.gov/qudt/owl/dimension#> 
prefix b: <http://www.onem2m.org/ontology/Base_Ontology#> 
prefix herit: <http://herit-in/herit-cse/>
prefix o: <http://www.iotoasis.org/ontology/>
prefix swrlb: <http://www.w3.org/2003/11/swrlb#> 
prefix protege: <http://protege.stanford.edu/plugins/owl/protege#>
prefix ssn: <http://purl.oclc.org/NET/ssnx/ssn#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix dct: <http://purl.org/dc/terms/
prefix dc: <http://purl.org/dc/elements/1.1/
prefix j.0: <http://data.qudt.org/qudt/owl/1.0.0/text/
prefix owl: <http://www.w3.org/2002/07/owl#> 
prefix xsp: <http://www.owl-ontologies.com/2005/08/07/xsp.owl#> 
prefix swrl: <http://www.w3.org/2003/11/swrl#> 
prefix skos: <http://www.w3.org/2004/02/skos/core#> 
prefix dul: <http://www.loa-cnr.it/ontologies/DUL.owl#> 
prefix cc: <http://creativecommons.org/ns#> 
prefix p1: <http://purl.org/dc/elements/1.1/#> 
prefix foaf: <http://xmlns.com/foaf/0.1/
prefix xsd: <http://www.w3.org/2001/XMLSchema#> 
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>  
prefix qudt: <http://data.nasa.gov/qudt/owl/qudt#> 
prefix quantity: <http://data.nasa.gov/qudt/owl/quantity>  
prefix unit: <http://data.nasa.gov/qudt/owl/unit#> 
prefix dim: <http://data.nasa.gov/qudt/owl/dimension#> 
prefix b: <http://www.onem2m.org/ontology/Base_Ontology#>   
prefix herit: <http://herit-in/herit-cse/>
prefix o: <http://www.iotoasis.org/ontology/>


#단건을 처리하는 경우

delete data {<http://www.iotoasis.org/herit-in/herit-cse/ONDB_Blind01_002> a o:ApplicationEntity . }


or


#여러건을 처리하는 경우

delete {?s a o:ApplicationEntity . }
 where{
 ?s a o:ApplicationEntity ;
    filter(?s = <http://www.iotoasis.org/herit-in/herit-cse/ONDB_Blind01_002>)   
}


번호 제목 날짜 조회 수
502 Cloudera설치중에 "Error, CM server guid updated"오류 발생시 조치방법 2018.03.29 338
501 Cloudera가 사용하는 서비스별 포트 2018.03.29 1079
500 Cloudera가 사용하는 서비스별 디렉토리 2018.03.29 644
499 cloudera-scm-agent 설정파일 위치및 재시작 명령문 2018.03.29 958
498 [CentOS] 네트워크 설정 2018.03.26 632
497 Components of the Impala Server 2018.03.21 598
496 HDFS Balancer설정및 수행 2018.03.21 661
495 hadoop 클러스터 실행 스크립트 정리 2018.03.20 1675
494 HA(Namenode, ResourceManager, Kerberos) 및 보안(Zookeeper, Hadoop) 2018.03.16 250
493 자주쓰는 유용한 프로그램 2018.03.16 1470
492 에러 추적(Error Tracking) 및 로그 취합(logging aggregation) 시스템인 Sentry 설치 2018.03.14 412
491 update 샘플 2018.03.12 1324
490 이미지 관리 오픈소스 목록 2018.03.11 689
489 Scala에서 countByWindow를 이용하기(예제) 2018.03.08 985
488 Scala를 이용한 Streaming예제 2018.03.08 895
487 scala application 샘플소스(SparkSession이용) 2018.03.07 1093
» fuseki의 endpoint를 이용한 insert, delete하는 sparql예시 2018.02.14 288
485 프로세스를 확인해서 프로세스를 삭제하는 shell script예제(cryptonight) 2018.02.02 867
484 spark-submit 실행시 "java.lang.OutOfMemoryError: Java heap space"발생시 조치사항 2018.02.01 754
483 Could not compute split, block input-0-1517397051800 not found형태의 오류가 발생시 조치방법 2018.02.01 454
위로