Closed soylent-grin closed 8 years ago
Docker-compose logs on querying particular system:
fuseki_1 | 13:29:48,674 INFO [org.apache.jena.fuseki.Fuseki] (qtp403170294-13) [674] GET http://fuseki:3030/ds/query?query=PREFIX++qudt%3A+%3Chttp%3A%2F%2Fqudt.org%2Fschema%2Fqudt%23%3E%0APREFIX++owl%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0APREFIX++xsd%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0APREFIX++rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX++semiot%3A+%3Chttp%3A%2F%2Fw3id.org%2Fsemiot%2Fontologies%2Fsemiot%23%3E%0APREFIX++ssn%3A++%3Chttp%3A%2F%2Fpurl.oclc.org%2FNET%2Fssnx%2Fssn%23%3E%0APREFIX++hydra%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fhydra%2Fcore%23%3E%0APREFIX++geo%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F2003%2F01%2Fgeo%2Fwgs84_pos%23%3E%0APREFIX++rdf%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX++sh%3A+++%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%3E%0APREFIX++ssncom%3A+%3Chttp%3A%2F%2Fpurl.org%2FNET%2Fssnext%2Fcommunication%23%3E%0APREFIX++proto%3A+%3Chttp%3A%2F%2Fw3id.org%2Fsemiot%2Fontologies%2Fproto%23%3E%0APREFIX++dcterms%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0A%0ACONSTRUCT+%0A++%7B+%3Fsystem+%3Fp+%3Fo+.%0A++++%3Fo+%3Fo_p+%3Fo_o+.%7D%0AWHERE%0A++%7B+%3Fsystem++%3Fp++++++++++++++++++%3Fo+%3B%0A+++++++++++++dcterms%3Aidentifier++%22307044852%22%0A++++OPTIONAL%0A++++++%7B+%3Fo++%3Fo_p++%3Fo_o%0A++++++++FILTER+%28+%3Fp+NOT+IN+%28rdf%3Atype%2C+proto%3AhasPrototype%29+%29%0A++++++%7D%0A++%7D%0A fuseki_1 | 13:29:48,674 INFO [org.apache.jena.fuseki.Fuseki] (qtp403170294-13) [674] GET /ds :: 'query' :: <none> ? query=PREFIX++qudt%3A+%3Chttp%3A%2F%2Fqudt.org%2Fschema%2Fqudt%23%3E%0APREFIX++owl%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0APREFIX++xsd%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0APREFIX++rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0APREFIX++semiot%3A+%3Chttp%3A%2F%2Fw3id.org%2Fsemiot%2Fontologies%2Fsemiot%23%3E%0APREFIX++ssn%3A++%3Chttp%3A%2F%2Fpurl.oclc.org%2FNET%2Fssnx%2Fssn%23%3E%0APREFIX++hydra%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fhydra%2Fcore%23%3E%0APREFIX++geo%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F2003%2F01%2Fgeo%2Fwgs84_pos%23%3E%0APREFIX++rdf%3A++%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX++sh%3A+++%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fshacl%23%3E%0APREFIX++ssncom%3A+%3Chttp%3A%2F%2Fpurl.org%2FNET%2Fssnext%2Fcommunication%23%3E%0APREFIX++proto%3A+%3Chttp%3A%2F%2Fw3id.org%2Fsemiot%2Fontologies%2Fproto%23%3E%0APREFIX++dcterms%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0A%0ACONSTRUCT+%0A++%7B+%3Fsystem+%3Fp+%3Fo+.%0A++++%3Fo+%3Fo_p+%3Fo_o+.%7D%0AWHERE%0A++%7B+%3Fsystem++%3Fp++++++++++++++++++%3Fo+%3B%0A+++++++++++++dcterms%3Aidentifier++%22307044852%22%0A++++OPTIONAL%0A++++++%7B+%3Fo++%3Fo_p++%3Fo_o%0A++++++++FILTER+%28+%3Fp+NOT+IN+%28rdf%3Atype%2C+proto%3AhasPrototype%29+%29%0A++++++%7D%0A++%7D%0A fuseki_1 | 13:29:48,675 INFO [org.apache.jena.fuseki.Fuseki] (qtp403170294-13) [674] Query = PREFIX qudt: <http://qudt.org/schema/qudt#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX semiot: <http://w3id.org/semiot/ontologies/semiot#> PREFIX ssn: <http://purl.oclc.org/NET/ssnx/ssn#> PREFIX hydra: <http://www.w3.org/ns/hydra/core#> PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX sh: <http://www.w3.org/ns/shacl#> PREFIX ssncom: <http://purl.org/NET/ssnext/communication#> PREFIX proto: <http://w3id.org/semiot/ontologies/proto#> PREFIX dcterms: <http://purl.org/dc/terms/> CONSTRUCT { ?system ?p ?o . ?o ?o_p ?o_o .} WHERE { ?system ?p ?o ; dcterms:identifier "307044852" OPTIONAL { ?o ?o_p ?o_o FILTER ( ?p NOT IN (rdf:type, proto:hasPrototype) ) } } deviceproxyservice_1 | 13:30:37.160 DEBUG [pool-30-thread-1] r.s.d.m.plainlamp.PlainLampDriver - [ID=1231231231231230] Switched on! deviceproxyservice_1 | 13:30:37.161 DEBUG [pool-30-thread-1] r.s.p.d.api.drivers.CommandResult - @prefix semiot: <http://w3id.org/semiot/ontologies/semiot#> . deviceproxyservice_1 | @prefix dul: <http://www.loa-cnr.it/ontologies/DUL.owl#> . deviceproxyservice_1 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . deviceproxyservice_1 | deviceproxyservice_1 | [ deviceproxyservice_1 | a semiot:CommandResult ; deviceproxyservice_1 | semiot:commandResultTime "2016-06-02T13:30:37.16Z"^^xsd:dateTime ; deviceproxyservice_1 | dul:associatedWith <https://demo.semiot.ru/systems/1231231231231230> ; deviceproxyservice_1 | ] . dataarchivingservice_1 | 13:30:37.166 DEBUG [WampClientEventLoop] r.s.s.t.wamp.CommandResultListener - 2016-06-02T13:30:37.16Z dataarchivingservice_1 | 13:30:37.167 DEBUG [WampClientEventLoop] r.s.s.t.wamp.CommandResultListener - INSERT INTO semiot.commandresult (system_id, process_id, event_time, command_properties, command_parameters, command_type)VALUES ('1231231231231230', 'light', '2016-06-02T13:30:37.16Z', [{property:'http://purl.org/dc/terms/identifier',value:'light-startcommand',datatype:'http://www.w3.org/2001/XMLSchema#string'}], [{for_parameter:'https://raw.githubusercontent.com/semiotproject/semiot-drivers/master/mock-plain-lamp/src/main/resources/ru/semiot/drivers/mocks/plainlamp/prototype.ttl#PlainLamp-Shine-Lumen',value:'890'},{for_parameter:'https://raw.githubusercontent.com/semiotproject/semiot-drivers/master/mock-plain-lamp/src/main/resources/ru/semiot/drivers/mocks/plainlamp/prototype.ttl#PlainLamp-Shine-Color',value:'4000'}], 'http://w3id.org/semiot/ontologies/semiot#StartCommand') dataarchivingservice_1 | 13:30:37.171 DEBUG [WampClientEventLoop] r.s.s.t.wamp.CommandResultListener - Query: INSERT INTO semiot.commandresult (system_id, process_id, event_time, command_properties, command_parameters, command_type)VALUES ('1231231231231230', 'light', '2016-06-02T13:30:37.16Z', [{property:'http://purl.org/dc/terms/identifier',value:'light-startcommand',datatype:'http://www.w3.org/2001/XMLSchema#string'}], [{for_parameter:'https://raw.githubusercontent.com/semiotproject/semiot-drivers/master/mock-plain-lamp/src/main/resources/ru/semiot/drivers/mocks/plainlamp/prototype.ttl#PlainLamp-Shine-Lumen',value:'890'},{for_parameter:'https://raw.githubusercontent.com/semiotproject/semiot-drivers/master/mock-plain-lamp/src/main/resources/ru/semiot/drivers/mocks/plainlamp/prototype.ttl#PlainLamp-Shine-Color',value:'4000'}], 'http://w3id.org/semiot/ontologies/semiot#StartCommand') frontend_1 | 2016/06/02 13:30:48 [error] 5#5: *483 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 217.119.18.83, server: , request: "GET /systems/307044852 HTTP/1.1", upstream: "https://172.17.0.8:8443/systems/307044852", host: "demo.semiot.ru", referrer: "https://demo.semiot.ru/systems/307044852"
Closing because of #212
Docker-compose logs on querying particular system: