Project

General

Profile

Actions

Feature #20862

closed

TYPO3 needs to support the Semantic Web in the core / RDFA / Web 3.0

Added by Michiel Roos over 15 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-08-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

I came across a video about Tim Berners Lee on the Semantic Web [1].

After that I jumped to an Introduction video [2] and then to an RDFa video [3]. After that I found this video showing RDFa in Drupal [4].

Drupal is raising thousands of dollars to integrate RDF semantics into the core [5]: The RDF code sprint will focus on Drupal core and aim at integrating RDF semantics in it.

1. Extend Fields API to integrate RDF mappings for each field instance. The semantics of a field can differ from a bundle to another. This can be stored either in the existing settings property or by adding a rdf_mappings property to the Field Instance objects.
2. Modify the Fields UI (contrib) to allow RDF mappings editing.
3. Define the appropriate mappings for the core modules, based on the RDF core mapping proposal.
4. Patch core modules with the mappings defined above.
5. Export these mappings in RDFa via the theme layer and keep it as generic as possible in order to ease the work of the themers.
6. Write tests for RDF in core.
7. Identify other non-fieldable entities in core which could benefit from being RDF-ized, and see how to annotate them. Comment is one example. Terms also, though they might become fieldable.
8. RSS 1 (RDF) in core. Arto volunteered to get started with that.

That's all well and good. More semantics on the web is good for all of us.

Google announced support for RDFa [6] data in may [7] an Yahoo has been indexing it for over a year already.

Benni wrote his diploma thesis on the Semantic Web.

What's the status of Web 3.0 and the TYPO3 core?

[1] http://www.youtube.com/watch?v=mVFY52CH6Bc
[2] http://www.youtube.com/watch?v=OGg8A2zfWKg
[3] http://www.youtube.com/watch?v=ldl0m-5zLz4
[4] http://www.youtube.com/watch?v=r4WgTRIRoa0
[5] http://openspring.net/blog/2009/04/24/sponsor-the-rdf-code-sprint
[6] http://rdfa.info/
[7] http://rdfa.info/2009/05/12/google-announces-support-for-rdfa/

(issue imported from #M11688)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #24059: Add basic support for RDFa in core (semantic web)ClosedJochen Rau2010-11-15

Actions
Actions #2

Updated by Michiel Roos over 15 years ago

A new doctype needs to be added:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd&quot;>

The file typo3/sysext/cms/tslib/class.tslib_pagegen.php must be changed: renderContentWithHeader() (line 303)

To support this kind of html tag:

<html xmlns="http://www.w3.org/1999/xhtml&quot;
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/">

Or even more elaborate ones.

Actions #3

Updated by Jochen Rau about 14 years ago

I totally agree that TYPO3 needs to support Semantic Web technologies, like tagging the content with RDFa. There is a project on forge that covers the whole topic:

http://forge.typo3.org/projects/show/extension-scotty

Adding xmlns is already possible. Just add this to your TS setup

config.htmlTag_setParams (
xmlns="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterm="http://purl.org/dc/terms/"
xmlns:ctag="http://commontag.org/ns#"
xmlns:c="http://s.opencalais.com/1/pred/"
xmlns:v="http://rdf.data-vocabulary.org/#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:sioc="http://rdfs.org/sioc/ns#"
xmlns:sioctypes="http://rdfs.org/sioc/types#"
xmlns:fb="http://developers.facebook.com/schema/"
xmlns:og="http://opengraphprotocol.org/schema/"
)

Adding RDFa is possible via:

tt_content.text.10.innerWrap = <span property="dc:title">|</span>

This is of course a bit too low level. A more sophisticated option would be something like:

config.xlmns.dc = http://purl.org/dc/elements/1.1/

and

tt_content.text.rdf_property.1 = dc:title
tt_address.name.rdf_property.1 = foaf:name

Actions #4

Updated by Jochen Rau about 14 years ago

I addition, you have to alter the DOCTYPE to

config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd&quot;>

Then you have RDFa support in TYPO3. Anyway, there is a lot more to do in order to fulfill the vision of Semantic Web ;-)

Actions #5

Updated by Jo Hasenau about 14 years ago

Addtionally you could vote for #24043 in the core list to have a TYPO3_DB representation of 3-way-relations in the core.

This will give us the option to connect records based on a triple as well.

Actions #6

Updated by Jochen Rau about 14 years ago

I have added a more specific feature wish to be able to add the DOCTYPE and the namespaces more easily.

http://bugs.typo3.org/view.php?id=16395

Actions #7

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)

Hi,

as #24043 is resolved. What is left to resolve this issue?

Actions #8

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Benni Mack)

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF