Simple Question (Direct)
Simple Question
Q5399237
P1412
Q34770
USER
Which language can Manuel Bermúdez de Castro y Díez understand ?
(Q5399237,P1412,c(Q34770))
action filter_type
action find
entity Q5399237
relation P1412
type Q34770
['Q5399237', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q5399237 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Manuel Bermúdez de Castro y Díez
action filter_type
action find
entity Manuel Bermúdez de Castro y Díez
relation languages spoken, written or signed
type language
['Manuel Bermúdez de Castro y Díez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Manuel_Bermúdez_de_Castro_y_Díez property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5399237,P1412,c(Q34770))
action filter_type
action find
entity Q5399237
relation P1412
type Q34770
Manuel Bermúdez de Castro y Díez can understand the [ANSWER]
['Q5399237', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q5399237 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Manuel Bermúdez de Castro y Díez can understand the Spanish
Spanish
action filter_type
action find
entity Manuel Bermúdez de Castro y Díez
relation languages spoken, written or signed
type language
['Manuel Bermúdez de Castro y Díez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Manuel_Bermúdez_de_Castro_y_Díez property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5399237
P102
Q7210356
USER
Which party is Manuel Bermúdez de Castro y Díez affiliated with ?
(Q5399237,P102,c(Q7210356))
action filter_type
action find
entity Q5399237
relation P102
type Q7210356
['Q5399237', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q5399237 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Manuel Bermúdez de Castro y Díez
action filter_type
action find
entity Manuel Bermúdez de Castro y Díez
relation member of political party
type political organization
['Manuel Bermúdez de Castro y Díez', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Manuel_Bermúdez_de_Castro_y_Díez property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q2054678
SYSTEM
Moderate Party
Q2054678
(Q5399237,P102,c(Q7210356))
action filter_type
action find
entity Q5399237
relation P102
type Q7210356
Manuel Bermúdez de Castro y Díez is affiliated with [ANSWER]
['Q5399237', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q5399237 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Moderate Party
Manuel Bermúdez de Castro y Díez is affiliated with Moderate Party
Moderate Party
action filter_type
action find
entity Manuel Bermúdez de Castro y Díez
relation member of political party
type political organization
['Manuel Bermúdez de Castro y Díez', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Manuel_Bermúdez_de_Castro_y_Díez property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2054678 Q3570830
P102
Q502895
USER
Does Gustave Delacroix de Ravignan belong to the political party named that one ?
(Q3570830,P102,Q2054678)
action is_in
entity Q3570830
action find
entity Q2054678
relation P102
['Q3570830', 'P102', 'Q2054678']
ASK WHERE { resource:Q2054678 property:P102 resource:Q3570830 }
Moderate Party Gustave Delacroix de Ravignan
action is_in
entity Gustave Delacroix de Ravignan
action find
entity Moderate Party
relation member of political party
['Gustave Delacroix de Ravignan', 'member of political party', 'Moderate Party']
ASK WHERE { resource:Moderate_Party property:member_of_political_party resource:Gustave_Delacroix_de_Ravignan }
[]
common name
SYSTEM
NO
(Q3570830,P102,Q2054678)
action is_in
entity Q3570830
action find
entity Q2054678
relation P102
[ANSWER]
['Q3570830', 'P102', 'Q2054678']
ASK WHERE { resource:Q2054678 property:P102 resource:Q3570830 }
No
action is_in
entity Gustave Delacroix de Ravignan
action find
entity Moderate Party
relation member of political party
['Gustave Delacroix de Ravignan', 'member of political party', 'Moderate Party']
ASK WHERE { resource:Moderate_Party property:member_of_political_party resource:Gustave_Delacroix_de_Ravignan }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3141717 Q2054678
P27 P17
Q15617994
USER
Which administrative territories are Moderate Party a part of or do Hreidmarr belong to ?
OR((Q2054678,P17,c(Q15617994)), (Q3141717,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2054678
relation P17
action find
entity Q3141717
relation P27
type Q15617994
{'OR': [['Q2054678', 'P17', {'concept': 'Q15617994'}], ['Q3141717', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q2054678 property:P17 ?g } UNION { resource:Q3141717 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Hreidmarr Moderate Party
action filter_type
action union
action find
entity Moderate Party
relation country
action find
entity Hreidmarr
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Moderate Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hreidmarr', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Moderate_Party property:country ?g } UNION { resource:Hreidmarr property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29
SYSTEM
France, Spain
Q142 Q29
OR((Q2054678,P17,c(Q15617994)), (Q3141717,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2054678
relation P17
action find
entity Q3141717
relation P27
type Q15617994
[ANSWERS] are Moderate Party a part of or do Hreidmarr belong to
{'OR': [['Q2054678', 'P17', {'concept': 'Q15617994'}], ['Q3141717', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q2054678 property:P17 ?g } UNION { resource:Q3141717 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
France Spain
France and Spain are Moderate Party a part of or do Hreidmarr belong to
France Spain
action filter_type
action union
action find
entity Moderate Party
relation country
action find
entity Hreidmarr
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Moderate Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hreidmarr', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Moderate_Party property:country ?g } UNION { resource:Hreidmarr property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20978992
P27
Q502895
USER
Are Alexis Frederic Marí Malonda a citizen of those administrative territories ?
(Q20978992,P27,Q142) (Q20978992,P27,Q29)
action is_in
entity prev_answer
action find
entity Q20978992
relation P27
['Q20978992', 'P27', 'Q142'] ['Q20978992', 'P27', 'Q29']
ASK WHERE { resource:Q20978992 property:P27 ?y . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q29 ) } }
Alexis Frederic Marí Malonda
action is_in
entity prev_answer
action find
entity Alexis Frederic Marí Malonda
relation country of citizenship
['Alexis Frederic Marí Malonda', 'country of citizenship', 'France'] ['Alexis Frederic Marí Malonda', 'country of citizenship', 'Spain']
ASK WHERE { resource:Alexis_Frederic_Marí_Malonda property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:France ) ( resource:Spain ) } }
[]
common name
SYSTEM
YES
(Q20978992,P27,Q142) (Q20978992,P27,Q29)
action is_in
entity prev_answer
action find
entity Q20978992
relation P27
[ANSWER]
['Q20978992', 'P27', 'Q142'] ['Q20978992', 'P27', 'Q29']
ASK WHERE { resource:Q20978992 property:P27 ?y . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q29 ) } }
Yes
action is_in
entity prev_answer
action find
entity Alexis Frederic Marí Malonda
relation country of citizenship
['Alexis Frederic Marí Malonda', 'country of citizenship', 'France'] ['Alexis Frederic Marí Malonda', 'country of citizenship', 'Spain']
ASK WHERE { resource:Alexis_Frederic_Marí_Malonda property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:France ) ( resource:Spain ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2054678 Q93300
P17
Q15617994
USER
Is Moderate Party present in Spreetal ?
(Q2054678,P17,Q93300)
action is_in
entity Q93300
action find
entity Q2054678
relation P17
['Q2054678', 'P17', 'Q93300']
ASK WHERE { resource:Q2054678 property:P17 resource:Q93300 }
Moderate Party Spreetal
action is_in
entity Spreetal
action find
entity Moderate Party
relation country
['Moderate Party', 'country', 'Spreetal']
ASK WHERE { resource:Moderate_Party property:country resource:Spreetal }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2054678,P17,Q93300)
action is_in
entity Q93300
action find
entity Q2054678
relation P17
[ANSWER]
['Q2054678', 'P17', 'Q93300']
ASK WHERE { resource:Q2054678 property:P17 resource:Q93300 }
No
action is_in
entity Spreetal
action find
entity Moderate Party
relation country
['Moderate Party', 'country', 'Spreetal']
ASK WHERE { resource:Moderate_Party property:country resource:Spreetal }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7968217
Q14524493
USER
And how about Wapack Range?
(Q7968217,P610,c(Q14524493))
action filter_type
action find
entity Q7968217
relation P610
type Q14524493
['Q7968217', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q7968217 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Wapack Range
action filter_type
action find
entity Wapack Range
relation highest point
type terrain
['Wapack Range', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Wapack_Range property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
terrain
Q7122868
SYSTEM
Pack Monadnock
Q7122868
(Q7968217,P610,c(Q14524493))
action filter_type
action find
entity Q7968217
relation P610
type Q14524493
[ANSWER]
['Q7968217', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { resource:Q7968217 property:P610 ?s . ?s rdf:type ontology:Q14524493 }
Pack Monadnock
Pack Monadnock
action filter_type
action find
entity Wapack Range
relation highest point
type terrain
['Wapack Range', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { resource:Wapack_Range property:highest_point ?s . ?s rdf:type ontology:terrain }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q1307214 Q15617994 Q15617994
USER
Which administrative territories have atmost 2 forms of government and administrative territories as the type of government ?
(c(Q15617994),P122,c(Q1307214)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { { ?n property:P122 ?w . ?w rdf:type ontology:Q1307214 . ?n rdf:type ontology:Q15617994 } UNION { ?n property:P122 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?i <= 2 ) }
action atmost
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { { ?n property:basic_form_of_government ?w . ?w rdf:type ontology:form_of_government . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:basic_form_of_government ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?i <= 2 ) }
[]
form of government designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q208500 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q1307214)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action find_tuple_counts
relation P122
type Q15617994
type Q15617994
value 2
[ANSWERS] have atmost 2 forms of government and administrative territories as the type of government
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q1307214'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { { ?n property:P122 ?w . ?w rdf:type ontology:Q1307214 . ?n rdf:type ontology:Q15617994 } UNION { ?n property:P122 ?w . ?n rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?n } . FILTER ( ?i <= 2 ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal principality Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have atmost 2 forms of government and administrative territories as the type of government
Italy Brazil United States of America
action atmost
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'form of government'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?i ) WHERE { { ?n property:basic_form_of_government ?w . ?w rdf:type ontology:form_of_government . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?n property:basic_form_of_government ?w . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?i <= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P740
Q334453 Q43229
USER
How many divisions or organizations were formed at France ?
(c(Q334453),P740,Q142) (c(Q43229),P740,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P740
type Q334453
action filter_type
action find_reverse
entity Q142
relation P740
type Q43229
[{'concept': 'Q334453'}, 'P740', 'Q142'] [{'concept': 'Q43229'}, 'P740', 'Q142']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:P740 resource:Q142 . ?j rdf:type ontology:Q334453 } UNION { ?j property:P740 resource:Q142 . ?j rdf:type ontology:Q43229 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation location of formation
type division
action filter_type
action find_reverse
entity France
relation location of formation
type organization
[{'concept': 'division'}, 'location of formation', 'France'] [{'concept': 'organization'}, 'location of formation', 'France']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:location_of_formation resource:France . ?j rdf:type ontology:division } UNION { ?j property:location_of_formation resource:France . ?j rdf:type ontology:organization } }
[]
division organization
SYSTEM
10
Q18126700 Q3140536 Q3205965 Q3221021 Q3866987 Q1075391 Q5514400 Q3093177 Q322644 Q294520
(c(Q334453),P740,Q142) (c(Q43229),P740,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P740
type Q334453
action filter_type
action find_reverse
entity Q142
relation P740
type Q43229
[ANSWER]
[{'concept': 'Q334453'}, 'P740', 'Q142'] [{'concept': 'Q43229'}, 'P740', 'Q142']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:P740 resource:Q142 . ?j rdf:type ontology:Q334453 } UNION { ?j property:P740 resource:Q142 . ?j rdf:type ontology:Q43229 } }
KDS Horiba ABX SAS LC Waikiki Chant du Monde Mulberry Chloé GRAITEC GEFCO Hutchinson SA Alten
10
action count
action union
action filter_type
action find_reverse
entity France
relation location of formation
type division
action filter_type
action find_reverse
entity France
relation location of formation
type organization
[{'concept': 'division'}, 'location of formation', 'France'] [{'concept': 'organization'}, 'location of formation', 'France']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { ?j property:location_of_formation resource:France . ?j rdf:type ontology:division } UNION { ?j property:location_of_formation resource:France . ?j rdf:type ontology:organization } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1905051
P17
Q15617994
USER
How many administrative territories are Gymnasium Karlovac situated in ?
(Q1905051,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1905051
relation P17
type Q15617994
['Q1905051', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q1905051 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Gymnasium Karlovac
action count
action filter_type
action find
entity Gymnasium Karlovac
relation country
type designation for an administrative territorial entity
['Gymnasium Karlovac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Gymnasium_Karlovac property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q224
(Q1905051,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1905051
relation P17
type Q15617994
[ANSWER]
['Q1905051', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q1905051 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Croatia
1
action count
action filter_type
action find
entity Gymnasium Karlovac
relation country
type designation for an administrative territorial entity
['Gymnasium Karlovac', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Gymnasium_Karlovac property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7230631 Q142
P530 P17
Q1048835
USER
Which political territories have diplomatic relationships with France and are Port Franklin present in ?
AND((Q142,P530,c(Q1048835)), (Q7230631,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q7230631
relation P17
type Q1048835
{'AND': [['Q142', 'P530', {'concept': 'Q1048835'}], ['Q7230631', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { resource:Q142 property:P530 ?x . resource:Q7230631 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Port Franklin France
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Port Franklin
relation country
type political territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Port Franklin', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:France property:diplomatic_relation ?x . resource:Port_Franklin property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q142,P530,c(Q1048835)), (Q7230631,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q142
relation P530
action find
entity Q7230631
relation P17
type Q1048835
[ANSWER] have diplomatic relationships with France and are Port Franklin present in
{'AND': [['Q142', 'P530', {'concept': 'Q1048835'}], ['Q7230631', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { resource:Q142 property:P530 ?x . resource:Q7230631 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Australia
Australia have diplomatic relationships with France and are Port Franklin present in
Australia
action filter_type
action intersection
action find
entity France
relation diplomatic relation
action find
entity Port Franklin
relation country
type political territorial entity
{'AND': [['France', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Port Franklin', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:France property:diplomatic_relation ?x . resource:Port_Franklin property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q408 Q157864 Q801
P530
Q15617994
USER
Is that political territory known to have diplomatic connections with Rio nell'Elba and Israel ?
(Q408,P530,Q157864) (Q408,P530,Q801)
action is_in
entity Q408
action intersection
action find_reverse
entity Q157864
relation P530
action find_reverse
entity Q801
relation P530
['Q408', 'P530', 'Q157864'] ['Q408', 'P530', 'Q801']
ASK WHERE { resource:Q408 property:P530 resource:Q157864 . resource:Q408 property:P530 resource:Q801 }
Australia Rio nell'Elba Israel
action is_in
entity Australia
action intersection
action find_reverse
entity Rio nell'Elba
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['Australia', 'diplomatic relation', "Rio nell'Elba"] ['Australia', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Rio_nell'Elba . resource:Australia property:diplomatic_relation resource:Israel }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q408,P530,Q157864) (Q408,P530,Q801)
action is_in
entity Q408
action intersection
action find_reverse
entity Q157864
relation P530
action find_reverse
entity Q801
relation P530
[ANSWER]
['Q408', 'P530', 'Q157864'] ['Q408', 'P530', 'Q801']
ASK WHERE { resource:Q408 property:P530 resource:Q157864 . resource:Q408 property:P530 resource:Q801 }
NO and YES respectively
action is_in
entity Australia
action intersection
action find_reverse
entity Rio nell'Elba
relation diplomatic relation
action find_reverse
entity Israel
relation diplomatic relation
['Australia', 'diplomatic relation', "Rio nell'Elba"] ['Australia', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Rio_nell'Elba . resource:Australia property:diplomatic_relation resource:Israel }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P137
Q43229
USER
Which organizations were managed by that political territory ?
action filter_type
action find_reverse
entity Q408
relation P137
type Q43229
SELECT DISTINCT ?r WHERE { ?r property:P137 resource:Q408 . ?r rdf:type ontology:Q43229 }
Australia
action filter_type
action find_reverse
entity Australia
relation operator
type organization
SELECT DISTINCT ?r WHERE { ?r property:operator resource:Australia . ?r rdf:type ontology:organization }
[]
organization
Q23891513 Q23891480
SYSTEM
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union, Australian Embassy and Permanent Mission to the United Nations, Austria
Q23891513 Q23891480
action filter_type
action find_reverse
entity Q408
relation P137
type Q43229
[ANSWERS]
SELECT DISTINCT ?r WHERE { ?r property:P137 resource:Q408 . ?r rdf:type ontology:Q43229 }
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union Australian Embassy and Permanent Mission to the United Nations, Austria
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union and Australian Embassy and Permanent Mission to the United Nations, Austria were managed by that political territory
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union Australian Embassy and Permanent Mission to the United Nations, Austria
action filter_type
action find_reverse
entity Australia
relation operator
type organization
SELECT DISTINCT ?r WHERE { ?r property:operator resource:Australia . ?r rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23891513
P488
Q303618
USER
Who served as the chairperson of that organization ?
(Q23891513,P488,c(Q303618))
action filter_type
action find
entity Q23891513
relation P488
type Q303618
['Q23891513', 'P488', {'concept': 'Q303618'}]
SELECT DISTINCT ?k WHERE { resource:Q23891513 property:P488 ?k . ?k rdf:type ontology:Q303618 }
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union
action filter_type
action find
entity Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union
relation chairperson
type diplomatic rank
['Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union', 'chairperson', {'concept': 'diplomatic rank'}]
SELECT DISTINCT ?k WHERE { resource:Australian_Embassy_to_Belgium_and_Luxembourg_and_Australian_Mission_to_the_European_Union property:chairperson ?k . ?k rdf:type ontology:diplomatic_rank }
[]
diplomatic rank
Clarification for simple ques.
Q23891513
SYSTEM
Did you mean Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union ?
Q23891513 Q23891480
(Q23891513,P488,c(Q303618)) (Q23891480,P488,c(Q303618))
[ANSWER]
['Q23891513', 'P488', {'concept': 'Q303618'}] ['Q23891480', 'P488', {'concept': 'Q303618'}]
SELECT DISTINCT ?k WHERE { resource:Q23891513 property:P488 ?k . ?k rdf:type ontology:Q303618 }
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union Australian Embassy and Permanent Mission to the United Nations, Austria
Did you mean Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union ?
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union
['Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union', 'chairperson', {'concept': 'diplomatic rank'}] ['Australian Embassy and Permanent Mission to the United Nations, Austria', 'chairperson', {'concept': 'diplomatic rank'}]
SELECT DISTINCT ?k WHERE { resource:Australian_Embassy_to_Belgium_and_Luxembourg_and_Australian_Mission_to_the_European_Union property:chairperson ?k . ?k rdf:type ontology:diplomatic_rank }
[]
Simple Question (Coreferenced)
USER
Yes
(Q23891513,P488,c(Q303618))
['Q23891513', 'P488', {'concept': 'Q303618'}]
['Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union', 'chairperson', {'concept': 'diplomatic rank'}]
[]
Q23891514
SYSTEM
Ambassador to Belgium, Luxembourg and the European Union
Q23891514
(Q23891513,P488,c(Q303618))
action filter_type
action find
entity Q23891513
relation P488
type Q303618
The [ANSWER] served as the chairperson of that organization
['Q23891513', 'P488', {'concept': 'Q303618'}]
SELECT DISTINCT ?k WHERE { resource:Q23891513 property:P488 ?k . ?k rdf:type ontology:Q303618 }
Ambassador to Belgium, Luxembourg and the European Union
The Ambassador to Belgium, Luxembourg and the European Union served as the chairperson of that organization
Ambassador to Belgium, Luxembourg and the European Union
action filter_type
action find
entity Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union
relation chairperson
type diplomatic rank
['Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union', 'chairperson', {'concept': 'diplomatic rank'}]
SELECT DISTINCT ?k WHERE { resource:Australian_Embassy_to_Belgium_and_Luxembourg_and_Australian_Mission_to_the_European_Union property:chairperson ?k . ?k rdf:type ontology:diplomatic_rank }
[]