Fixed encoding issue in tests

This commit is contained in:
Nicolas Seydoux 2020-11-30 09:59:56 +01:00
parent d830284ed2
commit fae1b0f4e0
3 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ public class Controler
{
// TODO : Change the path to the one of the file you downloaded
List<ObservationEntity> obsList = JSONEndpoint.parseObservations("tempm.txt");
String tempURI = c.model.getEntityURI("Température").get(0);
String tempURI = c.model.getEntityURI("Temperature").get(0);
c.getCustomControl().instantiateObservations(obsList, tempURI);
// TODO : Same thing, for humidity
obsList = JSONEndpoint.parseObservations("tempm.txt");

View file

@ -130,8 +130,8 @@ public class SemanticModel implements IConvenienceInterface
this.temperatureSensor1URI = this.getEntityURI("TemperatureSensor_1").get(0);
this.temperatureSensor2URI = this.getEntityURI("TemperatureSensor_2").get(0);
this.temperatureSensor3URI = this.getEntityURI("TemperatureSensor_3").get(0);
this.temperatureURI = this.getEntityURI("Température").get(0);
this.humidityURI = this.getEntityURI("Hygrométrie").get(0);
this.temperatureURI = this.getEntityURI("Temperature").get(0);
this.humidityURI = this.getEntityURI("Humidity").get(0);
}
public void beginWriteTransaction()

View file

@ -342,8 +342,8 @@ tp-iss:OWLNamedIndividual_40c87ce2_4767_4cb0_9cd7_1dda03352a38 rdf:type owl:Name
### http://homepages.laas.fr/nseydoux/ontologies/tp-iss#OWLNamedIndividual_4ef6700d_d3ca_437e_96a6_5f531744c9fd
tp-iss:OWLNamedIndividual_4ef6700d_d3ca_437e_96a6_5f531744c9fd rdf:type owl:NamedIndividual ,
tp-iss:Parameters ;
rdfs:label "Hygrométrie"@en .
tp-iss:OWLClass_6d5bb482_3e1e_47a0_be94_995d4df0f35e ;
rdfs:label "Hygrométrie"@fr, rdfs:label "Humidity" .
### http://homepages.laas.fr/nseydoux/ontologies/tp-iss#OWLNamedIndividual_4f731814_91f0_4d75_a5cf_4a0d3629a308