Simple Question (Direct)
Simple Question
Q6419551
P106
Q12737077
USER
Which occupations have Klaas de Boer as his/her 's career ?
(Q6419551,P106,c(Q12737077))
action filter_type
action find
entity Q6419551
relation P106
type Q12737077
['Q6419551', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q6419551 property:P106 ?s }
Klaas de Boer
action filter_type
action find
entity Klaas de Boer
relation occupation
type occupation
['Klaas de Boer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Klaas_de_Boer property:occupation ?s }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q6419551,P106,c(Q12737077))
action filter_type
action find
entity Q6419551
relation P106
type Q12737077
[ANSWERS] have Klaas de Boer as his/her 's career
['Q6419551', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q6419551 property:P106 ?s }
association football manager association football player
Association football manager and association football player have Klaas de Boer as his/her 's career
association football manager association football player
action filter_type
action find
entity Klaas de Boer
relation occupation
type occupation
['Klaas de Boer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Klaas_de_Boer property:occupation ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q628099
P425
Q349
USER
Who has that one as the associated field of occupation ?
(Q628099,P425,c(Q349))
action filter_type
action find
entity Q628099
relation P425
type Q349
['Q628099', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q628099 property:P425 ?o }
association football manager
action filter_type
action find
entity association football manager
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:association_football_manager property:field_of_this_occupation ?o }
[]
sport
Clarification for simple ques.
Q628099
SYSTEM
Did you mean association football manager ?
Q628099 Q937857
(Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
[ANSWER]
['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q628099 property:P425 ?o }
association football manager association football player
Did you mean association football manager ?
association football manager
['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:association_football_manager property:field_of_this_occupation ?o }
[]
Simple Question (Coreferenced)
USER
Yes
(Q628099,P425,c(Q349))
['Q628099', 'P425', {'concept': 'Q349'}]
['association football manager', 'field of this occupation', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q628099,P425,c(Q349))
action filter_type
action find
entity Q628099
relation P425
type Q349
[ANSWER] has that one as the associated field of occupation
['Q628099', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q628099 property:P425 ?o }
association football
Association football has that one as the associated field of occupation
association football
action filter_type
action find
entity association football manager
relation field of this occupation
type sport
['association football manager', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:association_football_manager property:field_of_this_occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q628099
P39
Q502895
USER
Who was responsible for occupying the position of association football manager ?
(c(Q502895),P39,Q628099)
action filter_type
action find_reverse
entity Q628099
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q628099']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q628099 . ?u rdf:type ontology:Q502895 }
association football manager
action filter_type
action find_reverse
entity association football manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'association football manager']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:association_football_manager . ?u rdf:type ontology:common_name }
[]
common name
Q352236
SYSTEM
Wim Jonk
Q352236
(c(Q502895),P39,Q628099)
action filter_type
action find_reverse
entity Q628099
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of association football manager
[{'concept': 'Q502895'}, 'P39', 'Q628099']
SELECT DISTINCT ?u WHERE { ?u property:P39 resource:Q628099 . ?u rdf:type ontology:Q502895 }
Wim Jonk
Wim Jonk was responsible for occupying the position of association football manager
Wim Jonk
action filter_type
action find_reverse
entity association football manager
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'association football manager']
SELECT DISTINCT ?u WHERE { ?u property:position_held resource:association_football_manager . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q352236
P641
Q349
USER
What did that person participate in ?
(Q352236,P641,c(Q349))
action filter_type
action find
entity Q352236
relation P641
type Q349
['Q352236', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q352236 property:P641 ?v . ?v rdf:type ontology:Q349 }
Wim Jonk
action filter_type
action find
entity Wim Jonk
relation sport
type sport
['Wim Jonk', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Wim_Jonk property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q352236,P641,c(Q349))
action filter_type
action find
entity Q352236
relation P641
type Q349
That person participated in [ANSWER]
['Q352236', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q352236 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Wim Jonk
relation sport
type sport
['Wim Jonk', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Wim_Jonk property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P425
Q12737077
USER
Which occupations do that sport belong to ?
(c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?i WHERE { ?i property:P425 resource:Q2736 . ?i rdf:type ontology:Q12737077 }
association football
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?i WHERE { ?i property:field_of_this_occupation resource:association_football . ?i rdf:type ontology:occupation }
[]
occupation
Q18052877 Q628099 Q937857
SYSTEM
assistant coach, association football manager, association football player
Q18052877 Q628099 Q937857
(c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
That sport belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?i WHERE { ?i property:P425 resource:Q2736 . ?i rdf:type ontology:Q12737077 }
assistant coach association football manager association football player
That sport belong to assistant coach, association football manager and association football player
assistant coach association football manager association football player
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?i WHERE { ?i property:field_of_this_occupation resource:association_football . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P921
Q2342494
USER
Which collectables were mainly based on association football player ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2342494 . ?i property:P921 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:collectable . ?i property:main_subject resource:association_football_player }
[]
collectable
Q24787529 Q23730991 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2342494 . ?i property:P921 resource:Q937857 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006 and Citizens and minstermen : a who's who of York City FC, 1922-1997 were mainly based on association football player
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:collectable . ?i property:main_subject resource:association_football_player }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q24787529 Q23730991 Q19845002
P921
Q12737077
USER
Which occupations were the main subjects of those collectables 's work ?
(Q24787529,P921,c(Q12737077)) (Q23730991,P921,c(Q12737077)) (Q19845002,P921,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P921
type Q12737077
['Q24787529', 'P921', {'concept': 'Q12737077'}] ['Q23730991', 'P921', {'concept': 'Q12737077'}] ['Q19845002', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . VALUES ( ?y ) { ( resource:Q24787529 ) ( resource:Q23730991 ) ( resource:Q19845002 ) } . ?y property:P921 ?f }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find
entity prev_answer
relation main subject
type occupation
["The PFA footballers' who's who 2008-09", 'main subject', {'concept': 'occupation'}] ["Timeless Bees: Brentford F.C. who's who 1920-2006", 'main subject', {'concept': 'occupation'}] ["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . VALUES ( ?y ) { ( resource:The_PFA_footballers'_who's_who_2008-09 ) ( resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 ) ( resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 ) } . ?y property:main_subject ?f }
[]
occupation
Q937857 Q937857 Q937857
SYSTEM
association football player
Q937857 Q937857 Q937857
(Q24787529,P921,c(Q12737077)) (Q23730991,P921,c(Q12737077)) (Q19845002,P921,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P921
type Q12737077
[ANSWER], [ANSWER] and [ANSWER] were the main subjects of those collectables 's work
['Q24787529', 'P921', {'concept': 'Q12737077'}] ['Q23730991', 'P921', {'concept': 'Q12737077'}] ['Q19845002', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q12737077 . VALUES ( ?y ) { ( resource:Q24787529 ) ( resource:Q23730991 ) ( resource:Q19845002 ) } . ?y property:P921 ?f }
association football player association football player association football player
Association football player, association football player and association football player were the main subjects of those collectables 's work
association football player association football player association football player
action filter_type
action find
entity prev_answer
relation main subject
type occupation
["The PFA footballers' who's who 2008-09", 'main subject', {'concept': 'occupation'}] ["Timeless Bees: Brentford F.C. who's who 1920-2006", 'main subject', {'concept': 'occupation'}] ["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:occupation . VALUES ( ?y ) { ( resource:The_PFA_footballers'_who's_who_2008-09 ) ( resource:Timeless_Bees:_Brentford_F.C._who's_who_1920-2006 ) ( resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 ) } . ?y property:main_subject ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
What is association football player a component of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?x WHERE { resource:Q937857 property:P361 ?x . ?x rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?x WHERE { resource:association_football_player property:part_of ?x . ?x rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Association football player a component of is an [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?x WHERE { resource:Q937857 property:P361 ?x . ?x rdf:type ontology:Q847017 }
association football club
Association football player a component of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?x WHERE { resource:association_football_player property:part_of ?x . ?x rdf:type ontology:sports_club }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21565045
Q847017
USER
And what about Long Beach State 49ers women's basketball?
(Q21565045,P361,c(Q847017))
action filter_type
action find
entity Q21565045
relation P361
type Q847017
['Q21565045', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?j WHERE { resource:Q21565045 property:P361 ?j . ?j rdf:type ontology:Q847017 }
Long Beach State 49ers women's basketball
action filter_type
action find
entity Long Beach State 49ers women's basketball
relation part of
type sports club
["Long Beach State 49ers women's basketball", 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?j WHERE { resource:Long_Beach_State_49ers_women's_basketball property:part_of ?j . ?j rdf:type ontology:sports_club }
[]
sports club
Q9023633
SYSTEM
Long Beach State 49ers
Q9023633
(Q21565045,P361,c(Q847017))
action filter_type
action find
entity Q21565045
relation P361
type Q847017
[ANSWER]
['Q21565045', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?j WHERE { resource:Q21565045 property:P361 ?j . ?j rdf:type ontology:Q847017 }
Long Beach State 49ers
Long Beach State 49ers
action filter_type
action find
entity Long Beach State 49ers women's basketball
relation part of
type sports club
["Long Beach State 49ers women's basketball", 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?j WHERE { resource:Long_Beach_State_49ers_women's_basketball property:part_of ?j . ?j rdf:type ontology:sports_club }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1332655 Q6419551
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Klaas de Boer or are Longgang District located in ?
OR((Q6419551,P27,c(Q15617994)), (Q1332655,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6419551
relation P27
action find
entity Q1332655
relation P17
type Q15617994
{'OR': [['Q6419551', 'P27', {'concept': 'Q15617994'}], ['Q1332655', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q6419551 property:P27 ?h } UNION { resource:Q1332655 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Longgang District Klaas de Boer
action filter_type
action union
action find
entity Klaas de Boer
relation country of citizenship
action find
entity Longgang District
relation country
type designation for an administrative territorial entity
{'OR': [['Klaas de Boer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Longgang District', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Klaas_de_Boer property:country_of_citizenship ?h } UNION { resource:Longgang_District property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q30
SYSTEM
People's Republic of China, United States of America
Q148 Q30
OR((Q6419551,P27,c(Q15617994)), (Q1332655,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6419551
relation P27
action find
entity Q1332655
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q6419551', 'P27', {'concept': 'Q15617994'}], ['Q1332655', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q6419551 property:P27 ?h } UNION { resource:Q1332655 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
People's Republic of China United States of America
Which administrative territories are the countries of citizenship of Klaas de Boer or are Longgang District located in
People's Republic of China United States of America
action filter_type
action union
action find
entity Klaas de Boer
relation country of citizenship
action find
entity Longgang District
relation country
type designation for an administrative territorial entity
{'OR': [['Klaas de Boer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Longgang District', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Klaas_de_Boer property:country_of_citizenship ?h } UNION { resource:Longgang_District property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q9332 Q56061 Q2342494
USER
Which collectables depict max number of behaviors or administrative territories ?
(c(Q2342494),P180,c(Q9332)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P180
type Q2342494
type Q9332
action find_tuple_counts
relation P180
type Q2342494
type Q56061
[{'concept': 'Q2342494'}, 'P180', [{'concept': 'Q9332'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q9332 ) } . ?o rdf:type ?d } GROUP BY ?e } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q9332 ) ( ontology:Q56061 ) } } GROUP BY ?n } . FILTER ( ?y = ?v ) }
action argmax
action union
action find_tuple_counts
relation depicts
type collectable
type behavior
action find_tuple_counts
relation depicts
type collectable
type administrative territorial entity
[{'concept': 'collectable'}, 'depicts', [{'concept': 'behavior'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:behavior ) } . ?o rdf:type ?d } GROUP BY ?e } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:behavior ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?n } . FILTER ( ?y = ?v ) }
[]
behavior administrative territorial entity collectable
Q1768515 Q18205780
SYSTEM
The Voyage of the Beagle, Description of Africa
Q1768515 Q18205780
(c(Q2342494),P180,c(Q9332)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P180
type Q2342494
type Q9332
action find_tuple_counts
relation P180
type Q2342494
type Q56061
[ANSWERS] depict max number of behaviors or administrative territories
[{'concept': 'Q2342494'}, 'P180', [{'concept': 'Q9332'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q9332 ) } . ?o rdf:type ?d } GROUP BY ?e } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:Q9332 ) ( ontology:Q56061 ) } } GROUP BY ?n } . FILTER ( ?y = ?v ) }
The Voyage of the Beagle Description of Africa
The Voyage of the Beagle and Description of Africa depict max number of behaviors or administrative territories
The Voyage of the Beagle Description of Africa
action argmax
action union
action find_tuple_counts
relation depicts
type collectable
type behavior
action find_tuple_counts
relation depicts
type collectable
type administrative territorial entity
[{'concept': 'collectable'}, 'depicts', [{'concept': 'behavior'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:behavior ) } . ?o rdf:type ?d } GROUP BY ?e } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?y ) WHERE { ?m rdf:type ?i . VALUES ( ?i ) { ( ontology:behavior ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?n } . FILTER ( ?y = ?v ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q36180 Q1768515
P106 P800
Q502895
USER
Which people are author of The Voyage of the Beagle and have the profession of writer ?
AND((c(Q502895),P800,Q1768515), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q1768515
relation P800
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q1768515'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q1768515 . ?x property:P106 resource:Q36180 . ?x rdf:type ontology:Q502895 }
writer The Voyage of the Beagle
action filter_type
action intersection
action find_reverse
entity The Voyage of the Beagle
relation notable work
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'The Voyage of the Beagle'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_Voyage_of_the_Beagle . ?x property:occupation resource:writer . ?x rdf:type ontology:common_name }
[]
common name
Q1035
SYSTEM
Charles Darwin
Q1035
AND((c(Q502895),P800,Q1768515), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q1768515
relation P800
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWER] is author of The Voyage of the Beagle and have the profession of writer
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q1768515'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?x WHERE { ?x property:P800 resource:Q1768515 . ?x property:P106 resource:Q36180 . ?x rdf:type ontology:Q502895 }
Charles Darwin
Charles Darwin is author of The Voyage of the Beagle and have the profession of writer
Charles Darwin
action filter_type
action intersection
action find_reverse
entity The Voyage of the Beagle
relation notable work
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'The Voyage of the Beagle'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?x WHERE { ?x property:notable_work resource:The_Voyage_of_the_Beagle . ?x property:occupation resource:writer . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1035 Q9358
P737
Q502895
USER
Was Friedrich Nietzsche influenced by that one ?
(Q9358,P737,Q1035)
action is_in
entity Q1035
action find
entity Q9358
relation P737
['Q9358', 'P737', 'Q1035']
ASK WHERE { resource:Q9358 property:P737 resource:Q1035 }
Charles Darwin Friedrich Nietzsche
action is_in
entity Charles Darwin
action find
entity Friedrich Nietzsche
relation influenced by
['Friedrich Nietzsche', 'influenced by', 'Charles Darwin']
ASK WHERE { resource:Friedrich_Nietzsche property:influenced_by resource:Charles_Darwin }
[]
common name
SYSTEM
YES
(Q9358,P737,Q1035)
action is_in
entity Q1035
action find
entity Q9358
relation P737
[ANSWER]
['Q9358', 'P737', 'Q1035']
ASK WHERE { resource:Q9358 property:P737 resource:Q1035 }
Yes
action is_in
entity Charles Darwin
action find
entity Friedrich Nietzsche
relation influenced by
['Friedrich Nietzsche', 'influenced by', 'Charles Darwin']
ASK WHERE { resource:Friedrich_Nietzsche property:influenced_by resource:Charles_Darwin }
[]