Simple Question (Direct)
Simple Question
Q5218247
P69
Q875538
USER
What is the public university where Daniel Nester was educated ?
(Q5218247,P69,c(Q875538))
action filter_type
action find
entity Q5218247
relation P69
type Q875538
['Q5218247', 'P69', {'concept': 'Q875538'}]
SELECT DISTINCT ?x WHERE { resource:Q5218247 property:P69 ?x . ?x rdf:type ontology:Q875538 }
Daniel Nester
action filter_type
action find
entity Daniel Nester
relation educated at
type public university
['Daniel Nester', 'educated at', {'concept': 'public university'}]
SELECT DISTINCT ?x WHERE { resource:Daniel_Nester property:educated_at ?x . ?x rdf:type ontology:public_university }
[]
public university
Q499451
SYSTEM
Rutgers University
Q499451
(Q5218247,P69,c(Q875538))
action filter_type
action find
entity Q5218247
relation P69
type Q875538
The public university Daniel Nester was educated is [ANSWER]
['Q5218247', 'P69', {'concept': 'Q875538'}]
SELECT DISTINCT ?x WHERE { resource:Q5218247 property:P69 ?x . ?x rdf:type ontology:Q875538 }
Rutgers University
The public university Daniel Nester was educated is Rutgers University
Rutgers University
action filter_type
action find
entity Daniel Nester
relation educated at
type public university
['Daniel Nester', 'educated at', {'concept': 'public university'}]
SELECT DISTINCT ?x WHERE { resource:Daniel_Nester property:educated_at ?x . ?x rdf:type ontology:public_university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5218247
P27
Q15617994
USER
Which administrative territory is Daniel Nester an inhabitant of ?
(Q5218247,P27,c(Q15617994))
action filter_type
action find
entity Q5218247
relation P27
type Q15617994
['Q5218247', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5218247 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Daniel Nester
action filter_type
action find
entity Daniel Nester
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Nester', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Daniel_Nester property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5218247,P27,c(Q15617994))
action filter_type
action find
entity Q5218247
relation P27
type Q15617994
[ANSWER] is Daniel Nester an inhabitant of
['Q5218247', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q5218247 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Daniel Nester an inhabitant of
United States of America
action filter_type
action find
entity Daniel Nester
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Nester', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Daniel_Nester property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories are exactly 4 holidays and people a patron saint of ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 4
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?u rdf:type ?z } GROUP BY ?g } . FILTER ( ?i = 4 ) }
action count
action equal
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:holiday ) ( ontology:common_name ) } . ?u rdf:type ?z } GROUP BY ?g } . FILTER ( ?i = 4 ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
1
Q36
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
value 4
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?u rdf:type ?z } GROUP BY ?g } . FILTER ( ?i = 4 ) }
Poland
1
action count
action equal
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?i ) WHERE { VALUES ( ?z ) { ( ontology:holiday ) ( ontology:common_name ) } . ?u rdf:type ?z } GROUP BY ?g } . FILTER ( ?i = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P138
Q2221906
USER
What is United States of America named after ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q30 property:P138 ?q . ?q rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:named_after ?q . ?q rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
The [ANSWER] is named after
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?q WHERE { resource:Q30 property:P138 ?q . ?q rdf:type ontology:Q2221906 }
Americas
The Americas is named after
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?q WHERE { resource:United_States_of_America property:named_after ?q . ?q rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P162
Q838948
USER
Which work of art has been produced by United States of America ?
(c(Q838948),P162,Q30)
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P162 resource:Q30 . ?u rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:producer resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
work of art
Q1193742
SYSTEM
The Thief of Bagdad
Q1193742
(c(Q838948),P162,Q30)
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[ANSWER] has been produced by United States of America
[{'concept': 'Q838948'}, 'P162', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P162 resource:Q30 . ?u rdf:type ontology:Q838948 }
The Thief of Bagdad
The Thief of Bagdad has been produced by United States of America
The Thief of Bagdad
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:producer resource:United_States_of_America . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1193742
P344
Q502895
USER
Who is the cinematographer of that work of art ?
(Q1193742,P344,c(Q502895))
action filter_type
action find
entity Q1193742
relation P344
type Q502895
['Q1193742', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1193742 property:P344 ?s }
The Thief of Bagdad
action filter_type
action find
entity The Thief of Bagdad
relation director of photography
type common name
['The Thief of Bagdad', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Thief_of_Bagdad property:director_of_photography ?s }
[]
common name
Q1567717
SYSTEM
Tonino Delli Colli
Q1567717
(Q1193742,P344,c(Q502895))
action filter_type
action find
entity Q1193742
relation P344
type Q502895
The cinematographer of that work of art is the [ANSWER]
['Q1193742', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1193742 property:P344 ?s }
Tonino Delli Colli
The cinematographer of that work of art is the Tonino Delli Colli
Tonino Delli Colli
action filter_type
action find
entity The Thief of Bagdad
relation director of photography
type common name
['The Thief of Bagdad', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Thief_of_Bagdad property:director_of_photography ?s }
[]