|
34 | 34 | <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">1997</schema:endDate>
|
35 | 35 | </dct:PeriodOfTime>
|
36 | 36 | </dct:temporal>
|
37 |
| - <!-- using xsd:date, xsd:gYearMonth or xsd:gYear, but incorrectly specifying date: will be parsed as isodate as |
38 |
| - far as possible when rdflib creates the graph and will be mapped, but values might not be what the data publisher |
39 |
| - expected. --> |
| 37 | + <!-- using xsd:date, xsd:gYearMonth or xsd:gYear, but incorrectly specifying date: will not be mapped --> |
40 | 38 | <dct:temporal>
|
41 | 39 | <dct:PeriodOfTime>
|
42 |
| - <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1998-04</schema:startDate> |
43 |
| - <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1999</schema:endDate> |
| 40 | + <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1998</schema:startDate> |
| 41 | + <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">1999-4-4</schema:endDate> |
44 | 42 | </dct:PeriodOfTime>
|
45 | 43 | </dct:temporal>
|
46 | 44 | <dct:temporal>
|
47 | 45 | <dct:PeriodOfTime>
|
48 |
| - <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2000-11-21T01:02:03</schema:startDate> |
49 |
| - <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2001T01:02:03</schema:endDate> |
| 46 | + <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2000-4</dcat:startDate> |
| 47 | + <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2001-6-06</dcat:endDate> |
50 | 48 | </dct:PeriodOfTime>
|
51 | 49 | </dct:temporal>
|
52 | 50 | <dct:temporal>
|
53 | 51 | <dct:PeriodOfTime>
|
54 |
| - <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2002-01-01T00:00:00</dcat:startDate> |
| 52 | + <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2002-01T00:00:00</dcat:startDate> |
55 | 53 | <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2003</dcat:endDate>
|
56 | 54 | </dct:PeriodOfTime>
|
57 | 55 | </dct:temporal>
|
58 | 56 | <dct:temporal>
|
59 | 57 | <dct:PeriodOfTime>
|
60 |
| - <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2004-01-02</dcat:startDate> |
61 |
| - <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2005-12</dcat:endDate> |
| 58 | + <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2004-4-1</dcat:startDate> |
| 59 | + <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2005-6-6</dcat:endDate> |
62 | 60 | </dct:PeriodOfTime>
|
63 | 61 | </dct:temporal>
|
| 62 | + <!-- using xsd:gYear, but incorrectly specifying date: will be parsed as isodate as far as possible when rdflib |
| 63 | + creates the graph and will be mapped, but values might not be what the data publisher expected. --> |
64 | 64 | <dct:temporal>
|
65 | 65 | <dct:PeriodOfTime>
|
66 |
| - <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2006-4</dcat:startDate> |
67 |
| - <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2007-6-6</dcat:endDate> |
| 66 | + <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2006-11-21T01:02:03</schema:startDate> |
| 67 | + <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2007-11T01:02:03</schema:endDate> |
| 68 | + </dct:PeriodOfTime> |
| 69 | + </dct:temporal> |
| 70 | + <dct:temporal> |
| 71 | + <dct:PeriodOfTime> |
| 72 | + <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2008-04-02</dcat:startDate> |
| 73 | + <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYear">2009-06</dcat:endDate> |
| 74 | + </dct:PeriodOfTime> |
| 75 | + </dct:temporal> |
| 76 | + <dct:temporal> |
| 77 | + <dct:PeriodOfTime> |
| 78 | + <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2010-04</schema:startDate> |
| 79 | + <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2011-05</schema:endDate> |
| 80 | + </dct:PeriodOfTime> |
| 81 | + </dct:temporal> |
| 82 | + <dct:temporal> |
| 83 | + <dct:PeriodOfTime> |
| 84 | + <schema:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2012-11-21T01:02:03</schema:startDate> |
| 85 | + <schema:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#date">2013-11-21T01:02:03</schema:endDate> |
| 86 | + </dct:PeriodOfTime> |
| 87 | + </dct:temporal> |
| 88 | + <dct:temporal> |
| 89 | + <dct:PeriodOfTime> |
| 90 | + <dcat:startDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2014-04-06T00:00:00</dcat:startDate> |
| 91 | + <dcat:endDate rdf:datatype="http://www.w3.org/2001/XMLSchema#gYearMonth">2015-01-02</dcat:endDate> |
68 | 92 | </dct:PeriodOfTime>
|
69 | 93 | </dct:temporal>
|
70 | 94 | <!-- using XSD datatypes, with an invalid date or datetime: should not be mapped -->
|
|
0 commit comments