public class LOV4IoTWS
extends java.lang.Object
Constructor and Description |
---|
LOV4IoTWS() |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<VariableSparql> |
addVariableValidDomain(java.lang.String domain,
java.util.ArrayList<VariableSparql> var)
Check that the domain (e.g. |
javax.ws.rs.core.Response |
getNumberOntologyByDomain(java.lang.String domain)
Execute a SPARQL query to count the different ontologies in all domains
TO DO: when we automatically add a new domain, it should be detected in this service - replace by variables compliant with M3 ontology feature of interest
Updated: December 2018: refactoring SPARQL QUERY files more generic
Updated: - November 2018: refactoring web service per domain - new function addVariableValidDomain() - March 2018 Robotic domain, AmbientAssistedLiving - August 2017 Other Category, WebofThings - July 2017 - water domain for LOV4IoT - February 25th 2015 |
javax.ws.rs.core.Response |
getOntologyStatus(java.lang.String status)
Execute a SPARQL query to count the different status of ontologies
E.g., http://sensormeasurement.appspot.com/lov4iot/ontoStatus/?status=Online * |
javax.ws.rs.core.Response |
getOntologyStatusPerDomain(java.lang.String status,
java.lang.String domain)
Execute a SPARQL query to automatically count the different status of ontologies per domain (e.g., robotics)
E.g., http://sensormeasurement.appspot.com/lov4iot/ontoStatusPerDomain/?status=Online&domain=Robotic E.g., http://localhost:8087/lov4iot/ontoStatusPerDomain/?status=Online&domain=Robotic |
javax.ws.rs.core.Response |
getTotalNumberOntology()
Execute a SPARQL query to count the total number of ontology-based project referenced in the LOV4IoT RDF dataset
|
static javax.ws.rs.core.Response |
sendEmail(java.lang.String recipient,
java.lang.String paper)
The LOV4IOT bot to send email to encourage people to share their domain knowledge (ontologies, datasets, and rules)
|
public javax.ws.rs.core.Response getTotalNumberOntology()
public javax.ws.rs.core.Response getOntologyStatusPerDomain(java.lang.String status, java.lang.String domain)
status:
- status of the ontology (Confidential, OngoingProcessOnline, WaitForAnswer, Online, OnlineLOV)public static java.util.ArrayList<VariableSparql> addVariableValidDomain(java.lang.String domain, java.util.ArrayList<VariableSparql> var)
status:
- status of the ontology (Confidential, OngoingProcessOnline, WaitForAnswer, Online, OnlineLOV) public javax.ws.rs.core.Response getOntologyStatus(java.lang.String status)
status:
- status of the ontology (Confidential, OngoingProcessOnline, WaitForAnswer, Online, OnlineLOV)public javax.ws.rs.core.Response getNumberOntologyByDomain(java.lang.String domain)
public static javax.ws.rs.core.Response sendEmail(java.lang.String recipient, java.lang.String paper)
recipient:
- email of the author, creator of the domain knowledge paper:
- title of the research article that we are interested in where they mentioned ontologies, rules relevant for Internet of Things