ArticleslgStudy

computer science

CubicWeb

CubicWeb is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand CubicWeb rather than just read about it. In short: CubicWeb is a free and open-source semantic web application framework, licensed under the LGPL. It is written in Python.

CubicWeb — main illustration
CubicWeb — illustration

Key takeaways

  • CubicWeb belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect CubicWeb to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of CubicWeb from memory before moving on to harder problems.

Reference excerpt

CubicWeb is a free and open-source semantic web application framework, licensed under the LGPL. It is written in Python. It has been an open free software project since October 2008, but the project began in 2000, and was initially developed by Logilab for internal uses such as intranet, bug tracker and forge applications. As of 2012, CubicWeb is being used in large-scale semantic web and linked open data applications, and international corporations.

Concepts The framework is entirely driven by a data model. Once the data model is defined, one gets a functional web application and can further customize the views (by default it provides a set of default views for each type of data). A cube is a reusable component defining specific features. For example, a cube forge allows one to create one's own forge and the forge cube reuses the cubes comment, file, email, etc. Interesting general purpose cubes include dbpedia and openlibrary. The framework has been translated to English, French, Spanish and German (April 2011).

Functions Semantic web: supports OWL/RDF Multi-source: supports RQL, SQL, LDAP, Subversion and Mercurial RQL: Relationship query language to ease data querying Migration tool: fits into agile development View selection principle: the engine selects the best view to fit the content to display according to the context Cubes library: a wide range of cubes are available on the forge

See also

References

Further reading Grehan, Rick (10 August 2011). "Pillars of Python: CubicWeb Web framework". InfoWorld. Retrieved 6 July 2016. Cervone, H. Frank; Svensson, Lars G. (1 July 2015). Linked Data and User Interaction. Walter de Gruyter GmbH & Co KG. ISBN 9783110317008. Retrieved 6 July 2016 – via Google Books. Cimiano, Philipp; Corcho, Oscar; Presutti, Valentina; Hollink, Laura; Rudolph, Sebastian (20 May 2013). The Semantic Web: Semantics and Big Data: 10th International Conference, ESWC 2013, Montpellier, France, May 26-30, 2013. Proceedings. Springer. ISBN 9783642382888. Retrieved 6 July 2016 – via Google Books. (subscription required) Michel, Vincent (1 August 2011). "Rss feeds aggregator based on Scikits.learn and CubicWeb". Retrieved 6 July 2016. {{cite journal}}: Cite journal requires |journal= (help) Sikos, L. F. (2015). Mastering Structured Data on the Semantic Web: From HTML5 Microdata to Linked Open Data. New York: Apress. doi:10.1007/978-1-4842-1049-9. ISBN 978-1-4842-1050-5. S2CID 37665842.{{cite book}}: CS1 maint: date and year (link) "Nicolas Chauvat (Logilab) sur CubicWeb et Dataconnexions - Silicon". 14 February 2013. Retrieved 6 July 2016. "Open data : le logiciel libre CubicWeb primé par Etalab". 8 February 2013. Retrieved 6 July 2016.

External links Official website CubicWeb blog CubicWeb blog at the Wayback Machine (archived 2009-07-28) CubicWeb Docs OSCON 2010 presentation of CubicWeb French Semantic Web Conference CubicWeb components in the Python Package Index (PyPI) paper at Extended Semantic Web Conference 2013 at the Wayback Machine (archived 2020-02-09)

Worked examples

Example 1 — a first encounter with CubicWeb

Start with the simplest possible case. Write down what CubicWeb claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to CubicWeb before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about CubicWeb ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of CubicWeb

In research
CubicWeb appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses CubicWeb in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
CubicWeb is common in secondary-school and first-year university syllabi. It links to neighbouring topics Free software programmed in Python, Python (programming language) web frameworks, Semantic Web, so understanding it makes those chapters shorter.
In everyday life
Look for CubicWeb outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “CubicWeb” →

How to study CubicWeb in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what CubicWeb means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain CubicWeb out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is CubicWeb in simple terms?

CubicWeb is a free and open-source semantic web application framework, licensed under the LGPL. It is written in Python.

Why does CubicWeb matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study CubicWeb?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on CubicWeb.

Tags

  • Free software programmed in Python
  • Python (programming language) web frameworks
  • Semantic Web
  • Software using the GNU Lesser General Public License

Keep exploring