Simple Question (Direct)
Simple Question
Q17097948
P161
Q502895
USER
Which people are in The Adderall Diaries ?
(Q17097948,P161,c(Q502895))
action filter_type
action find
entity Q17097948
relation P161
type Q502895
['Q17097948', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17097948 property:P161 ?e . ?e rdf:type ontology:Q502895 }
The Adderall Diaries
action filter_type
action find
entity The Adderall Diaries
relation cast member
type common name
['The Adderall Diaries', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Adderall_Diaries property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
common name
Q104791 Q306403 Q228725
SYSTEM
Ed Harris, James Franco, Cynthia Nixon
Q229166 Q228725 Q104791 Q973472 Q306403 Q347436 Q204590 Q5217155
(Q17097948,P161,c(Q502895))
action filter_type
action find
entity Q17097948
relation P161
type Q502895
[ANSWERS] are in The Adderall Diaries
['Q17097948', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q17097948 property:P161 ?e . ?e rdf:type ontology:Q502895 }
Amber Heard Cynthia Nixon Ed Harris Jim Parrack James Franco Wilmer Valderrama Christian Slater Daniel Flaherty
Ed Harris, James Franco and Cynthia Nixon are in The Adderall Diaries
Ed Harris James Franco Cynthia Nixon
action filter_type
action find
entity The Adderall Diaries
relation cast member
type common name
['The Adderall Diaries', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:The_Adderall_Diaries property:cast_member ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q104791 Q306403 Q228725
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Ed Harris, James Franco and Cynthia Nixon ?
(Q104791,P27,c(Q15617994)) (Q306403,P27,c(Q15617994)) (Q228725,P27,c(Q15617994))
action union
action filter_type
action find
entity Q104791
relation P27
type Q15617994
action filter_type
action find
entity Q306403
relation P27
type Q15617994
action filter_type
action find
entity Q228725
relation P27
type Q15617994
['Q104791', 'P27', {'concept': 'Q15617994'}] ['Q306403', 'P27', {'concept': 'Q15617994'}] ['Q228725', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:Q104791 ) ( resource:Q306403 ) } . ?z property:P27 ?r }
Ed Harris James Franco Cynthia Nixon
action union
action filter_type
action find
entity Ed Harris
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity James Franco
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Cynthia Nixon
relation country of citizenship
type designation for an administrative territorial entity
['Ed Harris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['James Franco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Cynthia Nixon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:Ed_Harris ) ( resource:James_Franco ) } . ?z property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q104791,P27,c(Q15617994)) (Q306403,P27,c(Q15617994)) (Q228725,P27,c(Q15617994))
action union
action filter_type
action find
entity Q104791
relation P27
type Q15617994
action filter_type
action find
entity Q306403
relation P27
type Q15617994
action filter_type
action find
entity Q228725
relation P27
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are the countries of citizenship of Ed Harris, James Franco and Cynthia Nixon
['Q104791', 'P27', {'concept': 'Q15617994'}] ['Q306403', 'P27', {'concept': 'Q15617994'}] ['Q228725', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:Q104791 ) ( resource:Q306403 ) } . ?z property:P27 ?r }
United States of America United States of America United States of America
United States of America, United States of America and United States of America are the countries of citizenship of Ed Harris, James Franco and Cynthia Nixon
United States of America United States of America United States of America
action union
action filter_type
action find
entity Ed Harris
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity James Franco
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Cynthia Nixon
relation country of citizenship
type designation for an administrative territorial entity
['Ed Harris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['James Franco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Cynthia Nixon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?z ) { ( resource:Ed_Harris ) ( resource:James_Franco ) } . ?z property:country_of_citizenship ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17097948
P136
Q1792379
USER
What can be considered as category for The Adderall Diaries ?
(Q17097948,P136,c(Q1792379))
action filter_type
action find
entity Q17097948
relation P136
type Q1792379
['Q17097948', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { resource:Q17097948 property:P136 ?y . ?y rdf:type ontology:Q1792379 }
The Adderall Diaries
action filter_type
action find
entity The Adderall Diaries
relation genre
type art genre
['The Adderall Diaries', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { resource:The_Adderall_Diaries property:genre ?y . ?y rdf:type ontology:art_genre }
[]
art genre
Q959790 Q2484376
SYSTEM
crime film, thriller film
Q959790 Q2484376
(Q17097948,P136,c(Q1792379))
action filter_type
action find
entity Q17097948
relation P136
type Q1792379
And [ANSWERS] can be considered as category for The Adderall Diaries
['Q17097948', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?y WHERE { resource:Q17097948 property:P136 ?y . ?y rdf:type ontology:Q1792379 }
crime film thriller film
And crime film and thriller film can be considered as category for The Adderall Diaries
crime film thriller film
action filter_type
action find
entity The Adderall Diaries
relation genre
type art genre
['The Adderall Diaries', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?y WHERE { resource:The_Adderall_Diaries property:genre ?y . ?y rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q38 Q30
P463
Q484652
USER
Which international organizations were United States of America and Italy a member of ?
AND((Q30,P463,c(Q484652)), (Q38,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q30
relation P463
action find
entity Q38
relation P463
type Q484652
{'AND': [['Q30', 'P463', {'concept': 'Q484652'}], ['Q38', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?s WHERE { resource:Q30 property:P463 ?s . resource:Q38 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Italy United States of America
action filter_type
action intersection
action find
entity United States of America
relation member of
action find
entity Italy
relation member of
type international organization
{'AND': [['United States of America', 'member of', {'concept': 'international organization'}], ['Italy', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:member_of ?s . resource:Italy property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q19771 Q188822 Q37143 Q842490 Q7184 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, G20, Asian Development Bank, G8, Organisation for the Prohibition of Chemical Weapons, North Atlantic Treaty Organisation, Multilateral Investment Guarantee Agency
Q81299 Q1065 Q19771 Q188822 Q37143 Q842490 Q7184 Q1043527
AND((Q30,P463,c(Q484652)), (Q38,P463,c(Q484652)))
action filter_type
action intersection
action find
entity Q30
relation P463
action find
entity Q38
relation P463
type Q484652
[ANSWERS] were United States of America and Italy a member of
{'AND': [['Q30', 'P463', {'concept': 'Q484652'}], ['Q38', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?s WHERE { resource:Q30 property:P463 ?s . resource:Q38 property:P463 ?s . ?s rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation for the Prohibition of Chemical Weapons North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, United Nations, G20, Asian Development Bank, G8, Organisation for the Prohibition of Chemical Weapons, North Atlantic Treaty Organisation and Multilateral Investment Guarantee Agency were United States of America and Italy a member of
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation for the Prohibition of Chemical Weapons North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
action filter_type
action intersection
action find
entity United States of America
relation member of
action find
entity Italy
relation member of
type international organization
{'AND': [['United States of America', 'member of', {'concept': 'international organization'}], ['Italy', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:member_of ?s . resource:Italy property:member_of ?s . ?s rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19771
P361
Q1190554
USER
What is a component of G20 ?
(c(Q1190554),P361,Q19771)
action filter_type
action find_reverse
entity Q19771
relation P361
type Q1190554
[{'concept': 'Q1190554'}, 'P361', 'Q19771']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1190554 . ?d property:P361 resource:Q19771 }
G20
action filter_type
action find_reverse
entity G20
relation part of
type event
[{'concept': 'event'}, 'part of', 'G20']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:event . ?d property:part_of resource:G20 }
[]
event
Q21552765
SYSTEM
G20 World Brain Mapping & Therapeutic Scientific Summit
Q21552765
(c(Q1190554),P361,Q19771)
action filter_type
action find_reverse
entity Q19771
relation P361
type Q1190554
A component of G20 is the [ANSWER]
[{'concept': 'Q1190554'}, 'P361', 'Q19771']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1190554 . ?d property:P361 resource:Q19771 }
G20 World Brain Mapping & Therapeutic Scientific Summit
A component of G20 is the G20 World Brain Mapping & Therapeutic Scientific Summit
G20 World Brain Mapping & Therapeutic Scientific Summit
action filter_type
action find_reverse
entity G20
relation part of
type event
[{'concept': 'event'}, 'part of', 'G20']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:event . ?d property:part_of resource:G20 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104791
P40
Q502895
USER
Which person has Ed Harris as a child ?
(c(Q502895),P40,Q104791)
action filter_type
action find_reverse
entity Q104791
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q104791']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q104791 }
Ed Harris
action filter_type
action find_reverse
entity Ed Harris
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ed Harris']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Ed_Harris }
[]
common name
Q15818077
SYSTEM
Bob L. Harris
Q15818077
(c(Q502895),P40,Q104791)
action filter_type
action find_reverse
entity Q104791
relation P40
type Q502895
[ANSWER] has Ed Harris as a child
[{'concept': 'Q502895'}, 'P40', 'Q104791']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q104791 }
Bob L. Harris
Bob L. Harris has Ed Harris as a child
Bob L. Harris
action filter_type
action find_reverse
entity Ed Harris
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ed Harris']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Ed_Harris }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15818077
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q15818077,P106,c(Q12737077))
action filter_type
action find
entity Q15818077
relation P106
type Q12737077
['Q15818077', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15818077 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Bob L. Harris
action filter_type
action find
entity Bob L. Harris
relation occupation
type occupation
['Bob L. Harris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Bob_L._Harris property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q15818077,P106,c(Q12737077))
action filter_type
action find
entity Q15818077
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q15818077', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q15818077 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
actor
The actor is the profession of that person
actor
action filter_type
action find
entity Bob L. Harris
relation occupation
type occupation
['Bob L. Harris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Bob_L._Harris property:occupation ?a . ?a rdf:type ontology:occupation }
[]