Simple Question (Direct)
Simple Question
Q793629
P22
Q502895
USER
Which male person was the parent of Andor Kozma ?
(Q793629,P22,c(Q502895))
action filter_type
action find
entity Q793629
relation P22
type Q502895
['Q793629', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q793629 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Andor Kozma
action filter_type
action find
entity Andor Kozma
relation father
type common name
['Andor Kozma', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Andor_Kozma property:father ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1120673
SYSTEM
Sándor Kozma
Q1120673
(Q793629,P22,c(Q502895))
action filter_type
action find
entity Q793629
relation P22
type Q502895
[ANSWER] was the parent of Andor Kozma
['Q793629', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q793629 property:P22 ?u . ?u rdf:type ontology:Q502895 }
Sándor Kozma
Sándor Kozma was the parent of Andor Kozma
Sándor Kozma
action filter_type
action find
entity Andor Kozma
relation father
type common name
['Andor Kozma', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Andor_Kozma property:father ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q793629
P27
Q15617994
USER
Which administrative territory is the native country of Andor Kozma ?
(Q793629,P27,c(Q15617994))
action filter_type
action find
entity Q793629
relation P27
type Q15617994
['Q793629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q793629 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Andor Kozma
action filter_type
action find
entity Andor Kozma
relation country of citizenship
type designation for an administrative territorial entity
['Andor Kozma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Andor_Kozma property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q793629,P27,c(Q15617994))
action filter_type
action find
entity Q793629
relation P27
type Q15617994
In [ANSWER] is the native country of Andor Kozma
['Q793629', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q793629 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Hungary
In Hungary is the native country of Andor Kozma
Hungary
action filter_type
action find
entity Andor Kozma
relation country of citizenship
type designation for an administrative territorial entity
['Andor Kozma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Andor_Kozma property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P138
Q2472587
USER
Which people is the origin of that administrative territory ?
(Q28,P138,c(Q2472587))
action filter_type
action find
entity Q28
relation P138
type Q2472587
['Q28', 'P138', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q28 property:P138 ?z . ?z rdf:type ontology:Q2472587 }
Hungary
action filter_type
action find
entity Hungary
relation named after
type people
['Hungary', 'named after', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Hungary property:named_after ?z . ?z rdf:type ontology:people }
[]
people
Q133032
SYSTEM
Hungarian people
Q133032
(Q28,P138,c(Q2472587))
action filter_type
action find
entity Q28
relation P138
type Q2472587
The [ANSWER] is the origin of that administrative territory
['Q28', 'P138', {'concept': 'Q2472587'}]
SELECT DISTINCT ?z WHERE { resource:Q28 property:P138 ?z . ?z rdf:type ontology:Q2472587 }
Hungarian people
The Hungarian people is the origin of that administrative territory
Hungarian people
action filter_type
action find
entity Hungary
relation named after
type people
['Hungary', 'named after', {'concept': 'people'}]
SELECT DISTINCT ?z WHERE { resource:Hungary property:named_after ?z . ?z rdf:type ontology:people }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q133032 Q641328
P17
Q15617994
USER
Is that people present in Olmscheid ?
(Q133032,P17,Q641328)
action is_in
entity Q641328
action find
entity Q133032
relation P17
['Q133032', 'P17', 'Q641328']
ASK WHERE { resource:Q133032 property:P17 resource:Q641328 }
Hungarian people Olmscheid
action is_in
entity Olmscheid
action find
entity Hungarian people
relation country
['Hungarian people', 'country', 'Olmscheid']
ASK WHERE { resource:Hungarian_people property:country resource:Olmscheid }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q133032,P17,Q641328)
action is_in
entity Q641328
action find
entity Q133032
relation P17
[ANSWER]
['Q133032', 'P17', 'Q641328']
ASK WHERE { resource:Q133032 property:P17 resource:Q641328 }
No
action is_in
entity Olmscheid
action find
entity Hungarian people
relation country
['Hungarian people', 'country', 'Olmscheid']
ASK WHERE { resource:Hungarian_people property:country resource:Olmscheid }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around 33 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?x = 33 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?x ) WHERE { ?r property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?x = 33 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?x ) WHERE { ?r property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q159 Q30
SYSTEM
Russia, United States of America
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 33
[ANSWERS] have diplomatic relationships with around 33 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?x = 33 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?x ) WHERE { ?r property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } }
Russia United States of America
Russia and United States of America have diplomatic relationships with around 33 administrative territories
Russia United States of America
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 33
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?x = 33 ) . { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?x ) WHERE { ?r property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q337567 Q15617994
USER
How many administrative territories come from atleast 1 administrative territories and still waterss ?
(c(Q15617994),P138,c(Q15617994)|c(Q337567))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q337567
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:Q337567 ) ( ontology:Q15617994 ) } . ?k rdf:type ?s } GROUP BY ?n } }
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:still_waters ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?s } GROUP BY ?n } }
[]
designation for an administrative territorial entity still waters designation for an administrative territorial entity
SYSTEM
9
Q707 Q1093 Q625403 Q691368 Q1904 Q1101 Q1788988 Q217 Q12761
(c(Q15617994),P138,c(Q15617994)|c(Q337567))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q15617994
action find_tuple_counts
relation P138
type Q15617994
type Q337567
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:Q337567 ) ( ontology:Q15617994 ) } . ?k rdf:type ?s } GROUP BY ?n } }
Flevoland Limburg Schwielowsee Léman Ontario North Brabant Trasimène Republic of Moldova Seine-Saint-Denis
9
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?v ) WHERE { VALUES ( ?s ) { ( ontology:still_waters ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?k rdf:type ?s } GROUP BY ?n } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q693679 Q159
P47 P530
Q1048835
USER
Which political territories have a diplomatic relationship with Russia or share border with Chóvar ?
OR((Q159,P530,c(Q1048835)), (Q693679,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q159
relation P530
action find
entity Q693679
relation P47
type Q1048835
{'OR': [['Q159', 'P530', {'concept': 'Q1048835'}], ['Q693679', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q159 property:P530 ?b } UNION { resource:Q693679 property:P47 ?b } } . ?b rdf:type ontology:Q1048835 }
Chóvar Russia
action filter_type
action union
action find
entity Russia
relation diplomatic relation
action find
entity Chóvar
relation shares border with
type political territorial entity
{'OR': [['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Chóvar', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Russia property:diplomatic_relation ?b } UNION { resource:Chóvar property:shares_border_with ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1769981 Q183 Q735833 Q408 Q16 Q1753047 Q1769907 Q1645719
SYSTEM
Eslida, Germany, Aín, Australia, Canada, Azuébar, Alfondeguilla, Soneja
Q1769981 Q183 Q735833 Q408 Q16 Q1753047 Q1769907 Q1645719
OR((Q159,P530,c(Q1048835)), (Q693679,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q159
relation P530
action find
entity Q693679
relation P47
type Q1048835
[ANSWERS] have a diplomatic relationship with Russia or share border with Chóvar
{'OR': [['Q159', 'P530', {'concept': 'Q1048835'}], ['Q693679', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q159 property:P530 ?b } UNION { resource:Q693679 property:P47 ?b } } . ?b rdf:type ontology:Q1048835 }
Eslida Germany Aín Australia Canada Azuébar Alfondeguilla Soneja
Eslida, Germany, Aín, Australia, Canada, Azuébar, Alfondeguilla and Soneja have a diplomatic relationship with Russia or share border with Chóvar
Eslida Germany Aín Australia Canada Azuébar Alfondeguilla Soneja
action filter_type
action union
action find
entity Russia
relation diplomatic relation
action find
entity Chóvar
relation shares border with
type political territorial entity
{'OR': [['Russia', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Chóvar', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Russia property:diplomatic_relation ?b } UNION { resource:Chóvar property:shares_border_with ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q691
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relationships with greater number of political territories than Papua New Guinea ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q691
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 . ?t property:P530 ?m } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q691 property:P530 ?u } } . FILTER ( ?z > ?x ) }
Papua New Guinea
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?u } } . FILTER ( ?z > ?x ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q691
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 . ?t property:P530 ?m } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:Q1048835 . resource:Q691 property:P530 ?u } } . FILTER ( ?z > ?x ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?z ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?u } } . FILTER ( ?z > ?x ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have tactful political relations with atleast 10 political territories ?
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 10
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?j property:P530 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?j } . FILTER ( ?e >= 10 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 10
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?j property:diplomatic_relation ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?j } . FILTER ( ?e >= 10 ) }
[]
political territorial entity political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 10
[ANSWER] have tactful political relations with atleast 10 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?j property:P530 ?h . ?j rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q1048835 } GROUP BY ?j } . FILTER ( ?e >= 10 ) }
Australia
Australia have tactful political relations with atleast 10 political territories
Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 10
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?e ) WHERE { ?j property:diplomatic_relation ?h . ?j rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?j } . FILTER ( ?e >= 10 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P36
Q56061
USER
Which administrative territory is the capital of that political territory ?
(Q408,P36,c(Q56061))
action filter_type
action find
entity Q408
relation P36
type Q56061
['Q408', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q408 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Australia
action filter_type
action find
entity Australia
relation capital
type administrative territorial entity
['Australia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Australia property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(Q408,P36,c(Q56061))
action filter_type
action find
entity Q408
relation P36
type Q56061
[ANSWER] is the capital of that political territory
['Q408', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q408 property:P36 ?q . ?q rdf:type ontology:Q56061 }
Canberra
Canberra is the capital of that political territory
Canberra
action filter_type
action find
entity Australia
relation capital
type administrative territorial entity
['Australia', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Australia property:capital ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3114 Q956 Q9310
P190
Q56061
USER
Is that administrative territory sister town of Beijing and Dili ?
(Q3114,P190,Q956) (Q3114,P190,Q9310)
action is_in
entity Q3114
action intersection
action find_reverse
entity Q956
relation P190
action find_reverse
entity Q9310
relation P190
['Q3114', 'P190', 'Q956'] ['Q3114', 'P190', 'Q9310']
ASK WHERE { resource:Q3114 property:P190 resource:Q956 . resource:Q3114 property:P190 resource:Q9310 }
Canberra Beijing Dili
action is_in
entity Canberra
action intersection
action find_reverse
entity Beijing
relation sister city
action find_reverse
entity Dili
relation sister city
['Canberra', 'sister city', 'Beijing'] ['Canberra', 'sister city', 'Dili']
ASK WHERE { resource:Canberra property:sister_city resource:Beijing . resource:Canberra property:sister_city resource:Dili }
[]
administrative territorial entity
SYSTEM
YES
(Q3114,P190,Q956) (Q3114,P190,Q9310)
action is_in
entity Q3114
action intersection
action find_reverse
entity Q956
relation P190
action find_reverse
entity Q9310
relation P190
[ANSWER]
['Q3114', 'P190', 'Q956'] ['Q3114', 'P190', 'Q9310']
ASK WHERE { resource:Q3114 property:P190 resource:Q956 . resource:Q3114 property:P190 resource:Q9310 }
Yes
action is_in
entity Canberra
action intersection
action find_reverse
entity Beijing
relation sister city
action find_reverse
entity Dili
relation sister city
['Canberra', 'sister city', 'Beijing'] ['Canberra', 'sister city', 'Dili']
ASK WHERE { resource:Canberra property:sister_city resource:Beijing . resource:Canberra property:sister_city resource:Dili }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3114
P159
Q43229
USER
Which organizations have their HQ location at Canberra ?
action filter_type
action find_reverse
entity Q3114
relation P159
type Q43229
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q3114 . ?l rdf:type ontology:Q43229 }
Canberra
action filter_type
action find_reverse
entity Canberra
relation headquarters location
type organization
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Canberra . ?l rdf:type ontology:organization }
[]
organization
Q5176360 Q7671069 Q288778
SYSTEM
Council of Australian University Librarians, TOWER Software, ACTEW Corporation
Q6433025 Q5176360 Q6043762 Q5473100 Q343225 Q16976284 Q4823552 Q7671069 Q5010194 Q288778 Q5509338 Q3021193 Q7548230 Q781536 Q5418939 Q6978286 Q4824090 Q7576342 Q6979519 Q7641883 Q3537330
action filter_type
action find_reverse
entity Q3114
relation P159
type Q43229
[ANSWERS] have their HQ location at Canberra
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q3114 . ?l rdf:type ontology:Q43229 }
Kosciuszko Huts Association Council of Australian University Librarians Intelledox Forum for European–Australian Science and Technology Cooperation ActewAGL Sportsmans Warehouse Australia 21 TOWER Software CEA Technologies ACTEW Corporation Funnelback Defence Materiel Organisation Snow Foundation Australian Institute of Sport Eway National Science Summer School Inc. Australian Digital Alliance Speranski National Youth Science Forum Supabarn Supermarkets TransACT
Council of Australian University Librarians, TOWER Software and ACTEW Corporation have their HQ location at Canberra
Council of Australian University Librarians TOWER Software ACTEW Corporation
action filter_type
action find_reverse
entity Canberra
relation headquarters location
type organization
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Canberra . ?l rdf:type ontology:organization }
[]