Simple Question (Direct)
Simple Question
Q3771253
P27
Q7275
USER
Which state is Giuseppe Pomba a civilian of ?
(Q3771253,P27,c(Q7275))
action filter_type
action find
entity Q3771253
relation P27
type Q7275
['Q3771253', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q3771253 property:P27 ?r . ?r rdf:type ontology:Q7275 }
Giuseppe Pomba
action filter_type
action find
entity Giuseppe Pomba
relation country of citizenship
type state
['Giuseppe Pomba', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Giuseppe_Pomba property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
state
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q3771253,P27,c(Q7275))
action filter_type
action find
entity Q3771253
relation P27
type Q7275
The [ANSWER] is Giuseppe Pomba a civilian of
['Q3771253', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?r WHERE { resource:Q3771253 property:P27 ?r . ?r rdf:type ontology:Q7275 }
Kingdom of Italy
The Kingdom of Italy is Giuseppe Pomba a civilian of
Kingdom of Italy
action filter_type
action find
entity Giuseppe Pomba
relation country of citizenship
type state
['Giuseppe Pomba', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?r WHERE { resource:Giuseppe_Pomba property:country_of_citizenship ?r . ?r rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q172579
P1001
Q12737077
USER
Which occupations have jurisdiction over that state ?
(c(Q12737077),P1001,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q172579']
SELECT DISTINCT ?g WHERE { ?g property:P1001 resource:Q172579 . ?g rdf:type ontology:Q12737077 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of Italy']
SELECT DISTINCT ?g WHERE { ?g property:applies_to_jurisdiction resource:Kingdom_of_Italy . ?g rdf:type ontology:occupation }
[]
occupation
Q26277644 Q26877864 Q14554538
SYSTEM
minister of Public Works of the Kingdom of Italy, minister of the Navy of the Kingdom of Italy, President of the Chamber of Deputies of the Kingdom of Italy
Q26277644 Q26243697 Q26877864 Q14554538 Q26844985 Q20058666 Q26911615 Q13655473
(c(Q12737077),P1001,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over that state
[{'concept': 'Q12737077'}, 'P1001', 'Q172579']
SELECT DISTINCT ?g WHERE { ?g property:P1001 resource:Q172579 . ?g rdf:type ontology:Q12737077 }
minister of Public Works of the Kingdom of Italy minister of the Kingdom of Italy minister of the Navy of the Kingdom of Italy President of the Chamber of Deputies of the Kingdom of Italy minister of War of the Kingdom of Italy member of the Chamber of Deputies of the Kingdom of Italy minister of Air Force of the Kingdom of Italy senator of the Kingdom of Italy
Minister of Public Works of the Kingdom of Italy, minister of the Navy of the Kingdom of Italy and President of the Chamber of Deputies of the Kingdom of Italy have jurisdiction over that state
minister of Public Works of the Kingdom of Italy minister of the Navy of the Kingdom of Italy President of the Chamber of Deputies of the Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Kingdom of Italy']
SELECT DISTINCT ?g WHERE { ?g property:applies_to_jurisdiction resource:Kingdom_of_Italy . ?g rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q14554538
P17
Q7275
USER
Which state does that occupation belong to ?
(Q14554538,P17,c(Q7275))
action filter_type
action find
entity Q14554538
relation P17
type Q7275
['Q14554538', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q14554538 property:P17 ?h . ?h rdf:type ontology:Q7275 }
President of the Chamber of Deputies of the Kingdom of Italy
action filter_type
action find
entity President of the Chamber of Deputies of the Kingdom of Italy
relation country
type state
['President of the Chamber of Deputies of the Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:President_of_the_Chamber_of_Deputies_of_the_Kingdom_of_Italy property:country ?h . ?h rdf:type ontology:state }
[]
state
Clarification for simple ques.
Q26277644
SYSTEM
Did you mean minister of Public Works of the Kingdom of Italy ?
Q26277644 Q26877864 Q14554538
(Q26277644,P17,c(Q7275)) (Q26877864,P17,c(Q7275)) (Q14554538,P17,c(Q7275))
[ANSWER]
['Q26277644', 'P17', {'concept': 'Q7275'}] ['Q26877864', 'P17', {'concept': 'Q7275'}] ['Q14554538', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q14554538 property:P17 ?h . ?h rdf:type ontology:Q7275 }
minister of Public Works of the Kingdom of Italy minister of the Navy of the Kingdom of Italy President of the Chamber of Deputies of the Kingdom of Italy
Did you mean minister of Public Works of the Kingdom of Italy ?
minister of Public Works of the Kingdom of Italy
['minister of Public Works of the Kingdom of Italy', 'country', {'concept': 'state'}] ['minister of the Navy of the Kingdom of Italy', 'country', {'concept': 'state'}] ['President of the Chamber of Deputies of the Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:President_of_the_Chamber_of_Deputies_of_the_Kingdom_of_Italy property:country ?h . ?h rdf:type ontology:state }
[]
Simple Question (Coreferenced)
USER
No, I meant President of the Chamber of Deputies of the Kingdom of Italy. Could you tell me the answer for that?
(Q14554538,P17,c(Q7275))
Q14554538
['Q14554538', 'P17', {'concept': 'Q7275'}]
['President of the Chamber of Deputies of the Kingdom of Italy', 'country', {'concept': 'state'}]
[]
Q172579
SYSTEM
Kingdom of Italy
Q172579
(Q14554538,P17,c(Q7275))
action filter_type
action find
entity Q14554538
relation P17
type Q7275
That occupation belongs to the [ANSWER]
['Q14554538', 'P17', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q14554538 property:P17 ?h . ?h rdf:type ontology:Q7275 }
Kingdom of Italy
That occupation belongs to the Kingdom of Italy
Kingdom of Italy
action filter_type
action find
entity President of the Chamber of Deputies of the Kingdom of Italy
relation country
type state
['President of the Chamber of Deputies of the Kingdom of Italy', 'country', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:President_of_the_Chamber_of_Deputies_of_the_Kingdom_of_Italy property:country ?h . ?h rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q172579 Q3181620 Q2044
P36
Q56061
USER
Does that state contains Kokorina and Florence as its capital ?
(Q172579,P36,Q3181620) (Q172579,P36,Q2044)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q3181620
relation P36
action find_reverse
entity Q2044
relation P36
['Q172579', 'P36', 'Q3181620'] ['Q172579', 'P36', 'Q2044']
ASK WHERE { resource:Q172579 property:P36 resource:Q2044 . resource:Q172579 property:P36 resource:Q3181620 }
Kingdom of Italy Kokorina Florence
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Kokorina
relation capital
action find_reverse
entity Florence
relation capital
['Kingdom of Italy', 'capital', 'Kokorina'] ['Kingdom of Italy', 'capital', 'Florence']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Florence . resource:Kingdom_of_Italy property:capital resource:Kokorina }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q172579,P36,Q3181620) (Q172579,P36,Q2044)
action is_in
entity Q172579
action intersection
action find_reverse
entity Q3181620
relation P36
action find_reverse
entity Q2044
relation P36
[ANSWER]
['Q172579', 'P36', 'Q3181620'] ['Q172579', 'P36', 'Q2044']
ASK WHERE { resource:Q172579 property:P36 resource:Q2044 . resource:Q172579 property:P36 resource:Q3181620 }
NO and YES respectively
action is_in
entity Kingdom of Italy
action intersection
action find_reverse
entity Kokorina
relation capital
action find_reverse
entity Florence
relation capital
['Kingdom of Italy', 'capital', 'Kokorina'] ['Kingdom of Italy', 'capital', 'Florence']
ASK WHERE { resource:Kingdom_of_Italy property:capital resource:Florence . resource:Kingdom_of_Italy property:capital resource:Kokorina }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q1792379 Q3305213
USER
Which occupations are expressed in max number of art genres and paintings ?
(c(Q1792379)|c(Q3305213),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?i WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?y WHERE { VALUES ( ?z ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } . ?f rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?i WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:art_genre ) ( ontology:painting ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?y WHERE { VALUES ( ?z ) { ( ontology:art_genre ) ( ontology:painting ) } . ?f rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?b ) }
[]
occupation art genre painting
Q4991371 Q42603
SYSTEM
soldier, priest
Q4991371 Q42603
(c(Q1792379)|c(Q3305213),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
[ANSWERS] are expressed in max number of art genres and paintings
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?i WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?y WHERE { VALUES ( ?z ) { ( ontology:Q1792379 ) ( ontology:Q3305213 ) } . ?f rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?b ) }
soldier priest
Soldier and priest are expressed in max number of art genres and paintings
soldier priest
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?i WHERE { ?u rdf:type ?l . VALUES ( ?l ) { ( ontology:art_genre ) ( ontology:painting ) } } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?y WHERE { VALUES ( ?z ) { ( ontology:art_genre ) ( ontology:painting ) } . ?f rdf:type ?z } GROUP BY ?y } . FILTER ( ?o = ?b ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21536601
P106
Q502895
USER
Do Cornelius O'Leary have a job as those occupations ?
(Q21536601,P106,Q4991371) (Q21536601,P106,Q42603)
action is_in
entity prev_answer
action find
entity Q21536601
relation P106
['Q21536601', 'P106', 'Q4991371'] ['Q21536601', 'P106', 'Q42603']
ASK WHERE { resource:Q21536601 property:P106 ?r . VALUES ( ?r ) { ( resource:Q4991371 ) ( resource:Q42603 ) } }
Cornelius O'Leary
action is_in
entity prev_answer
action find
entity Cornelius O'Leary
relation occupation
["Cornelius O'Leary", 'occupation', 'soldier'] ["Cornelius O'Leary", 'occupation', 'priest']
ASK WHERE { resource:Cornelius_O'Leary property:occupation ?r . VALUES ( ?r ) { ( resource:soldier ) ( resource:priest ) } }
[]
common name
SYSTEM
NO
(Q21536601,P106,Q4991371) (Q21536601,P106,Q42603)
action is_in
entity prev_answer
action find
entity Q21536601
relation P106
[ANSWER]
['Q21536601', 'P106', 'Q4991371'] ['Q21536601', 'P106', 'Q42603']
ASK WHERE { resource:Q21536601 property:P106 ?r . VALUES ( ?r ) { ( resource:Q4991371 ) ( resource:Q42603 ) } }
No
action is_in
entity prev_answer
action find
entity Cornelius O'Leary
relation occupation
["Cornelius O'Leary", 'occupation', 'soldier'] ["Cornelius O'Leary", 'occupation', 'priest']
ASK WHERE { resource:Cornelius_O'Leary property:occupation ?r . VALUES ( ?r ) { ( resource:soldier ) ( resource:priest ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1376
Q7275 Q20667921 Q486972
USER
Which states have max number of french administrative divisions and human settlements have their center of administration ?
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P1376 ?u . ?z rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q7275 } UNION { ?u rdf:type ontology:Q7275 . ?z rdf:type ontology:Q486972 . ?z property:P1376 ?u } } GROUP BY ?u } } . FILTER ( ?x = ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P1376 ?b . ?b rdf:type ontology:Q7275 . ?c rdf:type ontology:Q20667921 } UNION { ?c property:P1376 ?b . ?c rdf:type ontology:Q486972 . ?b rdf:type ontology:Q7275 } } GROUP BY ?b } }
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:capital_of ?u . ?z rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:state } UNION { ?u rdf:type ontology:state . ?z rdf:type ontology:human_settlement . ?z property:capital_of ?u } } GROUP BY ?u } } . FILTER ( ?x = ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:capital_of ?b . ?b rdf:type ontology:state . ?c rdf:type ontology:type_of_french_administrative_division } UNION { ?c property:capital_of ?b . ?c rdf:type ontology:human_settlement . ?b rdf:type ontology:state } } GROUP BY ?b } }
[]
state type of french administrative division human settlement
Q16957 Q172107 Q112558
SYSTEM
East Germany, Polish–Lithuanian Commonwealth, Republic of Saugeais
Q3456417 Q1649871 Q2361927 Q953432 Q216173 Q16957 Q172107 Q797422 Q235030 Q842091 Q112558 Q487829
(c(Q20667921)|c(Q486972),P1376,c(Q7275))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q486972
[ANSWERS] have max number of french administrative divisions and human settlements have their center of administration
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:P1376 ?u . ?z rdf:type ontology:Q20667921 . ?u rdf:type ontology:Q7275 } UNION { ?u rdf:type ontology:Q7275 . ?z rdf:type ontology:Q486972 . ?z property:P1376 ?u } } GROUP BY ?u } } . FILTER ( ?x = ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P1376 ?b . ?b rdf:type ontology:Q7275 . ?c rdf:type ontology:Q20667921 } UNION { ?c property:P1376 ?b . ?c rdf:type ontology:Q486972 . ?b rdf:type ontology:Q7275 } } GROUP BY ?b } }
Republic of Saint-Malo Kingdom of Poland Duchy of Masovia Couto Misto Free City of Danzig East Germany Polish–Lithuanian Commonwealth Republic of Upper Volta Principality of Antioch Duchy of Normandy Republic of Saugeais Chagatai Khanate
East Germany, Polish–Lithuanian Commonwealth and Republic of Saugeais have max number of french administrative divisions and human settlements have their center of administration
East Germany Polish–Lithuanian Commonwealth Republic of Saugeais
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?r ) { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?j ) WHERE { { ?z property:capital_of ?u . ?z rdf:type ontology:type_of_french_administrative_division . ?u rdf:type ontology:state } UNION { ?u rdf:type ontology:state . ?z rdf:type ontology:human_settlement . ?z property:capital_of ?u } } GROUP BY ?u } } . FILTER ( ?x = ?r ) . { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:capital_of ?b . ?b rdf:type ontology:state . ?c rdf:type ontology:type_of_french_administrative_division } UNION { ?c property:capital_of ?b . ?c rdf:type ontology:human_settlement . ?b rdf:type ontology:state } } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P17
Q2235308
USER
Which ship type is located in Kingdom of Italy ?
(c(Q2235308),P17,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P17
type Q2235308
[{'concept': 'Q2235308'}, 'P17', 'Q172579']
SELECT DISTINCT ?g WHERE { ?g property:P17 resource:Q172579 . ?g rdf:type ontology:Q2235308 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation country
type ship type
[{'concept': 'ship type'}, 'country', 'Kingdom of Italy']
SELECT DISTINCT ?g WHERE { ?g property:country resource:Kingdom_of_Italy . ?g rdf:type ontology:ship_type }
[]
ship type
Q1789521
SYSTEM
Italian battleship Giulio Cesare
Q1789521
(c(Q2235308),P17,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P17
type Q2235308
[ANSWER] is located in Kingdom of Italy
[{'concept': 'Q2235308'}, 'P17', 'Q172579']
SELECT DISTINCT ?g WHERE { ?g property:P17 resource:Q172579 . ?g rdf:type ontology:Q2235308 }
Italian battleship Giulio Cesare
Italian battleship Giulio Cesare is located in Kingdom of Italy
Italian battleship Giulio Cesare
action filter_type
action find_reverse
entity Kingdom of Italy
relation country
type ship type
[{'concept': 'ship type'}, 'country', 'Kingdom of Italy']
SELECT DISTINCT ?g WHERE { ?g property:country resource:Kingdom_of_Italy . ?g rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172579
P710
Q1190554
USER
Which events were Kingdom of Italy a participant of ?
(c(Q1190554),P710,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q172579']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q172579 . ?q rdf:type ontology:Q1190554 }
Kingdom of Italy
action filter_type
action find_reverse
entity Kingdom of Italy
relation participant
type event
[{'concept': 'event'}, 'participant', 'Kingdom of Italy']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Kingdom_of_Italy . ?q rdf:type ontology:event }
[]
event
Q38789 Q838704 Q3636599
SYSTEM
Battle of Stalingrad, Battle of Durazzo, Battle of Rhodes
Q838704 Q3953973 Q876417 Q38789 Q4871088 Q3636599 Q2887840
(c(Q1190554),P710,Q172579)
action filter_type
action find_reverse
entity Q172579
relation P710
type Q1190554
[ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q172579']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q172579 . ?q rdf:type ontology:Q1190554 }
Battle of Durazzo Second defensive battle at the Don Second Battle of the Marne Battle of Stalingrad Battle of Genale Doria Battle of Rhodes Battle of Amba Aradam
Which events were Kingdom of Italy a participant of
Battle of Stalingrad Battle of Durazzo Battle of Rhodes
action filter_type
action find_reverse
entity Kingdom of Italy
relation participant
type event
[{'concept': 'event'}, 'participant', 'Kingdom of Italy']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Kingdom_of_Italy . ?q rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q838704
P276
Q56061
USER
Which administrative territory is the place where that event is located ?
(Q838704,P276,c(Q56061))
action filter_type
action find
entity Q838704
relation P276
type Q56061
['Q838704', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q838704 property:P276 ?n }
Battle of Durazzo
action filter_type
action find
entity Battle of Durazzo
relation location
type administrative territorial entity
['Battle of Durazzo', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Battle_of_Durazzo property:location ?n }
[]
administrative territorial entity
Clarification for simple ques.
Q38789
SYSTEM
Did you mean Battle of Stalingrad ?
Q38789 Q838704 Q3636599
(Q38789,P276,c(Q56061)) (Q838704,P276,c(Q56061)) (Q3636599,P276,c(Q56061))
[ANSWER]
['Q38789', 'P276', {'concept': 'Q56061'}] ['Q838704', 'P276', {'concept': 'Q56061'}] ['Q3636599', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q838704 property:P276 ?n }
Battle of Stalingrad Battle of Durazzo Battle of Rhodes
Did you mean Battle of Stalingrad ?
Battle of Stalingrad
['Battle of Stalingrad', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Durazzo', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Rhodes', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Battle_of_Durazzo property:location ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Battle of Durazzo. Could you tell me the answer for that?
(Q838704,P276,c(Q56061))
Q838704
['Q838704', 'P276', {'concept': 'Q56061'}]
['Battle of Durazzo', 'location', {'concept': 'administrative territorial entity'}]
[]
Q83285
SYSTEM
Durrës
Q83285
(Q838704,P276,c(Q56061))
action filter_type
action find
entity Q838704
relation P276
type Q56061
[ANSWER] is the place where that event is located
['Q838704', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q838704 property:P276 ?n }
Durrës
Durrës is the place where that event is located
Durrës
action filter_type
action find
entity Battle of Durazzo
relation location
type administrative territorial entity
['Battle of Durazzo', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Battle_of_Durazzo property:location ?n }
[]