Simple Question (Direct)
Simple Question
Q3938265
P54
Q1194951
USER
Which national sports team is Robert Enes a member of ?
(Q3938265,P54,c(Q1194951))
action filter_type
action find
entity Q3938265
relation P54
type Q1194951
['Q3938265', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q3938265 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Robert Enes
action filter_type
action find
entity Robert Enes
relation member of sports team
type national sports team
['Robert Enes', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Enes property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
national sports team
Q268208
SYSTEM
Australia national association football team
Q268208
(Q3938265,P54,c(Q1194951))
action filter_type
action find
entity Q3938265
relation P54
type Q1194951
The [ANSWER] is Robert Enes a member of
['Q3938265', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?x WHERE { resource:Q3938265 property:P54 ?x . ?x rdf:type ontology:Q1194951 }
Australia national association football team
The Australia national association football team is Robert Enes a member of
Australia national association football team
action filter_type
action find
entity Robert Enes
relation member of sports team
type national sports team
['Robert Enes', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Enes property:member_of_sports_team ?x . ?x rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q268208
P1532
Q1048835
USER
Which political territory is represented by that national sports team ?
(Q268208,P1532,c(Q1048835))
action filter_type
action find
entity Q268208
relation P1532
type Q1048835
['Q268208', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q268208 property:P1532 ?q . ?q rdf:type ontology:Q1048835 }
Australia national association football team
action filter_type
action find
entity Australia national association football team
relation country for sport
type political territorial entity
['Australia national association football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Australia_national_association_football_team property:country_for_sport ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q268208,P1532,c(Q1048835))
action filter_type
action find
entity Q268208
relation P1532
type Q1048835
Team [ANSWER] is represented by that national sports team
['Q268208', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q268208 property:P1532 ?q . ?q rdf:type ontology:Q1048835 }
Australia
Team Australia is represented by that national sports team
Australia
action filter_type
action find
entity Australia national association football team
relation country for sport
type political territorial entity
['Australia national association football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Australia_national_association_football_team property:country_for_sport ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q408
P47
Q1048835 Q15617994
USER
How many political territories or administrative territories are bordered by Australia ?
(c(Q1048835),P47,Q408) (c(Q15617994),P47,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q408
relation P47
type Q15617994
[{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q15617994'}, 'P47', 'Q408']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?g rdf:type ?v }
Australia
action count
action union
action filter_type
action find_reverse
entity Australia
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Australia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Australia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?g rdf:type ?v }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q664 Q252 Q5095 Q691
(c(Q1048835),P47,Q408) (c(Q15617994),P47,Q408)
action count
action union
action filter_type
action find_reverse
entity Q408
relation P47
type Q1048835
action filter_type
action find_reverse
entity Q408
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q408'] [{'concept': 'Q15617994'}, 'P47', 'Q408']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?g rdf:type ?v }
New Zealand Indonesia Papua Papua New Guinea
4
action count
action union
action filter_type
action find_reverse
entity Australia
relation shares border with
type political territorial entity
action filter_type
action find_reverse
entity Australia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Australia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Australia']
SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?g rdf:type ?v }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q502895 Q13226383 Q3062294
USER
Which people did the commissioning of max number of facilities and Latin phrases ?
(c(Q13226383)|c(Q3062294),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q13226383
action find_reverse_tuple_counts
relation P88
type Q502895
type Q3062294
[[{'concept': 'Q13226383'}, {'concept': 'Q3062294'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?s WHERE { { ?p property:P88 ?s . ?s rdf:type ontology:Q502895 . ?p rdf:type ontology:Q13226383 } UNION { ?p property:P88 ?s . ?s rdf:type ontology:Q502895 . ?p rdf:type ontology:Q3062294 } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q13226383 . ?g property:P88 ?i } UNION { ?g property:P88 ?i . ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3062294 } } GROUP BY ?i } . FILTER ( ?b = ?v ) }
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type facility
action find_reverse_tuple_counts
relation commissioned by
type common name
type Latin phrase
[[{'concept': 'facility'}, {'concept': 'Latin phrase'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?s WHERE { { ?p property:commissioned_by ?s . ?s rdf:type ontology:common_name . ?p rdf:type ontology:facility } UNION { ?p property:commissioned_by ?s . ?s rdf:type ontology:common_name . ?p rdf:type ontology:Latin_phrase } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:common_name . ?g rdf:type ontology:facility . ?g property:commissioned_by ?i } UNION { ?g property:commissioned_by ?i . ?i rdf:type ontology:common_name . ?g rdf:type ontology:Latin_phrase } } GROUP BY ?i } . FILTER ( ?b = ?v ) }
[]
common name facility Latin phrase
Q36620 Q44961 Q338480
SYSTEM
Tycho Brahe, Charles Theodore, Elector of Bavaria, Nicolas Rolin
Q44961 Q36620 Q338480 Q16745596
(c(Q13226383)|c(Q3062294),P88,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q13226383
action find_reverse_tuple_counts
relation P88
type Q502895
type Q3062294
[ANSWERS] did the commissioning of max number of facilities and Latin phrases
[[{'concept': 'Q13226383'}, {'concept': 'Q3062294'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?s WHERE { { ?p property:P88 ?s . ?s rdf:type ontology:Q502895 . ?p rdf:type ontology:Q13226383 } UNION { ?p property:P88 ?s . ?s rdf:type ontology:Q502895 . ?p rdf:type ontology:Q3062294 } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q13226383 . ?g property:P88 ?i } UNION { ?g property:P88 ?i . ?i rdf:type ontology:Q502895 . ?g rdf:type ontology:Q3062294 } } GROUP BY ?i } . FILTER ( ?b = ?v ) }
Charles Theodore, Elector of Bavaria Tycho Brahe Nicolas Rolin Jacopo Pesaro
Tycho Brahe, Charles Theodore, Elector of Bavaria and Nicolas Rolin did the commissioning of max number of facilities and Latin phrases
Tycho Brahe Charles Theodore, Elector of Bavaria Nicolas Rolin
action argmax
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type facility
action find_reverse_tuple_counts
relation commissioned by
type common name
type Latin phrase
[[{'concept': 'facility'}, {'concept': 'Latin phrase'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?s WHERE { { ?p property:commissioned_by ?s . ?s rdf:type ontology:common_name . ?p rdf:type ontology:facility } UNION { ?p property:commissioned_by ?s . ?s rdf:type ontology:common_name . ?p rdf:type ontology:Latin_phrase } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?i WHERE { { ?i rdf:type ontology:common_name . ?g rdf:type ontology:facility . ?g property:commissioned_by ?i } UNION { ?g property:commissioned_by ?i . ?i rdf:type ontology:common_name . ?g rdf:type ontology:Latin_phrase } } GROUP BY ?i } . FILTER ( ?b = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q21104
P6
Q502895
USER
How many people are the heads of the government of Australia or Ærø Municipality ?
(Q408,P6,c(Q502895)) (Q21104,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q408
relation P6
type Q502895
action filter_type
action find
entity Q21104
relation P6
type Q502895
['Q408', 'P6', {'concept': 'Q502895'}] ['Q21104', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?s ) { ( resource:Q408 ) ( resource:Q21104 ) } . ?s property:P6 ?b }
Australia Ærø Municipality
action count
action union
action filter_type
action find
entity Australia
relation head of government
type common name
action filter_type
action find
entity Ærø Municipality
relation head of government
type common name
['Australia', 'head of government', {'concept': 'common name'}] ['Ærø Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?s ) { ( resource:Australia ) ( resource:Ærø_Municipality ) } . ?s property:head_of_government ?b }
[]
common name
SYSTEM
30
Q51330 Q41563 Q23386 Q348577 Q12320850 Q152666 Q314016 Q23369 Q356230 Q370926 Q313805 Q43135 Q312722 Q23352 Q356411 Q23342 Q927550 Q23379 Q23347 Q23375 Q23358 Q242654 Q370966 Q214438 Q356261 Q23362 Q269372 Q23333 Q315979 Q459146
(Q408,P6,c(Q502895)) (Q21104,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q408
relation P6
type Q502895
action filter_type
action find
entity Q21104
relation P6
type Q502895
[ANSWER]
['Q408', 'P6', {'concept': 'Q502895'}] ['Q21104', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?s ) { ( resource:Q408 ) ( resource:Q21104 ) } . ?s property:P6 ?b }
John Howard Julia Gillard John McEwen Tony Abbott Jørgen Otto Jørgensen Billy Hughes Andrew Fisher Arthur Fadden Joseph Cook Earle Page Alfred Deakin Kevin Rudd Harold Holt George Houstoun Reid John Gorton Edmund Barton Malcolm Turnbull Ben Chifley Chris Watson John Curtin Stanley Bruce Paul Keating Joseph Lyons Robert Menzies William McMahon James Scullin Bob Hawke Gough Whitlam Malcolm Fraser Frank Forde
30
action count
action union
action filter_type
action find
entity Australia
relation head of government
type common name
action filter_type
action find
entity Ærø Municipality
relation head of government
type common name
['Australia', 'head of government', {'concept': 'common name'}] ['Ærø Municipality', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { VALUES ( ?s ) { ( resource:Australia ) ( resource:Ærø_Municipality ) } . ?s property:head_of_government ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P551
Q502895
USER
Which people dwell at Australia ?
(c(Q502895),P551,Q408)
action filter_type
action find_reverse
entity Q408
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q408']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q408 . ?b rdf:type ontology:Q502895 }
Australia
action filter_type
action find_reverse
entity Australia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Australia']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Australia . ?b rdf:type ontology:common_name }
[]
common name
Q320 Q26922710 Q24284499
SYSTEM
Michelle Bachelet, Aline Gohard-Radenkovic, Faye Schenk
Q16888109 Q320 Q19847329 Q24091297 Q712208 Q3018035 Q289404 Q26922710 Q7346196 Q3372417 Q6214887 Q5044558 Q17285130 Q530413 Q19921825 Q24284499 Q5247918
(c(Q502895),P551,Q408)
action filter_type
action find_reverse
entity Q408
relation P551
type Q502895
[ANSWERS] dwell at Australia
[{'concept': 'Q502895'}, 'P551', 'Q408']
SELECT DISTINCT ?b WHERE { ?b property:P551 resource:Q408 . ?b rdf:type ontology:Q502895 }
Hagen Stehr Michelle Bachelet Leo van de Pas Ian Watkin Ashley Cooper David Hall Chris O'Neil Aline Gohard-Radenkovic Robert Jovicic Paul Wenz Johan Anderson Carol Shelton Giles Matthey Palmy Ian Fettes Faye Schenk Debbie Freeman
Michelle Bachelet, Aline Gohard-Radenkovic and Faye Schenk dwell at Australia
Michelle Bachelet Aline Gohard-Radenkovic Faye Schenk
action filter_type
action find_reverse
entity Australia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Australia']
SELECT DISTINCT ?b WHERE { ?b property:residence resource:Australia . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q320 Q26922710 Q24284499
P551
Q1048835
USER
Which political territories were the place of residence of Michelle Bachelet, Aline Gohard-Radenkovic and Faye Schenk ?
(Q320,P551,c(Q1048835)) (Q26922710,P551,c(Q1048835)) (Q24284499,P551,c(Q1048835))
action union
action filter_type
action find
entity Q320
relation P551
type Q1048835
action filter_type
action find
entity Q26922710
relation P551
type Q1048835
action filter_type
action find
entity Q24284499
relation P551
type Q1048835
['Q320', 'P551', {'concept': 'Q1048835'}] ['Q26922710', 'P551', {'concept': 'Q1048835'}] ['Q24284499', 'P551', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { resource:Q320 property:P551 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q26922710 property:P551 ?a . ?a rdf:type ontology:Q1048835 } }
Michelle Bachelet Aline Gohard-Radenkovic Faye Schenk
action union
action filter_type
action find
entity Michelle Bachelet
relation residence
type political territorial entity
action filter_type
action find
entity Aline Gohard-Radenkovic
relation residence
type political territorial entity
action filter_type
action find
entity Faye Schenk
relation residence
type political territorial entity
['Michelle Bachelet', 'residence', {'concept': 'political territorial entity'}] ['Aline Gohard-Radenkovic', 'residence', {'concept': 'political territorial entity'}] ['Faye Schenk', 'residence', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Michelle_Bachelet property:residence ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Aline_Gohard-Radenkovic property:residence ?a . ?a rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q408 Q408 Q408
SYSTEM
Australia
Q408 Q40 Q408 Q408
(Q320,P551,c(Q1048835)) (Q26922710,P551,c(Q1048835)) (Q24284499,P551,c(Q1048835))
action union
action filter_type
action find
entity Q320
relation P551
type Q1048835
action filter_type
action find
entity Q26922710
relation P551
type Q1048835
action filter_type
action find
entity Q24284499
relation P551
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] were the place of residence of Michelle Bachelet, Aline Gohard-Radenkovic and Faye Schenk
['Q320', 'P551', {'concept': 'Q1048835'}] ['Q26922710', 'P551', {'concept': 'Q1048835'}] ['Q24284499', 'P551', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { { resource:Q320 property:P551 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q26922710 property:P551 ?a . ?a rdf:type ontology:Q1048835 } }
Australia Austria Australia Australia
Australia, Australia and Australia were the place of residence of Michelle Bachelet, Aline Gohard-Radenkovic and Faye Schenk
Australia Australia Australia
action union
action filter_type
action find
entity Michelle Bachelet
relation residence
type political territorial entity
action filter_type
action find
entity Aline Gohard-Radenkovic
relation residence
type political territorial entity
action filter_type
action find
entity Faye Schenk
relation residence
type political territorial entity
['Michelle Bachelet', 'residence', {'concept': 'political territorial entity'}] ['Aline Gohard-Radenkovic', 'residence', {'concept': 'political territorial entity'}] ['Faye Schenk', 'residence', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Michelle_Bachelet property:residence ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Aline_Gohard-Radenkovic property:residence ?a . ?a rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P1376
Q56061
USER
Which administrative territory is the capital of Australia ?
(c(Q56061),P1376,Q408)
action filter_type
action find_reverse
entity Q408
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q408']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . ?o property:P1376 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Australia']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?o property:capital_of resource:Australia }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(c(Q56061),P1376,Q408)
action filter_type
action find_reverse
entity Q408
relation P1376
type Q56061
[ANSWER] is the capital of Australia
[{'concept': 'Q56061'}, 'P1376', 'Q408']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . ?o property:P1376 resource:Q408 }
Canberra
Canberra is the capital of Australia
Canberra
action filter_type
action find_reverse
entity Australia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Australia']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?o property:capital_of resource:Australia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P937
Q502895
USER
Who works at Australia ?
(c(Q502895),P937,Q408)
action filter_type
action find_reverse
entity Q408
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q408']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P937 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Australia']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:work_location resource:Australia }
[]
common name
Q124155 Q23874683 Q20829707
SYSTEM
Johann Menge, Charles Cousen, Dusan Marek
Q124155 Q21609308 Q23874683 Q20829707 Q20856716
(c(Q502895),P937,Q408)
action filter_type
action find_reverse
entity Q408
relation P937
type Q502895
[ANSWERS] work at Australia
[{'concept': 'Q502895'}, 'P937', 'Q408']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P937 resource:Q408 }
Johann Menge Maurice Felton Charles Cousen Dusan Marek Hilarie Mais
Johann Menge, Charles Cousen and Dusan Marek work at Australia
Johann Menge Charles Cousen Dusan Marek
action filter_type
action find_reverse
entity Australia
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Australia']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:work_location resource:Australia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3114
P17
Q1048835
USER
Which political territory is Canberra present in ?
(Q3114,P17,c(Q1048835))
action filter_type
action find
entity Q3114
relation P17
type Q1048835
['Q3114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q3114 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Canberra
action filter_type
action find
entity Canberra
relation country
type political territorial entity
['Canberra', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Canberra property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3114,P17,c(Q1048835))
action filter_type
action find
entity Q3114
relation P17
type Q1048835
Which political territory is Canberra present in
['Q3114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { resource:Q3114 property:P17 ?s . ?s rdf:type ontology:Q1048835 }
Australia
Which political territory is Canberra present in
Australia
action filter_type
action find
entity Canberra
relation country
type political territorial entity
['Canberra', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Canberra property:country ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5453357
Q1048835
USER
And also tell me about First Māori elections?
(Q5453357,P17,c(Q1048835))
action filter_type
action find
entity Q5453357
relation P17
type Q1048835
['Q5453357', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q5453357 property:P17 ?z }
First Māori elections
action filter_type
action find
entity First Māori elections
relation country
type political territorial entity
['First Māori elections', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:First_Māori_elections property:country ?z }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q5453357,P17,c(Q1048835))
action filter_type
action find
entity Q5453357
relation P17
type Q1048835
[ANSWER]
['Q5453357', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q1048835 . resource:Q5453357 property:P17 ?z }
New Zealand
New Zealand
action filter_type
action find
entity First Māori elections
relation country
type political territorial entity
['First Māori elections', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:political_territorial_entity . resource:First_Māori_elections property:country ?z }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q664 Q16 Q1447785
P530
Q1048835
USER
Does that political territory have ambassadorial relations with Canada and Paterna del Río ?
(Q664,P530,Q16) (Q664,P530,Q1447785)
action is_in
entity Q664
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q1447785
relation P530
['Q664', 'P530', 'Q16'] ['Q664', 'P530', 'Q1447785']
ASK WHERE { resource:Q664 property:P530 resource:Q1447785 . resource:Q664 property:P530 resource:Q16 }
New Zealand Canada Paterna del Río
action is_in
entity New Zealand
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Paterna del Río
relation diplomatic relation
['New Zealand', 'diplomatic relation', 'Canada'] ['New Zealand', 'diplomatic relation', 'Paterna del Río']
ASK WHERE { resource:New_Zealand property:diplomatic_relation resource:Paterna_del_Río . resource:New_Zealand property:diplomatic_relation resource:Canada }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q664,P530,Q16) (Q664,P530,Q1447785)
action is_in
entity Q664
action intersection
action find_reverse
entity Q16
relation P530
action find_reverse
entity Q1447785
relation P530
[ANSWER]
['Q664', 'P530', 'Q16'] ['Q664', 'P530', 'Q1447785']
ASK WHERE { resource:Q664 property:P530 resource:Q1447785 . resource:Q664 property:P530 resource:Q16 }
YES and NO respectively
action is_in
entity New Zealand
action intersection
action find_reverse
entity Canada
relation diplomatic relation
action find_reverse
entity Paterna del Río
relation diplomatic relation
['New Zealand', 'diplomatic relation', 'Canada'] ['New Zealand', 'diplomatic relation', 'Paterna del Río']
ASK WHERE { resource:New_Zealand property:diplomatic_relation resource:Paterna_del_Río . resource:New_Zealand property:diplomatic_relation resource:Canada }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20829707 Q1801749
P27
Q1048835
USER
Is Dusan Marek a civilian of Brasilândia do Tocantins ?
(Q20829707,P27,Q1801749)
action is_in
entity Q1801749
action find
entity Q20829707
relation P27
['Q20829707', 'P27', 'Q1801749']
ASK WHERE { resource:Q20829707 property:P27 resource:Q1801749 }
Dusan Marek Brasilândia do Tocantins
action is_in
entity Brasilândia do Tocantins
action find
entity Dusan Marek
relation country of citizenship
['Dusan Marek', 'country of citizenship', 'Brasilândia do Tocantins']
ASK WHERE { resource:Dusan_Marek property:country_of_citizenship resource:Brasilândia_do_Tocantins }
[]
political territorial entity
SYSTEM
NO
(Q20829707,P27,Q1801749)
action is_in
entity Q1801749
action find
entity Q20829707
relation P27
[ANSWER]
['Q20829707', 'P27', 'Q1801749']
ASK WHERE { resource:Q20829707 property:P27 resource:Q1801749 }
No
action is_in
entity Brasilândia do Tocantins
action find
entity Dusan Marek
relation country of citizenship
['Dusan Marek', 'country of citizenship', 'Brasilândia do Tocantins']
ASK WHERE { resource:Dusan_Marek property:country_of_citizenship resource:Brasilândia_do_Tocantins }
[]