equal
deleted
inserted
replaced
1 from logilab.mtconverter import html_escape |
1 from logilab.mtconverter import html_escape |
2 |
2 |
3 from cubicweb.common.uilib import ureport_as_html, unormalize, ajax_replace_url |
3 #from cubicweb.common.uilib import ureport_as_html, unormalize, ajax_replace_url |
4 from cubicweb.common.view import StartupView |
4 from cubicweb.common.view import StartupView |
5 from cubicweb.common.view import EntityView |
5 from cubicweb.common.view import EntityView |
6 from cubicweb.web.httpcache import EtagHTTPCacheManager |
6 #from cubicweb.web.httpcache import EtagHTTPCacheManager |
7 |
7 |
8 _ = unicode |
8 _ = unicode |
9 |
9 |
10 OWL_CARD_MAP = {'1': '<rdf:type rdf:resource="&owl;FunctionalProperty"/>', |
10 OWL_CARD_MAP = {'1': '<rdf:type rdf:resource="&owl;FunctionalProperty"/>', |
11 '?': '<owl:maxCardinality rdf:datatype="&xsd;int">1</owl:maxCardinality>', |
11 '?': '<owl:maxCardinality rdf:datatype="&xsd;int">1</owl:maxCardinality>', |
55 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" |
55 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" |
56 xmlns:xsd="http://www.w3.org/2001/XMLSchema#" |
56 xmlns:xsd="http://www.w3.org/2001/XMLSchema#" |
57 xmlns:owl="http://www.w3.org/2002/07/owl#" |
57 xmlns:owl="http://www.w3.org/2002/07/owl#" |
58 xmlns="http://logilab.org/owl/ontologies/%s#" |
58 xmlns="http://logilab.org/owl/ontologies/%s#" |
59 xmlns:%s="http://logilab.org/owl/ontologies/%s#" |
59 xmlns:%s="http://logilab.org/owl/ontologies/%s#" |
60 xml:base="http://logilab.org/owl/ontologies/%s"> |
60 xmlns:base="http://logilab.org/owl/ontologies/%s"> |
61 |
61 |
62 <owl:Ontology rdf:about=""> |
62 <owl:Ontology rdf:about=""> |
63 <rdfs:comment> |
63 <rdfs:comment> |
64 %s Cubicweb OWL Ontology |
64 %s Cubicweb OWL Ontology |
65 |
65 |