Giter Club home page Giter Club logo

hist-ua-175-final's Introduction

Hist 175 Final Project

{
	port_of_entry(func: eq(port_of_entry, "New York, NY")) {
		port_of_entry
		people: ~poe {
			name
			naid
			country: c {
				country
			}
			year_of_entry: yoe {
				year_of_entry
			}
		}
	}
}

alt img/img4.png


{
  var(func: eq(country, "Italy")) {
		country
    italians as ~c {
			name
    }
  }
  
  var(func: eq(year_of_entry, 1963)) {
		year_of_entry
    y1963p as ~yoe {
			name
    }
  }
  
	port_of_entry(func: eq(port_of_entry, "New York, NY")) {
		port_of_entry
		people: ~poe(first: 30) @filter(uid(italians) AND uid(y1963p)) {
			name
			naid
			country: c {
				country
			}
			year_of_entry: yoe {
				year_of_entry
			}
		}
	}
}

alt img/img3.png


{
    root(func: type(Root)) {
        countries(first: 10) {
            country

            people(first: 30) {
                name
                naid

                age : ~people {
                    age
                }

                age_of_entry : ~people {
                    age_of_entry
                }

                age_of_naturalization : ~people {
                    age_of_naturalization
                }

                port_of_entry : ~people {
                    port_of_entry
                }
            }
        }
    }
}

alt img/img2.png


{
    root(func: type(Root)) {
        countries(first: 10) {
            country

            people(first: 30) {
                name
                naid
            }
        }

        ports_of_entry(first: 10) {
            port_of_entry

            people(first: 30) {
                name
                naid
            }
        }
    }
}

alt img/img1.png

hist-ua-175-final's People

Contributors

wabscale avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.