Simple Question (Direct)
Simple Question
Q6131605
P27
Q1048835
USER
Which political territory is the country of citizenship of James Comley ?
(Q6131605,P27,c(Q1048835))
action filter_type
action find
entity Q6131605
relation P27
type Q1048835
['Q6131605', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q6131605 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
James Comley
action filter_type
action find
entity James Comley
relation country of citizenship
type political territorial entity
['James Comley', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:James_Comley property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q13353
SYSTEM
Montserrat
Q13353
(Q6131605,P27,c(Q1048835))
action filter_type
action find
entity Q6131605
relation P27
type Q1048835
[ANSWER] is the country of citizenship of James Comley
['Q6131605', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q6131605 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Montserrat
Montserrat is the country of citizenship of James Comley
Montserrat
action filter_type
action find
entity James Comley
relation country of citizenship
type political territorial entity
['James Comley', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:James_Comley property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13353
P30
Q2221906
USER
Which geographic location is that political territory located in ?
(Q13353,P30,c(Q2221906))
action filter_type
action find
entity Q13353
relation P30
type Q2221906
['Q13353', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2221906 . resource:Q13353 property:P30 ?w }
Montserrat
action filter_type
action find
entity Montserrat
relation continent
type geographic location
['Montserrat', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_location . resource:Montserrat property:continent ?w }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q13353,P30,c(Q2221906))
action filter_type
action find
entity Q13353
relation P30
type Q2221906
That political territory is located in [ANSWER]
['Q13353', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2221906 . resource:Q13353 property:P30 ?w }
North America
That political territory is located in North America
North America
action filter_type
action find
entity Montserrat
relation continent
type geographic location
['Montserrat', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_location . resource:Montserrat property:continent ?w }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q432399 Q13353
P30
Q2221906
USER
Or Dysna River?
OR((Q13353,P30,c(Q2221906)), (Q432399,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q13353
relation P30
action find
entity Q432399
relation P30
type Q2221906
{'OR': [['Q13353', 'P30', {'concept': 'Q2221906'}], ['Q432399', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?f ) { ( resource:Q13353 ) ( resource:Q432399 ) } . ?f property:P30 ?m } . ?m rdf:type ontology:Q2221906 }
Dysna River Montserrat
action filter_type
action union
action find
entity Montserrat
relation continent
action find
entity Dysna River
relation continent
type geographic location
{'OR': [['Montserrat', 'continent', {'concept': 'geographic location'}], ['Dysna River', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?f ) { ( resource:Montserrat ) ( resource:Dysna_River ) } . ?f property:continent ?m } . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q49
SYSTEM
Europe, North America
Q46 Q49
OR((Q13353,P30,c(Q2221906)), (Q432399,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q13353
relation P30
action find
entity Q432399
relation P30
type Q2221906
[ANSWERS]
{'OR': [['Q13353', 'P30', {'concept': 'Q2221906'}], ['Q432399', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?f ) { ( resource:Q13353 ) ( resource:Q432399 ) } . ?f property:P30 ?m } . ?m rdf:type ontology:Q2221906 }
Europe North America
Europe North America
action filter_type
action union
action find
entity Montserrat
relation continent
action find
entity Dysna River
relation continent
type geographic location
{'OR': [['Montserrat', 'continent', {'concept': 'geographic location'}], ['Dysna River', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?f ) { ( resource:Montserrat ) ( resource:Dysna_River ) } . ?f property:continent ?m } . ?m rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q41176 Q811430 Q2221906
USER
Which geographic locations are a component of max number of buildings or constructions ?
(c(Q2221906),P361,c(Q41176)|c(Q811430))
action argmax
action union
action find_tuple_counts
relation P361
type Q2221906
type Q41176
action find_tuple_counts
relation P361
type Q2221906
type Q811430
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q41176'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?l WHERE { { ?l property:P361 ?w . ?w rdf:type ontology:Q41176 . ?l rdf:type ontology:Q2221906 } UNION { ?l property:P361 ?w . ?l rdf:type ontology:Q2221906 . ?w rdf:type ontology:Q811430 } } GROUP BY ?l } . FILTER ( ?f = ?t ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?k WHERE { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:Q41176 ) ( ontology:Q811430 ) } } GROUP BY ?k } } }
action argmax
action union
action find_tuple_counts
relation part of
type geographic location
type building
action find_tuple_counts
relation part of
type geographic location
type construction
[{'concept': 'geographic location'}, 'part of', [{'concept': 'building'}, {'concept': 'construction'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?l WHERE { { ?l property:part_of ?w . ?w rdf:type ontology:building . ?l rdf:type ontology:geographic_location } UNION { ?l property:part_of ?w . ?l rdf:type ontology:geographic_location . ?w rdf:type ontology:construction } } GROUP BY ?l } . FILTER ( ?f = ?t ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?k WHERE { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:building ) ( ontology:construction ) } } GROUP BY ?k } } }
[]
building construction geographic location
Q10480343 Q81851 Q914711
SYSTEM
Ehrenstrahlsalongen, bastion, transmission tower
Q10480343 Q81851 Q914711
(c(Q2221906),P361,c(Q41176)|c(Q811430))
action argmax
action union
action find_tuple_counts
relation P361
type Q2221906
type Q41176
action find_tuple_counts
relation P361
type Q2221906
type Q811430
[ANSWERS] are a component of max number of buildings or constructions
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q41176'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?l WHERE { { ?l property:P361 ?w . ?w rdf:type ontology:Q41176 . ?l rdf:type ontology:Q2221906 } UNION { ?l property:P361 ?w . ?l rdf:type ontology:Q2221906 . ?w rdf:type ontology:Q811430 } } GROUP BY ?l } . FILTER ( ?f = ?t ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?k WHERE { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:Q41176 ) ( ontology:Q811430 ) } } GROUP BY ?k } } }
Ehrenstrahlsalongen bastion transmission tower
Ehrenstrahlsalongen, bastion and transmission tower are a component of max number of buildings or constructions
Ehrenstrahlsalongen bastion transmission tower
action argmax
action union
action find_tuple_counts
relation part of
type geographic location
type building
action find_tuple_counts
relation part of
type geographic location
type construction
[{'concept': 'geographic location'}, 'part of', [{'concept': 'building'}, {'concept': 'construction'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?l WHERE { { ?l property:part_of ?w . ?w rdf:type ontology:building . ?l rdf:type ontology:geographic_location } UNION { ?l property:part_of ?w . ?l rdf:type ontology:geographic_location . ?w rdf:type ontology:construction } } GROUP BY ?l } . FILTER ( ?f = ?t ) . { SELECT DISTINCT ( MAX ( ?j ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) ?k WHERE { ?o rdf:type ?z . VALUES ( ?z ) { ( ontology:building ) ( ontology:construction ) } } GROUP BY ?k } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P366
Q2221906 Q811979 Q18142
USER
Which geographic locations are considered to be the main utilization of more number of architectural structures and tower blocks than that geographic location ?
(c(Q811979)|c(Q18142),P366,c(Q2221906))
[[{'concept': 'Q811979'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q2221906 . ?x rdf:type ontology:Q18142 }
[[{'concept': 'architectural structure'}, {'concept': 'tower block'}], 'use', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:geographic_location . ?x rdf:type ontology:tower_block }
[]
geographic location architectural structure tower block
Comparative|More/Less|Mult. entity type|Clarification
Q81851
SYSTEM
Did you mean bastion ?
(c(Q811979)|c(Q18142),P366,c(Q2221906))
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q2221906 . ?x rdf:type ontology:Q18142 }
Did you mean bastion ?
bastion
[[{'concept': 'architectural structure'}, {'concept': 'tower block'}], 'use', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:geographic_location . ?x rdf:type ontology:tower_block }
[]
Comparative Reasoning (All)
USER
No, I meant transmission tower. Could you tell me the answer for that?
(c(Q811979)|c(Q18142),P366,c(Q2221906))
Q914711
[[{'concept': 'Q811979'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q2221906'}]
[[{'concept': 'architectural structure'}, {'concept': 'tower block'}], 'use', {'concept': 'geographic location'}]
[]
Q6501349 Q40357 Q188040
SYSTEM
parking lot, prison, quarry
Q40357 Q188040 Q6501349 Q177305
(c(Q811979)|c(Q18142),P366,c(Q2221906))
[ANSWERS] are considered to be the main utilization of more number of architectural structures and tower blocks than that geographic location
[[{'concept': 'Q811979'}, {'concept': 'Q18142'}], 'P366', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q21263333 ?y } UNION { ?x property:Q21263333 ?y } } . ?z rdf:type ontology:Q811979 . ?y rdf:type ontology:Q2221906 . ?x rdf:type ontology:Q18142 }
prison quarry parking lot Observation deck
Parking lot, prison and quarry are considered to be the main utilization of more number of architectural structures and tower blocks than that geographic location
parking lot prison quarry
[[{'concept': 'architectural structure'}, {'concept': 'tower block'}], 'use', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { { ?z property:use ?y } UNION { ?x property:use ?y } } . ?z rdf:type ontology:architectural_structure . ?y rdf:type ontology:geographic_location . ?x rdf:type ontology:tower_block }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q26825001
P706
Q2221906 Q811979
USER
Which architectural structures have their location as greater number of geographic locations than Låven island ?
(c(Q811979),P706,c(Q2221906))
action greater
action find_tuple_counts
relation P706
type Q811979
type Q2221906
action count
action filter_type
action find
entity Q26825001
relation P706
type Q811979
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:Q2221906 . ?m rdf:type ontology:Q811979 . ?m property:P706 ?r } GROUP BY ?m } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:Q811979 . resource:Q26825001 property:P706 ?h } } }
Låven island
action greater
action find_tuple_counts
relation located on terrain feature
type architectural structure
type geographic location
action count
action filter_type
action find
entity Låven island
relation located on terrain feature
type architectural structure
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:geographic_location . ?m rdf:type ontology:architectural_structure . ?m property:located_on_terrain_feature ?r } GROUP BY ?m } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:architectural_structure . resource:Låven_island property:located_on_terrain_feature ?h } } }
[]
geographic location architectural structure
Q626914 Q22683639 Q5522681
SYSTEM
Sky Blu, Bordeaux-Cadillac railway station, Gare de Bordeaux État
Q626914 Q22683639 Q5522681
(c(Q811979),P706,c(Q2221906))
action greater
action find_tuple_counts
relation P706
type Q811979
type Q2221906
action count
action filter_type
action find
entity Q26825001
relation P706
type Q811979
[ANSWERS] have their location as greater number of geographic locations than Låven island
[{'concept': 'Q811979'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:Q2221906 . ?m rdf:type ontology:Q811979 . ?m property:P706 ?r } GROUP BY ?m } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:Q811979 . resource:Q26825001 property:P706 ?h } } }
Sky Blu Bordeaux-Cadillac railway station Gare de Bordeaux État
Sky Blu, Bordeaux-Cadillac railway station and Gare de Bordeaux État have their location as greater number of geographic locations than Låven island
Sky Blu Bordeaux-Cadillac railway station Gare de Bordeaux État
action greater
action find_tuple_counts
relation located on terrain feature
type architectural structure
type geographic location
action count
action filter_type
action find
entity Låven island
relation located on terrain feature
type architectural structure
[{'concept': 'architectural structure'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?x ) WHERE { ?r rdf:type ontology:geographic_location . ?m rdf:type ontology:architectural_structure . ?m property:located_on_terrain_feature ?r } GROUP BY ?m } . FILTER ( ?x > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h rdf:type ontology:architectural_structure . resource:Låven_island property:located_on_terrain_feature ?h } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1791306
P21
Q290
USER
Which sex does José da Costa Carvalho belong to ?
(Q1791306,P21,c(Q290))
action filter_type
action find
entity Q1791306
relation P21
type Q290
['Q1791306', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q1791306 property:P21 ?e }
José da Costa Carvalho
action filter_type
action find
entity José da Costa Carvalho
relation gender
type sex
['José da Costa Carvalho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:José_da_Costa_Carvalho property:gender ?e }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1791306,P21,c(Q290))
action filter_type
action find
entity Q1791306
relation P21
type Q290
José da Costa Carvalho belongs to [ANSWER]
['Q1791306', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . resource:Q1791306 property:P21 ?e }
male
José da Costa Carvalho belongs to male
male
action filter_type
action find
entity José da Costa Carvalho
relation gender
type sex
['José da Costa Carvalho', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . resource:José_da_Costa_Carvalho property:gender ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10480343
P170
Q502895
USER
Who is credited with the creation of Ehrenstrahlsalongen ?
(Q10480343,P170,c(Q502895))
action filter_type
action find
entity Q10480343
relation P170
type Q502895
['Q10480343', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q10480343 property:P170 ?x . ?x rdf:type ontology:Q502895 }
Ehrenstrahlsalongen
action filter_type
action find
entity Ehrenstrahlsalongen
relation creator
type common name
['Ehrenstrahlsalongen', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ehrenstrahlsalongen property:creator ?x . ?x rdf:type ontology:common_name }
[]
common name
Q902649
SYSTEM
David Klöcker Ehrenstrahl
Q902649
(Q10480343,P170,c(Q502895))
action filter_type
action find
entity Q10480343
relation P170
type Q502895
[ANSWER] is credited with the creation of Ehrenstrahlsalongen
['Q10480343', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q10480343 property:P170 ?x . ?x rdf:type ontology:Q502895 }
David Klöcker Ehrenstrahl
David Klöcker Ehrenstrahl is credited with the creation of Ehrenstrahlsalongen
David Klöcker Ehrenstrahl
action filter_type
action find
entity Ehrenstrahlsalongen
relation creator
type common name
['Ehrenstrahlsalongen', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ehrenstrahlsalongen property:creator ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10480343
P17
Q15617994
USER
Which administrative territory is that geographic location located in ?
(Q902649,P17,c(Q15617994))
action filter_type
action find
entity Q10480343
relation P17
type Q15617994
['Q902649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q10480343 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Ehrenstrahlsalongen
action filter_type
action find
entity Ehrenstrahlsalongen
relation country
type designation for an administrative territorial entity
['David Klöcker Ehrenstrahl', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ehrenstrahlsalongen property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q902649,P17,c(Q15617994))
action filter_type
action find
entity Q10480343
relation P17
type Q15617994
That geographic location is located in [ANSWER]
['Q902649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q10480343 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Sweden
That geographic location is located in Sweden
Sweden
action filter_type
action find
entity Ehrenstrahlsalongen
relation country
type designation for an administrative territorial entity
['David Klöcker Ehrenstrahl', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ehrenstrahlsalongen property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q34 Q3145207
P937
Q502895
USER
How many people have Sweden or Hôpital Saint-Antoine as their work location ?
(c(Q502895),P937,Q34) (c(Q502895),P937,Q3145207)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P937
type Q502895
action filter_type
action find_reverse
entity Q3145207
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q34'] [{'concept': 'Q502895'}, 'P937', 'Q3145207']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:P937 resource:Q34 . ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q3145207 } }
Sweden Hôpital Saint-Antoine
action count
action union
action filter_type
action find_reverse
entity Sweden
relation work location
type common name
action filter_type
action find_reverse
entity Hôpital Saint-Antoine
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Sweden'] [{'concept': 'common name'}, 'work location', 'Hôpital Saint-Antoine']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:work_location resource:Sweden . ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:common_name . ?x property:work_location resource:Hôpital_Saint-Antoine } }
[]
common name
SYSTEM
3
Q39658 Q3218964 Q21338642
(c(Q502895),P937,Q34) (c(Q502895),P937,Q3145207)
action count
action union
action filter_type
action find_reverse
entity Q34
relation P937
type Q502895
action filter_type
action find_reverse
entity Q3145207
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q34'] [{'concept': 'Q502895'}, 'P937', 'Q3145207']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:P937 resource:Q34 . ?x rdf:type ontology:Q502895 } UNION { ?x rdf:type ontology:Q502895 . ?x property:P937 resource:Q3145207 } }
Carl Peter Thunberg Laurens de Geer Yves-Jean Golvan
3
action count
action union
action filter_type
action find_reverse
entity Sweden
relation work location
type common name
action filter_type
action find_reverse
entity Hôpital Saint-Antoine
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Sweden'] [{'concept': 'common name'}, 'work location', 'Hôpital Saint-Antoine']
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { ?x property:work_location resource:Sweden . ?x rdf:type ontology:common_name } UNION { ?x rdf:type ontology:common_name . ?x property:work_location resource:Hôpital_Saint-Antoine } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P669
Q811979 Q22698 Q699405
USER
Which architectural structures are min number of parks and dwellings located ?
(c(Q22698)|c(Q699405),P669,c(Q811979))
action argmin
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q22698
action find_reverse_tuple_counts
relation P669
type Q811979
type Q699405
[[{'concept': 'Q22698'}, {'concept': 'Q699405'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?w WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q22698 ) ( ontology:Q699405 ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?u WHERE { { ?g property:P669 ?u . ?u rdf:type ontology:Q811979 . ?g rdf:type ontology:Q699405 } UNION { ?g property:P669 ?u . ?u rdf:type ontology:Q811979 . ?g rdf:type ontology:Q22698 } } GROUP BY ?u } . FILTER ( ?j = ?v ) }
action argmin
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type park
action find_reverse_tuple_counts
relation located on street
type architectural structure
type dwelling
[[{'concept': 'park'}, {'concept': 'dwelling'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?w WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:park ) ( ontology:dwelling ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?u WHERE { { ?g property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?g rdf:type ontology:dwelling } UNION { ?g property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?g rdf:type ontology:park } } GROUP BY ?u } . FILTER ( ?j = ?v ) }
[]
architectural structure park dwelling
Q189503 Q1573359 Q390243
SYSTEM
place de la Concorde, place de la Nation, place Charles-de-Gaulle
Q3389781 Q3389771 Q1019208 Q3389867 Q3390360 Q7203716 Q1201111 Q2071624 Q3390406 Q3390656 Q2187982 Q2067174 Q27325650 Q3390652 Q19901143 Q5482884 Q3390561 Q3390566 Q3390086 Q17347170 Q7666566 Q7126262 Q1068262 Q16510200 Q217527 Q3390009 Q3390164 Q15971535 Q3389787 Q3390248 Q15971536 Q19260477 Q3390247 Q3389893 Q3389863 Q1368319 Q1070882 Q3389716 Q11819038 Q6811395 Q1573359 Q743548 Q870767 Q3365803 Q10669740 Q3390657 Q5160826 Q3390524 Q847613 Q15629976 Q3389976 Q26833863 Q3881523 Q16510199 Q18638628 Q14629278 Q3390556 Q3390091 Q3390090 Q2550495 Q51108 Q3390094 Q2380167 Q3390099 Q27186278 Q3390157 Q3902429 Q16510203 Q3389708 Q14629250 Q390243 Q3390492 Q12012935 Q3390390 Q3389700 Q3390392 Q3390393 Q3390082 Q1759903 Q3390391 Q19407180 Q1959174 Q129143 Q2735858 Q3389961 Q3390686 Q3389963 Q3389962 Q11959872 Q2915521 Q3389966 Q3390541 Q3390418 Q3390370 Q27330020 Q12043370 Q3390149 Q1750652 Q3390729 Q314156 Q3390637 Q15632502 Q1531008 Q3390225 Q2365348 Q3649486 Q16510119 Q1325692 Q24037808 Q5765413 Q3390380 Q3390229 Q12803454 Q14493973 Q3390013 Q3389793 Q24757167 Q3389946 Q3390487 Q3390435 Q3389916 Q3389917 Q3390106 Q3390430 Q3390534 Q3390537 Q1409805 Q3058440 Q892745 Q5016732 Q2052678 Q5055036 Q3390608 Q1656091 Q3649219 Q1936696 Q3389805 Q20799689 Q3390236 Q3389947 Q20796729 Q3390730 Q19670484 Q1017385 Q3389766 Q3390162 Q2099124 Q22956385 Q421678 Q15992418 Q3389878 Q16510156 Q3390141 Q152783 Q500529 Q2032089 Q829294 Q3389828 Q16510186 Q3389904 Q3389903 Q3390330 Q2056775 Q3389821 Q10539292 Q1325713 Q3389826 Q16957223 Q27330007 Q3390599 Q3390613 Q3390421 Q3390444 Q3390617 Q1014325 Q2705335 Q2894411 Q24536371 Q10436362 Q16510109 Q4775954 Q701662 Q3390041 Q885408 Q3390123 Q848912 Q7332366 Q3389990 Q3390049 Q17347173 Q1541068 Q20792932 Q16620193 Q3389858 Q643520 Q3390691 Q2748428 Q3362818 Q3389853 Q10548447 Q15715962 Q16670291 Q3390511 Q1810430 Q1506 Q16912462 Q3389831 Q3389837 Q6747523 Q3390544 Q3390598 Q3390667 Q3389840 Q3390593 Q3390596 Q3390210 Q2378453 Q3390057 Q19693351 Q3389747 Q3390054 Q1362670 Q2146085 Q2783781 Q3390699 Q2577891 Q189503 Q683180 Q3389993 Q25467425 Q3390694 Q1957616 Q1422975 Q805259 Q4685881 Q5086152 Q3390503 Q778784 Q3390181 Q20653360 Q3390344 Q1535 Q1811570 Q1810764 Q3390275 Q3390461 Q3390063 Q12323100 Q24493632 Q3390115 Q3390679 Q27325853 Q27325690 Q3390103 Q2736153 Q21777213 Q1428517 Q2406314 Q1721717 Q3389979 Q2402940 Q2097879 Q3390064 Q3389736 Q3389832 Q3389738 Q3048023 Q3902479 Q614 Q1411047 Q863759 Q3390648 Q24481510 Q7849515 Q3389814 Q3390375 Q3390470 Q2493255 Q3783111 Q840577 Q27325663 Q1006268 Q839050 Q3389676 Q3390574 Q3434140 Q970525 Q602107 Q3390077 Q3390076 Q2660380 Q827673 Q801700 Q1966521 Q1753950 Q3390310 Q3390728 Q3390578 Q1579642 Q699504 Q516873 Q12340524 Q3090480 Q1469337 Q1375505 Q16152081 Q5649425 Q3389696 Q3389720 Q426064 Q3390738 Q15651225 Q700753 Q319779 Q16510149 Q127212 Q1368556 Q2635425
(c(Q22698)|c(Q699405),P669,c(Q811979))
action argmin
action union
action find_reverse_tuple_counts
relation P669
type Q811979
type Q22698
action find_reverse_tuple_counts
relation P669
type Q811979
type Q699405
[ANSWERS] are min number of parks and dwellings located
[[{'concept': 'Q22698'}, {'concept': 'Q699405'}], 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?w WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q22698 ) ( ontology:Q699405 ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?u WHERE { { ?g property:P669 ?u . ?u rdf:type ontology:Q811979 . ?g rdf:type ontology:Q699405 } UNION { ?g property:P669 ?u . ?u rdf:type ontology:Q811979 . ?g rdf:type ontology:Q22698 } } GROUP BY ?u } . FILTER ( ?j = ?v ) }
place Dalida place Constantin-Pecqueur Malostranské náměstí place Jacques-Bainville place de la Fontaine-aux-Lions Plaza del Potro place Saint-Michel Piazza Cordusio place de la Reine-Astrid place du Palais-Bourbon Oudekerksplein plaça del Rei Münzplatz place du Maréchal-de-Lattre-de-Tassigny place des Cordeliers plaza de las Cortes place du 25-Août-1944 place du Bataillon-du-Pacifique place Saint-Ferdinand place de Jacksonville Søren Kierkegaards Plads plaza de San Clemente Carlton House Terrace place du Théâtre Piazza San Marco place Nationale place Victor-et-Hélène-Basch place Clemenceau place Delorme place de Mexico place François-Ier Plaça Major (Montblanc) place de Jaude Place Jean-Paul Riopelle place Hubert-Monmarché Esplanadi Place Flagey place Baudoyer plac Frankfurcki St. Augustine's Square place de la Nation place du Vieux-Marché Place Saint-Lambert Sankt Annæ Plads Skanstorget place du Palais-Royal Congress Square place des Martyrs-Juifs-du-Vélodrome-d'Hiver Wenceslas Square Berliner Platz place Martin-Nadaud plaza de Cuzco Old Palace Yard place Henri-Dunant Praça dos Trabalhadores place de Narvik place des États-Unis place Saint-Gervais place Saint-Georges Washingtonplatz piazza del Duomo place Saint-Germain-des-Prés place Paul-Verlaine place Saint-Louis plaza de los Carros place Vauban piazza Bocca della Verità place Monseigneur-Ruch place Armand-Carrel place Denys-Cochin place Charles-de-Gaulle place des Capucines Jonas Daniël Meijerplein place de la Petite-Hollande place André-Malraux place de la Porte-d'Auteuil place de la Porte-de-Bagnolet Saint-Epvre square place du Trocadéro-et-du-11-Novembre place de la Porte-Molitor place du Cardinal-Luçon Münsterplatz Trafalgar Square place Saint-Sulpice place Marc-Elder place du Pont-Neuf place Marcel-Aymé place Marcel-Achard Axeltorv Nathan Phillips Square place Marcelin-Berthelot place des Ternes place de la République place de la Libération Grossmünsterplatz Ovocný trh place Tristan-Bernard Norrmalmstorg place Édith-Piaf Ernst-Reuter-Platz place du Louvre Franz-Xaver-Trips-Platz plaza del Dos de Mayo place de Breteuil Place du 11-Novembre-1918 Cadogan Square place Amédée-Larrieu Place d'Armes Heimplatz Victoria Square Place de la Monnaie place de Colombie Old Square Gemeindehausplatz place Olympe-de-Gouges place Edmond-Rostand Marienplatz place Louis-Lépine place des Abbesses place de la République place Jules-Joffrin place Jules-Renard place Saint-Pierre place de la République Place des Palais/Paleizenplein place des Petits-Pères Leidseplein esplanade Charles-de-Gaulle Markt Town Square Frederiksplein Cavendish Square place du Guatemala Platz der Vereinten Nationen Cabot Square Tavistock Square place Ferdinand-Brunot place Saint-Martin place de Fontenoy place Léon-Blum place de la Liberté place Édouard-VII Place des Nations Piazza Santa Croce place Colette place Victor-Hugo Plaza San Martín Alexandrinenplatz Old Town Square place de Bretagne place Jean-Baptiste-Clément place Notre-Dame place Theodor-Herzl Alexanderplatz St. James's Square Sloane Square Schloßplatz place Gambetta place Napoléon place Joffre place Johann-Strauss place de l'Église-d'Auteuil Paternoster Square place Gaillon Jakobs torg Place Jacques-Cartier place Félix-Éboué Senovážné náměstí Hechtplatz place du Docteur-Alfred-Fournier place du Général-Catroux place de la République place de la Réunion place du Général-Kœnig Canada Square Soho Square Belgrave Square Amtsgerichtsplatz Brunkebergstorg place Aristide-Briand Anton Pieck Square Stephansplatz place Pey-Berland Bloomsbury Square place Salvador-Allende Leicester Square Riddarhustorget place Meissonier place Prosper-Goubaux place Guillaume-le-Conquérant largo di Torre Argentina place de la Résistance plaza de Cánovas del Castillo place Henri-Mondor place Vendôme place du Québec College Green Birger Jarls torg place Henri-Krasucki Krafts torg Rathausplatz Emir Abdelkader square place des Fêtes place Dauphine place des Terreaux place de la Mairie place Georges-Guillaumin place Goldoni Manchester Square place des Pyramides place du Colonel-Fabien place du Panthéon place Graslin place du Commerce place du Commerce place d'Iéna place Lucien-Herr place Rhin-et-Danube Theaterplatz place Charles-Dullin place René-Cassin place des Victoires Mechelseplein Piazza San Babila place du Venezuela place de la Bataille-de-Stalingrad place de la Concorde Muntplein place Michel-Debré Városház Square (Székesfehérvár) place du Sanitat Mårtenstorget place du Châtelet Ballhausplatz Mr. Visserplein Charlotte Square place des Deux-Écus place de la Bastille place Wilson Gough Square place de la Bourse place Antonin-Poncet Haarlemmerplein place de Clichy place de Varsovie place de la Sorbonne place Rochambeau Kultorvet San Francisco Square place Saint-Thomas-d’Aquin place du Président-Mithouard Predigerplatz Zähringerplatz place Saint-Michel Lincoln's Inn Fields Ludwigkirchplatz place d'Armes Tessinerplatz Kaiserplatz place Maréchal-Foch place Saint-Pierre place Denfert-Rochereau place Rodin place Camille-Jullian place Georges-Mulot Cardinal Mercier square Stortorget Piazzale Cadorna place Bellecour Náměstí Republiky Maidan Nezalezhnosti place du Maréchal-Juin Santa Bárbara Square Münsterhof place Fréhel place de la Madeleine place de la Cathédrale Public Square Hanover Square Statue Square St. Peterhofstatt Bundeskanzlerplatz Dam Square place Adolphe-Chérioux place du Canada Gammel Strand plaza de Colón place Pigalle place Saint-Blaise place Saint-Augustin Rijswijkseplein Bertha-von-Suttner-Platz Bahnhofplatz place d'Italie place Kléber place de l'Odéon place Édouard-Renard place du Capitole de Toulouse Rembrandtplein Bebelplatz Agincourt Square Vandkunsten Bolívar Square place de l'Hôtel-de-Ville - Esplanade de la Libération Europaplatz Agias Sofias Square Hanover Square, Manhattan place Alphonse-Laveran place Beauvau place Stanislas place Émile-Goudeau Platz der Deutschen Post Karlsplatz Platz der Luftbrücke place Hardy-de-Lévaré Berkeley Square Parliament Square Victory Square
Place de la Concorde, place de la Nation and place Charles-de-Gaulle are min number of parks and dwellings located
place de la Concorde place de la Nation place Charles-de-Gaulle
action argmin
action union
action find_reverse_tuple_counts
relation located on street
type architectural structure
type park
action find_reverse_tuple_counts
relation located on street
type architectural structure
type dwelling
[[{'concept': 'park'}, {'concept': 'dwelling'}], 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) ?w WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:park ) ( ontology:dwelling ) } } GROUP BY ?w } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?u WHERE { { ?g property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?g rdf:type ontology:dwelling } UNION { ?g property:located_on_street ?u . ?u rdf:type ontology:architectural_structure . ?g rdf:type ontology:park } } GROUP BY ?u } . FILTER ( ?j = ?v ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q390243
P138
Q502895
USER
Which person is the etymology of that architectural structure ?
(Q390243,P138,c(Q502895))
action filter_type
action find
entity Q390243
relation P138
type Q502895
['Q390243', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q390243 property:P138 ?b . ?b rdf:type ontology:Q502895 }
place Charles-de-Gaulle
action filter_type
action find
entity place Charles-de-Gaulle
relation named after
type common name
['place Charles-de-Gaulle', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:place_Charles-de-Gaulle property:named_after ?b . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q189503
SYSTEM
Did you mean place de la Concorde ?
Q189503 Q1573359 Q390243
(Q189503,P138,c(Q502895)) (Q1573359,P138,c(Q502895)) (Q390243,P138,c(Q502895))
[ANSWER]
['Q189503', 'P138', {'concept': 'Q502895'}] ['Q1573359', 'P138', {'concept': 'Q502895'}] ['Q390243', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q390243 property:P138 ?b . ?b rdf:type ontology:Q502895 }
place de la Concorde place de la Nation place Charles-de-Gaulle
Did you mean place de la Concorde ?
place de la Concorde
['place de la Concorde', 'named after', {'concept': 'common name'}] ['place de la Nation', 'named after', {'concept': 'common name'}] ['place Charles-de-Gaulle', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:place_Charles-de-Gaulle property:named_after ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant place Charles-de-Gaulle. Could you tell me the answer for that?
(Q390243,P138,c(Q502895))
Q390243
['Q390243', 'P138', {'concept': 'Q502895'}]
['place Charles-de-Gaulle', 'named after', {'concept': 'common name'}]
[]
Q2042
SYSTEM
Charles de Gaulle
Q2042
(Q390243,P138,c(Q502895))
action filter_type
action find
entity Q390243
relation P138
type Q502895
[ANSWER] is the etymology of that architectural structure
['Q390243', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q390243 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Charles de Gaulle
Charles de Gaulle is the etymology of that architectural structure
Charles de Gaulle
action filter_type
action find
entity place Charles-de-Gaulle
relation named after
type common name
['place Charles-de-Gaulle', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:place_Charles-de-Gaulle property:named_after ?b . ?b rdf:type ontology:common_name }
[]