File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ pub fn translate_variable(v: &Value) -> Value {
4949}
5050
5151pub fn translate_object_property_atom ( v : & Value ) -> Value {
52- let type_o = get_object ( & json ! ( "swrl: IndividualPropertyAtom" ) ) ;
52+ let type_o = get_object ( & json ! ( "<http://www.w3.org/2003/11/swrl# IndividualPropertyAtom> " ) ) ;
5353 let property_o = get_object ( & v[ 1 ] ) ;
5454 let arg1_o = get_object ( & v[ 2 ] ) ;
5555 let arg2_o = get_object ( & v[ 3 ] ) ;
5656 json ! ( { "datatype" : "_JSONMAP" ,
5757 "object" : { "<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>" : vec![ type_o] ,
58- "swrl: propertyPredicate" : vec![ property_o] ,
59- "swrl: argument1" : vec![ arg1_o] ,
60- "swrl: argument2" : vec![ arg2_o] } } )
58+ "<http://www.w3.org/2003/11/swrl# propertyPredicate> " : vec![ property_o] ,
59+ "<http://www.w3.org/2003/11/swrl# argument1> " : vec![ arg1_o] ,
60+ "<http://www.w3.org/2003/11/swrl# argument2> " : vec![ arg2_o] } } )
6161}
6262
6363pub fn translate_body ( v : & Value ) -> Value {
You can’t perform that action at this time.
0 commit comments