我的sparql查询结果存在问题。 这是我的问题:
String queryBody = "REGISTER QUERY noreasoning AS "
+ "PREFIX ds:<http://www.dati.lombardia.it/resource/nf78-nj6b/> "
+ "SELECT ?idSensore ?valoreMisurazione ?tipologia ?nomeComune "
+ "FROM STREAM <http://streamreasoning.org/streams/sensors> [RANGE 10s STEP 1s] "
+ "FROM <http://streamreasoning.org/roomConnection> "
+ "WHERE { "
+ "?s ds:idsensore ?idSensore. "
+ "?s ds:observes ?valoreMisurazione. "
+ "?s ds:tipologia ?tipologia. "
+ "?s ds:nomecomune ?nomeComune. "
+" FILTER ( datatype(?tipologia) = xds:langString)\n"
+ "} ";
我的结果是:
-------3 results at SystemTime=[1464188665959]--------
"2447"^^null 6 "Temperatura"^^null "Bema"^^null
"8016"^^null -1.3 "Temperatura"^^null "Aprica"^^null
"4066"^^null 7.9 "Temperatura"^^null "Arconate"^^null
我应该更改什么才能删除&#34; ^^ null&#34;?