Presentation ofFranklin et al. CrowdDB: Answering Queries with Crowdsourcing
A superset of SQL
CREATE TABLE Department ( university STRING, name STRING, url CROWD STRING, phone STRING, PRIMARY KEY (university, name) );
CREATE CROWD TABLE Professor ( name STRING PRIMARY KEY, email STRING UNIQUE, university STRING, department STRING, url STRING, FOREIGN KEY (university, department) REF Department(university, name) );
SELECT p FROM picture WHERE subject = "Golden Gate Bridge" ORDER BY CROWDORDER(p, "Which picture visualizes better %subject");