If I have those two classes that have two different properties but with the same name:
[RdfSerializable]
public class Type1
{
[RdfProperty(true), Name = "title"]
public string Title { get; set; }
}
[RdfSerializable]
public class Type2
{
[RdfProperty(true), Name = "title"]
public string Title { get; set; }
}
and try to serialize them to RDF and validate them with http://www.w3.org/RDF/Validator/ service. Everything is Okay and they are correct. But after I try to generate OWL files from those classes with OntologyExtractor.exe tool I get that message: "Ontology extraction failed. http://test.org/1.0#title is assigned to more than one type." This is strange message as the upper classes are correct and there are some RDF specifications that has same situation with different classes that have same named properties.