메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

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


A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로