Simple Question (Direct)
Simple Question
Q992996
P69
Q163740
USER
Which nonprofit organization was Bruno Banducci educated at ?
(Q992996,P69,c(Q163740))
action filter_type
action find
entity Q992996
relation P69
type Q163740
['Q992996', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q992996 property:P69 ?n . ?n rdf:type ontology:Q163740 }
Bruno Banducci
action filter_type
action find
entity Bruno Banducci
relation educated at
type nonprofit organization
['Bruno Banducci', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Bruno_Banducci property:educated_at ?n . ?n rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q992996,P69,c(Q163740))
action filter_type
action find
entity Q992996
relation P69
type Q163740
Bruno Banducci was educated at [ANSWER]
['Q992996', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?n WHERE { resource:Q992996 property:P69 ?n . ?n rdf:type ontology:Q163740 }
Stanford University
Bruno Banducci was educated at Stanford University
Stanford University
action filter_type
action find
entity Bruno Banducci
relation educated at
type nonprofit organization
['Bruno Banducci', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?n WHERE { resource:Bruno_Banducci property:educated_at ?n . ?n rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q992996
P21
Q290
USER
Which sex does that person belong to ?
(Q41506,P21,c(Q290))
action filter_type
action find
entity Q992996
relation P21
type Q290
['Q41506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q992996 property:P21 ?d . ?d rdf:type ontology:Q290 }
Bruno Banducci
action filter_type
action find
entity Bruno Banducci
relation gender
type sex
['Stanford University', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Bruno_Banducci property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q41506,P21,c(Q290))
action filter_type
action find
entity Q992996
relation P21
type Q290
That person belongs to [ANSWER]
['Q41506', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q992996 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Bruno Banducci
relation gender
type sex
['Stanford University', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Bruno_Banducci property:gender ?d . ?d rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3442533
P21
Q502895
USER
Is Tomislav Smoljanović a that sex ?
(Q3442533,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3442533
relation P21
['Q3442533', 'P21', 'Q6581097']
ASK WHERE { resource:Q3442533 property:P21 resource:Q6581097 }
male Tomislav Smoljanović
action is_in
entity male
action find
entity Tomislav Smoljanović
relation gender
['Tomislav Smoljanović', 'gender', 'male']
ASK WHERE { resource:Tomislav_Smoljanović property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3442533,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3442533
relation P21
[ANSWER]
['Q3442533', 'P21', 'Q6581097']
ASK WHERE { resource:Q3442533 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Tomislav Smoljanović
relation gender
['Tomislav Smoljanović', 'gender', 'male']
ASK WHERE { resource:Tomislav_Smoljanović property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q41506 Q30 Q101117
P17
Q15617994
USER
Is Stanford University situated in United States of America and Gaverina Terme ?
(Q41506,P17,Q30) (Q41506,P17,Q101117)
action is_in
entity Q41506
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q101117
relation P17
['Q41506', 'P17', 'Q30'] ['Q41506', 'P17', 'Q101117']
ASK WHERE { resource:Q41506 property:P17 resource:Q30 . resource:Q41506 property:P17 resource:Q101117 }
Stanford University United States of America Gaverina Terme
action is_in
entity Stanford University
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Gaverina Terme
relation country
['Stanford University', 'country', 'United States of America'] ['Stanford University', 'country', 'Gaverina Terme']
ASK WHERE { resource:Stanford_University property:country resource:United_States_of_America . resource:Stanford_University property:country resource:Gaverina_Terme }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q41506,P17,Q30) (Q41506,P17,Q101117)
action is_in
entity Q41506
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q101117
relation P17
[ANSWER]
['Q41506', 'P17', 'Q30'] ['Q41506', 'P17', 'Q101117']
ASK WHERE { resource:Q41506 property:P17 resource:Q30 . resource:Q41506 property:P17 resource:Q101117 }
YES and NO respectively
action is_in
entity Stanford University
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Gaverina Terme
relation country
['Stanford University', 'country', 'United States of America'] ['Stanford University', 'country', 'Gaverina Terme']
ASK WHERE { resource:Stanford_University property:country resource:United_States_of_America . resource:Stanford_University property:country resource:Gaverina_Terme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41506
P159
Q486972
USER
Which human settlement is the head office of that nonprofit organization ?
action filter_type
action find
entity Q41506
relation P159
type Q486972
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q486972 . resource:Q41506 property:P159 ?e }
Stanford University
action filter_type
action find
entity Stanford University
relation headquarters location
type human settlement
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:human_settlement . resource:Stanford_University property:headquarters_location ?e }
[]
human settlement
Q173813
SYSTEM
Stanford
Q173813
action filter_type
action find
entity Q41506
relation P159
type Q486972
[ANSWER] is the head office of that nonprofit organization
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q486972 . resource:Q41506 property:P159 ?e }
Stanford
Stanford is the head office of that nonprofit organization
Stanford
action filter_type
action find
entity Stanford University
relation headquarters location
type human settlement
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:human_settlement . resource:Stanford_University property:headquarters_location ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41506
P138
Q25956
USER
Which space station has that nonprofit organization as its toponym ?
(c(Q25956),P138,Q173813)
action filter_type
action find_reverse
entity Q41506
relation P138
type Q25956
[{'concept': 'Q25956'}, 'P138', 'Q173813']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q25956 . ?r property:P138 resource:Q41506 }
Stanford University
action filter_type
action find_reverse
entity Stanford University
relation named after
type space station
[{'concept': 'space station'}, 'named after', 'Stanford']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:space_station . ?r property:named_after resource:Stanford_University }
[]
space station
Q564946
SYSTEM
Stanford torus
Q564946
(c(Q25956),P138,Q173813)
action filter_type
action find_reverse
entity Q41506
relation P138
type Q25956
[ANSWER] has that nonprofit organization as its toponym
[{'concept': 'Q25956'}, 'P138', 'Q173813']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q25956 . ?r property:P138 resource:Q41506 }
Stanford torus
Stanford torus has that nonprofit organization as its toponym
Stanford torus
action filter_type
action find_reverse
entity Stanford University
relation named after
type space station
[{'concept': 'space station'}, 'named after', 'Stanford']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:space_station . ?r property:named_after resource:Stanford_University }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q67763 Q3442533
P47 P19
Q13220204
USER
Which administrative country subdivisions were Tomislav Smoljanović born or have a shared border with Giornico ?
OR((Q3442533,P19,c(Q13220204)), (Q67763,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q3442533
relation P19
action find
entity Q67763
relation P47
type Q13220204
{'OR': [['Q3442533', 'P19', {'concept': 'Q13220204'}], ['Q67763', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3442533 property:P19 ?i } UNION { resource:Q67763 property:P47 ?i } } . ?i rdf:type ontology:Q13220204 }
Giornico Tomislav Smoljanović
action filter_type
action union
action find
entity Tomislav Smoljanović
relation place of birth
action find
entity Giornico
relation shares border with
type second-level administrative country subdivision
{'OR': [['Tomislav Smoljanović', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Giornico', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Tomislav_Smoljanović property:place_of_birth ?i } UNION { resource:Giornico property:shares_border_with ?i } } . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q68810 Q69390 Q70020 Q69673 Q1663 Q67730
SYSTEM
Personico, Bodio, Sobrio, Faido, Split, Frasco
Q68810 Q69390 Q70020 Q69673 Q1663 Q67730
OR((Q3442533,P19,c(Q13220204)), (Q67763,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q3442533
relation P19
action find
entity Q67763
relation P47
type Q13220204
[ANSWERS] were Tomislav Smoljanović born or have a shared border with Giornico
{'OR': [['Q3442533', 'P19', {'concept': 'Q13220204'}], ['Q67763', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3442533 property:P19 ?i } UNION { resource:Q67763 property:P47 ?i } } . ?i rdf:type ontology:Q13220204 }
Personico Bodio Sobrio Faido Split Frasco
Personico, Bodio, Sobrio, Faido, Split and Frasco were Tomislav Smoljanović born or have a shared border with Giornico
Personico Bodio Sobrio Faido Split Frasco
action filter_type
action union
action find
entity Tomislav Smoljanović
relation place of birth
action find
entity Giornico
relation shares border with
type second-level administrative country subdivision
{'OR': [['Tomislav Smoljanović', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Giornico', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Tomislav_Smoljanović property:place_of_birth ?i } UNION { resource:Giornico property:shares_border_with ?i } } . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]