Simple Question (Direct)
Simple Question
Q7351013
P27
Q15617994
USER
Which administrative territory does Robert White belong to ?
(Q7351013,P27,c(Q15617994))
action filter_type
action find
entity Q7351013
relation P27
type Q15617994
['Q7351013', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q7351013 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Robert White
action filter_type
action find
entity Robert White
relation country of citizenship
type designation for an administrative territorial entity
['Robert White', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Robert_White property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7351013,P27,c(Q15617994))
action filter_type
action find
entity Q7351013
relation P27
type Q15617994
Robert White belongs to [ANSWER]
['Q7351013', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q7351013 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
Robert White belongs to United States of America
United States of America
action filter_type
action find
entity Robert White
relation country of citizenship
type designation for an administrative territorial entity
['Robert White', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Robert_White property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7351013
P170
Q838948
USER
Which work of art was created by that person ?
(c(Q838948),P170,Q30)
action filter_type
action find_reverse
entity Q7351013
relation P170
type Q838948
[{'concept': 'Q838948'}, 'P170', 'Q30']
SELECT DISTINCT ?g WHERE { ?g property:P170 resource:Q7351013 . ?g rdf:type ontology:Q838948 }
Robert White
action filter_type
action find_reverse
entity Robert White
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'United States of America']
SELECT DISTINCT ?g WHERE { ?g property:creator resource:Robert_White . ?g rdf:type ontology:work_of_art }
[]
work of art
Q6241243
SYSTEM
John J. Pershing General of the Armies
Q6241243
(c(Q838948),P170,Q30)
action filter_type
action find_reverse
entity Q7351013
relation P170
type Q838948
[ANSWER] was created by that person
[{'concept': 'Q838948'}, 'P170', 'Q30']
SELECT DISTINCT ?g WHERE { ?g property:P170 resource:Q7351013 . ?g rdf:type ontology:Q838948 }
John J. Pershing General of the Armies
John J. Pershing General of the Armies was created by that person
John J. Pershing General of the Armies
action filter_type
action find_reverse
entity Robert White
relation creator
type work of art
[{'concept': 'work of art'}, 'creator', 'United States of America']
SELECT DISTINCT ?g WHERE { ?g property:creator resource:Robert_White . ?g rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q557141 Q7351013
P170 P136
Q838948
USER
Which works of art did Robert White make and have public art as their category ?
AND((c(Q838948),P170,Q7351013), (c(Q838948),P136,Q557141))
action filter_type
action intersection
action find_reverse
entity Q7351013
relation P170
action find_reverse
entity Q557141
relation P136
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P170', 'Q7351013'], [{'concept': 'Q838948'}, 'P136', 'Q557141']]}
SELECT DISTINCT ?h WHERE { ?h property:P170 resource:Q7351013 . ?h property:P136 resource:Q557141 . ?h rdf:type ontology:Q838948 }
public art Robert White
action filter_type
action intersection
action find_reverse
entity Robert White
relation creator
action find_reverse
entity public art
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'creator', 'Robert White'], [{'concept': 'work of art'}, 'genre', 'public art']]}
SELECT DISTINCT ?h WHERE { ?h property:creator resource:Robert_White . ?h property:genre resource:public_art . ?h rdf:type ontology:work_of_art }
[]
work of art
Q6241243
SYSTEM
John J. Pershing General of the Armies
Q6241243
AND((c(Q838948),P170,Q7351013), (c(Q838948),P136,Q557141))
action filter_type
action intersection
action find_reverse
entity Q7351013
relation P170
action find_reverse
entity Q557141
relation P136
type Q838948
Robert White made the [ANSWER]
{'AND': [[{'concept': 'Q838948'}, 'P170', 'Q7351013'], [{'concept': 'Q838948'}, 'P136', 'Q557141']]}
SELECT DISTINCT ?h WHERE { ?h property:P170 resource:Q7351013 . ?h property:P136 resource:Q557141 . ?h rdf:type ontology:Q838948 }
John J. Pershing General of the Armies
Robert White made the John J. Pershing General of the Armies
John J. Pershing General of the Armies
action filter_type
action intersection
action find_reverse
entity Robert White
relation creator
action find_reverse
entity public art
relation genre
type work of art
{'AND': [[{'concept': 'work of art'}, 'creator', 'Robert White'], [{'concept': 'work of art'}, 'genre', 'public art']]}
SELECT DISTINCT ?h WHERE { ?h property:creator resource:Robert_White . ?h property:genre resource:public_art . ?h rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6241243 Q898096
P800
Q502895
USER
Does Brando Giordani have that one as a notable work ?
(Q898096,P800,Q6241243)
action is_in
entity Q898096
action find
entity Q6241243
relation P800
['Q898096', 'P800', 'Q6241243']
ASK WHERE { resource:Q6241243 property:P800 resource:Q898096 }
John J. Pershing General of the Armies Brando Giordani
action is_in
entity Brando Giordani
action find
entity John J. Pershing General of the Armies
relation notable work
['Brando Giordani', 'notable work', 'John J. Pershing General of the Armies']
ASK WHERE { resource:John_J._Pershing_General_of_the_Armies property:notable_work resource:Brando_Giordani }
[]
common name
SYSTEM
NO
(Q898096,P800,Q6241243)
action is_in
entity Q898096
action find
entity Q6241243
relation P800
[ANSWER]
['Q898096', 'P800', 'Q6241243']
ASK WHERE { resource:Q6241243 property:P800 resource:Q898096 }
No
action is_in
entity Brando Giordani
action find
entity John J. Pershing General of the Armies
relation notable work
['Brando Giordani', 'notable work', 'John J. Pershing General of the Armies']
ASK WHERE { resource:John_J._Pershing_General_of_the_Armies property:notable_work resource:Brando_Giordani }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6241243
P17
Q15617994
USER
Which administrative territory does that work of art belong to ?
action filter_type
action find
entity Q6241243
relation P17
type Q15617994
SELECT DISTINCT ?y WHERE { resource:Q6241243 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
John J. Pershing General of the Armies
action filter_type
action find
entity John J. Pershing General of the Armies
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:John_J._Pershing_General_of_the_Armies property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
action filter_type
action find
entity Q6241243
relation P17
type Q15617994
That work of art belongs to the [ANSWER]
SELECT DISTINCT ?y WHERE { resource:Q6241243 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
That work of art belongs to the United States of America
United States of America
action filter_type
action find
entity John J. Pershing General of the Armies
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?y WHERE { resource:John_J._Pershing_General_of_the_Armies property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q11812 Q12312
P6
Q502895
USER
Does United States of America have its government headed by Thomas Jefferson and Franklin Pierce ?
(Q30,P6,Q11812) (Q30,P6,Q12312)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11812
relation P6
action find_reverse
entity Q12312
relation P6
['Q30', 'P6', 'Q11812'] ['Q30', 'P6', 'Q12312']
ASK WHERE { resource:Q30 property:P6 resource:Q11812 . resource:Q30 property:P6 resource:Q12312 }
United States of America Thomas Jefferson Franklin Pierce
action is_in
entity United States of America
action intersection
action find_reverse
entity Thomas Jefferson
relation head of government
action find_reverse
entity Franklin Pierce
relation head of government
['United States of America', 'head of government', 'Thomas Jefferson'] ['United States of America', 'head of government', 'Franklin Pierce']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Thomas_Jefferson . resource:United_States_of_America property:head_of_government resource:Franklin_Pierce }
[]
common name
SYSTEM
YES
(Q30,P6,Q11812) (Q30,P6,Q12312)
action is_in
entity Q30
action intersection
action find_reverse
entity Q11812
relation P6
action find_reverse
entity Q12312
relation P6
[ANSWER]
['Q30', 'P6', 'Q11812'] ['Q30', 'P6', 'Q12312']
ASK WHERE { resource:Q30 property:P6 resource:Q11812 . resource:Q30 property:P6 resource:Q12312 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Thomas Jefferson
relation head of government
action find_reverse
entity Franklin Pierce
relation head of government
['United States of America', 'head of government', 'Thomas Jefferson'] ['United States of America', 'head of government', 'Franklin Pierce']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Thomas_Jefferson . resource:United_States_of_America property:head_of_government resource:Franklin_Pierce }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19432583 Q898096
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Brando Giordani or are Prinses Beatrixstraat situated in ?
OR((Q898096,P27,c(Q15617994)), (Q19432583,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q898096
relation P27
action find
entity Q19432583
relation P17
type Q15617994
{'OR': [['Q898096', 'P27', {'concept': 'Q15617994'}], ['Q19432583', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q898096 property:P27 ?o } UNION { resource:Q19432583 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Prinses Beatrixstraat Brando Giordani
action filter_type
action union
action find
entity Brando Giordani
relation country of citizenship
action find
entity Prinses Beatrixstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Brando Giordani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Prinses Beatrixstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Brando_Giordani property:country_of_citizenship ?o } UNION { resource:Prinses_Beatrixstraat property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q898096,P27,c(Q15617994)), (Q19432583,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q898096
relation P27
action find
entity Q19432583
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Brando Giordani or are Prinses Beatrixstraat situated in
{'OR': [['Q898096', 'P27', {'concept': 'Q15617994'}], ['Q19432583', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q898096 property:P27 ?o } UNION { resource:Q19432583 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Italy Netherlands
Italy and Netherlands are the countries of citizenship of Brando Giordani or are Prinses Beatrixstraat situated in
Italy Netherlands
action filter_type
action union
action find
entity Brando Giordani
relation country of citizenship
action find
entity Prinses Beatrixstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Brando Giordani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Prinses Beatrixstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Brando_Giordani property:country_of_citizenship ?o } UNION { resource:Prinses_Beatrixstraat property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3545505
P495
Q838948
USER
Did Una noche con Sabrina Love originate in those administrative territories ?
(Q3545505,P495,Q38) (Q3545505,P495,Q55)
action is_in
entity prev_answer
action find
entity Q3545505
relation P495
['Q3545505', 'P495', 'Q38'] ['Q3545505', 'P495', 'Q55']
ASK WHERE { resource:Q3545505 property:P495 ?i . VALUES ( ?i ) { ( resource:Q38 ) ( resource:Q55 ) } }
Una noche con Sabrina Love
action is_in
entity prev_answer
action find
entity Una noche con Sabrina Love
relation country of origin
['Una noche con Sabrina Love', 'country of origin', 'Italy'] ['Una noche con Sabrina Love', 'country of origin', 'Netherlands']
ASK WHERE { resource:Una_noche_con_Sabrina_Love property:country_of_origin ?i . VALUES ( ?i ) { ( resource:Italy ) ( resource:Netherlands ) } }
[]
work of art
SYSTEM
YES
(Q3545505,P495,Q38) (Q3545505,P495,Q55)
action is_in
entity prev_answer
action find
entity Q3545505
relation P495
[ANSWER]
['Q3545505', 'P495', 'Q38'] ['Q3545505', 'P495', 'Q55']
ASK WHERE { resource:Q3545505 property:P495 ?i . VALUES ( ?i ) { ( resource:Q38 ) ( resource:Q55 ) } }
Yes
action is_in
entity prev_answer
action find
entity Una noche con Sabrina Love
relation country of origin
['Una noche con Sabrina Love', 'country of origin', 'Italy'] ['Una noche con Sabrina Love', 'country of origin', 'Netherlands']
ASK WHERE { resource:Una_noche_con_Sabrina_Love property:country_of_origin ?i . VALUES ( ?i ) { ( resource:Italy ) ( resource:Netherlands ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4953886 Q11812
P27
Q15617994
USER
Which administrative territories do Thomas Jefferson or Brad Dee belong to ?
OR((Q11812,P27,c(Q15617994)), (Q4953886,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11812
relation P27
action find
entity Q4953886
relation P27
type Q15617994
{'OR': [['Q11812', 'P27', {'concept': 'Q15617994'}], ['Q4953886', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?w property:P27 ?l . VALUES ( ?w ) { ( resource:Q11812 ) ( resource:Q4953886 ) } } . ?l rdf:type ontology:Q15617994 }
Brad Dee Thomas Jefferson
action filter_type
action union
action find
entity Thomas Jefferson
relation country of citizenship
action find
entity Brad Dee
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thomas Jefferson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Brad Dee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?w property:country_of_citizenship ?l . VALUES ( ?w ) { ( resource:Thomas_Jefferson ) ( resource:Brad_Dee ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q11812,P27,c(Q15617994)), (Q4953886,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q11812
relation P27
action find
entity Q4953886
relation P27
type Q15617994
Thomas Jefferson or Brad Dee belong to the [ANSWER]
{'OR': [['Q11812', 'P27', {'concept': 'Q15617994'}], ['Q4953886', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { ?w property:P27 ?l . VALUES ( ?w ) { ( resource:Q11812 ) ( resource:Q4953886 ) } } . ?l rdf:type ontology:Q15617994 }
United States of America
Thomas Jefferson or Brad Dee belong to the United States of America
United States of America
action filter_type
action union
action find
entity Thomas Jefferson
relation country of citizenship
action find
entity Brad Dee
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Thomas Jefferson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Brad Dee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { ?w property:country_of_citizenship ?l . VALUES ( ?w ) { ( resource:Thomas_Jefferson ) ( resource:Brad_Dee ) } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]