메뉴 건너뛰기

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>)   
}


번호 제목 날짜 조회 수
121 거침없이 배우는 Drools 책의 샘플소스 file 2016.07.22 1369
120 자주쓰는 유용한 프로그램 2018.03.16 1385
119 우분투 root 패스워드 설정하기 2013.03.04 1395
118 Oozie 설치, 환경설정 및 테스트 2014.04.08 1405
117 lagom-linux용 build.sbt파일 내용 2017.10.12 1417
116 crypto관련 기생충 박멸 스크립트 2018.05.11 1421
115 solr vs elasticsearch 비교2 2014.09.29 1432
114 mysql에서 외부 디비를 커넥션할 경우 접속 속도가 느려질때 2017.06.30 1437
113 avro 사용하기(avsc 스키마 파일 컴파일 방법, consumer, producer샘플소스) 2016.07.08 1458
112 Mybatis foreach 문법정리(상황에 따른 사용법) 2015.11.10 1465
111 build.gradle을 pom.xml로 변환하는 방법 2016.08.18 1483
110 ubuntu 커널 업그레이드 방법 2018.09.02 1486
109 resouce manager에 dr.who가 아닌 다른 사용자로 로그인 하기 2018.06.28 1487
108 The disk drive for uuid= is not ready yet or not present 오류 해결방법 2014.04.21 1501
107 apt-get install mysql-server수행시 "404 Not Found" 오류발생시 조치방법 2014.09.10 1507
106 마이바티스(MyBatis)쿼리로그 출력및 정렬하기 2015.12.01 1546
105 hiverserver2기동시 connection refused가 발생하는 경우 조치방법 2014.05.22 1560
104 ExWordCount jar파일 file 2013.03.06 1563
103 FAILED: IllegalStateException Variable substitution depth too large: 40 오류발생시 조치사항 2014.08.19 1597
102 sqoop에서 oracle관련 작업할때 테이블명, 사용자명, DB명은 모두 대문자로 사용할것 2014.05.15 1599
위로