Simple Question (Direct)
Simple Question
Q4888945
P172
Q2472587
USER
Which people does Benjamin Lambert have as ethnic origin ?
(Q4888945,P172,c(Q2472587))
action filter_type
action find
entity Q4888945
relation P172
type Q2472587
['Q4888945', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?x WHERE { resource:Q4888945 property:P172 ?x . ?x rdf:type ontology:Q2472587 }
Benjamin Lambert
action filter_type
action find
entity Benjamin Lambert
relation ethnic group
type people
['Benjamin Lambert', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?x WHERE { resource:Benjamin_Lambert property:ethnic_group ?x . ?x rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q4888945,P172,c(Q2472587))
action filter_type
action find
entity Q4888945
relation P172
type Q2472587
Benjamin Lambert has raised [ANSWER] as ethnic origin
['Q4888945', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?x WHERE { resource:Q4888945 property:P172 ?x . ?x rdf:type ontology:Q2472587 }
African Americans
Benjamin Lambert has raised African Americans as ethnic origin
African Americans
action filter_type
action find
entity Benjamin Lambert
relation ethnic group
type people
['Benjamin Lambert', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?x WHERE { resource:Benjamin_Lambert property:ethnic_group ?x . ?x rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4888945
P734
Q82799
USER
Which name is associated with Benjamin Lambert ?
(Q4888945,P734,c(Q82799))
action filter_type
action find
entity Q4888945
relation P734
type Q82799
['Q4888945', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q4888945 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Benjamin Lambert
action filter_type
action find
entity Benjamin Lambert
relation family name
type name
['Benjamin Lambert', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Benjamin_Lambert property:family_name ?p . ?p rdf:type ontology:name }
[]
name
Q19776313
SYSTEM
Lambert
Q19776313
(Q4888945,P734,c(Q82799))
action filter_type
action find
entity Q4888945
relation P734
type Q82799
[ANSWER] is associated with Benjamin [ANSWER]
['Q4888945', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { resource:Q4888945 property:P734 ?p . ?p rdf:type ontology:Q82799 }
Lambert
Lambert is associated with Benjamin Lambert
Lambert
action filter_type
action find
entity Benjamin Lambert
relation family name
type name
['Benjamin Lambert', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { resource:Benjamin_Lambert property:family_name ?p . ?p rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4888945 Q960059
P734
Q82799
USER
How many names are associated with Benjamin Lambert or Hughes brothers ?
(Q4888945,P734,c(Q82799)) (Q960059,P734,c(Q82799))
action count
action union
action filter_type
action find
entity Q4888945
relation P734
type Q82799
action filter_type
action find
entity Q960059
relation P734
type Q82799
['Q4888945', 'P734', {'concept': 'Q82799'}] ['Q960059', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?q ) { ( resource:Q960059 ) ( resource:Q4888945 ) } . ?q property:P734 ?p }
Benjamin Lambert Hughes brothers
action count
action union
action filter_type
action find
entity Benjamin Lambert
relation family name
type name
action filter_type
action find
entity Hughes brothers
relation family name
type name
['Benjamin Lambert', 'family name', {'concept': 'name'}] ['Hughes brothers', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?q ) { ( resource:Hughes_brothers ) ( resource:Benjamin_Lambert ) } . ?q property:family_name ?p }
[]
name
SYSTEM
2
Q2720749 Q19776313
(Q4888945,P734,c(Q82799)) (Q960059,P734,c(Q82799))
action count
action union
action filter_type
action find
entity Q4888945
relation P734
type Q82799
action filter_type
action find
entity Q960059
relation P734
type Q82799
[ANSWER]
['Q4888945', 'P734', {'concept': 'Q82799'}] ['Q960059', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?q ) { ( resource:Q960059 ) ( resource:Q4888945 ) } . ?q property:P734 ?p }
Hughes Lambert
2
action count
action union
action filter_type
action find
entity Benjamin Lambert
relation family name
type name
action filter_type
action find
entity Hughes brothers
relation family name
type name
['Benjamin Lambert', 'family name', {'concept': 'name'}] ['Hughes brothers', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { VALUES ( ?q ) { ( resource:Hughes_brothers ) ( resource:Benjamin_Lambert ) } . ?q property:family_name ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4888945
P39
Q12737077
USER
Which occupation was a position held by that person ?
action filter_type
action find
entity Q4888945
relation P39
type Q12737077
SELECT DISTINCT ?z WHERE { resource:Q4888945 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Benjamin Lambert
action filter_type
action find
entity Benjamin Lambert
relation position held
type occupation
SELECT DISTINCT ?z WHERE { resource:Benjamin_Lambert property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q18604340
SYSTEM
member of the State Senate of Virginia
Q18604340
action filter_type
action find
entity Q4888945
relation P39
type Q12737077
County [ANSWER] was a position held by that person
SELECT DISTINCT ?z WHERE { resource:Q4888945 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
member of the State Senate of Virginia
County member of the State Senate of Virginia was a position held by that person
member of the State Senate of Virginia
action filter_type
action find
entity Benjamin Lambert
relation position held
type occupation
SELECT DISTINCT ?z WHERE { resource:Benjamin_Lambert property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4888945
P21
Q290
USER
Which sex does that person have ?
(Q18604340,P21,c(Q290))
action filter_type
action find
entity Q4888945
relation P21
type Q290
['Q18604340', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q4888945 property:P21 ?u . ?u rdf:type ontology:Q290 }
Benjamin Lambert
action filter_type
action find
entity Benjamin Lambert
relation gender
type sex
['member of the State Senate of Virginia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Benjamin_Lambert property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18604340,P21,c(Q290))
action filter_type
action find
entity Q4888945
relation P21
type Q290
That person has a [ANSWER]
['Q18604340', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q4888945 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Benjamin Lambert
relation gender
type sex
['member of the State Senate of Virginia', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Benjamin_Lambert property:gender ?u . ?u rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q553678 Q4888945
P21
Q290
USER
Or Ge Hong?
OR((Q4888945,P21,c(Q290)), (Q553678,P21,c(Q290)))
action filter_type
action union
action find
entity Q4888945
relation P21
action find
entity Q553678
relation P21
type Q290
{'OR': [['Q4888945', 'P21', {'concept': 'Q290'}], ['Q553678', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4888945 property:P21 ?p } UNION { resource:Q553678 property:P21 ?p } } . ?p rdf:type ontology:Q290 }
Ge Hong Benjamin Lambert
action filter_type
action union
action find
entity Benjamin Lambert
relation gender
action find
entity Ge Hong
relation gender
type sex
{'OR': [['Benjamin Lambert', 'gender', {'concept': 'sex'}], ['Ge Hong', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Benjamin_Lambert property:gender ?p } UNION { resource:Ge_Hong property:gender ?p } } . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q4888945,P21,c(Q290)), (Q553678,P21,c(Q290)))
action filter_type
action union
action find
entity Q4888945
relation P21
action find
entity Q553678
relation P21
type Q290
[ANSWER]
{'OR': [['Q4888945', 'P21', {'concept': 'Q290'}], ['Q553678', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q4888945 property:P21 ?p } UNION { resource:Q553678 property:P21 ?p } } . ?p rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Benjamin Lambert
relation gender
action find
entity Ge Hong
relation gender
type sex
{'OR': [['Benjamin Lambert', 'gender', {'concept': 'sex'}], ['Ge Hong', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Benjamin_Lambert property:gender ?p } UNION { resource:Ge_Hong property:gender ?p } } . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q553678
P106
Q151885
USER
What does Ge Hong do for a living?
(Q6581097,P106,c(Q151885))
action filter_type
action find
entity Q553678
relation P106
type Q151885
['Q6581097', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q553678 property:P106 ?u . ?u rdf:type ontology:Q151885 }
Ge Hong
action filter_type
action find
entity Ge Hong
relation occupation
type concept
['male', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Ge_Hong property:occupation ?u . ?u rdf:type ontology:concept }
[]
concept
Q4964182
SYSTEM
philosopher
Q4964182
(Q6581097,P106,c(Q151885))
action filter_type
action find
entity Q553678
relation P106
type Q151885
Ge Hong does a [ANSWER] for a living
['Q6581097', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q553678 property:P106 ?u . ?u rdf:type ontology:Q151885 }
philosopher
Ge Hong does a philosopher for a living
philosopher
action filter_type
action find
entity Ge Hong
relation occupation
type concept
['male', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Ge_Hong property:occupation ?u . ?u rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P425
Q11410 Q386724 Q151885
USER
Which concepts have around the same number of games or works as thier field of occupation as that concept ?
(c(Q151885),P425,c(Q11410)|c(Q386724))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q11410
action find_tuple_counts
relation P425
type Q151885
type Q386724
action count
action filter_multi_types
action find
entity Q4964182
relation P425
type Q11410
type Q386724
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q11410'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:Q11410 ) ( ontology:Q386724 ) } . ?b rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q4964182 property:P425 ?d . { { ?d rdf:type ontology:Q11410 } UNION { ?d rdf:type ontology:Q386724 } } } } . FILTER ( ?f = ?q ) }
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type game
action find_tuple_counts
relation field of this occupation
type concept
type work
action count
action filter_multi_types
action find
entity philosopher
relation field of this occupation
type game
type work
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'game'}, {'concept': 'work'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:game ) ( ontology:work ) } . ?b rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:philosopher property:field_of_this_occupation ?d . { { ?d rdf:type ontology:game } UNION { ?d rdf:type ontology:work } } } } . FILTER ( ?f = ?q ) }
[]
game work concept
SYSTEM
4
Q214917 Q20726620 Q20708269 Q5276395
(c(Q151885),P425,c(Q11410)|c(Q386724))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q11410
action find_tuple_counts
relation P425
type Q151885
type Q386724
action count
action filter_multi_types
action find
entity Q4964182
relation P425
type Q11410
type Q386724
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q11410'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:Q11410 ) ( ontology:Q386724 ) } . ?b rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q4964182 property:P425 ?d . { { ?d rdf:type ontology:Q11410 } UNION { ?d rdf:type ontology:Q386724 } } } } . FILTER ( ?f = ?q ) }
playwright knife thrower scrabble player gamer
4
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type game
action find_tuple_counts
relation field of this occupation
type concept
type work
action count
action filter_multi_types
action find
entity philosopher
relation field of this occupation
type game
type work
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'game'}, {'concept': 'work'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?o ) { ( ontology:game ) ( ontology:work ) } . ?b rdf:type ?o } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:philosopher property:field_of_this_occupation ?d . { { ?d rdf:type ontology:game } UNION { ?d rdf:type ontology:work } } } } . FILTER ( ?f = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3487269
P706
Q82794 Q151885
USER
How many geographic regions are approximately the same number of concepts located on as Wurstelprater ?
(c(Q151885),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q3487269
relation P706
type Q82794
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P706 ?t . ?t rdf:type ontology:Q82794 . ?f rdf:type ontology:Q151885 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:Q82794 . resource:Q3487269 property:P706 ?a } } . FILTER ( ?i = ?p ) }
Wurstelprater
action count
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 Wurstelprater
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?f rdf:type ontology:concept } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:geographic_region . resource:Wurstelprater property:located_on_terrain_feature ?a } } . FILTER ( ?i = ?p ) }
[]
geographic region concept
SYSTEM
114
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 count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q3487269
relation P706
type Q82794
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P706 ?t . ?t rdf:type ontology:Q82794 . ?f rdf:type ontology:Q151885 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:Q82794 . resource:Q3487269 property:P706 ?a } } . FILTER ( ?i = ?p ) }
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
114
action count
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 Wurstelprater
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:located_on_terrain_feature ?t . ?t rdf:type ontology:geographic_region . ?f rdf:type ontology:concept } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { ?a rdf:type ontology:geographic_region . resource:Wurstelprater property:located_on_terrain_feature ?a } } . FILTER ( ?i = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1138800
P706
Q82794 Q151885
USER
And what about Pelagonia?
(c(Q151885),P706,c(Q82794))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q1138800
relation P706
type Q82794
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j rdf:type ontology:Q82794 . ?o rdf:type ontology:Q151885 . ?o property:P706 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q1138800 property:P706 ?q . ?q rdf:type ontology:Q82794 } } . FILTER ( ?s = ?e ) }
Pelagonia
action count
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 Pelagonia
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j rdf:type ontology:geographic_region . ?o rdf:type ontology:concept . ?o property:located_on_terrain_feature ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Pelagonia property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_region } } . FILTER ( ?s = ?e ) }
[]
geographic region concept
SYSTEM
114
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 count
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q151885
action count
action filter_type
action find
entity Q1138800
relation P706
type Q82794
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j rdf:type ontology:Q82794 . ?o rdf:type ontology:Q151885 . ?o property:P706 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Q1138800 property:P706 ?q . ?q rdf:type ontology:Q82794 } } . FILTER ( ?s = ?e ) }
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
114
action count
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 Pelagonia
relation located on terrain feature
type geographic region
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?s ) WHERE { ?j rdf:type ontology:geographic_region . ?o rdf:type ontology:concept . ?o property:located_on_terrain_feature ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { resource:Pelagonia property:located_on_terrain_feature ?q . ?q rdf:type ontology:geographic_region } } . FILTER ( ?s = ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q16529344
P180
Q82799 Q11060274 Q18783400
USER
How many names are expressed in approximately the same number of prints and genres of sculpture as goose ?
(c(Q11060274)|c(Q18783400),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q16529344
relation P180
type Q11060274
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?t WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q18783400 ) ( ontology:Q11060274 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P180 resource:Q16529344 . { { ?v rdf:type ontology:Q11060274 } UNION { ?v rdf:type ontology:Q18783400 } } } } . FILTER ( ?s = ?c ) }
goose
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity goose
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?t WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:genre_of_sculpture ) ( ontology:print ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:depicts resource:goose . { { ?v rdf:type ontology:print } UNION { ?v rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?s = ?c ) }
[]
name print genre of sculpture
SYSTEM
51
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q18783400),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q16529344
relation P180
type Q11060274
type Q18783400
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?t WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q18783400 ) ( ontology:Q11060274 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P180 resource:Q16529344 . { { ?v rdf:type ontology:Q11060274 } UNION { ?v rdf:type ontology:Q18783400 } } } } . FILTER ( ?s = ?c ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
51
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity goose
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?t WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:genre_of_sculpture ) ( ontology:print ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:depicts resource:goose . { { ?v rdf:type ontology:print } UNION { ?v rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?s = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1953597
P180
Q82799 Q11060274 Q18783400
USER
And also tell me about slug?
(c(Q11060274)|c(Q18783400),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q1953597
relation P180
type Q11060274
type Q18783400
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:Q18783400 ) ( ontology:Q11060274 ) } . ?j rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P180 resource:Q1953597 . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?b = ?a ) }
slug
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity slug
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:genre_of_sculpture ) ( ontology:print ) } . ?j rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:depicts resource:slug . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?b = ?a ) }
[]
name print genre of sculpture
SYSTEM
51
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q18783400),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q1953597
relation P180
type Q11060274
type Q18783400
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:Q18783400 ) ( ontology:Q11060274 ) } . ?j rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:P180 resource:Q1953597 . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:Q11060274 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?b = ?a ) }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
51
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity slug
relation depicts
type print
type genre of sculpture
[[{'concept': 'print'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?b ) WHERE { VALUES ( ?q ) { ( ontology:genre_of_sculpture ) ( ontology:print ) } . ?j rdf:type ?q } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { ?d property:depicts resource:slug . { ?d rdf:type ?x . VALUES ( ?x ) { ( ontology:print ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?b = ?a ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people have male and female as the sex ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?b WHERE { ?b property:P21 resource:Q6581097 . ?b property:P21 resource:Q6581072 . ?b rdf:type ontology:Q502895 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?b WHERE { ?b property:gender resource:male . ?b property:gender resource:female . ?b rdf:type ontology:common_name }
[]
common name
Q6258596 Q15433626 Q12966459 Q22570074 Q25748324 Q11379959 Q6555624 Q9544977 Q16165783 Q3764762
SYSTEM
Some of them are John Spaulding, Florence Randal Livesay, Kim Ju-yeong, Elisabeth Ullmann, K. T. Rama Rao, Kazue Itō, Hana Shezifi, Lilly Wachowski, America Sanchez, Shamshad Begum
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have male and female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?b WHERE { ?b property:P21 resource:Q6581097 . ?b property:P21 resource:Q6581072 . ?b rdf:type ontology:Q502895 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
John Spaulding, Florence Randal Livesay, Kim Ju-yeong, Elisabeth Ullmann, K. T. Rama Rao, Kazue Itō, Hana Shezifi, Lilly Wachowski, America Sanchez and Shamshad Begum have male and female as the sex
John Spaulding Florence Randal Livesay Kim Ju-yeong Elisabeth Ullmann K. T. Rama Rao Kazue Itō Hana Shezifi Lilly Wachowski America Sanchez Shamshad Begum
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?b WHERE { ?b property:gender resource:male . ?b property:gender resource:female . ?b rdf:type ontology:common_name }
[]