Simple Question (Direct)
Simple Question
Q5480193
P463
Q48204
USER
Which voluntary association was Francis Bennett-Goldney a member of ?
(Q5480193,P463,c(Q48204))
action filter_type
action find
entity Q5480193
relation P463
type Q48204
['Q5480193', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?c WHERE { resource:Q5480193 property:P463 ?c . ?c rdf:type ontology:Q48204 }
Francis Bennett-Goldney
action filter_type
action find
entity Francis Bennett-Goldney
relation member of
type voluntary association
['Francis Bennett-Goldney', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?c WHERE { resource:Francis_Bennett-Goldney property:member_of ?c . ?c rdf:type ontology:voluntary_association }
[]
voluntary association
Q5417893
SYSTEM
Society of Antiquaries of London
Q5417893
(Q5480193,P463,c(Q48204))
action filter_type
action find
entity Q5480193
relation P463
type Q48204
The [ANSWER] was Francis Bennett-Goldney a member of
['Q5480193', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?c WHERE { resource:Q5480193 property:P463 ?c . ?c rdf:type ontology:Q48204 }
Society of Antiquaries of London
The Society of Antiquaries of London was Francis Bennett-Goldney a member of
Society of Antiquaries of London
action filter_type
action find
entity Francis Bennett-Goldney
relation member of
type voluntary association
['Francis Bennett-Goldney', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?c WHERE { resource:Francis_Bennett-Goldney property:member_of ?c . ?c rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5480193
P937
Q56061
USER
What is the work location of that person ?
(Q5417893,P937,c(Q56061))
action filter_type
action find
entity Q5480193
relation P937
type Q56061
['Q5417893', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5480193 property:P937 ?a . ?a rdf:type ontology:Q56061 }
Francis Bennett-Goldney
action filter_type
action find
entity Francis Bennett-Goldney
relation work location
type administrative territorial entity
['Society of Antiquaries of London', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Francis_Bennett-Goldney property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5417893,P937,c(Q56061))
action filter_type
action find
entity Q5480193
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q5417893', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q5480193 property:P937 ?a . ?a rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity Francis Bennett-Goldney
relation work location
type administrative territorial entity
['Society of Antiquaries of London', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Francis_Bennett-Goldney property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P159
Q83620
USER
Where is the headquarter of that administrative territory located ?
(Q84,P159,c(Q83620))
action filter_type
action find
entity Q84
relation P159
type Q83620
['Q84', 'P159', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q84 property:P159 ?b . ?b rdf:type ontology:Q83620 }
London
action filter_type
action find
entity London
relation headquarters location
type thoroughfare
['London', 'headquarters location', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:London property:headquarters_location ?b . ?b rdf:type ontology:thoroughfare }
[]
thoroughfare
Q3494229
SYSTEM
Spring Gardens
Q3494229
(Q84,P159,c(Q83620))
action filter_type
action find
entity Q84
relation P159
type Q83620
The headquarter of that administrative territory is located in [ANSWER]
['Q84', 'P159', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { resource:Q84 property:P159 ?b . ?b rdf:type ontology:Q83620 }
Spring Gardens
The headquarter of that administrative territory is located in Spring Gardens
Spring Gardens
action filter_type
action find
entity London
relation headquarters location
type thoroughfare
['London', 'headquarters location', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { resource:London property:headquarters_location ?b . ?b rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q83620 Q16970
USER
How many churches are located on atleast 1 thoroughfare ?
(c(Q16970),P669,c(Q83620))
action count
action atleast
action find_tuple_counts
relation P669
type Q16970
type Q83620
value 1
[{'concept': 'Q16970'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?w ) WHERE { ?n rdf:type ontology:Q16970 . ?g rdf:type ontology:Q83620 . ?n property:P669 ?g } GROUP BY ?n } . FILTER ( ?w >= 1 ) }
action count
action atleast
action find_tuple_counts
relation located on street
type church
type thoroughfare
value 1
[{'concept': 'church'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?w ) WHERE { ?n rdf:type ontology:church . ?g rdf:type ontology:thoroughfare . ?n property:located_on_street ?g } GROUP BY ?n } . FILTER ( ?w >= 1 ) }
[]
thoroughfare church
SYSTEM
1
Q5108630
(c(Q16970),P669,c(Q83620))
action count
action atleast
action find_tuple_counts
relation P669
type Q16970
type Q83620
value 1
[ANSWER]
[{'concept': 'Q16970'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?w ) WHERE { ?n rdf:type ontology:Q16970 . ?g rdf:type ontology:Q83620 . ?n property:P669 ?g } GROUP BY ?n } . FILTER ( ?w >= 1 ) }
Christ's Church Cathedral
1
action count
action atleast
action find_tuple_counts
relation located on street
type church
type thoroughfare
value 1
[{'concept': 'church'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?w ) WHERE { ?n rdf:type ontology:church . ?g rdf:type ontology:thoroughfare . ?n property:located_on_street ?g } GROUP BY ?n } . FILTER ( ?w >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q19830060
P669
Q83620 Q3914
USER
Which schools are located on around the same number of thoroughfares as 6e Montessorischool Anne Frank ?
(c(Q3914),P669,c(Q83620))
action approx
action find_tuple_counts
relation P669
type Q3914
type Q83620
action count
action filter_type
action find
entity Q19830060
relation P669
type Q3914
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:P669 ?j . ?i rdf:type ontology:Q3914 . ?j rdf:type ontology:Q83620 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q19830060 property:P669 ?u . ?u rdf:type ontology:Q3914 } } . FILTER ( ?x = ?g ) }
6e Montessorischool Anne Frank
action approx
action find_tuple_counts
relation located on street
type school
type thoroughfare
action count
action filter_type
action find
entity 6e Montessorischool Anne Frank
relation located on street
type school
[{'concept': 'school'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:located_on_street ?j . ?i rdf:type ontology:school . ?j rdf:type ontology:thoroughfare } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:6e_Montessorischool_Anne_Frank property:located_on_street ?u . ?u rdf:type ontology:school } } . FILTER ( ?x = ?g ) }
[]
thoroughfare school
Q273626 Q17574356 Q49126
SYSTEM
École Polytechnique, Haagaas School, Harvard Business School
Q7628092 Q1641001 Q17574356 Q7649450 Q49126 Q6514349 Q273626 Q16259388 Q1816228 Q3276962 Q3268696 Q16258686 Q337454 Q19830060
(c(Q3914),P669,c(Q83620))
action approx
action find_tuple_counts
relation P669
type Q3914
type Q83620
action count
action filter_type
action find
entity Q19830060
relation P669
type Q3914
[ANSWERS] are located on around the same number of thoroughfares as 6e Montessorischool Anne Frank
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:P669 ?j . ?i rdf:type ontology:Q3914 . ?j rdf:type ontology:Q83620 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:Q19830060 property:P669 ?u . ?u rdf:type ontology:Q3914 } } . FILTER ( ?x = ?g ) }
Studieskolen Royal Danish Academy of Fine Arts Haagaas School Sussex House School Harvard Business School Lee Kuan Yew School of Public Policy École Polytechnique Lee Kong Chian School of Business Royal Academy of Art Hartvig Nissen School lycée Georges-Clemenceau College of Visual Arts Académie Colarossi 6e Montessorischool Anne Frank
École Polytechnique, Haagaas School and Harvard Business School are located on around the same number of thoroughfares as 6e Montessorischool Anne Frank
École Polytechnique Haagaas School Harvard Business School
action approx
action find_tuple_counts
relation located on street
type school
type thoroughfare
action count
action filter_type
action find
entity 6e Montessorischool Anne Frank
relation located on street
type school
[{'concept': 'school'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:located_on_street ?j . ?i rdf:type ontology:school . ?j rdf:type ontology:thoroughfare } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { resource:6e_Montessorischool_Anne_Frank property:located_on_street ?u . ?u rdf:type ontology:school } } . FILTER ( ?x = ?g ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15077306 Q5480193
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Francis Bennett-Goldney or Eugene Litvinkovich ?
OR((Q5480193,P27,c(Q15617994)), (Q15077306,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5480193
relation P27
action find
entity Q15077306
relation P27
type Q15617994
{'OR': [['Q5480193', 'P27', {'concept': 'Q15617994'}], ['Q15077306', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5480193 property:P27 ?g } UNION { resource:Q15077306 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Eugene Litvinkovich Francis Bennett-Goldney
action filter_type
action union
action find
entity Francis Bennett-Goldney
relation country of citizenship
action find
entity Eugene Litvinkovich
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Francis Bennett-Goldney', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Eugene Litvinkovich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Francis_Bennett-Goldney property:country_of_citizenship ?g } UNION { resource:Eugene_Litvinkovich property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184 Q145
SYSTEM
Belarus, United Kingdom
Q184 Q145
OR((Q5480193,P27,c(Q15617994)), (Q15077306,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5480193
relation P27
action find
entity Q15077306
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Francis Bennett-Goldney or Eugene Litvinkovich
{'OR': [['Q5480193', 'P27', {'concept': 'Q15617994'}], ['Q15077306', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q5480193 property:P27 ?g } UNION { resource:Q15077306 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Belarus United Kingdom
Belarus and United Kingdom are the countries of citizenship of Francis Bennett-Goldney or Eugene Litvinkovich
Belarus United Kingdom
action filter_type
action union
action find
entity Francis Bennett-Goldney
relation country of citizenship
action find
entity Eugene Litvinkovich
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Francis Bennett-Goldney', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Eugene Litvinkovich', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Francis_Bennett-Goldney property:country_of_citizenship ?g } UNION { resource:Eugene_Litvinkovich property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have diplomatic relations with those ones ?
(Q230,P530,Q184) (Q230,P530,Q145)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q184'] ['Q230', 'P530', 'Q145']
ASK WHERE { resource:Q230 property:P530 ?n . VALUES ( ?n ) { ( resource:Q184 ) ( resource:Q145 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Belarus'] ['Georgia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Georgia property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Belarus ) ( resource:United_Kingdom ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q184) (Q230,P530,Q145)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q184'] ['Q230', 'P530', 'Q145']
ASK WHERE { resource:Q230 property:P530 ?n . VALUES ( ?n ) { ( resource:Q184 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Belarus'] ['Georgia', 'diplomatic relation', 'United Kingdom']
ASK WHERE { resource:Georgia property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Belarus ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with exactly 10 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?b ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?b = 10 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?b ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?b = 10 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 10
[ANSWER] have ambassadorial relations with exactly 10 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?b ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?b = 10 ) }
People's Republic of China
People's Republic of China have ambassadorial relations with exactly 10 administrative territories
People's Republic of China
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?b ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?b = 10 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17574356
P127
Q502895
USER
Which person owned Haagaas School ?
(Q17574356,P127,c(Q502895))
action filter_type
action find
entity Q17574356
relation P127
type Q502895
['Q17574356', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q17574356 property:P127 ?c . ?c rdf:type ontology:Q502895 }
Haagaas School
action filter_type
action find
entity Haagaas School
relation owned by
type common name
['Haagaas School', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Haagaas_School property:owned_by ?c . ?c rdf:type ontology:common_name }
[]
common name
Q17119772
SYSTEM
Theodor Haagaas
Q17119772
(Q17574356,P127,c(Q502895))
action filter_type
action find
entity Q17574356
relation P127
type Q502895
[ANSWER] owned Haagaas School
['Q17574356', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q17574356 property:P127 ?c . ?c rdf:type ontology:Q502895 }
Theodor Haagaas
Theodor Haagaas owned Haagaas School
Theodor Haagaas
action filter_type
action find
entity Haagaas School
relation owned by
type common name
['Haagaas School', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Haagaas_School property:owned_by ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P36
Q56061
USER
What is the capital of People's Republic of China ?
(Q148,P36,c(Q56061))
action filter_type
action find
entity Q148
relation P36
type Q56061
['Q148', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q148 property:P36 ?w . ?w rdf:type ontology:Q56061 }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation capital
type administrative territorial entity
["People's Republic of China", 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:People's_Republic_of_China property:capital ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956
SYSTEM
Beijing
Q956
(Q148,P36,c(Q56061))
action filter_type
action find
entity Q148
relation P36
type Q56061
The capital of People's Republic of China is the [ANSWER]
['Q148', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q148 property:P36 ?w . ?w rdf:type ontology:Q56061 }
Beijing
The capital of People's Republic of China is the Beijing
Beijing
action filter_type
action find
entity People's Republic of China
relation capital
type administrative territorial entity
["People's Republic of China", 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:People's_Republic_of_China property:capital ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P189
Q17444909
USER
Which astronomical object type was discovered at that administrative territory ?
(c(Q17444909),P189,Q956)
action filter_type
action find_reverse
entity Q148
relation P189
type Q17444909
[{'concept': 'Q17444909'}, 'P189', 'Q956']
SELECT DISTINCT ?e WHERE { ?e property:P189 resource:Q148 . ?e rdf:type ontology:Q17444909 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation location of discovery
type astronomical object type
[{'concept': 'astronomical object type'}, 'location of discovery', 'Beijing']
SELECT DISTINCT ?e WHERE { ?e property:location_of_discovery resource:People's_Republic_of_China . ?e rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q138642
SYSTEM
139 Juewa
Q138642
(c(Q17444909),P189,Q956)
action filter_type
action find_reverse
entity Q148
relation P189
type Q17444909
[ANSWER] was discovered at that administrative territory
[{'concept': 'Q17444909'}, 'P189', 'Q956']
SELECT DISTINCT ?e WHERE { ?e property:P189 resource:Q148 . ?e rdf:type ontology:Q17444909 }
139 Juewa
139 Juewa was discovered at that administrative territory
139 Juewa
action filter_type
action find_reverse
entity People's Republic of China
relation location of discovery
type astronomical object type
[{'concept': 'astronomical object type'}, 'location of discovery', 'Beijing']
SELECT DISTINCT ?e WHERE { ?e property:location_of_discovery resource:People's_Republic_of_China . ?e rdf:type ontology:astronomical_object_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P189
Q15617994
USER
How many administrative territories are the places of discovery of that astronomical object type ?
(Q138642,P189,c(Q15617994))
action count
action filter_type
action find
entity Q138642
relation P189
type Q15617994
['Q138642', 'P189', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q138642 property:P189 ?p . ?p rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity 139 Juewa
relation location of discovery
type designation for an administrative territorial entity
['139 Juewa', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:139_Juewa property:location_of_discovery ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q148
(Q138642,P189,c(Q15617994))
action count
action filter_type
action find
entity Q138642
relation P189
type Q15617994
[ANSWER]
['Q138642', 'P189', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q138642 property:P189 ?p . ?p rdf:type ontology:Q15617994 }
People's Republic of China
1
action count
action filter_type
action find
entity 139 Juewa
relation location of discovery
type designation for an administrative territorial entity
['139 Juewa', 'location of discovery', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:139_Juewa property:location_of_discovery ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q322183 Q273626
P17
Q15617994
USER
Which administrative territories are École Polytechnique or Riga Castle present in ?
OR((Q273626,P17,c(Q15617994)), (Q322183,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q273626
relation P17
action find
entity Q322183
relation P17
type Q15617994
{'OR': [['Q273626', 'P17', {'concept': 'Q15617994'}], ['Q322183', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Q273626 ) ( resource:Q322183 ) } . ?j property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
Riga Castle École Polytechnique
action filter_type
action union
action find
entity École Polytechnique
relation country
action find
entity Riga Castle
relation country
type designation for an administrative territorial entity
{'OR': [['École Polytechnique', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Riga Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:École_Polytechnique ) ( resource:Riga_Castle ) } . ?j property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q211
SYSTEM
France, Latvia
Q142 Q211
OR((Q273626,P17,c(Q15617994)), (Q322183,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q273626
relation P17
action find
entity Q322183
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q273626', 'P17', {'concept': 'Q15617994'}], ['Q322183', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:Q273626 ) ( resource:Q322183 ) } . ?j property:P17 ?a } . ?a rdf:type ontology:Q15617994 }
France Latvia
Which administrative territories are École Polytechnique or Riga Castle present in
France Latvia
action filter_type
action union
action find
entity École Polytechnique
relation country
action find
entity Riga Castle
relation country
type designation for an administrative territorial entity
{'OR': [['École Polytechnique', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Riga Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?j ) { ( resource:École_Polytechnique ) ( resource:Riga_Castle ) } . ?j property:country ?a } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]