Simple Question (Direct)
Simple Question
Q7704515
P19
Q56061
USER
Where was Terry Hibbitt born ?
(Q7704515,P19,c(Q56061))
action filter_type
action find
entity Q7704515
relation P19
type Q56061
['Q7704515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q7704515 property:P19 ?o }
Terry Hibbitt
action filter_type
action find
entity Terry Hibbitt
relation place of birth
type administrative territorial entity
['Terry Hibbitt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Terry_Hibbitt property:place_of_birth ?o }
[]
administrative territorial entity
Q22905
SYSTEM
Bradford
Q22905
(Q7704515,P19,c(Q56061))
action filter_type
action find
entity Q7704515
relation P19
type Q56061
Terry Hibbitt was born in [ANSWER]
['Q7704515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q7704515 property:P19 ?o }
Bradford
Terry Hibbitt was born in Bradford
Bradford
action filter_type
action find
entity Terry Hibbitt
relation place of birth
type administrative territorial entity
['Terry Hibbitt', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Terry_Hibbitt property:place_of_birth ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22905
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q22905,P190,c(Q56061))
action filter_type
action find
entity Q22905
relation P190
type Q56061
['Q22905', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q22905 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Bradford
action filter_type
action find
entity Bradford
relation sister city
type administrative territorial entity
['Bradford', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bradford property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q384 Q129610 Q2579925
SYSTEM
Skopje, Galway, Mirpur
Q384 Q129610 Q2579925
(Q22905,P190,c(Q56061))
action filter_type
action find
entity Q22905
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q22905', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q22905 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Skopje Galway Mirpur
Skopje, Galway and Mirpur are the sister cities of that one
Skopje Galway Mirpur
action filter_type
action find
entity Bradford
relation sister city
type administrative territorial entity
['Bradford', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Bradford property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3624
Q56061
USER
And how about Addis Ababa?
(Q3624,P190,c(Q56061))
action filter_type
action find
entity Q3624
relation P190
type Q56061
['Q3624', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q3624 property:P190 ?t }
Addis Ababa
action filter_type
action find
entity Addis Ababa
relation sister city
type administrative territorial entity
['Addis Ababa', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Addis_Ababa property:sister_city ?t }
[]
administrative territorial entity
Q956 Q62 Q1754
SYSTEM
Beijing, San Francisco, Stockholm
Q1754 Q33935 Q41843 Q34647 Q956 Q42148 Q1963 Q4115712 Q61 Q62 Q192225
(Q3624,P190,c(Q56061))
action filter_type
action find
entity Q3624
relation P190
type Q56061
[ANSWERS]
['Q3624', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q3624 property:P190 ?t }
Stockholm Tel Aviv Beersheba Johannesburg Beijing Chuncheon Khartoum Kaunas Washington, D.C. San Francisco Netanya
Beijing San Francisco Stockholm
action filter_type
action find
entity Addis Ababa
relation sister city
type administrative territorial entity
['Addis Ababa', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Addis_Ababa property:sister_city ?t }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P291
Q571 Q2342494
USER
How many books or collectables were published in that administrative territory ?
(c(Q571),P291,Q62) (c(Q2342494),P291,Q62) (c(Q571),P291,Q956) (c(Q2342494),P291,Q956) (c(Q571),P291,Q62) (c(Q2342494),P291,Q62) (c(Q571),P291,Q1754) (c(Q2342494),P291,Q1754)
[{'concept': 'Q571'}, 'P291', 'Q62'] [{'concept': 'Q2342494'}, 'P291', 'Q62'] [{'concept': 'Q571'}, 'P291', 'Q956'] [{'concept': 'Q2342494'}, 'P291', 'Q956'] [{'concept': 'Q571'}, 'P291', 'Q62'] [{'concept': 'Q2342494'}, 'P291', 'Q62'] [{'concept': 'Q571'}, 'P291', 'Q1754'] [{'concept': 'Q2342494'}, 'P291', 'Q1754']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1361759 resource:Q949535 } UNION { ?y property:Q1361759 resource:Q949535 } UNION { ?z property:Q1361759 resource:Q657474 } UNION { ?y property:Q1361759 resource:Q657474 } UNION { ?z property:Q1361759 resource:Q949535 } UNION { ?y property:Q1361759 resource:Q949535 } UNION { ?z property:Q1361759 resource:Q3447382 } UNION { ?y property:Q1361759 resource:Q3447382 } } . ?z rdf:type ontology:Q997698 . ?y rdf:type ontology:Q2342494 }
[{'concept': 'book'}, 'place of publication', 'San Francisco'] [{'concept': 'collectable'}, 'place of publication', 'San Francisco'] [{'concept': 'book'}, 'place of publication', 'Beijing'] [{'concept': 'collectable'}, 'place of publication', 'Beijing'] [{'concept': 'book'}, 'place of publication', 'San Francisco'] [{'concept': 'collectable'}, 'place of publication', 'San Francisco'] [{'concept': 'book'}, 'place of publication', 'Stockholm'] [{'concept': 'collectable'}, 'place of publication', 'Stockholm']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:place_of_publication resource:San_Francisco } UNION { ?y property:place_of_publication resource:San_Francisco } UNION { ?z property:place_of_publication resource:Beijing } UNION { ?y property:place_of_publication resource:Beijing } UNION { ?z property:place_of_publication resource:San_Francisco } UNION { ?y property:place_of_publication resource:San_Francisco } UNION { ?z property:place_of_publication resource:Stockholm } UNION { ?y property:place_of_publication resource:Stockholm } } . ?z rdf:type ontology:book . ?y rdf:type ontology:collectable }
[]
book collectable
Quantitative|Count|Mult. entity type|Clarification
Q1754
SYSTEM
Did you mean Stockholm ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1361759 resource:Q949535 } UNION { ?y property:Q1361759 resource:Q949535 } UNION { ?z property:Q1361759 resource:Q657474 } UNION { ?y property:Q1361759 resource:Q657474 } UNION { ?z property:Q1361759 resource:Q949535 } UNION { ?y property:Q1361759 resource:Q949535 } UNION { ?z property:Q1361759 resource:Q3447382 } UNION { ?y property:Q1361759 resource:Q3447382 } } . ?z rdf:type ontology:Q997698 . ?y rdf:type ontology:Q2342494 }
Did you mean Stockholm ?
Stockholm
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:place_of_publication resource:San_Francisco } UNION { ?y property:place_of_publication resource:San_Francisco } UNION { ?z property:place_of_publication resource:Beijing } UNION { ?y property:place_of_publication resource:Beijing } UNION { ?z property:place_of_publication resource:San_Francisco } UNION { ?y property:place_of_publication resource:San_Francisco } UNION { ?z property:place_of_publication resource:Stockholm } UNION { ?y property:place_of_publication resource:Stockholm } } . ?z rdf:type ontology:book . ?y rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant San Francisco. Could you tell me the answer for that?
(c(Q571),P291,Q62) (c(Q2342494),P291,Q62) (c(Q571),P291,Q956) (c(Q2342494),P291,Q956) (c(Q571),P291,Q62) (c(Q2342494),P291,Q62) (c(Q571),P291,Q1754) (c(Q2342494),P291,Q1754)
Q62
[{'concept': 'Q571'}, 'P291', 'Q62'] [{'concept': 'Q2342494'}, 'P291', 'Q62'] [{'concept': 'Q571'}, 'P291', 'Q956'] [{'concept': 'Q2342494'}, 'P291', 'Q956'] [{'concept': 'Q571'}, 'P291', 'Q62'] [{'concept': 'Q2342494'}, 'P291', 'Q62'] [{'concept': 'Q571'}, 'P291', 'Q1754'] [{'concept': 'Q2342494'}, 'P291', 'Q1754']
[{'concept': 'book'}, 'place of publication', 'San Francisco'] [{'concept': 'collectable'}, 'place of publication', 'San Francisco'] [{'concept': 'book'}, 'place of publication', 'Beijing'] [{'concept': 'collectable'}, 'place of publication', 'Beijing'] [{'concept': 'book'}, 'place of publication', 'San Francisco'] [{'concept': 'collectable'}, 'place of publication', 'San Francisco'] [{'concept': 'book'}, 'place of publication', 'Stockholm'] [{'concept': 'collectable'}, 'place of publication', 'Stockholm']
[]
SYSTEM
3
Q18284231 Q21294105 Q24255018
(c(Q571),P291,Q62) (c(Q2342494),P291,Q62) (c(Q571),P291,Q956) (c(Q2342494),P291,Q956) (c(Q571),P291,Q62) (c(Q2342494),P291,Q62) (c(Q571),P291,Q1754) (c(Q2342494),P291,Q1754)
[ANSWER]
[{'concept': 'Q571'}, 'P291', 'Q62'] [{'concept': 'Q2342494'}, 'P291', 'Q62'] [{'concept': 'Q571'}, 'P291', 'Q956'] [{'concept': 'Q2342494'}, 'P291', 'Q956'] [{'concept': 'Q571'}, 'P291', 'Q62'] [{'concept': 'Q2342494'}, 'P291', 'Q62'] [{'concept': 'Q571'}, 'P291', 'Q1754'] [{'concept': 'Q2342494'}, 'P291', 'Q1754']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q1361759 resource:Q949535 } UNION { ?y property:Q1361759 resource:Q949535 } UNION { ?z property:Q1361759 resource:Q657474 } UNION { ?y property:Q1361759 resource:Q657474 } UNION { ?z property:Q1361759 resource:Q949535 } UNION { ?y property:Q1361759 resource:Q949535 } UNION { ?z property:Q1361759 resource:Q3447382 } UNION { ?y property:Q1361759 resource:Q3447382 } } . ?z rdf:type ontology:Q997698 . ?y rdf:type ontology:Q2342494 }
Bringing yoga to life : the every day practice of enlightened living Life among the Apaches The Art of Zootopia
3
[{'concept': 'book'}, 'place of publication', 'San Francisco'] [{'concept': 'collectable'}, 'place of publication', 'San Francisco'] [{'concept': 'book'}, 'place of publication', 'Beijing'] [{'concept': 'collectable'}, 'place of publication', 'Beijing'] [{'concept': 'book'}, 'place of publication', 'San Francisco'] [{'concept': 'collectable'}, 'place of publication', 'San Francisco'] [{'concept': 'book'}, 'place of publication', 'Stockholm'] [{'concept': 'collectable'}, 'place of publication', 'Stockholm']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:place_of_publication resource:San_Francisco } UNION { ?y property:place_of_publication resource:San_Francisco } UNION { ?z property:place_of_publication resource:Beijing } UNION { ?y property:place_of_publication resource:Beijing } UNION { ?z property:place_of_publication resource:San_Francisco } UNION { ?y property:place_of_publication resource:San_Francisco } UNION { ?z property:place_of_publication resource:Stockholm } UNION { ?y property:place_of_publication resource:Stockholm } } . ?z rdf:type ontology:book . ?y rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q84
P559
Q56061 Q83620 Q628179
USER
Which administrative territories are the endpoints for lesser number of thoroughfares and trails than London ?
(c(Q83620)|c(Q628179),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q84
relation P559
type Q83620
type Q628179
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:P559 ?e . ?e rdf:type ontology:Q56061 . ?n rdf:type ontology:Q628179 } UNION { ?e rdf:type ontology:Q56061 . ?n rdf:type ontology:Q83620 . ?n property:P559 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P559 resource:Q84 . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } } } } . FILTER ( ?b < ?i ) }
London
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity London
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:terminus ?e . ?e rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:trail } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:thoroughfare . ?n property:terminus ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:terminus resource:London . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:thoroughfare ) ( ontology:trail ) } } } } . FILTER ( ?b < ?i ) }
[]
administrative territorial entity thoroughfare trail
Q65 Q585 Q12191
SYSTEM
Los Angeles, Oslo, Nantes
Q3051477 Q1020217 Q3812238 Q69639 Q375314 Q12439 Q2814 Q541055 Q4825403 Q575557 Q985313 Q687333 Q932159 Q3469728 Q185453 Q588804 Q5902931 Q723372 Q167155 Q2272 Q7811572 Q7651719 Q134620 Q992420 Q556989 Q1011611 Q2065223 Q42159 Q1009428 Q1011221 Q7050868 Q24826 Q6509 Q5477618 Q5032535 Q4356873 Q11839080 Q585 Q35433 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q49218 Q100 Q2734845 Q6820370 Q1616042 Q643944 Q756103 Q25330 Q190847 Q2073801 Q1759693 Q2300663 Q2703030 Q794802 Q646784 Q79499 Q6275457 Q10561690 Q1735 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q2290 Q12191 Q634172 Q522362 Q1729 Q790938 Q65
(c(Q83620)|c(Q628179),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q84
relation P559
type Q83620
type Q628179
[ANSWERS] are the endpoints for lesser number of thoroughfares and trails than London
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:P559 ?e . ?e rdf:type ontology:Q56061 . ?n rdf:type ontology:Q628179 } UNION { ?e rdf:type ontology:Q56061 . ?n rdf:type ontology:Q83620 . ?n property:P559 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P559 resource:Q84 . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } } } } . FILTER ( ?b < ?i ) }
Ellewoutsdijk Minehead Bronygarth Göschenen Folkestone Detroit Halle (Saale) Oijen Austrepollen Grand Tower Ingleton Middleton-by-Wirksworth Hart Salford Quays Multan Badrinath Horda, Norway Narva-Jõesuu Kalamazoo Skien Tobermory, Ontario Svartnes Jyväskylä Fjærland Ankeny Portpatrick Port Grimaud Hanam Drymen Kincardine Nordrepollen Liverpool Burgas Frafjord Cann River Mariehäll Akdere, Silifke Oslo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Rochester Boston Henley-in-Arden Merritton, Ontario Hessle Asaluyeh Lewes Trenton Alexandroupoli Helmsley South Boston Gaylord Kilsby Otira Moffat Helena Jong, Norway Lilla Alby Innsbruck Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Porsgrunn Nantes Banihal Bad Säckingen Erfurt Aviemore Los Angeles
Los Angeles, Oslo and Nantes are the endpoints for lesser number of thoroughfares and trails than London
Los Angeles Oslo Nantes
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity London
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?b ) WHERE { { ?n property:terminus ?e . ?e rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:trail } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:thoroughfare . ?n property:terminus ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:terminus resource:London . { ?h rdf:type ?j . VALUES ( ?j ) { ( ontology:thoroughfare ) ( ontology:trail ) } } } } . FILTER ( ?b < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q263954
P559
Q56061 Q83620 Q628179
USER
And also tell me about Afobaka?
(c(Q83620)|c(Q628179),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q263954
relation P559
type Q83620
type Q628179
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?d ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } . ?m rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P559 resource:Q263954 . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } } } } . FILTER ( ?b < ?x ) }
Afobaka
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Afobaka
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?d ) { ( ontology:thoroughfare ) ( ontology:trail ) } . ?m rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:terminus resource:Afobaka . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:thoroughfare ) ( ontology:trail ) } } } } . FILTER ( ?b < ?x ) }
[]
administrative territorial entity thoroughfare trail
Q65 Q585 Q12191
SYSTEM
Los Angeles, Oslo, Nantes
Q3051477 Q1020217 Q3812238 Q69639 Q375314 Q12439 Q2814 Q541055 Q4825403 Q575557 Q985313 Q687333 Q932159 Q3469728 Q185453 Q588804 Q5902931 Q723372 Q167155 Q2272 Q7811572 Q7651719 Q134620 Q992420 Q556989 Q1011611 Q2065223 Q42159 Q1009428 Q1011221 Q7050868 Q24826 Q6509 Q5477618 Q5032535 Q4356873 Q11839080 Q585 Q35433 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q49218 Q100 Q2734845 Q6820370 Q1616042 Q643944 Q756103 Q25330 Q190847 Q2073801 Q1759693 Q2300663 Q2703030 Q794802 Q646784 Q79499 Q6275457 Q10561690 Q1735 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q2290 Q12191 Q634172 Q522362 Q1729 Q790938 Q65
(c(Q83620)|c(Q628179),P559,c(Q56061))
action less
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q263954
relation P559
type Q83620
type Q628179
[ANSWERS]
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?d ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } . ?m rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P559 resource:Q263954 . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } } } } . FILTER ( ?b < ?x ) }
Ellewoutsdijk Minehead Bronygarth Göschenen Folkestone Detroit Halle (Saale) Oijen Austrepollen Grand Tower Ingleton Middleton-by-Wirksworth Hart Salford Quays Multan Badrinath Horda, Norway Narva-Jõesuu Kalamazoo Skien Tobermory, Ontario Svartnes Jyväskylä Fjærland Ankeny Portpatrick Port Grimaud Hanam Drymen Kincardine Nordrepollen Liverpool Burgas Frafjord Cann River Mariehäll Akdere, Silifke Oslo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Rochester Boston Henley-in-Arden Merritton, Ontario Hessle Asaluyeh Lewes Trenton Alexandroupoli Helmsley South Boston Gaylord Kilsby Otira Moffat Helena Jong, Norway Lilla Alby Innsbruck Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Porsgrunn Nantes Banihal Bad Säckingen Erfurt Aviemore Los Angeles
Los Angeles Oslo Nantes
action less
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Afobaka
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) ?l WHERE { VALUES ( ?d ) { ( ontology:thoroughfare ) ( ontology:trail ) } . ?m rdf:type ?d } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:terminus resource:Afobaka . { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:thoroughfare ) ( ontology:trail ) } } } } . FILTER ( ?b < ?x ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q384
P19 P21
Q502895
USER
Which people have place of birth as Skopje and are a male ?
AND((c(Q502895),P19,Q384), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q384
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q384'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P19 resource:Q384 . ?a property:P21 resource:Q6581097 }
male Skopje
action filter_type
action intersection
action find_reverse
entity Skopje
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Skopje'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_birth resource:Skopje . ?a property:gender resource:male }
[]
common name
Q4817919 Q456660 Q6863222 Q4023889 Q16214419 Q676463 Q21551365 Q19957467 Q19561599 Q2502814
SYSTEM
Some of them are Oliver Peev, Nderim Nexhipi, Minas Osmani, Žarko Odžakov, Panče Georgievski, Muhamed Demiri, Duke Bojadziev, Dejan Dimov, Risto Mitrevski, Lazar Elenovski
Q472803 Q24068720 Q23364871 Q5657758 Q508713 Q2502340 Q456660 Q733249 Q2064061 Q205415 Q1938398 Q26257737 Q311362 Q4024796 Q6099472 Q7606310 Q2064043 Q15607002 Q6930773 Q3576090 Q25540428 Q607246 Q2577406 Q6351221 Q19364333 Q6848679 Q5058780 Q59948 Q17279891 Q6276570 Q7350631 Q12752897 Q25823361 Q6415198 Q18391941 Q893854 Q691149 Q20744619 Q2042937 Q4023889 Q16321233 Q181950 Q6660970 Q11748210 Q4221627 Q4011665 Q488906 Q18045252 Q3406723 Q57766 Q24972586 Q5584476 Q72061 Q5395886 Q16234815 Q18129472 Q3431548 Q6152271 Q3496883 Q2047795 Q4683002 Q4762799 Q4003502 Q21872559 Q25039650 Q4788060 Q2421391 Q5277555 Q1424408 Q26678337 Q21207841 Q21621103 Q3397286 Q956023 Q4705550 Q372994 Q6001718 Q3397037 Q3021353 Q676463 Q20568288 Q20744540 Q1588199 Q1255169 Q11966538 Q21622951 Q2003839 Q7080148 Q27218512 Q1655918 Q5448493 Q12911313 Q2315189 Q3394848 Q4925689 Q956646 Q891140 Q3361602 Q16150184 Q205634 Q2743251 Q5429629 Q3409460 Q6099095 Q17580180 Q20873486 Q6874090 Q2558816 Q348651 Q2264227 Q3391370 Q17468172 Q4776614 Q18217529 Q21551365 Q12912100 Q4923873 Q17364378 Q893819 Q2042239 Q18021020 Q1893145 Q784780 Q7336422 Q1106566 Q3397086 Q2677016 Q10326563 Q5304878 Q20991990 Q4714881 Q29619 Q956678 Q456927 Q6863222 Q20675954 Q3900025 Q16083482 Q9638516 Q3497743 Q5278499 Q2786005 Q1866794 Q7065013 Q4015809 Q12296676 Q1537827 Q6757398 Q327525 Q457855 Q2375815 Q20687399 Q25753444 Q486762 Q19957467 Q5304962 Q5304963 Q18217714 Q19561383 Q194893 Q1396953 Q126516 Q6296661 Q552721 Q5575617 Q982443 Q620400 Q3355314 Q17308759 Q21620817 Q1568494 Q21755499 Q24005146 Q6824205 Q8068677 Q17152630 Q1253254 Q5448498 Q18712812 Q670078 Q15967423 Q6296648 Q5371417 Q3070876 Q1938615 Q3396679 Q1390223 Q239270 Q552598 Q6077239 Q2409352 Q535908 Q3402989 Q2502814 Q16214419 Q1288452 Q8073003 Q817552 Q6071854 Q1166303 Q4843440 Q7279967 Q982450 Q3021369 Q1974009 Q718584 Q121804 Q2529738 Q18974720 Q603041 Q18353308 Q25999719 Q12294589 Q641785 Q2018101 Q58110 Q21932020 Q7821360 Q12904564 Q2634518 Q5277548 Q26460 Q23901443 Q898566 Q3642611 Q466490 Q25852362 Q2444746 Q6771258 Q7171755 Q5577413 Q4938775 Q21622299 Q7541145 Q6944336 Q771813 Q21067413 Q4439468 Q5448509 Q471711 Q16193883 Q980403 Q20736522 Q6435485 Q5584545 Q18217611 Q19663083 Q1903841 Q23760189 Q20856607 Q2340121 Q18358347 Q346948 Q2660829 Q1990594 Q3300658 Q20745093 Q18205762 Q24018655 Q1254786 Q6771150 Q4714852 Q5231014 Q10862775 Q18639540 Q1280960 Q5223737 Q4817919 Q16236918 Q1284662 Q18237236 Q2500576 Q1285229 Q337891 Q2832497 Q7606022 Q9030131 Q6415191 Q7821266 Q6069352 Q2017967 Q20566856 Q3016341 Q126498 Q3609477 Q7622613 Q5252694 Q268962 Q690405 Q2018541 Q2017525 Q5564519 Q8074374 Q19663760 Q3576080 Q6373315 Q6661006 Q16855092 Q4023877 Q1290282 Q7916846 Q19359498 Q20195113 Q17279827 Q7035553 Q207173 Q3486742 Q2635281 Q21642280 Q22006400 Q5252643 Q19561599 Q8083613 Q17612752 Q16235861 Q558481 Q7541128 Q20195191 Q126649 Q2047775 Q3659112 Q23906221 Q2035824 Q4354222
AND((c(Q502895),P19,Q384), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q384
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Skopje and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q384'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P19 resource:Q384 . ?a property:P21 resource:Q6581097 }
Kristijan Naumovski Stevan Popovski Igor Stojčevski Haris Fakić Pero Antić Trajko Veljanovski Nderim Nexhipi Asmir Kolašinac Bujar Osmani Saša Ilić Miroslav Bojčeski Marjan Markoviḱ Darko Pančev Zoran Boškovski Osman Tufan Stefan Turanjanin Dragoljub Stavrev Vlatko Andonovski Muarem Zekir Zoran Jovanovski Ljupčo Kocarev Yahya Kemal Beyatlı Kiril Dojčinovski Stojanče Stoilov Martin Hristov Mike S. Zafirovski Cenap Samet Dejan Dukovski Besmir Bojku Jordan Georgievski Robert Vukelik Kole Angelovski Leonid Grčev Kiril Simonovski Enis Bardhi Borko Ristovski Damjan Stojanovski Kiril Pavlovski Goce Nikolovski Žarko Odžakov Žarko Peševski Filip Ivanovski Ljubomir Savevski Kristijan Boskovski Hristijan Kirovski Viktor Trenevski Slavčo Georgievski Kristijan Nikolov Igor Džambazov Nikola Gruevski Naser Selmani Goran Stanić Avni Engüllü Ertan Demiri Darko Micevski Nenad Zivčević Antonio Ristevski Jane Gavalovski Stanoje Jocić Slobodan Čašule Adis Jahović Angelko Panov Umberto Vattani Aleksandar Jončevski Darko Stojanov Ardijan Nuhiji Blagoje Vidinić Dimitrije Bužarovski Dragan Lukovski Bojan Gjorgievski Besir Demiri Andrej Cvetkovski Trifun Kostovski Gane Todorovski Alaettin Tahir Adrian Gaxha Ilčo Gjorgioski Darko Mitrevski Dejan Jovanovski Muhamed Demiri Robert Veljanovski Dragan Milenkovič Vlatko Grozdanoski Dragoslav Avramović Edmir Asan Nenad Stankov Simon Trpčeski Ognen Stojanovski Kemál Ekrem Ibrahim Bekirović Filip Madžovski Fikret Alomerović Srgjan Zaharievski Valon Saracini Blaže Todorovski Vrčak Bojan Markovski Atanas Nikolovski Naser Aliji Slavko Janevski Muharem Bajrami Fahrudin Đurđević Zarko Kujundziski Ivo Jankoski Mirza Kurtović Dushko Trajchevski Miroslav Vajs Oktay Mahmuti Aleksandar Stavrev Sedat Berisha Şarık Tara Adnan Yıldız Antonio Filevski Bojan Krstevski Duke Bojadziev Šaban Saliu Blagojče Božinovski Stefan Kozlov Borislav Tomovski Isak Adizes Igor Stefanovski Boban Grnčarov Predrag Samardžiski Risto Apostolov Vladan Slijepčević Jordan Nikolov Orce Darko Velkoski Marjan Belčev Dragan Načevski Vidic Lazar Aleksandar Todorov Marjan Pejoski Vlado Janevski Ivan Tričkovski Minas Osmani Dimitar Karadžovski Pero Blazevski Dušan A. Janjić Nikola Ilievski Filip Duranski Dino Delevski Blagoj Nacoski Ljupčo Kmetovski Novogradska Vladimir Dimitrovski Toma Karayovov Goran Markov Marco Alexander Samir Fazli Veni Markovski Marko Blaževski Apostol Tnokovski Vojislav Nanovic Baže Ilijoski Dejan Dimov Dragi Kotsev Dragi Setinov Adem Mekic Jovan Markovski Nikola Jakimovski Ljubomir Frčkoski Aleksandar Prokopiev Jovan Kostovski Aleksandar Vasoski Goce Georgievski Petar Gligorovski Aleksandar Bajevski Zoran Jolevski Mihajlo Arsoski Filip Bakoč Teofil Pančić Nikola Stojanović Srdjan Stanković Metodije Spasovski Zekirija Ramadan Gjoko Zajkov Goran Gueorguiev Filip Mirkulovski Dusan Bocevski Bojan Gjorgievski Stevo Pendarovski Jovan Jovanov Emil Rajković Stole Popov Mischa Damjan Boris Drangov Jovica Tasevski-Eternijan Kani Vrana Savo Klimovski Milan Ristovski Blagoja Georgievski Aleksandar Trajkovski Siljan Avramovski Lazar Elenovski Panče Georgievski Simeon Hristov Zlatko Nastevski Benjamin Idriz Mesut Kurtis Darko Tasevski Naum Vancho Dimovski Aleksandar Kitinov Dejan Milošeski Nedjo Osman Ljubiša Samardžić Vladimir Dimitrijević Vlado Bučkovski Slobodan Bogoevski Kemal Alomerović Aleksandar Šterjov Tihomir Kostadinov Spiro Ristovski Martin Vučić Marko Simonovski Nikola Poposki Igor Angelovski Toni Zen Johan Tarčulovski Igor Kralevski Dimitrija Lazarevski Boban Babunski Vasil Mickovski Branimir Štulić Boris Kristančić Gjore Jovanovski Momir Polenaković Predrag Laković Marko Simonovski Petar Stojkoviḱ Gogo Jovčev Boki 13 Predrag Pajić Slobodan Goračinov Muzafer Ejupi Berat Sadik Uroš Vasiljević Goran Stankovski Filip Petrov Bobi Božinovski Zoran Stratev Ivica Dimcevski Goran Veselinovski Kočo Dimitrovski Gorazd Mihajlov Andrej Magdevski Igor Penov Martin Gjakonovski Igor Angelov Zvonko Taneski Muarem Muarem Ivan Miskovic Goce Toleski Stevo Crvenkovski Nikola Gligorov Abdurrahim Buza Ivan Nastevski Bekim Dema Agim Sopi Dragomir Felba Marko Jovanovski Aleksandar Popovski David Babunski Vladimir Bogoevski Boban Mitev Venko Markovski Darko Glišić Oliver Peev Ljubomir Mladenovski Edin Nuredinoski Aleksandar Pandovski Filip Despotovski Šaban Trstena Vlatko Ilievski Aleksandar Kostoski Stefan Aškovski Nikola Mladenov Kiril Nikolovski Toni Grncarov Şevket Rado Gjorgji Čekovski Dragan Spasov-Dac Darko Dimitrov Goce Smilevski Aleksandar Ugrinoski Strašo Angelovski Dejan Ristovski Lorenc Antoni Srgjan Kerim Stefan Ristovski Marin Dokuzovski Nuredin Bakiu Zoran Miserdovski Darko Radulovic Zoran "Zoki" Vujović Karpo Godina Ljupčo Markovski Blerim Bexheti Zare Markovski Čedomir Janevski Vasko Božinovski Toni Simic Gjorgji Knјazev Daniel Avramovski Nikola Karčev Zlatko Tanevski Slobodan Marković Vojdan Stojanovski Siniša Avramovski Janko Lukovski Dejan Blaževski Risto Mitrevski Žarko Serafimovski Luka Petrovski Boban Stajic Milcho Manchevski Slobo Ilijevski Gjorgje Vojnović Vlada Urošević Ljubomir Mihajlovski Necati Zekeriya Jasir Asani Ostoja Stjepanović Betim Aliju
Oliver Peev, Nderim Nexhipi, Minas Osmani, Žarko Odžakov, Panče Georgievski, Muhamed Demiri, Duke Bojadziev, Dejan Dimov, Risto Mitrevski and Lazar Elenovski have place of birth as Skopje and are a male
Oliver Peev Nderim Nexhipi Minas Osmani Žarko Odžakov Panče Georgievski Muhamed Demiri Duke Bojadziev Dejan Dimov Risto Mitrevski Lazar Elenovski
action filter_type
action intersection
action find_reverse
entity Skopje
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Skopje'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_birth resource:Skopje . ?a property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21551365
P86
Q838948
USER
Which work of art is Duke Bojadziev a composer of ?
(c(Q838948),P86,Q21551365)
action filter_type
action find_reverse
entity Q21551365
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q21551365']
SELECT DISTINCT ?d WHERE { ?d property:P86 resource:Q21551365 . ?d rdf:type ontology:Q838948 }
Duke Bojadziev
action filter_type
action find_reverse
entity Duke Bojadziev
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Duke Bojadziev']
SELECT DISTINCT ?d WHERE { ?d property:composer resource:Duke_Bojadziev . ?d rdf:type ontology:work_of_art }
[]
work of art
Q7811268
SYSTEM
To the Hilt
Q7811268
(c(Q838948),P86,Q21551365)
action filter_type
action find_reverse
entity Q21551365
relation P86
type Q838948
[ANSWER] is Duke Bojadziev a composer of
[{'concept': 'Q838948'}, 'P86', 'Q21551365']
SELECT DISTINCT ?d WHERE { ?d property:P86 resource:Q21551365 . ?d rdf:type ontology:Q838948 }
To the Hilt
To the Hilt is Duke Bojadziev a composer of
To the Hilt
action filter_type
action find_reverse
entity Duke Bojadziev
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Duke Bojadziev']
SELECT DISTINCT ?d WHERE { ?d property:composer resource:Duke_Bojadziev . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q384
P17
Q15617994
USER
Which administrative territory is Skopje present in ?
(Q384,P17,c(Q15617994))
action filter_type
action find
entity Q384
relation P17
type Q15617994
['Q384', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q384 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Skopje
action filter_type
action find
entity Skopje
relation country
type designation for an administrative territorial entity
['Skopje', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Skopje property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q221
SYSTEM
Republic of Macedonia
Q221
(Q384,P17,c(Q15617994))
action filter_type
action find
entity Q384
relation P17
type Q15617994
Which administrative territory is Skopje present in
['Q384', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q384 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Republic of Macedonia
Which administrative territory is Skopje present in
Republic of Macedonia
action filter_type
action find
entity Skopje
relation country
type designation for an administrative territorial entity
['Skopje', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Skopje property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q221
P194
Q1752346
USER
Which assembly is the representative body for that administrative territory ?
(Q221,P194,c(Q1752346))
action filter_type
action find
entity Q221
relation P194
type Q1752346
['Q221', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1752346 . resource:Q221 property:P194 ?t }
Republic of Macedonia
action filter_type
action find
entity Republic of Macedonia
relation legislative body
type assembly
['Republic of Macedonia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:assembly . resource:Republic_of_Macedonia property:legislative_body ?t }
[]
assembly
Q1258164
SYSTEM
Assembly of the Republic of Macedonia
Q1258164
(Q221,P194,c(Q1752346))
action filter_type
action find
entity Q221
relation P194
type Q1752346
The [ANSWER] is the representative body for that administrative territory
['Q221', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1752346 . resource:Q221 property:P194 ?t }
Assembly of the Republic of Macedonia
The Assembly of the Republic of Macedonia is the representative body for that administrative territory
Assembly of the Republic of Macedonia
action filter_type
action find
entity Republic of Macedonia
relation legislative body
type assembly
['Republic of Macedonia', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:assembly . resource:Republic_of_Macedonia property:legislative_body ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4023889
P54
Q1194951
USER
What is Žarko Odžakov a member of ?
(Q4023889,P54,c(Q1194951))
action filter_type
action find
entity Q4023889
relation P54
type Q1194951
['Q4023889', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q4023889 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Žarko Odžakov
action filter_type
action find
entity Žarko Odžakov
relation member of sports team
type national sports team
['Žarko Odžakov', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Žarko_Odžakov property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
national sports team
Q268208
SYSTEM
Australia national association football team
Q268208
(Q4023889,P54,c(Q1194951))
action filter_type
action find
entity Q4023889
relation P54
type Q1194951
[ANSWER]
['Q4023889', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q4023889 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Australia national association football team
Australia national association football team
action filter_type
action find
entity Žarko Odžakov
relation member of sports team
type national sports team
['Žarko Odžakov', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Žarko_Odžakov property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]