Simple Question (Direct)
Simple Question
Q5606012
P69
Q3914
USER
Which school is the alma mater of Greg Meredith ?
(Q5606012,P69,c(Q3914))
action filter_type
action find
entity Q5606012
relation P69
type Q3914
['Q5606012', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q3914 . resource:Q5606012 property:P69 ?c }
Greg Meredith
action filter_type
action find
entity Greg Meredith
relation educated at
type school
['Greg Meredith', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:school . resource:Greg_Meredith property:educated_at ?c }
[]
school
Q49126
SYSTEM
Harvard Business School
Q49126
(Q5606012,P69,c(Q3914))
action filter_type
action find
entity Q5606012
relation P69
type Q3914
[ANSWER] is the alma mater of Greg Meredith
['Q5606012', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q3914 . resource:Q5606012 property:P69 ?c }
Harvard Business School
Harvard Business School is the alma mater of Greg Meredith
Harvard Business School
action filter_type
action find
entity Greg Meredith
relation educated at
type school
['Greg Meredith', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:school . resource:Greg_Meredith property:educated_at ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5606012
P27
Q1048835
USER
Which political territory is Greg Meredith an inhabitant of ?
(Q5606012,P27,c(Q1048835))
action filter_type
action find
entity Q5606012
relation P27
type Q1048835
['Q5606012', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q5606012 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Greg Meredith
action filter_type
action find
entity Greg Meredith
relation country of citizenship
type political territorial entity
['Greg Meredith', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Greg_Meredith property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q5606012,P27,c(Q1048835))
action filter_type
action find
entity Q5606012
relation P27
type Q1048835
The [ANSWER] is Greg Meredith an inhabitant of
['Q5606012', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q5606012 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Canada
The Canada is Greg Meredith an inhabitant of
Canada
action filter_type
action find
entity Greg Meredith
relation country of citizenship
type political territorial entity
['Greg Meredith', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Greg_Meredith property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q898856
P706
Q1267889 Q1048835 Q1048835
USER
Which political territories have their location as around the same number of waterways or political territories as Jethou ?
(c(Q1048835),P706,c(Q1267889)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q898856
relation P706
type Q1267889
type Q1048835
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?w WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1267889 ) ( ontology:Q1048835 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:Q1267889 } UNION { ?d rdf:type ontology:Q1048835 } } . resource:Q898856 property:P706 ?d } } . FILTER ( ?e = ?u ) }
Jethou
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Jethou
relation located on terrain feature
type waterway
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?w WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:waterway ) ( ontology:political_territorial_entity ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:waterway } UNION { ?d rdf:type ontology:political_territorial_entity } } . resource:Jethou property:located_on_terrain_feature ?d } } . FILTER ( ?e = ?u ) }
[]
waterway political territorial entity political territorial entity
Q785 Q42314 Q9337
SYSTEM
Jersey, Channel Islands, Flemish Region
Q785 Q904566 Q42314 Q898856 Q3405693 Q202023 Q9337
(c(Q1048835),P706,c(Q1267889)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q898856
relation P706
type Q1267889
type Q1048835
[ANSWERS] have their location as around the same number of waterways or political territories as Jethou
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?w WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1267889 ) ( ontology:Q1048835 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:Q1267889 } UNION { ?d rdf:type ontology:Q1048835 } } . resource:Q898856 property:P706 ?d } } . FILTER ( ?e = ?u ) }
Jersey Brecqhou Channel Islands Jethou Sark Herm Flemish Region
Jersey, Channel Islands and Flemish Region have their location as around the same number of waterways or political territories as Jethou
Jersey Channel Islands Flemish Region
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Jethou
relation located on terrain feature
type waterway
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?w WHERE { ?l rdf:type ?x . VALUES ( ?x ) { ( ontology:waterway ) ( ontology:political_territorial_entity ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:waterway } UNION { ?d rdf:type ontology:political_territorial_entity } } . resource:Jethou property:located_on_terrain_feature ?d } } . FILTER ( ?e = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q743741
P706
Q1267889 Q1048835 Q1048835
USER
And what about Felanitx?
(c(Q1048835),P706,c(Q1267889)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q743741
relation P706
type Q1267889
type Q1048835
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { { ?z property:P706 ?v . ?z rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } UNION { ?z property:P706 ?v . ?z rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1267889 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q743741 property:P706 ?d . { { ?d rdf:type ontology:Q1267889 } UNION { ?d rdf:type ontology:Q1048835 } } } } . FILTER ( ?c = ?i ) }
Felanitx
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Felanitx
relation located on terrain feature
type waterway
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { { ?z property:located_on_terrain_feature ?v . ?z rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } UNION { ?z property:located_on_terrain_feature ?v . ?z rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:waterway } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Felanitx property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:waterway } UNION { ?d rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?c = ?i ) }
[]
waterway political territorial entity political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q8593 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q1267889)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q743741
relation P706
type Q1267889
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { { ?z property:P706 ?v . ?z rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1048835 } UNION { ?z property:P706 ?v . ?z rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q1267889 } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q743741 property:P706 ?d . { { ?d rdf:type ontology:Q1267889 } UNION { ?d rdf:type ontology:Q1048835 } } } } . FILTER ( ?c = ?i ) }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands 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à Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Mayen-Koblenz Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog 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 approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Felanitx
relation located on terrain feature
type waterway
type political territorial entity
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?c ) WHERE { { ?z property:located_on_terrain_feature ?v . ?z rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:political_territorial_entity } UNION { ?z property:located_on_terrain_feature ?v . ?z rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:waterway } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Felanitx property:located_on_terrain_feature ?d . { { ?d rdf:type ontology:waterway } UNION { ?d rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?c = ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q192184
P17
Q1048835 Q4830453 Q44539
USER
Which political territories are greater number of business enterprises or temples a part of than Saint Helena, Ascension and Tristan da Cunha ?
(c(Q4830453)|c(Q44539),P17,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q4830453
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q192184
relation P17
type Q4830453
type Q44539
[[{'concept': 'Q4830453'}, {'concept': 'Q44539'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { VALUES ( ?s ) { ( ontology:Q44539 ) ( ontology:Q4830453 ) } . ?f rdf:type ?s } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P17 resource:Q192184 . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q4830453 ) ( ontology:Q44539 ) } } } } . FILTER ( ?h > ?a ) }
Saint Helena, Ascension and Tristan da Cunha
action greater
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type business enterprise
action find_reverse_tuple_counts
relation country
type political territorial entity
type temple
action count
action filter_multi_types
action find_reverse
entity Saint Helena, Ascension and Tristan da Cunha
relation country
type business enterprise
type temple
[[{'concept': 'business enterprise'}, {'concept': 'temple'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { VALUES ( ?s ) { ( ontology:temple ) ( ontology:business_enterprise ) } . ?f rdf:type ?s } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:country resource:Saint_Helena,_Ascension_and_Tristan_da_Cunha . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:business_enterprise ) ( ontology:temple ) } } } } . FILTER ( ?h > ?a ) }
[]
political territorial entity business enterprise temple
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q1000 Q183 Q785 Q763 Q664 Q766 Q16 Q35 Q408 Q40 Q31747 Q25305
(c(Q4830453)|c(Q44539),P17,c(Q1048835))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q4830453
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q44539
action count
action filter_multi_types
action find_reverse
entity Q192184
relation P17
type Q4830453
type Q44539
[ANSWERS] are greater number of business enterprises or temples a part of than Saint Helena, Ascension and Tristan da Cunha
[[{'concept': 'Q4830453'}, {'concept': 'Q44539'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { VALUES ( ?s ) { ( ontology:Q44539 ) ( ontology:Q4830453 ) } . ?f rdf:type ?s } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P17 resource:Q192184 . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q4830453 ) ( ontology:Q44539 ) } } } } . FILTER ( ?h > ?a ) }
Gabon Germany Jersey Saint Kitts and Nevis New Zealand Jamaica Canada Denmark Australia Austria Irish Free State British Virgin Islands
Germany, Australia and Denmark are greater number of business enterprises or temples a part of than Saint Helena, Ascension and Tristan da Cunha
Germany Australia Denmark
action greater
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type business enterprise
action find_reverse_tuple_counts
relation country
type political territorial entity
type temple
action count
action filter_multi_types
action find_reverse
entity Saint Helena, Ascension and Tristan da Cunha
relation country
type business enterprise
type temple
[[{'concept': 'business enterprise'}, {'concept': 'temple'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) ?c WHERE { VALUES ( ?s ) { ( ontology:temple ) ( ontology:business_enterprise ) } . ?f rdf:type ?s } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:country resource:Saint_Helena,_Ascension_and_Tristan_da_Cunha . { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:business_enterprise ) ( ontology:temple ) } } } } . FILTER ( ?h > ?a ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q547090
P530
Q15617994
USER
Do Geeste, Emsland have ambassadorial relations with those political territories ?
(Q547090,P530,Q183) (Q547090,P530,Q408) (Q547090,P530,Q35)
action is_in
entity prev_answer
action find
entity Q547090
relation P530
['Q547090', 'P530', 'Q183'] ['Q547090', 'P530', 'Q408'] ['Q547090', 'P530', 'Q35']
ASK WHERE { resource:Q547090 property:P530 ?e . VALUES ( ?e ) { ( resource:Q1000 ) ( resource:Q183 ) ( resource:Q785 ) } }
Geeste, Emsland
action is_in
entity prev_answer
action find
entity Geeste, Emsland
relation diplomatic relation
['Geeste, Emsland', 'diplomatic relation', 'Germany'] ['Geeste, Emsland', 'diplomatic relation', 'Australia'] ['Geeste, Emsland', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Geeste,_Emsland property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Gabon ) ( resource:Germany ) ( resource:Jersey ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q547090,P530,Q183) (Q547090,P530,Q408) (Q547090,P530,Q35)
action is_in
entity prev_answer
action find
entity Q547090
relation P530
[ANSWER]
['Q547090', 'P530', 'Q183'] ['Q547090', 'P530', 'Q408'] ['Q547090', 'P530', 'Q35']
ASK WHERE { resource:Q547090 property:P530 ?e . VALUES ( ?e ) { ( resource:Q1000 ) ( resource:Q183 ) ( resource:Q785 ) } }
No
action is_in
entity prev_answer
action find
entity Geeste, Emsland
relation diplomatic relation
['Geeste, Emsland', 'diplomatic relation', 'Germany'] ['Geeste, Emsland', 'diplomatic relation', 'Australia'] ['Geeste, Emsland', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Geeste,_Emsland property:diplomatic_relation ?e . VALUES ( ?e ) { ( resource:Gabon ) ( resource:Germany ) ( resource:Jersey ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3396832
P706
Q15324 Q1267889 Q1048835
USER
Which political territories are located in approximately the same number of bodies of water and waterways as Tudweiliog ?
(c(Q1048835),P706,c(Q15324)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q3396832
relation P706
type Q15324
type Q1267889
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?b WHERE { { ?b rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q1267889 . ?b property:P706 ?q } UNION { ?b property:P706 ?q . ?b rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15324 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q3396832 property:P706 ?z . { { ?z rdf:type ontology:Q15324 } UNION { ?z rdf:type ontology:Q1267889 } } } } . FILTER ( ?j = ?u ) }
Tudweiliog
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 waterway
action count
action filter_multi_types
action find
entity Tudweiliog
relation located on terrain feature
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?b WHERE { { ?b rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:waterway . ?b property:located_on_terrain_feature ?q } UNION { ?b property:located_on_terrain_feature ?q . ?b rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:body_of_water } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Tudweiliog property:located_on_terrain_feature ?z . { { ?z rdf:type ontology:body_of_water } UNION { ?z rdf:type ontology:waterway } } } } . FILTER ( ?j = ?u ) }
[]
body of water waterway political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q984485 Q983625 Q983628 Q8593 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q15324)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q3396832
relation P706
type Q15324
type Q1267889
[ANSWERS] are located in approximately the same number of bodies of water and waterways as Tudweiliog
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?b WHERE { { ?b rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q1267889 . ?b property:P706 ?q } UNION { ?b property:P706 ?q . ?b rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15324 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q3396832 property:P706 ?z . { { ?z rdf:type ontology:Q15324 } UNION { ?z rdf:type ontology:Q1267889 } } } } . FILTER ( ?j = ?u ) }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands 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à Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Es Migjorn Gran Puigpunyent Sant Joan de Labritja Mayen-Koblenz 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 approximately the same number of bodies of water and waterways as Tudweiliog
Papua New Guinea Grenada Jamaica
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 waterway
action count
action filter_multi_types
action find
entity Tudweiliog
relation located on terrain feature
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) ?b WHERE { { ?b rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:waterway . ?b property:located_on_terrain_feature ?q } UNION { ?b property:located_on_terrain_feature ?q . ?b rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:body_of_water } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Tudweiliog property:located_on_terrain_feature ?z . { { ?z rdf:type ontology:body_of_water } UNION { ?z rdf:type ontology:waterway } } } } . FILTER ( ?j = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q925773
P706
Q15324 Q1267889 Q1048835
USER
And how about Porreres?
(c(Q1048835),P706,c(Q15324)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q925773
relation P706
type Q15324
type Q1267889
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?w WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { VALUES ( ?l ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?h rdf:type ?l } . resource:Q925773 property:P706 ?h } } . FILTER ( ?k = ?y ) }
Porreres
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 waterway
action count
action filter_multi_types
action find
entity Porreres
relation located on terrain feature
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?w WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { VALUES ( ?l ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?h rdf:type ?l } . resource:Porreres property:located_on_terrain_feature ?h } } . FILTER ( ?k = ?y ) }
[]
body of water waterway political territorial entity
Q691 Q769 Q766
SYSTEM
Papua New Guinea, Grenada, Jamaica
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q8583 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q984485 Q983625 Q983628 Q8593 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q15324)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q15324
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action count
action filter_multi_types
action find
entity Q925773
relation P706
type Q15324
type Q1267889
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?w WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { VALUES ( ?l ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } . ?h rdf:type ?l } . resource:Q925773 property:P706 ?h } } . FILTER ( ?k = ?y ) }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands 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à Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Vulkaneifel Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Es Migjorn Gran Puigpunyent Sant Joan de Labritja Mayen-Koblenz 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 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 waterway
action count
action filter_multi_types
action find
entity Porreres
relation located on terrain feature
type body of water
type waterway
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) ?w WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:body_of_water ) ( ontology:waterway ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { VALUES ( ?l ) { ( ontology:body_of_water ) ( ontology:waterway ) } . ?h rdf:type ?l } . resource:Porreres property:located_on_terrain_feature ?h } } . FILTER ( ?k = ?y ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P35
Q502895
USER
How many people are elected as the head of state of that political territory ?
(Q766,P35,c(Q502895))
['Q766', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6127249 property:Q48352 ?z . ?z rdf:type ontology:Q502895 }
['Jamaica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Jamaica property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q769
SYSTEM
Did you mean Grenada ?
(Q691,P35,c(Q502895)) (Q769,P35,c(Q502895)) (Q766,P35,c(Q502895))
[ANSWER]
['Q691', 'P35', {'concept': 'Q502895'}] ['Q769', 'P35', {'concept': 'Q502895'}] ['Q766', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6127249 property:Q48352 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Grenada ?
Grenada
['Papua New Guinea', 'head of state', {'concept': 'common name'}] ['Grenada', 'head of state', {'concept': 'common name'}] ['Jamaica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Jamaica property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Jamaica. Could you tell me the answer for that?
(Q766,P35,c(Q502895))
Q766
['Q766', 'P35', {'concept': 'Q502895'}]
['Jamaica', 'head of state', {'concept': 'common name'}]
[]
SYSTEM
1
Q9682
(Q766,P35,c(Q502895))
[ANSWER]
['Q766', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6127249 property:Q48352 ?z . ?z rdf:type ontology:Q502895 }
Elizabeth II
1
['Jamaica', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Jamaica property:head_of_state ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49126
P159
Q56061
USER
Where is the head office for Harvard Business School located ?
(Q49126,P159,c(Q56061))
action filter_type
action find
entity Q49126
relation P159
type Q56061
['Q49126', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q49126 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Harvard Business School
action filter_type
action find
entity Harvard Business School
relation headquarters location
type administrative territorial entity
['Harvard Business School', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Harvard_Business_School property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q49126,P159,c(Q56061))
action filter_type
action find
entity Q49126
relation P159
type Q56061
The head office for Harvard Business School is located in [ANSWER]
['Q49126', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q49126 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Boston
The head office for Harvard Business School is located in Boston
Boston
action filter_type
action find
entity Harvard Business School
relation headquarters location
type administrative territorial entity
['Harvard Business School', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Harvard_Business_School property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1190881
Q56061
USER
And what about Reckitt Benckiser?
(Q1190881,P159,c(Q56061))
action filter_type
action find
entity Q1190881
relation P159
type Q56061
['Q1190881', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1190881 property:P159 ?l . ?l rdf:type ontology:Q56061 }
Reckitt Benckiser
action filter_type
action find
entity Reckitt Benckiser
relation headquarters location
type administrative territorial entity
['Reckitt Benckiser', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Reckitt_Benckiser property:headquarters_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q211907
SYSTEM
Slough
Q211907
(Q1190881,P159,c(Q56061))
action filter_type
action find
entity Q1190881
relation P159
type Q56061
[ANSWER]
['Q1190881', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1190881 property:P159 ?l . ?l rdf:type ontology:Q56061 }
Slough
Slough
action filter_type
action find
entity Reckitt Benckiser
relation headquarters location
type administrative territorial entity
['Reckitt Benckiser', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Reckitt_Benckiser property:headquarters_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]