# 0 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president . ?x nytimes:topicPage ?page } } # 1 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } . SERVICE { ?x owl:sameAs ?president } } # 2 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } . SERVICE { ?x owl:sameAs ?president } } # 3 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 4 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:party ?party . ?president dbo:nationality dbpedia:United_States } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 5 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 6 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 7 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 8 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 9 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 10 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 11 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?x nytimes:topicPage ?page } } # 12 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } } # 13 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } } # 14 SELECT ?president ?party ?x WHERE { SERVICE { ?president rdf:type dbo:President } . SERVICE { ?x owl:sameAs ?president } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } } # 15 SELECT ?president ?party ?x WHERE { SERVICE { ?x owl:sameAs ?president } . SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } } # 16 SELECT ?president ?party ?x WHERE { SERVICE { ?x owl:sameAs ?president } . SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } } # 17 SELECT ?president ?party ?x WHERE { SERVICE { ?x owl:sameAs ?president } . SERVICE { ?president rdf:type dbo:President } . SERVICE { ?president dbo:nationality dbpedia:United_States . ?president dbo:party ?party } . SERVICE { ?x nytimes:topicPage ?page } }