From: Irene Schena Date: Wed, 24 Apr 2002 16:50:29 +0000 (+0000) Subject: Modified Files: X-Git-Tag: V_0_3_0_debian_8~131 X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=commitdiff_plain;h=c534f0f12f9369670d93dd0eb30e8f9a85ff6498 Modified Files: 1) grammar.txt: changes Added Files: 1) query.xml: query example 2) xmathql.dtd: dtd for mathql --- diff --git a/helm/mathql/grammar.txt b/helm/mathql/grammar.txt index 399a529f1..877bd075f 100644 --- a/helm/mathql/grammar.txt +++ b/helm/mathql/grammar.txt @@ -7,7 +7,8 @@ MATHEMATICAL QUERY LANGUAGE (MathQL) | UNION (* unione *) | INTERSECT (* intersezione *) | DIFF (* differenza *) - | SORTEDBY + | SORTEDBY (* unione lista ordinata secondo + ordine e valore funzione *) | SELECT IN WHERE (* selezione *) | EXISTS IN WHERE (* esistenziale *) | USE POSITION (* unione lista backward *) @@ -43,6 +44,9 @@ MATHEMATICAL QUERY LANGUAGE (MathQL) | (* applicazione di funzione *) := NAME (* rvar -> nome_oggetto *) + | + + := THEORY (* URI -> valore_Proprieta' *) | TITLE (* URI -> valore_Prop_DC *) | CONTRIBUTOR | CREATOR @@ -62,20 +66,15 @@ MATHEMATICAL QUERY LANGUAGE (MathQL) | CONTACT | FIRSTVERSION | MODIFIED - | + | - := SUB (* proprieta' e sotto-proprieta' + := SUB (* proprieta' e sotto-proprieta' di *) - | SUPER (* proprieta' e super-proprieta' + | SUPER (* proprieta' e super-proprieta' di *) - := THEORY (* ordinamento alfabetico in - base a teorie e default per - gli oggetti *) + := DESC (* ordinamento decrescente *) | ASC (* ordinamento crescente *) - | DESC (* ordinamento decrescente *) - | KEY (* ordinamento in base a parole - chiave o soggetto *) := (* variabile per risorse *) := $ (* variabile per stringhe *) @@ -99,6 +98,3 @@ MATHEMATICAL QUERY LANGUAGE (MathQL) teorema ci sono? - L'ordinamento di default e' quello alfabetico crescente in base al nome delle rvar - - - diff --git a/helm/mathql/query.xml b/helm/mathql/query.xml new file mode 100644 index 000000000..68fb9992e --- /dev/null +++ b/helm/mathql/query.xml @@ -0,0 +1,29 @@ + + + + + + + + + + diff --git a/helm/mathql/xmathql.dtd b/helm/mathql/xmathql.dtd new file mode 100644 index 000000000..57b663f73 --- /dev/null +++ b/helm/mathql/xmathql.dtd @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file