Simple Question (Direct)
Simple Question
Q3719172
P20
Q56061
USER
Where did Edilio Rusconi expire ?
(Q3719172,P20,c(Q56061))
action filter_type
action find
entity Q3719172
relation P20
type Q56061
['Q3719172', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3719172 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Edilio Rusconi
action filter_type
action find
entity Edilio Rusconi
relation place of death
type administrative territorial entity
['Edilio Rusconi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Edilio_Rusconi property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q3719172,P20,c(Q56061))
action filter_type
action find
entity Q3719172
relation P20
type Q56061
Edilio Rusconi expired [ANSWER]
['Q3719172', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q3719172 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Milan
Edilio Rusconi expired Milan
Milan
action filter_type
action find
entity Edilio Rusconi
relation place of death
type administrative territorial entity
['Edilio Rusconi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Edilio_Rusconi property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3719172
P106
Q12737077
USER
What are the job of Edilio Rusconi ?
(Q3719172,P106,c(Q12737077))
action filter_type
action find
entity Q3719172
relation P106
type Q12737077
['Q3719172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3719172 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Edilio Rusconi
action filter_type
action find
entity Edilio Rusconi
relation occupation
type occupation
['Edilio Rusconi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Edilio_Rusconi property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1930187 Q1607826 Q36180
SYSTEM
journalist, editor, writer
Q1930187 Q1607826 Q36180
(Q3719172,P106,c(Q12737077))
action filter_type
action find
entity Q3719172
relation P106
type Q12737077
The job of Edilio Rusconi are a [ANSWERS]
['Q3719172', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3719172 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
journalist editor writer
The job of Edilio Rusconi are a journalist, editor and writer
journalist editor writer
action filter_type
action find
entity Edilio Rusconi
relation occupation
type occupation
['Edilio Rusconi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Edilio_Rusconi property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1930187 Q1607826 Q36180
P39
Q502895
USER
Who were responsible for occupying the position of journalist, editor and writer ?
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q1607826) (c(Q502895),P39,Q36180)
action union
action filter_type
action find_reverse
entity Q1930187
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1607826
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q1607826'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?v WHERE { ?v property:P39 ?e . VALUES ( ?e ) { ( resource:Q1930187 ) ( resource:Q1607826 ) } }
journalist editor writer
action union
action filter_type
action find_reverse
entity journalist
relation position held
type common name
action filter_type
action find_reverse
entity editor
relation position held
type common name
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'editor'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?v WHERE { ?v property:position_held ?e . VALUES ( ?e ) { ( resource:journalist ) ( resource:editor ) } }
[]
common name
Q6294 Q2844607 Q2844607
SYSTEM
Amé-Thérèse-Joseph Masclet for 2nd, 3rd, Hillary Clinton for 1st
Q2844607 Q2844607 Q20920104 Q20920104 Q723621 Q16912378 Q5945149 Q7822129 Q6294 Q20740919 Q62919 Q11294693 Q723621 Q20666477 Q163042 Q5945149 Q4255270
(c(Q502895),P39,Q1930187) (c(Q502895),P39,Q1607826) (c(Q502895),P39,Q36180)
action union
action filter_type
action find_reverse
entity Q1930187
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1607826
relation P39
type Q502895
action filter_type
action find_reverse
entity Q36180
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1930187'] [{'concept': 'Q502895'}, 'P39', 'Q1607826'] [{'concept': 'Q502895'}, 'P39', 'Q36180']
SELECT DISTINCT ?v WHERE { ?v property:P39 ?e . VALUES ( ?e ) { ( resource:Q1930187 ) ( resource:Q1607826 ) } }
Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet Pierre Barthélémy Pierre Barthélémy Paul Nizan Alexandre Melnik José Rocamora Tony Cozier Hillary Clinton Carol J. Greenhouse Alice Schwarzer Henri de Saint-Ignace Paul Nizan Marina Damestoy David Duke José Rocamora Mariano Roca de Togores, 1st Marquis of Molins
Hillary Clinton, Amé-Thérèse-Joseph Masclet and Amé-Thérèse-Joseph Masclet were responsible for occupying the position of journalist, editor and writer
Hillary Clinton Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet
action union
action filter_type
action find_reverse
entity journalist
relation position held
type common name
action filter_type
action find_reverse
entity editor
relation position held
type common name
action filter_type
action find_reverse
entity writer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'journalist'] [{'concept': 'common name'}, 'position held', 'editor'] [{'concept': 'common name'}, 'position held', 'writer']
SELECT DISTINCT ?v WHERE { ?v property:position_held ?e . VALUES ( ?e ) { ( resource:journalist ) ( resource:editor ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2844607
P138
Q15324
USER
Which body of water has that person as its namesake ?
(c(Q15324),P138,Q2844607)
action filter_type
action find_reverse
entity Q2844607
relation P138
type Q15324
[{'concept': 'Q15324'}, 'P138', 'Q2844607']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q2844607 . ?v rdf:type ontology:Q15324 }
Amé-Thérèse-Joseph Masclet
action filter_type
action find_reverse
entity Amé-Thérèse-Joseph Masclet
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', 'Amé-Thérèse-Joseph Masclet']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Amé-Thérèse-Joseph_Masclet . ?v rdf:type ontology:body_of_water }
[]
body of water
Clarification for simple ques.
Q6294
SYSTEM
Did you mean Hillary Clinton ?
Q6294 Q2844607 Q2844607
(c(Q15324),P138,Q6294) (c(Q15324),P138,Q2844607) (c(Q15324),P138,Q2844607)
[ANSWER]
[{'concept': 'Q15324'}, 'P138', 'Q6294'] [{'concept': 'Q15324'}, 'P138', 'Q2844607'] [{'concept': 'Q15324'}, 'P138', 'Q2844607']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q2844607 . ?v rdf:type ontology:Q15324 }
Hillary Clinton Amé-Thérèse-Joseph Masclet Amé-Thérèse-Joseph Masclet
Did you mean Hillary Clinton ?
Hillary Clinton
[{'concept': 'body of water'}, 'named after', 'Hillary Clinton'] [{'concept': 'body of water'}, 'named after', 'Amé-Thérèse-Joseph Masclet'] [{'concept': 'body of water'}, 'named after', 'Amé-Thérèse-Joseph Masclet']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Amé-Thérèse-Joseph_Masclet . ?v rdf:type ontology:body_of_water }
[]
Simple Question (Coreferenced)
USER
No, I meant Amé-Thérèse-Joseph Masclet. Could you tell me the answer for that?
(c(Q15324),P138,Q2844607)
Q2844607
[{'concept': 'Q15324'}, 'P138', 'Q2844607']
[{'concept': 'body of water'}, 'named after', 'Amé-Thérèse-Joseph Masclet']
[]
Q26728723
SYSTEM
Masclet Bay
Q26728723
(c(Q15324),P138,Q2844607)
action filter_type
action find_reverse
entity Q2844607
relation P138
type Q15324
[ANSWER] has that person as its namesake
[{'concept': 'Q15324'}, 'P138', 'Q2844607']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q2844607 . ?v rdf:type ontology:Q15324 }
Masclet Bay
Masclet Bay has that person as its namesake
Masclet Bay
action filter_type
action find_reverse
entity Amé-Thérèse-Joseph Masclet
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', 'Amé-Thérèse-Joseph Masclet']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Amé-Thérèse-Joseph_Masclet . ?v rdf:type ontology:body_of_water }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q26728723 Q2844607 Q12320047
P138
Q502895
USER
Does that body of water have Amé-Thérèse-Joseph Masclet and Johannes Christian Madsen as its toponym ?
(Q26728723,P138,Q2844607) (Q26728723,P138,Q12320047)
action is_in
entity Q26728723
action intersection
action find_reverse
entity Q2844607
relation P138
action find_reverse
entity Q12320047
relation P138
['Q26728723', 'P138', 'Q2844607'] ['Q26728723', 'P138', 'Q12320047']
ASK WHERE { resource:Q26728723 property:P138 resource:Q2844607 . resource:Q26728723 property:P138 resource:Q12320047 }
Masclet Bay Amé-Thérèse-Joseph Masclet Johannes Christian Madsen
action is_in
entity Masclet Bay
action intersection
action find_reverse
entity Amé-Thérèse-Joseph Masclet
relation named after
action find_reverse
entity Johannes Christian Madsen
relation named after
['Masclet Bay', 'named after', 'Amé-Thérèse-Joseph Masclet'] ['Masclet Bay', 'named after', 'Johannes Christian Madsen']
ASK WHERE { resource:Masclet_Bay property:named_after resource:Amé-Thérèse-Joseph_Masclet . resource:Masclet_Bay property:named_after resource:Johannes_Christian_Madsen }
[]
common name
SYSTEM
YES and NO respectively
(Q26728723,P138,Q2844607) (Q26728723,P138,Q12320047)
action is_in
entity Q26728723
action intersection
action find_reverse
entity Q2844607
relation P138
action find_reverse
entity Q12320047
relation P138
[ANSWER]
['Q26728723', 'P138', 'Q2844607'] ['Q26728723', 'P138', 'Q12320047']
ASK WHERE { resource:Q26728723 property:P138 resource:Q2844607 . resource:Q26728723 property:P138 resource:Q12320047 }
YES and NO respectively
action is_in
entity Masclet Bay
action intersection
action find_reverse
entity Amé-Thérèse-Joseph Masclet
relation named after
action find_reverse
entity Johannes Christian Madsen
relation named after
['Masclet Bay', 'named after', 'Amé-Thérèse-Joseph Masclet'] ['Masclet Bay', 'named after', 'Johannes Christian Madsen']
ASK WHERE { resource:Masclet_Bay property:named_after resource:Amé-Thérèse-Joseph_Masclet . resource:Masclet_Bay property:named_after resource:Johannes_Christian_Madsen }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15252594
P706
Q1048835 Q355304 Q15324
USER
Which bodies of water have their location as more number of political territories or watercourses than Meander Glacier ?
(c(Q15324),P706,c(Q1048835)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P706
type Q15324
type Q1048835
action find_tuple_counts
relation P706
type Q15324
type Q355304
action count
action filter_multi_types
action find
entity Q15252594
relation P706
type Q1048835
type Q355304
[{'concept': 'Q15324'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?a ) WHERE { { ?q rdf:type ontology:Q15324 . ?e rdf:type ontology:Q355304 . ?q property:P706 ?e } UNION { ?q property:P706 ?e . ?q rdf:type ontology:Q15324 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { resource:Q15252594 property:P706 ?l . { { ?l rdf:type ontology:Q1048835 } UNION { ?l rdf:type ontology:Q355304 } } } } . FILTER ( ?a > ?x ) }
Meander Glacier
action greater
action union
action find_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type body of water
type watercourse
action count
action filter_multi_types
action find
entity Meander Glacier
relation located on terrain feature
type political territorial entity
type watercourse
[{'concept': 'body of water'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?a ) WHERE { { ?q rdf:type ontology:body_of_water . ?e rdf:type ontology:watercourse . ?q property:located_on_terrain_feature ?e } UNION { ?q property:located_on_terrain_feature ?e . ?q rdf:type ontology:body_of_water . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { resource:Meander_Glacier property:located_on_terrain_feature ?l . { { ?l rdf:type ontology:political_territorial_entity } UNION { ?l rdf:type ontology:watercourse } } } } . FILTER ( ?a > ?x ) }
[]
political territorial entity watercourse body of water
Q879971 Q2910224 Q21922457
SYSTEM
Dassower See, Bonne Nuit, West Bay
Q2910224 Q21922457 Q879971 Q22351839
(c(Q15324),P706,c(Q1048835)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P706
type Q15324
type Q1048835
action find_tuple_counts
relation P706
type Q15324
type Q355304
action count
action filter_multi_types
action find
entity Q15252594
relation P706
type Q1048835
type Q355304
[ANSWERS] have their location as more number of political territories or watercourses than Meander Glacier
[{'concept': 'Q15324'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?a ) WHERE { { ?q rdf:type ontology:Q15324 . ?e rdf:type ontology:Q355304 . ?q property:P706 ?e } UNION { ?q property:P706 ?e . ?q rdf:type ontology:Q15324 . ?e rdf:type ontology:Q1048835 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { resource:Q15252594 property:P706 ?l . { { ?l rdf:type ontology:Q1048835 } UNION { ?l rdf:type ontology:Q355304 } } } } . FILTER ( ?a > ?x ) }
Bonne Nuit West Bay Dassower See Burnt Point Bay
Dassower See, Bonne Nuit and West Bay have their location as more number of political territories or watercourses than Meander Glacier
Dassower See Bonne Nuit West Bay
action greater
action union
action find_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type body of water
type watercourse
action count
action filter_multi_types
action find
entity Meander Glacier
relation located on terrain feature
type political territorial entity
type watercourse
[{'concept': 'body of water'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?e ) AS ?a ) WHERE { { ?q rdf:type ontology:body_of_water . ?e rdf:type ontology:watercourse . ?q property:located_on_terrain_feature ?e } UNION { ?q property:located_on_terrain_feature ?e . ?q rdf:type ontology:body_of_water . ?e rdf:type ontology:political_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { resource:Meander_Glacier property:located_on_terrain_feature ?l . { { ?l rdf:type ontology:political_territorial_entity } UNION { ?l rdf:type ontology:watercourse } } } } . FILTER ( ?a > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18574918
P706
Q1048835 Q355304 Q15324
USER
And also tell me about Schwarzensteinkees?
(c(Q15324),P706,c(Q1048835)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P706
type Q15324
type Q1048835
action find_tuple_counts
relation P706
type Q15324
type Q355304
action count
action filter_multi_types
action find
entity Q18574918
relation P706
type Q1048835
type Q355304
[{'concept': 'Q15324'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q355304 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q18574918 property:P706 ?q . { VALUES ( ?r ) { ( ontology:Q1048835 ) ( ontology:Q355304 ) } . ?q rdf:type ?r } } } . FILTER ( ?v > ?b ) }
Schwarzensteinkees
action greater
action union
action find_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type body of water
type watercourse
action count
action filter_multi_types
action find
entity Schwarzensteinkees
relation located on terrain feature
type political territorial entity
type watercourse
[{'concept': 'body of water'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:watercourse ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Schwarzensteinkees property:located_on_terrain_feature ?q . { VALUES ( ?r ) { ( ontology:political_territorial_entity ) ( ontology:watercourse ) } . ?q rdf:type ?r } } } . FILTER ( ?v > ?b ) }
[]
political territorial entity watercourse body of water
Q879971 Q2910224 Q21922457
SYSTEM
Dassower See, Bonne Nuit, West Bay
Q2910224 Q21922457 Q879971 Q22351839
(c(Q15324),P706,c(Q1048835)|c(Q355304))
action greater
action union
action find_tuple_counts
relation P706
type Q15324
type Q1048835
action find_tuple_counts
relation P706
type Q15324
type Q355304
action count
action filter_multi_types
action find
entity Q18574918
relation P706
type Q1048835
type Q355304
[ANSWERS]
[{'concept': 'Q15324'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1048835 ) ( ontology:Q355304 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q18574918 property:P706 ?q . { VALUES ( ?r ) { ( ontology:Q1048835 ) ( ontology:Q355304 ) } . ?q rdf:type ?r } } } . FILTER ( ?v > ?b ) }
Bonne Nuit West Bay Dassower See Burnt Point Bay
Dassower See Bonne Nuit West Bay
action greater
action union
action find_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type body of water
type watercourse
action count
action filter_multi_types
action find
entity Schwarzensteinkees
relation located on terrain feature
type political territorial entity
type watercourse
[{'concept': 'body of water'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:political_territorial_entity ) ( ontology:watercourse ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Schwarzensteinkees property:located_on_terrain_feature ?q . { VALUES ( ?r ) { ( ontology:political_territorial_entity ) ( ontology:watercourse ) } . ?q rdf:type ?r } } } . FILTER ( ?v > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1683712 Q12320047
P27
Q1048835
USER
Which political territories are Johannes Christian Madsen or Jarrod King a civilian of ?
OR((Q12320047,P27,c(Q1048835)), (Q1683712,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q12320047
relation P27
action find
entity Q1683712
relation P27
type Q1048835
{'OR': [['Q12320047', 'P27', {'concept': 'Q1048835'}], ['Q1683712', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { ?p property:P27 ?w . VALUES ( ?p ) { ( resource:Q12320047 ) ( resource:Q1683712 ) } } }
Jarrod King Johannes Christian Madsen
action filter_type
action union
action find
entity Johannes Christian Madsen
relation country of citizenship
action find
entity Jarrod King
relation country of citizenship
type political territorial entity
{'OR': [['Johannes Christian Madsen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jarrod King', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { ?p property:country_of_citizenship ?w . VALUES ( ?p ) { ( resource:Johannes_Christian_Madsen ) ( resource:Jarrod_King ) } } }
[]
political territorial entity
Q664 Q35
SYSTEM
New Zealand, Denmark
Q664 Q35
OR((Q12320047,P27,c(Q1048835)), (Q1683712,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q12320047
relation P27
action find
entity Q1683712
relation P27
type Q1048835
[ANSWERS] are Johannes Christian Madsen or Jarrod King a civilian of
{'OR': [['Q12320047', 'P27', {'concept': 'Q1048835'}], ['Q1683712', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { ?p property:P27 ?w . VALUES ( ?p ) { ( resource:Q12320047 ) ( resource:Q1683712 ) } } }
New Zealand Denmark
New Zealand and Denmark are Johannes Christian Madsen or Jarrod King a civilian of
New Zealand Denmark
action filter_type
action union
action find
entity Johannes Christian Madsen
relation country of citizenship
action find
entity Jarrod King
relation country of citizenship
type political territorial entity
{'OR': [['Johannes Christian Madsen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jarrod King', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { ?p property:country_of_citizenship ?w . VALUES ( ?p ) { ( resource:Johannes_Christian_Madsen ) ( resource:Jarrod_King ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1762060
P530
Q1048835
USER
Do Feira da Mata have diplomatic associations with those ones ?
(Q1762060,P530,Q664) (Q1762060,P530,Q35)
action is_in
entity prev_answer
action find
entity Q1762060
relation P530
['Q1762060', 'P530', 'Q664'] ['Q1762060', 'P530', 'Q35']
ASK WHERE { VALUES ( ?b ) { ( resource:Q664 ) ( resource:Q35 ) } . resource:Q1762060 property:P530 ?b }
Feira da Mata
action is_in
entity prev_answer
action find
entity Feira da Mata
relation diplomatic relation
['Feira da Mata', 'diplomatic relation', 'New Zealand'] ['Feira da Mata', 'diplomatic relation', 'Denmark']
ASK WHERE { VALUES ( ?b ) { ( resource:New_Zealand ) ( resource:Denmark ) } . resource:Feira_da_Mata property:diplomatic_relation ?b }
[]
political territorial entity
SYSTEM
NO
(Q1762060,P530,Q664) (Q1762060,P530,Q35)
action is_in
entity prev_answer
action find
entity Q1762060
relation P530
[ANSWER]
['Q1762060', 'P530', 'Q664'] ['Q1762060', 'P530', 'Q35']
ASK WHERE { VALUES ( ?b ) { ( resource:Q664 ) ( resource:Q35 ) } . resource:Q1762060 property:P530 ?b }
No
action is_in
entity prev_answer
action find
entity Feira da Mata
relation diplomatic relation
['Feira da Mata', 'diplomatic relation', 'New Zealand'] ['Feira da Mata', 'diplomatic relation', 'Denmark']
ASK WHERE { VALUES ( ?b ) { ( resource:New_Zealand ) ( resource:Denmark ) } . resource:Feira_da_Mata property:diplomatic_relation ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q879971 Q183
P17
Q1048835
USER
Is Dassower See present in Germany ?
(Q879971,P17,Q183)
action is_in
entity Q183
action find
entity Q879971
relation P17
['Q879971', 'P17', 'Q183']
ASK WHERE { resource:Q879971 property:P17 resource:Q183 }
Dassower See Germany
action is_in
entity Germany
action find
entity Dassower See
relation country
['Dassower See', 'country', 'Germany']
ASK WHERE { resource:Dassower_See property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q879971,P17,Q183)
action is_in
entity Q183
action find
entity Q879971
relation P17
[ANSWER]
['Q879971', 'P17', 'Q183']
ASK WHERE { resource:Q879971 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Dassower See
relation country
['Dassower See', 'country', 'Germany']
ASK WHERE { resource:Dassower_See property:country resource:Germany }
[]