Simple Question (Direct)
Simple Question
Q19868660
P735
Q82799
USER
Which name is Wout Steenhuis known by ?
(Q19868660,P735,c(Q82799))
action filter_type
action find
entity Q19868660
relation P735
type Q82799
['Q19868660', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q19868660 property:P735 ?a }
Wout Steenhuis
action filter_type
action find
entity Wout Steenhuis
relation given name
type name
['Wout Steenhuis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Wout_Steenhuis property:given_name ?a }
[]
name
Q20651054
SYSTEM
Wout
Q20651054
(Q19868660,P735,c(Q82799))
action filter_type
action find
entity Q19868660
relation P735
type Q82799
[ANSWER] Steenhuis is known as [ANSWER]
['Q19868660', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q19868660 property:P735 ?a }
Wout
Wout Steenhuis is known as Wout
Wout
action filter_type
action find
entity Wout Steenhuis
relation given name
type name
['Wout Steenhuis', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Wout_Steenhuis property:given_name ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19868660
P175
Q2031291
USER
Who performed Wout Steenhuis ?
(c(Q2031291),P175,Q19868660)
action filter_type
action find_reverse
entity Q19868660
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q19868660']
SELECT DISTINCT ?s WHERE { ?s property:P175 resource:Q19868660 . ?s rdf:type ontology:Q2031291 }
Wout Steenhuis
action filter_type
action find_reverse
entity Wout Steenhuis
relation performer
type release
[{'concept': 'release'}, 'performer', 'Wout Steenhuis']
SELECT DISTINCT ?s WHERE { ?s property:performer resource:Wout_Steenhuis . ?s rdf:type ontology:release }
[]
release
Q19961082
SYSTEM
Double Dutch
Q19961082
(c(Q2031291),P175,Q19868660)
action filter_type
action find_reverse
entity Q19868660
relation P175
type Q2031291
[ANSWER] performed Wout Steenhuis
[{'concept': 'Q2031291'}, 'P175', 'Q19868660']
SELECT DISTINCT ?s WHERE { ?s property:P175 resource:Q19868660 . ?s rdf:type ontology:Q2031291 }
Double Dutch
Double Dutch performed Wout Steenhuis
Double Dutch
action filter_type
action find_reverse
entity Wout Steenhuis
relation performer
type release
[{'concept': 'release'}, 'performer', 'Wout Steenhuis']
SELECT DISTINCT ?s WHERE { ?s property:performer resource:Wout_Steenhuis . ?s rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19868660
P19
Q56061
USER
Which administrative territory is the birthplace of Wout Steenhuis ?
(Q19868660,P19,c(Q56061))
action filter_type
action find
entity Q19868660
relation P19
type Q56061
['Q19868660', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q19868660 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Wout Steenhuis
action filter_type
action find
entity Wout Steenhuis
relation place of birth
type administrative territorial entity
['Wout Steenhuis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Wout_Steenhuis property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36600
SYSTEM
The Hague
Q36600
(Q19868660,P19,c(Q56061))
action filter_type
action find
entity Q19868660
relation P19
type Q56061
[ANSWER] is the birthplace of Wout Steenhuis
['Q19868660', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q19868660 property:P19 ?s . ?s rdf:type ontology:Q56061 }
The Hague
The Hague is the birthplace of Wout Steenhuis
The Hague
action filter_type
action find
entity Wout Steenhuis
relation place of birth
type administrative territorial entity
['Wout Steenhuis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Wout_Steenhuis property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36600 Q2778463
P19
Q502895
USER
Does Mies Meulders have birthplace at that administrative territory ?
(Q2778463,P19,Q36600)
action is_in
entity Q2778463
action find
entity Q36600
relation P19
['Q2778463', 'P19', 'Q36600']
ASK WHERE { resource:Q36600 property:P19 resource:Q2778463 }
The Hague Mies Meulders
action is_in
entity Mies Meulders
action find
entity The Hague
relation place of birth
['Mies Meulders', 'place of birth', 'The Hague']
ASK WHERE { resource:The_Hague property:place_of_birth resource:Mies_Meulders }
[]
common name
SYSTEM
NO
(Q2778463,P19,Q36600)
action is_in
entity Q2778463
action find
entity Q36600
relation P19
[ANSWER]
['Q2778463', 'P19', 'Q36600']
ASK WHERE { resource:Q36600 property:P19 resource:Q2778463 }
No
action is_in
entity Mies Meulders
action find
entity The Hague
relation place of birth
['Mies Meulders', 'place of birth', 'The Hague']
ASK WHERE { resource:The_Hague property:place_of_birth resource:Mies_Meulders }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q19868660 Q646666 Q29999
P27
Q15617994
USER
Is Wout Steenhuis a citizen of Leinsweiler and Kingdom of the Netherlands ?
(Q19868660,P27,Q646666) (Q19868660,P27,Q29999)
action is_in
entity Q19868660
action intersection
action find_reverse
entity Q646666
relation P27
action find_reverse
entity Q29999
relation P27
['Q19868660', 'P27', 'Q646666'] ['Q19868660', 'P27', 'Q29999']
ASK WHERE { resource:Q19868660 property:P27 resource:Q646666 . resource:Q19868660 property:P27 resource:Q29999 }
Wout Steenhuis Leinsweiler Kingdom of the Netherlands
action is_in
entity Wout Steenhuis
action intersection
action find_reverse
entity Leinsweiler
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
['Wout Steenhuis', 'country of citizenship', 'Leinsweiler'] ['Wout Steenhuis', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Wout_Steenhuis property:country_of_citizenship resource:Leinsweiler . resource:Wout_Steenhuis property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q19868660,P27,Q646666) (Q19868660,P27,Q29999)
action is_in
entity Q19868660
action intersection
action find_reverse
entity Q646666
relation P27
action find_reverse
entity Q29999
relation P27
[ANSWER]
['Q19868660', 'P27', 'Q646666'] ['Q19868660', 'P27', 'Q29999']
ASK WHERE { resource:Q19868660 property:P27 resource:Q646666 . resource:Q19868660 property:P27 resource:Q29999 }
NO and YES respectively
action is_in
entity Wout Steenhuis
action intersection
action find_reverse
entity Leinsweiler
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
['Wout Steenhuis', 'country of citizenship', 'Leinsweiler'] ['Wout Steenhuis', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Wout_Steenhuis property:country_of_citizenship resource:Leinsweiler . resource:Wout_Steenhuis property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6081580 Q2778463
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Mies Meulders or Pold Gastello ?
OR((Q2778463,P27,c(Q15617994)), (Q6081580,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2778463
relation P27
action find
entity Q6081580
relation P27
type Q15617994
{'OR': [['Q2778463', 'P27', {'concept': 'Q15617994'}], ['Q6081580', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2778463 property:P27 ?b } UNION { resource:Q6081580 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Pold Gastello Mies Meulders
action filter_type
action union
action find
entity Mies Meulders
relation country of citizenship
action find
entity Pold Gastello
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mies Meulders', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pold Gastello', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Mies_Meulders property:country_of_citizenship ?b } UNION { resource:Pold_Gastello property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q31
SYSTEM
Peru, Belgium
Q419 Q31
OR((Q2778463,P27,c(Q15617994)), (Q6081580,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2778463
relation P27
action find
entity Q6081580
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Mies Meulders or Pold Gastello
{'OR': [['Q2778463', 'P27', {'concept': 'Q15617994'}], ['Q6081580', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2778463 property:P27 ?b } UNION { resource:Q6081580 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Peru Belgium
Peru and Belgium are the countries of citizenship of Mies Meulders or Pold Gastello
Peru Belgium
action filter_type
action union
action find
entity Mies Meulders
relation country of citizenship
action find
entity Pold Gastello
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mies Meulders', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pold Gastello', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Mies_Meulders property:country_of_citizenship ?b } UNION { resource:Pold_Gastello property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q419 Q31
P17
Q15617994
USER
Which administrative territories are Peru and Belgium located in ?
(Q419,P17,c(Q15617994)) (Q31,P17,c(Q15617994))
action union
action filter_type
action find
entity Q419
relation P17
type Q15617994
action filter_type
action find
entity Q31
relation P17
type Q15617994
['Q419', 'P17', {'concept': 'Q15617994'}] ['Q31', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q419 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q31 property:P17 ?u . ?u rdf:type ontology:Q15617994 } }
Peru Belgium
action union
action filter_type
action find
entity Peru
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Peru', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:Peru property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Belgium property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q419 Q31
SYSTEM
Peru, Belgium
Q419 Q31
(Q419,P17,c(Q15617994)) (Q31,P17,c(Q15617994))
action union
action filter_type
action find
entity Q419
relation P17
type Q15617994
action filter_type
action find
entity Q31
relation P17
type Q15617994
[ANSWERS] are located in [ANSWERS]
['Q419', 'P17', {'concept': 'Q15617994'}] ['Q31', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q419 property:P17 ?u . ?u rdf:type ontology:Q15617994 } UNION { resource:Q31 property:P17 ?u . ?u rdf:type ontology:Q15617994 } }
Peru Belgium
Peru and Belgium are located in Peru and Belgium
Peru Belgium
action union
action filter_type
action find
entity Peru
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Belgium
relation country
type designation for an administrative territorial entity
['Peru', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:Peru property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Belgium property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q419 Q31
P17
Q337567
USER
Which still waterss are present in those administrative territories ?
(c(Q337567),P17,Q419) (c(Q337567),P17,Q31)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q337567
[{'concept': 'Q337567'}, 'P17', 'Q419'] [{'concept': 'Q337567'}, 'P17', 'Q31']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q337567 . ?w property:P17 ?n . VALUES ( ?n ) { ( resource:Q419 ) ( resource:Q31 ) } }
Peru Belgium
action filter_type
action find_reverse
entity prev_answer
relation country
type still waters
[{'concept': 'still waters'}, 'country', 'Peru'] [{'concept': 'still waters'}, 'country', 'Belgium']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:still_waters . ?w property:country ?n . VALUES ( ?n ) { ( resource:Peru ) ( resource:Belgium ) } }
[]
still waters
Q1819768 Q1343300 Q1800526
SYSTEM
Wiñaymarka Lake, Suches Lake, Conococha Lake
Q16902413 Q16902412 Q13191392 Q2100407 Q6477457 Q6477449 Q4016158 Q14481018 Q16899045 Q3652777 Q16827526 Q6476789 Q502429 Q16901739 Q16901737 Q1806749 Q6477346 Q6478144 Q16892177 Q16899050 Q1819768 Q6407283 Q15624117 Q25100795 Q3545680 Q16896489 Q1800405 Q10857888 Q7144269 Q6477333 Q3652788 Q3652797 Q25100807 Q6475441 Q3686390 Q1343300 Q7376563 Q7358894 Q941342 Q18348700 Q383889 Q16890364 Q16898996 Q6477218 Q3303737 Q25052482 Q696845 Q16829639 Q7376555 Q15266119 Q16860861 Q3646208 Q16903930 Q1800526 Q17102968 Q6475326 Q18387032 Q16903932 Q7358869 Q6512511 Q6475525 Q16892537 Q15270316 Q16898986 Q7358998 Q17056873 Q23807462 Q6476284 Q16898894 Q13189749 Q13190068 Q6613990 Q13190880 Q3646873 Q6477707 Q6477769 Q7358928 Q7358914 Q6476228 Q6476229 Q619768 Q13189126 Q16828808 Q11688197 Q16902968 Q13190473 Q7358947 Q15238567 Q7359047 Q16900937 Q5769327 Q5763413 Q372417 Q13189075 Q25203170 Q25203171 Q25203172 Q16902822 Q5762473 Q15181269 Q380007 Q16893734 Q6476539 Q6477415 Q6475296 Q3653328 Q6477663 Q6477660 Q6476370 Q1640021 Q13189354 Q16899853 Q3215575 Q2390760 Q2885430 Q764863 Q2070988 Q1073360 Q724805
(c(Q337567),P17,Q419) (c(Q337567),P17,Q31)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q337567
[ANSWERS] are present in those administrative territories
[{'concept': 'Q337567'}, 'P17', 'Q419'] [{'concept': 'Q337567'}, 'P17', 'Q31']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q337567 . ?w property:P17 ?n . VALUES ( ?n ) { ( resource:Q419 ) ( resource:Q31 ) } }
Urququcha (Apurímac) Urqunqucha Ñawinqucha Poechos Reservoir Lake Pías Lake Punrun Saracocha Lake Yanaqucha Quchapampa (Ayacucho) Lake Pacucha Allpaqucha Lake Marcapomacocha Rimachi Lake Tipiqucha (Apurímac) Tipiqucha (Ayacucho) Palcacocha Lake Lake Pelagatos Lake Tragadero Hatun Tipiqucha Quriqucha (Apurímac) Wiñaymarka Lake Killaqucha Papaqucha Islaqucha Lake Acucocha Parququcha (Peru) Lake Sandoval Waskhaqucha Patarqucha Lake Paucarcocha Lake Alcacocha Lake De Quishuar Parqaqucha Lake Conache Lake Carpa Suches Lake Pumaqucha (Ayacucho) Wankaqucha Lake Junín Hatunqucha Lake Loriscota Chinaqucha Qiwllaqucha (Abancay) Lake Orcococha Laguna de Paca T'urpuqucha Lake Pomacocha Apiñaqucha T'inkiqucha Pharaquta (Tarata) Pampaqucha Lake Parón Yanaqucha (Cangallo) Conococha Lake Tipiqucha Lake Choclococha Chawpiqucha Yanaqucha (Huamanguilla) Lake Aricota Pallaqucha Quyllurqucha (Lima) Huch'uy Tipiqucha Qiwllaqucha (Apurímac) Q'araqucha Qiruqucha Pharaquta Laguna 69 Lake Imiria Pukaqucha (Ayacucho) Kanllaqucha Milluqucha Qiwñaqucha Suyt'uqucha (Apurímac) Lake Vizcacha Lake Shegue Lake Sibinacocha Lake Langui Layo Lake Huichicocha Lake Huarmicocha Lake Huaroncocha Lake Arapa Anqasqucha (Huancavelica) Antaqucha Yarinaqucha Wask'aqucha (Apurímac) Qiwllaqucha Muyurqa Lake Kinwaqucha Lake Umayo Suqtaqucha Uspaccocha Lagoon Ñawinpukyu (Junín) Yanawayin Lake Aknuqucha Wat'aqucha Chawpiqucha Suyt'uqucha Wachuqucha (Apurímac) Lake Parinacochas Anqasqucha (Ayacucho) Laguna de las Momias Kunturqucha Lake Lagunillas Lake Pomacanchi Lake Chauya Lake Valencia Lake Sausacocha Lake Sauce Jukumarini Lake Lake Vilacota Chiliqucha Sawaqucha Lake Virelles Lake Neufchâteau Lake Ry de Rome Lake Genval Grand Large Ixelles Ponds Donkmeer
Wiñaymarka Lake, Suches Lake and Conococha Lake are present in those administrative territories
Wiñaymarka Lake Suches Lake Conococha Lake
action filter_type
action find_reverse
entity prev_answer
relation country
type still waters
[{'concept': 'still waters'}, 'country', 'Peru'] [{'concept': 'still waters'}, 'country', 'Belgium']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:still_waters . ?w property:country ?n . VALUES ( ?n ) { ( resource:Peru ) ( resource:Belgium ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1800526
P201
Q355304
USER
Which watercourse outflows from that still waters ?
(Q1800526,P201,c(Q355304))
action filter_type
action find
entity Q1800526
relation P201
type Q355304
['Q1800526', 'P201', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q1800526 property:P201 ?j . ?j rdf:type ontology:Q355304 }
Conococha Lake
action filter_type
action find
entity Conococha Lake
relation lake outflow
type watercourse
['Conococha Lake', 'lake outflow', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Conococha_Lake property:lake_outflow ?j . ?j rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q1819768
SYSTEM
Did you mean Wiñaymarka Lake ?
Q1819768 Q1343300 Q1800526
(Q1819768,P201,c(Q355304)) (Q1343300,P201,c(Q355304)) (Q1800526,P201,c(Q355304))
[ANSWER]
['Q1819768', 'P201', {'concept': 'Q355304'}] ['Q1343300', 'P201', {'concept': 'Q355304'}] ['Q1800526', 'P201', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q1800526 property:P201 ?j . ?j rdf:type ontology:Q355304 }
Wiñaymarka Lake Suches Lake Conococha Lake
Did you mean Wiñaymarka Lake ?
Wiñaymarka Lake
['Wiñaymarka Lake', 'lake outflow', {'concept': 'watercourse'}] ['Suches Lake', 'lake outflow', {'concept': 'watercourse'}] ['Conococha Lake', 'lake outflow', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Conococha_Lake property:lake_outflow ?j . ?j rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
No, I meant Conococha Lake. Could you tell me the answer for that?
(Q1800526,P201,c(Q355304))
Q1800526
['Q1800526', 'P201', {'concept': 'Q355304'}]
['Conococha Lake', 'lake outflow', {'concept': 'watercourse'}]
[]
Q2121241
SYSTEM
Santa River
Q2121241
(Q1800526,P201,c(Q355304))
action filter_type
action find
entity Q1800526
relation P201
type Q355304
[ANSWER] outflows from that still waters
['Q1800526', 'P201', {'concept': 'Q355304'}]
SELECT DISTINCT ?j WHERE { resource:Q1800526 property:P201 ?j . ?j rdf:type ontology:Q355304 }
Santa River
Santa River outflows from that still waters
Santa River
action filter_type
action find
entity Conococha Lake
relation lake outflow
type watercourse
['Conococha Lake', 'lake outflow', {'concept': 'watercourse'}]
SELECT DISTINCT ?j WHERE { resource:Conococha_Lake property:lake_outflow ?j . ?j rdf:type ontology:watercourse }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3367142
P3173
Q355304 Q811979
USER
How many architectural structures have view to approximately the same number of watercourses as Pas de Bellecombe ?
(c(Q811979),P3173,c(Q355304))
action count
action approx
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q3367142
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?m ) WHERE { ?d rdf:type ontology:Q811979 . ?r rdf:type ontology:Q355304 . ?d property:P3173 ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ontology:Q811979 . resource:Q3367142 property:P3173 ?u } } . FILTER ( ?m = ?l ) }
Pas de Bellecombe
action count
action approx
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Pas de Bellecombe
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?m ) WHERE { ?d rdf:type ontology:architectural_structure . ?r rdf:type ontology:watercourse . ?d property:offers_view_on ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ontology:architectural_structure . resource:Pas_de_Bellecombe property:offers_view_on ?u } } . FILTER ( ?m = ?l ) }
[]
watercourse architectural structure
SYSTEM
8
Q3367142 Q2470303 Q3108318 Q7088437 Q27267334 Q1144172 Q7675044 Q27181543
(c(Q811979),P3173,c(Q355304))
action count
action approx
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q3367142
relation P3173
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?m ) WHERE { ?d rdf:type ontology:Q811979 . ?r rdf:type ontology:Q355304 . ?d property:P3173 ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ontology:Q811979 . resource:Q3367142 property:P3173 ?u } } . FILTER ( ?m = ?l ) }
Pas de Bellecombe Echo Point Glacier Point Olmsted Point Dewey Point Dante's View Taft Point Father Crowley Vista Point
8
action count
action approx
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Pas de Bellecombe
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?m ) WHERE { ?d rdf:type ontology:architectural_structure . ?r rdf:type ontology:watercourse . ?d property:offers_view_on ?r } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { ?u rdf:type ontology:architectural_structure . resource:Pas_de_Bellecombe property:offers_view_on ?u } } . FILTER ( ?m = ?l ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q34 Q31
P27
Q502895
USER
Which people are a citizen of Belgium and Sweden ?
AND((c(Q502895),P27,Q31), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q31
relation P27
action find_reverse
entity Q34
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q31'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q31 . ?e property:P27 resource:Q34 . ?e rdf:type ontology:Q502895 }
Sweden Belgium
action filter_type
action intersection
action find_reverse
entity Belgium
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Belgium'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Belgium . ?e property:country_of_citizenship resource:Sweden . ?e rdf:type ontology:common_name }
[]
common name
Q679733 Q2571097 Q242598 Q5584072 Q4759316
SYSTEM
Ronnie Leten, Wilfrid Stinissen, Blanche of Namur, Willem Boy, Andries Mac Leod
Q679733 Q2571097 Q242598 Q5584072 Q4759316
AND((c(Q502895),P27,Q31), (c(Q502895),P27,Q34))
action filter_type
action intersection
action find_reverse
entity Q31
relation P27
action find_reverse
entity Q34
relation P27
type Q502895
[ANSWERS] are a citizen of Belgium and Sweden
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q31'], [{'concept': 'Q502895'}, 'P27', 'Q34']]}
SELECT DISTINCT ?e WHERE { ?e property:P27 resource:Q31 . ?e property:P27 resource:Q34 . ?e rdf:type ontology:Q502895 }
Ronnie Leten Wilfrid Stinissen Blanche of Namur Willem Boy Andries Mac Leod
Ronnie Leten, Wilfrid Stinissen, Blanche of Namur, Willem Boy and Andries Mac Leod are a citizen of Belgium and Sweden
Ronnie Leten Wilfrid Stinissen Blanche of Namur Willem Boy Andries Mac Leod
action filter_type
action intersection
action find_reverse
entity Belgium
relation country of citizenship
action find_reverse
entity Sweden
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Belgium'], [{'concept': 'common name'}, 'country of citizenship', 'Sweden']]}
SELECT DISTINCT ?e WHERE { ?e property:country_of_citizenship resource:Belgium . ?e property:country_of_citizenship resource:Sweden . ?e rdf:type ontology:common_name }
[]