Simple Question (Direct)
Simple Question
Q16025930
P106
Q12737077
USER
What is the profession of Tristan Lambert ?
(Q16025930,P106,c(Q12737077))
action filter_type
action find
entity Q16025930
relation P106
type Q12737077
['Q16025930', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16025930 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Tristan Lambert
action filter_type
action find
entity Tristan Lambert
relation occupation
type occupation
['Tristan Lambert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Tristan_Lambert property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16025930,P106,c(Q12737077))
action filter_type
action find
entity Q16025930
relation P106
type Q12737077
[ANSWER]
['Q16025930', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q16025930 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Tristan Lambert
relation occupation
type occupation
['Tristan Lambert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Tristan_Lambert property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour has that one as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?x }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?x }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER]
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q3769299 . resource:Q82955 property:P425 ?x }
politics
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_behaviour . resource:politician property:field_of_this_occupation ?x }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q193432 Q82955
P425
Q3769299
USER
Or fan?
OR((Q82955,P425,c(Q3769299)), (Q193432,P425,c(Q3769299)))
action filter_type
action union
action find
entity Q82955
relation P425
action find
entity Q193432
relation P425
type Q3769299
{'OR': [['Q82955', 'P425', {'concept': 'Q3769299'}], ['Q193432', 'P425', {'concept': 'Q3769299'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q82955 property:P425 ?s } UNION { resource:Q193432 property:P425 ?s } } . ?s rdf:type ontology:Q3769299 }
fan politician
action filter_type
action union
action find
entity politician
relation field of this occupation
action find
entity fan
relation field of this occupation
type human behaviour
{'OR': [['politician', 'field of this occupation', {'concept': 'human behaviour'}], ['fan', 'field of this occupation', {'concept': 'human behaviour'}]]}
SELECT DISTINCT ?s WHERE { { { resource:politician property:field_of_this_occupation ?s } UNION { resource:fan property:field_of_this_occupation ?s } } . ?s rdf:type ontology:human_behaviour }
[]
human behaviour
Q773944 Q7163
SYSTEM
fandom, politics
Q773944 Q7163
OR((Q82955,P425,c(Q3769299)), (Q193432,P425,c(Q3769299)))
action filter_type
action union
action find
entity Q82955
relation P425
action find
entity Q193432
relation P425
type Q3769299
[ANSWERS]
{'OR': [['Q82955', 'P425', {'concept': 'Q3769299'}], ['Q193432', 'P425', {'concept': 'Q3769299'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q82955 property:P425 ?s } UNION { resource:Q193432 property:P425 ?s } } . ?s rdf:type ontology:Q3769299 }
fandom politics
fandom politics
action filter_type
action union
action find
entity politician
relation field of this occupation
action find
entity fan
relation field of this occupation
type human behaviour
{'OR': [['politician', 'field of this occupation', {'concept': 'human behaviour'}], ['fan', 'field of this occupation', {'concept': 'human behaviour'}]]}
SELECT DISTINCT ?s WHERE { { { resource:politician property:field_of_this_occupation ?s } UNION { resource:fan property:field_of_this_occupation ?s } } . ?s rdf:type ontology:human_behaviour }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P138
Q34442
USER
Which road is named after mayor ?
(c(Q34442),P138,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q30185']
SELECT DISTINCT ?i WHERE { ?i property:P138 resource:Q30185 . ?i rdf:type ontology:Q34442 }
mayor
action filter_type
action find_reverse
entity mayor
relation named after
type road
[{'concept': 'road'}, 'named after', 'mayor']
SELECT DISTINCT ?i WHERE { ?i property:named_after resource:mayor . ?i rdf:type ontology:road }
[]
road
Q15898831
SYSTEM
Borgmästargatan
Q15898831
(c(Q34442),P138,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P138
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q30185']
SELECT DISTINCT ?i WHERE { ?i property:P138 resource:Q30185 . ?i rdf:type ontology:Q34442 }
Borgmästargatan
Borgmästargatan
action filter_type
action find_reverse
entity mayor
relation named after
type road
[{'concept': 'road'}, 'named after', 'mayor']
SELECT DISTINCT ?i WHERE { ?i property:named_after resource:mayor . ?i rdf:type ontology:road }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P466
Q811430
USER
What is occupied by mayor ?
(c(Q811430),P466,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q30185']
SELECT DISTINCT ?n WHERE { ?n property:P466 resource:Q30185 . ?n rdf:type ontology:Q811430 }
mayor
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'mayor']
SELECT DISTINCT ?n WHERE { ?n property:occupant resource:mayor . ?n rdf:type ontology:construction }
[]
construction
Q1309294
SYSTEM
Einsteinhaus Caputh
Q1309294
(c(Q811430),P466,Q30185)
action filter_type
action find_reverse
entity Q30185
relation P466
type Q811430
[ANSWER]
[{'concept': 'Q811430'}, 'P466', 'Q30185']
SELECT DISTINCT ?n WHERE { ?n property:P466 resource:Q30185 . ?n rdf:type ontology:Q811430 }
Einsteinhaus Caputh
Einsteinhaus Caputh
action filter_type
action find_reverse
entity mayor
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'mayor']
SELECT DISTINCT ?n WHERE { ?n property:occupant resource:mayor . ?n rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1309294
P551
Q502895
USER
Who lives in that construction ?
(c(Q502895),P551,Q1309294)
action filter_type
action find_reverse
entity Q1309294
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1309294']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q1309294 . ?v rdf:type ontology:Q502895 }
Einsteinhaus Caputh
action filter_type
action find_reverse
entity Einsteinhaus Caputh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Einsteinhaus Caputh']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Einsteinhaus_Caputh . ?v rdf:type ontology:common_name }
[]
common name
Q937
SYSTEM
Albert Einstein
Q937
(c(Q502895),P551,Q1309294)
action filter_type
action find_reverse
entity Q1309294
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q1309294']
SELECT DISTINCT ?v WHERE { ?v property:P551 resource:Q1309294 . ?v rdf:type ontology:Q502895 }
Albert Einstein
Albert Einstein
action filter_type
action find_reverse
entity Einsteinhaus Caputh
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Einsteinhaus Caputh']
SELECT DISTINCT ?v WHERE { ?v property:residence resource:Einsteinhaus_Caputh . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937
P108
Q163740
USER
Which nonprofit organization does that person work for ?
(Q937,P108,c(Q163740))
action filter_type
action find
entity Q937
relation P108
type Q163740
['Q937', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q937 property:P108 ?g . ?g rdf:type ontology:Q163740 }
Albert Einstein
action filter_type
action find
entity Albert Einstein
relation employer
type nonprofit organization
['Albert Einstein', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Albert_Einstein property:employer ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q21578
SYSTEM
Princeton University
Q21578
(Q937,P108,c(Q163740))
action filter_type
action find
entity Q937
relation P108
type Q163740
[ANSWER]
['Q937', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q937 property:P108 ?g . ?g rdf:type ontology:Q163740 }
Princeton University
Princeton University
action filter_type
action find
entity Albert Einstein
relation employer
type nonprofit organization
['Albert Einstein', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Albert_Einstein property:employer ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21578
P127
Q811979
USER
Which architectural structures are owned by that nonprofit organization ?
(c(Q811979),P127,Q21578)
action filter_type
action find_reverse
entity Q21578
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q21578']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q21578 . ?s rdf:type ontology:Q811979 }
Princeton University
action filter_type
action find_reverse
entity Princeton University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Princeton University']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Princeton_University . ?s rdf:type ontology:architectural_structure }
[]
architectural structure
Q7105786 Q5875017 Q4908486
SYSTEM
Osborne Field, Hobey Baker Memorial Rink, Bill Clarke Field
Q7105786 Q5875017 Q4908486
(c(Q811979),P127,Q21578)
action filter_type
action find_reverse
entity Q21578
relation P127
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P127', 'Q21578']
SELECT DISTINCT ?s WHERE { ?s property:P127 resource:Q21578 . ?s rdf:type ontology:Q811979 }
Osborne Field Hobey Baker Memorial Rink Bill Clarke Field
Osborne Field Hobey Baker Memorial Rink Bill Clarke Field
action filter_type
action find_reverse
entity Princeton University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Princeton University']
SELECT DISTINCT ?s WHERE { ?s property:owned_by resource:Princeton_University . ?s rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21578
P361
Q3918
USER
What is a part of Princeton University ?
(c(Q3918),P361,Q21578)
action filter_type
action find_reverse
entity Q21578
relation P361
type Q3918
[{'concept': 'Q3918'}, 'P361', 'Q21578']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q21578 . ?h rdf:type ontology:Q3918 }
Princeton University
action filter_type
action find_reverse
entity Princeton University
relation part of
type university
[{'concept': 'university'}, 'part of', 'Princeton University']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Princeton_University . ?h rdf:type ontology:university }
[]
university
Q7244976
SYSTEM
Princeton Law School
Q7244976
(c(Q3918),P361,Q21578)
action filter_type
action find_reverse
entity Q21578
relation P361
type Q3918
[ANSWER]
[{'concept': 'Q3918'}, 'P361', 'Q21578']
SELECT DISTINCT ?h WHERE { ?h property:P361 resource:Q21578 . ?h rdf:type ontology:Q3918 }
Princeton Law School
Princeton Law School
action filter_type
action find_reverse
entity Princeton University
relation part of
type university
[{'concept': 'university'}, 'part of', 'Princeton University']
SELECT DISTINCT ?h WHERE { ?h property:part_of resource:Princeton_University . ?h rdf:type ontology:university }
[]