Simple Question (Direct)
Simple Question
Q577416
P136
Q151885
USER
Which concept is the genre for Bill Tapia ?
(Q577416,P136,c(Q151885))
action filter_type
action find
entity Q577416
relation P136
type Q151885
['Q577416', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q577416 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Bill Tapia
action filter_type
action find
entity Bill Tapia
relation genre
type concept
['Bill Tapia', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Tapia property:genre ?z . ?z rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q577416,P136,c(Q151885))
action filter_type
action find
entity Q577416
relation P136
type Q151885
So [ANSWER] is the genre for Bill Tapia
['Q577416', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q577416 property:P136 ?z . ?z rdf:type ontology:Q151885 }
jazz
So jazz is the genre for Bill Tapia
jazz
action filter_type
action find
entity Bill Tapia
relation genre
type concept
['Bill Tapia', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Tapia property:genre ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q577416
P793
Q22675021
USER
What is a significant event associated with Bill Tapia ?
(Q577416,P793,c(Q22675021))
action filter_type
action find
entity Q577416
relation P793
type Q22675021
['Q577416', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?q WHERE { resource:Q577416 property:P793 ?q . ?q rdf:type ontology:Q22675021 }
Bill Tapia
action filter_type
action find
entity Bill Tapia
relation significant event
type lifetime
['Bill Tapia', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?q WHERE { resource:Bill_Tapia property:significant_event ?q . ?q rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
(Q577416,P793,c(Q22675021))
action filter_type
action find
entity Q577416
relation P793
type Q22675021
A significant event associated with Bill Tapia is the [ANSWER]
['Q577416', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?q WHERE { resource:Q577416 property:P793 ?q . ?q rdf:type ontology:Q22675021 }
centenarian
A significant event associated with Bill Tapia is the centenarian
centenarian
action filter_type
action find
entity Bill Tapia
relation significant event
type lifetime
['Bill Tapia', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?q WHERE { resource:Bill_Tapia property:significant_event ?q . ?q rdf:type ontology:lifetime }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q270790
Q22675021
USER
And how about Dorothy Janis?
(Q270790,P793,c(Q22675021))
action filter_type
action find
entity Q270790
relation P793
type Q22675021
['Q270790', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?z WHERE { resource:Q270790 property:P793 ?z . ?z rdf:type ontology:Q22675021 }
Dorothy Janis
action filter_type
action find
entity Dorothy Janis
relation significant event
type lifetime
['Dorothy Janis', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?z WHERE { resource:Dorothy_Janis property:significant_event ?z . ?z rdf:type ontology:lifetime }
[]
lifetime
Q2944360
SYSTEM
centenarian
Q2944360
(Q270790,P793,c(Q22675021))
action filter_type
action find
entity Q270790
relation P793
type Q22675021
[ANSWER]
['Q270790', 'P793', {'concept': 'Q22675021'}]
SELECT DISTINCT ?z WHERE { resource:Q270790 property:P793 ?z . ?z rdf:type ontology:Q22675021 }
centenarian
centenarian
action filter_type
action find
entity Dorothy Janis
relation significant event
type lifetime
['Dorothy Janis', 'significant event', {'concept': 'lifetime'}]
SELECT DISTINCT ?z WHERE { resource:Dorothy_Janis property:significant_event ?z . ?z rdf:type ontology:lifetime }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q14215814
P706
Q82794 Q151885
USER
Which geographic regions are approximately the same number of concepts located on as Murg Valley ?
(c(Q151885),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q14215814
relation P706
type Q82794
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q82794 . resource:Q14215814 property:P706 ?v } } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P706 ?x . ?x rdf:type ontology:Q82794 . ?a rdf:type ontology:Q151885 } GROUP BY ?x } }
Murg Valley
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
action count
action filter_type
action find
entity Murg Valley
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:geographic_region . resource:Murg_Valley property:located_on_terrain_feature ?v } } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:located_on_terrain_feature ?x . ?x rdf:type ontology:geographic_region . ?a rdf:type ontology:concept } GROUP BY ?x } }
[]
geographic region concept
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q39061 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1935344 Q1471257 Q22680049 Q2282388 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q151885),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q14215814
relation P706
type Q82794
[ANSWERS] are approximately the same number of concepts located on as Murg Valley
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:Q82794 . resource:Q14215814 property:P706 ?v } } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P706 ?x . ?x rdf:type ontology:Q82794 . ?a rdf:type ontology:Q151885 } GROUP BY ?x } }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Northern Hemisphere Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Siebenmühlental Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Vistula basin, Bug Basin and Narew Basin are approximately the same number of concepts located on as Murg Valley
Vistula basin Bug Basin Narew Basin
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
action count
action filter_type
action find
entity Murg Valley
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v rdf:type ontology:geographic_region . resource:Murg_Valley property:located_on_terrain_feature ?v } } . FILTER ( ?l = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:located_on_terrain_feature ?x . ?x rdf:type ontology:geographic_region . ?a rdf:type ontology:concept } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q833127
P706
Q82794 Q151885
USER
And how about Lower Bavarian Upland?
(c(Q151885),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q833127
relation P706
type Q82794
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P706 ?c . ?c rdf:type ontology:Q82794 . ?x rdf:type ontology:Q151885 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q833127 property:P706 ?f . ?f rdf:type ontology:Q82794 } } . FILTER ( ?v = ?r ) }
Lower Bavarian Upland
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
action count
action filter_type
action find
entity Lower Bavarian Upland
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:located_on_terrain_feature ?c . ?c rdf:type ontology:geographic_region . ?x rdf:type ontology:concept } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Lower_Bavarian_Upland property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region } } . FILTER ( ?v = ?r ) }
[]
geographic region concept
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q39061 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q170526 Q1935344 Q1471257 Q22680049 Q2282388 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q151885),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q833127
relation P706
type Q82794
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P706 ?c . ?c rdf:type ontology:Q82794 . ?x rdf:type ontology:Q151885 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q833127 property:P706 ?f . ?f rdf:type ontology:Q82794 } } . FILTER ( ?v = ?r ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Northern Hemisphere Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Fertile Crescent Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Siebenmühlental Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Vistula basin Bug Basin Narew Basin
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type concept
action count
action filter_type
action find
entity Lower Bavarian Upland
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:located_on_terrain_feature ?c . ?c rdf:type ontology:geographic_region . ?x rdf:type ontology:concept } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Lower_Bavarian_Upland property:located_on_terrain_feature ?f . ?f rdf:type ontology:geographic_region } } . FILTER ( ?v = ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q82794 Q2221906 Q15617994
USER
How many geographic regions are around 1 geographic locations and administrative territories located on ?
(c(Q2221906)|c(Q15617994),P706,c(Q82794))
action count
action approx
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15617994
value 1
[[{'concept': 'Q2221906'}, {'concept': 'Q15617994'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?z WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q2221906 ) } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type designation for an administrative territorial entity
value 1
[[{'concept': 'geographic location'}, {'concept': 'designation for an administrative territorial entity'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?z WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:geographic_location ) } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
geographic region geographic location designation for an administrative territorial entity
SYSTEM
6
Q375953 Q14215814 Q39061 Q2148017 Q170526 Q1471257
(c(Q2221906)|c(Q15617994),P706,c(Q82794))
action count
action approx
action union
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action find_reverse_tuple_counts
relation P706
type Q82794
type Q15617994
value 1
[ANSWER]
[[{'concept': 'Q2221906'}, {'concept': 'Q15617994'}], 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?z WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q15617994 ) ( ontology:Q2221906 ) } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
Altes Land Murg Valley Northern Hemisphere Rheinwesterwälder Vulkanrücken Fertile Crescent Franconian Keuper-Lias Plains
6
action count
action approx
action union
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type designation for an administrative territorial entity
value 1
[[{'concept': 'geographic location'}, {'concept': 'designation for an administrative territorial entity'}], 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?z WHERE { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:geographic_location ) } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q70234 Q577416
P47 P27
Q15617994
USER
Which administrative territories do Bill Tapia belong to or share the border with Gambarogno ?
OR((Q577416,P27,c(Q15617994)), (Q70234,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q577416
relation P27
action find
entity Q70234
relation P47
type Q15617994
{'OR': [['Q577416', 'P27', {'concept': 'Q15617994'}], ['Q70234', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q577416 property:P27 ?p } UNION { resource:Q70234 property:P47 ?p } } . ?p rdf:type ontology:Q15617994 }
Gambarogno Bill Tapia
action filter_type
action union
action find
entity Bill Tapia
relation country of citizenship
action find
entity Gambarogno
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bill Tapia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gambarogno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Bill_Tapia property:country_of_citizenship ?p } UNION { resource:Gambarogno property:shares_border_with ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39250 Q40717 Q30 Q15711728
SYSTEM
Veddasca, Curiglia con Monteviasco, United States of America, Maccagno con Pino e Veddasca
Q39250 Q40717 Q30 Q15711728
OR((Q577416,P27,c(Q15617994)), (Q70234,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q577416
relation P27
action find
entity Q70234
relation P47
type Q15617994
Bill Tapia belong to the [ANSWERS]
{'OR': [['Q577416', 'P27', {'concept': 'Q15617994'}], ['Q70234', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q577416 property:P27 ?p } UNION { resource:Q70234 property:P47 ?p } } . ?p rdf:type ontology:Q15617994 }
Veddasca Curiglia con Monteviasco United States of America Maccagno con Pino e Veddasca
Bill Tapia belong to the Veddasca, Curiglia con Monteviasco, United States of America and Maccagno con Pino e Veddasca
Veddasca Curiglia con Monteviasco United States of America Maccagno con Pino e Veddasca
action filter_type
action union
action find
entity Bill Tapia
relation country of citizenship
action find
entity Gambarogno
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bill Tapia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gambarogno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Bill_Tapia property:country_of_citizenship ?p } UNION { resource:Gambarogno property:shares_border_with ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q40717
P47 P421
Q15617994
USER
Which administrative territories are next to the border of Curiglia con Monteviasco and are UTC+01:00 a time zone for ?
AND((c(Q15617994),P47,Q40717), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q40717
relation P47
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q40717'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?l WHERE { ?l property:P421 resource:Q6655 . ?l property:P47 resource:Q40717 . ?l rdf:type ontology:Q15617994 }
UTC+01:00 Curiglia con Monteviasco
action filter_type
action intersection
action find_reverse
entity Curiglia con Monteviasco
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Curiglia con Monteviasco'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?l WHERE { ?l property:located_in_time_zone resource:UTC+01:00 . ?l property:shares_border_with resource:Curiglia_con_Monteviasco . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39250 Q41052
SYSTEM
Veddasca, Dumenza
Q39250 Q41052
AND((c(Q15617994),P47,Q40717), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q40717
relation P47
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS] are next to the border of Curiglia con Monteviasco and are UTC+01:00 a time zone for
{'AND': [[{'concept': 'Q15617994'}, 'P47', 'Q40717'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?l WHERE { ?l property:P421 resource:Q6655 . ?l property:P47 resource:Q40717 . ?l rdf:type ontology:Q15617994 }
Veddasca Dumenza
Veddasca and Dumenza are next to the border of Curiglia con Monteviasco and are UTC+01:00 a time zone for
Veddasca Dumenza
action filter_type
action intersection
action find_reverse
entity Curiglia con Monteviasco
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Curiglia con Monteviasco'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?l WHERE { ?l property:located_in_time_zone resource:UTC+01:00 . ?l property:shares_border_with resource:Curiglia_con_Monteviasco . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q39250 Q41052
P17
Q15617994
USER
Which administrative territories are Veddasca and Dumenza present in ?
(Q39250,P17,c(Q15617994)) (Q41052,P17,c(Q15617994))
action union
action filter_type
action find
entity Q39250
relation P17
type Q15617994
action filter_type
action find
entity Q41052
relation P17
type Q15617994
['Q39250', 'P17', {'concept': 'Q15617994'}] ['Q41052', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?o property:P17 ?m . VALUES ( ?o ) { ( resource:Q39250 ) ( resource:Q41052 ) } }
Veddasca Dumenza
action union
action filter_type
action find
entity Veddasca
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Dumenza
relation country
type designation for an administrative territorial entity
['Veddasca', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dumenza', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?o property:country ?m . VALUES ( ?o ) { ( resource:Veddasca ) ( resource:Dumenza ) } }
[]
designation for an administrative territorial entity
Q38 Q38
SYSTEM
Italy
Q38 Q38
(Q39250,P17,c(Q15617994)) (Q41052,P17,c(Q15617994))
action union
action filter_type
action find
entity Q39250
relation P17
type Q15617994
action filter_type
action find
entity Q41052
relation P17
type Q15617994
Which administrative territories are Veddasca and Dumenza present in
['Q39250', 'P17', {'concept': 'Q15617994'}] ['Q41052', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?o property:P17 ?m . VALUES ( ?o ) { ( resource:Q39250 ) ( resource:Q41052 ) } }
Italy Italy
Which administrative territories are Veddasca and Dumenza present in
Italy Italy
action union
action filter_type
action find
entity Veddasca
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Dumenza
relation country
type designation for an administrative territorial entity
['Veddasca', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dumenza', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?o property:country ?m . VALUES ( ?o ) { ( resource:Veddasca ) ( resource:Dumenza ) } }
[]