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 statement is NOT CORRECT? XML Schema is not defined using XML syntax. correct XML Schema allows to specify minimum and maximum cardinalities. incorrect Various data types are supported in XML Schema such as xs:string, xs:short, xs:byte, etc. incorrect XML Schema is more verbose than DTD. incorrect
MC Which statement is NOT CORRECT? Various data types are supported in XML Schema such as xs:string, xs:short, xs:byte, etc. incorrect XML Schema is not defined using XML syntax. correct XML Schema is more verbose than DTD. incorrect XML Schema allows to specify minimum and maximum cardinalities. incorrect
MC Which statement is CORRECT? The relational model does not support any type of ordering, while in XML the ordering of the elements can be meaningful. correct Remote Procedure Call (RPC) works asynchronous and can therefore enforce a loose coupling in a heterogenous environment. incorrect A DTD is a well-formed XML document itself. incorrect If an XML document can be successfully opened in a web browser, it is considered as valid. incorrect
MC A key benefit of REST when compared to SOAP for web services is that: REST is communication agnostic, whereas SOAP is tightly integrated with HTTP. incorrect REST is built directly on top of HTTP and is less verbose and heavy than SOAP. correct REST only allows XML for exchanging requests and responses. incorrect REST has an official standard. incorrect
MC When compared against XML, both JSON and YAML are... not providing support for ordered elements such as arrays. incorrect less technically mature. correct not human readable. incorrect much more verbose. incorrect
MC Which statement is NOT CORRECT? RDF Schema enriches RDF by extending its vocabulary with classes and sub classes, properties and sub properties, and typing of properties. incorrect RDF allows to use database specific primary keys to identify resources. correct An RDF data model can be visualized as a directed, labeled graph. incorrect An RDF data model consists of statements which are in subject-predicate-object format. incorrect
MC When compared against XML, both JSON and YAML are... less technically mature. correct not human readable. incorrect not providing support for ordered elements such as arrays. incorrect much more verbose. incorrect
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 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
MC A key difference between XML data and relational data is that... relational data can be nested whereas XML data cannot be nested. incorrect relational data assumes atomic data types whereas XML data can consist of aggregated types. correct relational data can be multivalued whereas XML data cannot be multivalued. incorrect relational data is ordered whereas XML data is not ordered. incorrect