MC In case an application needs to process large XML documents in a sequential way, it is recommended to use the: SAX API correct DOM API incorrect
MC Which of the following are properties of SPARQL? Is is based upon matching graph patterns. incorrect It can query RDF graphs. incorrect It provides support for namespaces. incorrect All of these properties. correct
MC Which of the following are properties of SPARQL? Is is based upon matching graph patterns. incorrect It can query RDF graphs. incorrect It provides support for namespaces. incorrect All of these properties. correct
MC Consider the following table which maps an XML document to a relational database:
CREATE TABLE NODE(
ID CHAR(6) NOT NULL PRIMARY KEY,
PARENT_ID CHAR(6),
TYPE VARCHAR(9),
LABEL VARCHAR(20),
VALUE CLOB,
FOREIGN KEY (PARENT_ID) REFERENCES NODE (ID)
CONSTRAINT CC1 CHECK(TYPE IN ("element", "attribute"))
);
Which statement is CORRECT? The table will require extensive querying resources since every single (e.g. XPath) navigation step requires a self-join on this table. correct The above table assumes the presence of a DTD or XSD before the mapping can take place. incorrect Using the above table, every XPath expression can be translated to a corresponding SQL query. incorrect The table is not entirely normalized and still contains redundant information. incorrect
MC Which statement is NOT CORRECT? RDF allows to use database specific primary keys to identify resources. correct RDF Schema enriches RDF by extending its vocabulary with classes and sub classes, properties and sub properties, and typing of properties. incorrect An RDF data model consists of statements which are in subject-predicate-object format. incorrect An RDF data model can be visualized as a directed, labeled graph. incorrect
MC Which statement is NOT CORRECT? XQuery allows to make use of both the document structure and its content. incorrect XQuery uses XPath path expressions to navigate through the document. incorrect The end results of XQuery can be sorted. incorrect XQuery does not allow to join information from different XML documents. correct
MC XML focusses on the... representation of documents. incorrect content of documents. correct
MC Which statement is NOT CORRECT? XPath uses path expressions to refer to parts of an XML document. incorrect XPath is a simple, declarative language. incorrect XPath considers an XML document as a set of XML elements. correct Every navigation step in XPath results in a node or list of nodes which can then be used to continue the navigation. incorrect
MC A key benefit of REST when compared to SOAP for web services is that: REST has an official standard. incorrect REST is communication agnostic, whereas SOAP is tightly integrated with HTTP. incorrect REST only allows XML for exchanging requests and responses. incorrect REST is built directly on top of HTTP and is less verbose and heavy than SOAP. correct
MC Consider the following table which maps an XML document to a relational database:
CREATE TABLE NODE(
ID CHAR(6) NOT NULL PRIMARY KEY,
PARENT_ID CHAR(6),
TYPE VARCHAR(9),
LABEL VARCHAR(20),
VALUE CLOB,
FOREIGN KEY (PARENT_ID) REFERENCES NODE (ID)
CONSTRAINT CC1 CHECK(TYPE IN ("element", "attribute"))
);
Which statement is CORRECT? The table is not entirely normalized and still contains redundant information. incorrect The above table assumes the presence of a DTD or XSD before the mapping can take place. incorrect Using the above table, every XPath expression can be translated to a corresponding SQL query. incorrect The table will require extensive querying resources since every single (e.g. XPath) navigation step requires a self-join on this table. correct