Simple Question (Direct)
Simple Question
Q1777494
P937
Q56061
USER
What is the location where Markus Berger worked ?
(Q1777494,P937,c(Q56061))
action filter_type
action find
entity Q1777494
relation P937
type Q56061
['Q1777494', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1777494 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Markus Berger
action filter_type
action find
entity Markus Berger
relation work location
type administrative territorial entity
['Markus Berger', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Markus_Berger property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q1777494,P937,c(Q56061))
action filter_type
action find
entity Q1777494
relation P937
type Q56061
The location Markus Berger worked is in [ANSWER]
['Q1777494', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q1777494 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Bonn
The location Markus Berger worked is in Bonn
Bonn
action filter_type
action find
entity Markus Berger
relation work location
type administrative territorial entity
['Markus Berger', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Markus_Berger property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1777494
P102
Q7278
USER
Which political party is that person a member of ?
(Q586,P102,c(Q7278))
action filter_type
action find
entity Q1777494
relation P102
type Q7278
['Q586', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q1777494 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Markus Berger
action filter_type
action find
entity Markus Berger
relation member of political party
type political party
['Bonn', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Markus_Berger property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q586,P102,c(Q7278))
action filter_type
action find
entity Q1777494
relation P102
type Q7278
[ANSWER] is that person a member of
['Q586', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?c WHERE { resource:Q1777494 property:P102 ?c . ?c rdf:type ontology:Q7278 }
Christian Democratic Union
Christian Democratic Union is that person a member of
Christian Democratic Union
action filter_type
action find
entity Markus Berger
relation member of political party
type political party
['Bonn', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?c WHERE { resource:Markus_Berger property:member_of_political_party ?c . ?c rdf:type ontology:political_party }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q49762 Q783401
P361
Q12737077
USER
How many occupations are a component of Christian Democratic Union or House of Representatives ?
(c(Q12737077),P361,Q49762) (c(Q12737077),P361,Q783401)
action count
action union
action filter_type
action find_reverse
entity Q49762
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q783401
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q49762'] [{'concept': 'Q12737077'}, 'P361', 'Q783401']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Q49762 ) ( resource:Q783401 ) } . ?e property:P361 ?y }
Christian Democratic Union House of Representatives
action count
action union
action filter_type
action find_reverse
entity Christian Democratic Union
relation part of
type occupation
action filter_type
action find_reverse
entity House of Representatives
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Christian Democratic Union'] [{'concept': 'occupation'}, 'part of', 'House of Representatives']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Christian_Democratic_Union ) ( resource:House_of_Representatives ) } . ?e property:part_of ?y }
[]
occupation
SYSTEM
2
Q18912794 Q7574256
(c(Q12737077),P361,Q49762) (c(Q12737077),P361,Q783401)
action count
action union
action filter_type
action find_reverse
entity Q49762
relation P361
type Q12737077
action filter_type
action find_reverse
entity Q783401
relation P361
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P361', 'Q49762'] [{'concept': 'Q12737077'}, 'P361', 'Q783401']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Q49762 ) ( resource:Q783401 ) } . ?e property:P361 ?y }
Member of the Australian House of Representatives Speaker of the House of Representatives
2
action count
action union
action filter_type
action find_reverse
entity Christian Democratic Union
relation part of
type occupation
action filter_type
action find_reverse
entity House of Representatives
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Christian Democratic Union'] [{'concept': 'occupation'}, 'part of', 'House of Representatives']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?y ) { ( resource:Christian_Democratic_Union ) ( resource:House_of_Representatives ) } . ?e property:part_of ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1639135 Q1777494
P47 P27
Q1048835
USER
Which political territories do Markus Berger belong to or share the border with Aldehuela de Liestos ?
OR((Q1777494,P27,c(Q1048835)), (Q1639135,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1777494
relation P27
action find
entity Q1639135
relation P47
type Q1048835
{'OR': [['Q1777494', 'P27', {'concept': 'Q1048835'}], ['Q1639135', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1777494 property:P27 ?n } UNION { resource:Q1639135 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Aldehuela de Liestos Markus Berger
action filter_type
action union
action find
entity Markus Berger
relation country of citizenship
action find
entity Aldehuela de Liestos
relation shares border with
type political territorial entity
{'OR': [['Markus Berger', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aldehuela de Liestos', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Markus_Berger property:country_of_citizenship ?n } UNION { resource:Aldehuela_de_Liestos property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1650672 Q617125 Q1639425 Q1645485 Q183
SYSTEM
Cimballa, Cubel, Torralba de los Frailes, Abanto, Germany
Q1650672 Q617125 Q1639425 Q1645485 Q183
OR((Q1777494,P27,c(Q1048835)), (Q1639135,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1777494
relation P27
action find
entity Q1639135
relation P47
type Q1048835
Markus Berger belong to the [ANSWERS]
{'OR': [['Q1777494', 'P27', {'concept': 'Q1048835'}], ['Q1639135', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1777494 property:P27 ?n } UNION { resource:Q1639135 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Cimballa Cubel Torralba de los Frailes Abanto Germany
Markus Berger belong to the Cimballa, Cubel, Torralba de los Frailes, Abanto and Germany
Cimballa Cubel Torralba de los Frailes Abanto Germany
action filter_type
action union
action find
entity Markus Berger
relation country of citizenship
action find
entity Aldehuela de Liestos
relation shares border with
type political territorial entity
{'OR': [['Markus Berger', 'country of citizenship', {'concept': 'political territorial entity'}], ['Aldehuela de Liestos', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Markus_Berger property:country_of_citizenship ?n } UNION { resource:Aldehuela_de_Liestos property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q22348500 Q878123
USER
How many political territories do more number of cycling race classes or racings start than that political territory ?
(c(Q22348500)|c(Q878123),P1427,c(Q1048835))
[[{'concept': 'Q22348500'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1427 ?y } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q878123 }
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:start_point ?y } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:racing }
[]
political territorial entity cycling race class defined by the International Cycling Union racing
Comparative|Count over More/Less|Mult. entity type|Clarification
Q617125
SYSTEM
Did you mean Cubel ?
(c(Q22348500)|c(Q878123),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q22348500'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1427 ?y } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q878123 }
Did you mean Cubel ?
Cubel
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:start_point ?y } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:racing }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q22348500)|c(Q878123),P1427,c(Q1048835))
Q183
[[{'concept': 'Q22348500'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
[]
SYSTEM
38
Q1556707 Q937763 Q1628353 Q301437 Q1628379 Q536682 Q1765676 Q1442183 Q1766072 Q642046 Q1625868 Q956524 Q488555 Q1375842 Q739495 Q832991 Q474080 Q15486 Q499184 Q1629539 Q1621191 Q668016 Q490638 Q12540 Q77433 Q601112 Q1374736 Q533277 Q743741 Q484552 Q636467 Q648921 Q564773 Q13614 Q639412 Q825883 Q1771143 Q987453
(c(Q22348500)|c(Q878123),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q22348500'}, {'concept': 'Q878123'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q22348500 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q878123 }
Vila Nova de Cacela Graus Sasamón Priego de Córdoba Mairena del Alcor Belorado Torredelcampo Sober Santo Domingo de Silos Calahorra Alcañices Maella Baeza Ortigueira Vilanova de Arousa Sóller Amorebieta-Etxano Bagà Roquetas de Mar Salvaterra de Miño A Estrada Iurreta Almendralejo Calella Leganés Pollença Lalín Almonaster la Real Felanitx Algeciras Benicàssim Etxebarria Alhendín Banyoles Tarazona Valls Carboneras de Guadazaón San Javier
38
[[{'concept': 'cycling race class defined by the International Cycling Union'}, {'concept': 'racing'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:racing }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q15324 Q56061 Q1048835
USER
How many political territories are located in approximately 1 bodies of water and administrative territories ?
(c(Q1048835),P706,c(Q15324)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q56061
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:Q15324 ) ( ontology:Q56061 ) } . ?d rdf:type ?o } GROUP BY ?f } }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:body_of_water ) ( ontology:administrative_territorial_entity ) } . ?d rdf:type ?o } GROUP BY ?f } }
[]
body of water administrative territorial entity political territorial entity
SYSTEM
3
Q1747689 Q9676 Q168159
(c(Q1048835),P706,c(Q15324)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q56061
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:Q15324 ) ( ontology:Q56061 ) } . ?d rdf:type ?o } GROUP BY ?f } }
Ancient Rome Isle of Man Anglesey
3
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { FILTER ( ?k = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?d ) AS ?k ) WHERE { VALUES ( ?o ) { ( ontology:body_of_water ) ( ontology:administrative_territorial_entity ) } . ?d rdf:type ?o } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8593
P706
Q56061 Q553036 Q1048835
USER
Which political territories are located in lesser number of administrative territories or natural region of Germanys than Mayen-Koblenz ?
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q8593
relation P706
type Q56061
type Q553036
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { { ?z rdf:type ontology:Q56061 . ?o rdf:type ontology:Q1048835 . ?o property:P706 ?z } UNION { ?o rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q553036 . ?o property:P706 ?z } } GROUP BY ?o } . FILTER ( ?u < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q553036 } } . resource:Q8593 property:P706 ?n } } }
Mayen-Koblenz
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Mayen-Koblenz
relation located on terrain feature
type administrative territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { { ?z rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:located_on_terrain_feature ?z } UNION { ?o rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:natural_region_of_Germany . ?o property:located_on_terrain_feature ?z } } GROUP BY ?o } . FILTER ( ?u < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:natural_region_of_Germany } } . resource:Mayen-Koblenz property:located_on_terrain_feature ?n } } }
[]
administrative territorial entity natural region of Germany political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q785 Q847321 Q850989 Q983467 Q743716 Q734805 Q904566 Q555140 Q983463 Q13737 Q493017 Q42314 Q950940 Q669078 Q851224 Q898856 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q3405693 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q202023 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q8593
relation P706
type Q56061
type Q553036
[ANSWERS] are located in lesser number of administrative territories or natural region of Germanys than Mayen-Koblenz
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { { ?z rdf:type ontology:Q56061 . ?o rdf:type ontology:Q1048835 . ?o property:P706 ?z } UNION { ?o rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q553036 . ?o property:P706 ?z } } GROUP BY ?o } . FILTER ( ?u < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:Q56061 } UNION { ?n rdf:type ontology:Q553036 } } . resource:Q8593 property:P706 ?n } } }
Llucmajor Llanddeusant, Carmarthenshire Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Jersey Esporles Campanet Montuïri Campos Sant Antoni de Portmany Brecqhou Capileira Sant Llorenç des Cardassar Basilan Andratx Channel Islands Marratxí Maria de la Salut Costitx Jethou Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Sark Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Herm Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
Papua New Guinea, Grenada and Jamaica are located in lesser number of administrative territories or natural region of Germanys than Mayen-Koblenz
Papua New Guinea Grenada Jamaica
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Mayen-Koblenz
relation located on terrain feature
type administrative territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?u ) WHERE { { ?z rdf:type ontology:administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:located_on_terrain_feature ?z } UNION { ?o rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:natural_region_of_Germany . ?o property:located_on_terrain_feature ?z } } GROUP BY ?o } . FILTER ( ?u < ?q ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { { ?n rdf:type ontology:administrative_territorial_entity } UNION { ?n rdf:type ontology:natural_region_of_Germany } } . resource:Mayen-Koblenz property:located_on_terrain_feature ?n } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1747689
P706
Q56061 Q553036 Q1048835
USER
And what about Ancient Rome?
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q1747689
relation P706
type Q56061
type Q553036
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } . ?s rdf:type ?c } . resource:Q1747689 property:P706 ?s } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?m property:P706 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q553036 } UNION { ?m property:P706 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q56061 } } GROUP BY ?m } }
Ancient Rome
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Ancient Rome
relation located on terrain feature
type administrative territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } . ?s rdf:type ?c } . resource:Ancient_Rome property:located_on_terrain_feature ?s } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?m property:located_on_terrain_feature ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:natural_region_of_Germany } UNION { ?m property:located_on_terrain_feature ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?m } }
[]
administrative territorial entity natural region of Germany political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q785 Q847321 Q850989 Q983467 Q743716 Q734805 Q904566 Q555140 Q983463 Q13737 Q493017 Q42314 Q950940 Q669078 Q851224 Q898856 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q3405693 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q202023 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q56061)|c(Q553036))
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q56061
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q1747689
relation P706
type Q56061
type Q553036
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q56061'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:Q56061 ) ( ontology:Q553036 ) } . ?s rdf:type ?c } . resource:Q1747689 property:P706 ?s } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?m property:P706 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q553036 } UNION { ?m property:P706 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q56061 } } GROUP BY ?m } }
Llucmajor Llanddeusant, Carmarthenshire Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Jersey Esporles Campanet Montuïri Campos Sant Antoni de Portmany Brecqhou Capileira Sant Llorenç des Cardassar Basilan Andratx Channel Islands Marratxí Maria de la Salut Costitx Jethou Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Sark Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Herm Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
Papua New Guinea Grenada Jamaica
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type administrative territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Ancient Rome
relation located on terrain feature
type administrative territorial entity
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'administrative territorial entity'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { VALUES ( ?c ) { ( ontology:administrative_territorial_entity ) ( ontology:natural_region_of_Germany ) } . ?s rdf:type ?c } . resource:Ancient_Rome property:located_on_terrain_feature ?s } } . FILTER ( ?z < ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?m property:located_on_terrain_feature ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:natural_region_of_Germany } UNION { ?m property:located_on_terrain_feature ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:administrative_territorial_entity } } GROUP BY ?m } }
[]