I have a dbpedia URL http://dbpedia.org/resource/Chicago_Cubs
and want to use Apache Jena to parse this RDF and get the label of the page. It should be Chicago Cubs
.
I tried to do
Model model = ModelFactory.createDefaultModel();
Resource teamModel = model.createResource(teamURLStrInDBPedia );
But the returned resource doesn't include any properties.
How could I do this properly?