QUERY=" PREFIX table: <http://www.daml.org/2003/01/periodictable/PeriodicTable#> \n"+
"SELECT ?name ?symbol ?weight ?number \n"+
"FROM <http://www.daml.org/2003/01/periodictable/PeriodicTable.owl> \n" +
"WHERE \n" +
"{ \n"+
"?uranium table:name \"uranium\". \n"+
"?uranium table:atomicWeight ?uraniumWeight. \n"+
"?element table:name ?name. \n"+
"?element table:symbol ?symbol. \n" +
"?element table:atomicWeight ?weight. \n" +
"?element table:atomicNumber ?number. \n" +
"FILTER ?weight > ?uraniumWeight. \n" +
"} \n"+
"ORDER BY ASC[?weight] ";
PeriodicalTable オントロジー 例外のクエリ中に、次の例外が発生します。
スレッド「AWT-EventQueue-0」com.hp.hpl.jena.query.QueryParseException での例外: 12 行目、8 列目で「?weight」が発生しました。 「ある」……。