Thanks. That does not seem to be available in Jena 2.11.0 though.
On Tue, May 26, 2015 at 10:56 PM, Andy Seaborne wrote:
> On 26/05/15 15:38, Martynas Jusevičius wrote:
>>
>> Hey,
>>
>> is there a better way than
>>
>> import com.hp.hpl.jena.datatypes.xsd.impl.XMLLiteralType;
>>
>> ...
>>
>> if (
Success. One other error on my part was that my files ended in .json not
.jsonld. `content_type` was using the file extension to get the right
³media type², so I needed to change them to .jsonld.
Thanks for your help.
jw
--
Dr. Jeffrey C. Witt
Philosophy Department
Loyola University Maryland
4501
On 26/05/15 21:30, Jeffrey C. Witt wrote:
I'm getting an error when posting a json-ld file to Fuseki 2.0 as follows:
echo "trying jsonld"
./s-post http://localhost:3030/ds/data default
~/WebPages/scta/public/pg-lon.json
./s-post http://localhost:3030/ds/data default
~/WebPage
On 26/05/15 15:38, Martynas Jusevičius wrote:
Hey,
is there a better way than
import com.hp.hpl.jena.datatypes.xsd.impl.XMLLiteralType;
...
if (!stmt.getObject().isLiteral() ||
!stmt.getLiteral().getDatatype().equals(XMLLiteralType.theXMLLiteralType))
RDF.dtXMLLiteral is a little nicer th
Hey,
is there a better way than
import com.hp.hpl.jena.datatypes.xsd.impl.XMLLiteralType;
...
if (!stmt.getObject().isLiteral() ||
!stmt.getLiteral().getDatatype().equals(XMLLiteralType.theXMLLiteralType))
?
Thanks,
Martynas
graphityhq.com
Resended message. I replied to the confirmation message.
Hello,
i need help with get restriction of specific OntClass...
I get list of OntClass this way: ontModel.listNamedClasses()
but when I call listDeclaredProperties(true) on specific OntClass I dont
restrictions of Class...
Should you he