Skip to content
Browse files

extracting of publication year and creating an individual for each pa…

…per commented out, since publication years are precomputed
  • Loading branch information...
1 parent 222a3b6 commit ad130cdd986b6b6701c19aaf1ff9d6a5556ae0eb @lusy committed May 25, 2012
Showing with 3 additions and 5 deletions.
  1. +3 −5 code/parser.py
View
8 code/parser.py
@@ -300,12 +300,10 @@ def publications_to_owl(publication):
#source
#TODO extracting source
- #publication year
- decPy = owl_declaration(str(publication.publicationYear))
- classAsserPy = owl_class_assertion(str(publication.publicationYear), "PublicationYear")
+ #publication year - precomputed
+ #decPy = owl_declaration(str(publication.publicationYear))
+ #classAsserPy = owl_class_assertion(str(publication.publicationYear), "PublicationYear")
objPropAsserPy = owl_object_property_assertion("wasPublishedInYear", pub, str(publication.publicationYear))
- result.append(decPy)
- result.append(classAsserPy)
result.append(objPropAsserPy)
#authors

0 comments on commit ad130cd

Please sign in to comment.
Something went wrong with that request. Please try again.