Simple Question (Direct)
Simple Question
Q548312
P106
Q12737077
USER
What does Dinu Pescariu do for a living ?
(Q548312,P106,c(Q12737077))
action filter_type
action find
entity Q548312
relation P106
type Q12737077
['Q548312', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q548312 property:P106 ?r }
Dinu Pescariu
action filter_type
action find
entity Dinu Pescariu
relation occupation
type occupation
['Dinu Pescariu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Dinu_Pescariu property:occupation ?r }
[]
occupation
Q10833314
SYSTEM
tennis player
Q10833314
(Q548312,P106,c(Q12737077))
action filter_type
action find
entity Q548312
relation P106
type Q12737077
Dinu Pescariu does a [ANSWER] for a living
['Q548312', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q548312 property:P106 ?r }
tennis player
Dinu Pescariu does a tennis player for a living
tennis player
action filter_type
action find
entity Dinu Pescariu
relation occupation
type occupation
['Dinu Pescariu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Dinu_Pescariu property:occupation ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q548312
P641
Q349
USER
Which sport was that person a part of ?
(Q10833314,P641,c(Q349))
action filter_type
action find
entity Q548312
relation P641
type Q349
['Q10833314', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q548312 property:P641 ?h . ?h rdf:type ontology:Q349 }
Dinu Pescariu
action filter_type
action find
entity Dinu Pescariu
relation sport
type sport
['tennis player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Dinu_Pescariu property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q847
SYSTEM
tennis
Q847
(Q10833314,P641,c(Q349))
action filter_type
action find
entity Q548312
relation P641
type Q349
The [ANSWER] was that person a part of
['Q10833314', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q548312 property:P641 ?h . ?h rdf:type ontology:Q349 }
tennis
The tennis was that person a part of
tennis
action filter_type
action find
entity Dinu Pescariu
relation sport
type sport
['tennis player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Dinu_Pescariu property:sport ?h . ?h rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q847 Q7970374
P641
Q502895
USER
Is Warren Maher involved in playing that sport ?
(Q7970374,P641,Q847)
action is_in
entity Q847
action find
entity Q7970374
relation P641
['Q7970374', 'P641', 'Q847']
ASK WHERE { resource:Q7970374 property:P641 resource:Q847 }
tennis Warren Maher
action is_in
entity tennis
action find
entity Warren Maher
relation sport
['Warren Maher', 'sport', 'tennis']
ASK WHERE { resource:Warren_Maher property:sport resource:tennis }
[]
common name
SYSTEM
YES
(Q7970374,P641,Q847)
action is_in
entity Q847
action find
entity Q7970374
relation P641
[ANSWER]
['Q7970374', 'P641', 'Q847']
ASK WHERE { resource:Q7970374 property:P641 resource:Q847 }
Yes
action is_in
entity tennis
action find
entity Warren Maher
relation sport
['Warren Maher', 'sport', 'tennis']
ASK WHERE { resource:Warren_Maher property:sport resource:tennis }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7312987 Q7970374
P27
Q1048835
USER
Which political territories do Warren Maher or Renee Harrison belong to ?
OR((Q7970374,P27,c(Q1048835)), (Q7312987,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7970374
relation P27
action find
entity Q7312987
relation P27
type Q1048835
{'OR': [['Q7970374', 'P27', {'concept': 'Q1048835'}], ['Q7312987', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:P27 ?b . VALUES ( ?r ) { ( resource:Q7970374 ) ( resource:Q7312987 ) } } . ?b rdf:type ontology:Q1048835 }
Renee Harrison Warren Maher
action filter_type
action union
action find
entity Warren Maher
relation country of citizenship
action find
entity Renee Harrison
relation country of citizenship
type political territorial entity
{'OR': [['Warren Maher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Renee Harrison', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:country_of_citizenship ?b . VALUES ( ?r ) { ( resource:Warren_Maher ) ( resource:Renee_Harrison ) } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
OR((Q7970374,P27,c(Q1048835)), (Q7312987,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q7970374
relation P27
action find
entity Q7312987
relation P27
type Q1048835
Warren Maher or Renee Harrison belong to Western [ANSWER]
{'OR': [['Q7970374', 'P27', {'concept': 'Q1048835'}], ['Q7312987', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:P27 ?b . VALUES ( ?r ) { ( resource:Q7970374 ) ( resource:Q7312987 ) } } . ?b rdf:type ontology:Q1048835 }
Australia
Warren Maher or Renee Harrison belong to Western Australia
Australia
action filter_type
action union
action find
entity Warren Maher
relation country of citizenship
action find
entity Renee Harrison
relation country of citizenship
type political territorial entity
{'OR': [['Warren Maher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Renee Harrison', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?r property:country_of_citizenship ?b . VALUES ( ?r ) { ( resource:Warren_Maher ) ( resource:Renee_Harrison ) } } . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1001
Q4164871
USER
Which positions have jurisdiction over that political territory ?
(c(Q4164871),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q408']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4164871 . ?r property:P1001 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:position . ?r property:applies_to_jurisdiction resource:Australia }
[]
position
Q25514686 Q24026255 Q25909440
SYSTEM
Minister for Justice and Consumer Affairs, Minister for Aged Care, Minister for Special Trade Negotiations
Q25514686 Q24026255 Q25909440
(c(Q4164871),P1001,Q408)
action filter_type
action find_reverse
entity Q408
relation P1001
type Q4164871
[ANSWERS] have jurisdiction over that political territory
[{'concept': 'Q4164871'}, 'P1001', 'Q408']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4164871 . ?r property:P1001 resource:Q408 }
Minister for Justice and Consumer Affairs Minister for Aged Care Minister for Special Trade Negotiations
Minister for Justice and Consumer Affairs, Minister for Aged Care and Minister for Special Trade Negotiations have jurisdiction over that political territory
Minister for Justice and Consumer Affairs Minister for Aged Care Minister for Special Trade Negotiations
action filter_type
action find_reverse
entity Australia
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Australia']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:position . ?r property:applies_to_jurisdiction resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1376
Q56061
USER
Which administrative territory is the county seat for that political territory ?
(c(Q56061),P1376,Q25514686) (c(Q56061),P1376,Q24026255) (c(Q56061),P1376,Q25909440)
action filter_type
action find_reverse
entity Q408
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q25514686'] [{'concept': 'Q56061'}, 'P1376', 'Q24026255'] [{'concept': 'Q56061'}, 'P1376', 'Q25909440']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q408 . ?i rdf:type ontology:Q56061 }
Australia
action filter_type
action find_reverse
entity Australia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Minister for Justice and Consumer Affairs'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Minister for Aged Care'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Minister for Special Trade Negotiations']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Australia . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
(c(Q56061),P1376,Q25514686) (c(Q56061),P1376,Q24026255) (c(Q56061),P1376,Q25909440)
action filter_type
action find_reverse
entity Q408
relation P1376
type Q56061
[ANSWER] is the county seat for that political territory
[{'concept': 'Q56061'}, 'P1376', 'Q25514686'] [{'concept': 'Q56061'}, 'P1376', 'Q24026255'] [{'concept': 'Q56061'}, 'P1376', 'Q25909440']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q408 . ?i rdf:type ontology:Q56061 }
Canberra
Canberra is the county seat for that political territory
Canberra
action filter_type
action find_reverse
entity Australia
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Minister for Justice and Consumer Affairs'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Minister for Aged Care'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Minister for Special Trade Negotiations']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Australia . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3114
P276
Q15275719
USER
What is situated at that administrative territory ?
(c(Q15275719),P276,Q3114)
action filter_type
action find_reverse
entity Q3114
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q3114']
SELECT DISTINCT ?d WHERE { ?d property:P276 resource:Q3114 . ?d rdf:type ontology:Q15275719 }
Canberra
action filter_type
action find_reverse
entity Canberra
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Canberra']
SELECT DISTINCT ?d WHERE { ?d property:location resource:Canberra . ?d rdf:type ontology:recurring_event }
[]
recurring event
Q5031263
SYSTEM
Canberra International Film Festival
Q5031263
(c(Q15275719),P276,Q3114)
action filter_type
action find_reverse
entity Q3114
relation P276
type Q15275719
[ANSWER] is situated at that administrative territory
[{'concept': 'Q15275719'}, 'P276', 'Q3114']
SELECT DISTINCT ?d WHERE { ?d property:P276 resource:Q3114 . ?d rdf:type ontology:Q15275719 }
Canberra International Film Festival
Canberra International Film Festival is situated at that administrative territory
Canberra International Film Festival
action filter_type
action find_reverse
entity Canberra
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Canberra']
SELECT DISTINCT ?d WHERE { ?d property:location resource:Canberra . ?d rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3114
P17
Q1048835
USER
Which political territory is Canberra situated in ?
(Q3114,P17,c(Q1048835))
action filter_type
action find
entity Q3114
relation P17
type Q1048835
['Q3114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3114 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Canberra
action filter_type
action find
entity Canberra
relation country
type political territorial entity
['Canberra', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Canberra property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3114,P17,c(Q1048835))
action filter_type
action find
entity Q3114
relation P17
type Q1048835
Canberra is situated in [ANSWER]
['Q3114', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q3114 property:P17 ?l . ?l rdf:type ontology:Q1048835 }
Australia
Canberra is situated in Australia
Australia
action filter_type
action find
entity Canberra
relation country
type political territorial entity
['Canberra', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Canberra property:country ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21904711
Q1048835
USER
And also tell me about Punchbowl Creek?
(Q21904711,P17,c(Q1048835))
action filter_type
action find
entity Q21904711
relation P17
type Q1048835
['Q21904711', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q21904711 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Punchbowl Creek
action filter_type
action find
entity Punchbowl Creek
relation country
type political territorial entity
['Punchbowl Creek', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Punchbowl_Creek property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21904711,P17,c(Q1048835))
action filter_type
action find
entity Q21904711
relation P17
type Q1048835
[ANSWER]
['Q21904711', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q21904711 property:P17 ?u . ?u rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Punchbowl Creek
relation country
type political territorial entity
['Punchbowl Creek', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Punchbowl_Creek property:country ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q408 Q224 Q878199
P530
Q15617994
USER
Does Australia have tactful political relations with Croatia and Wiebelsbach ?
(Q408,P530,Q224) (Q408,P530,Q878199)
action is_in
entity Q408
action intersection
action find_reverse
entity Q224
relation P530
action find_reverse
entity Q878199
relation P530
['Q408', 'P530', 'Q224'] ['Q408', 'P530', 'Q878199']
ASK WHERE { resource:Q408 property:P530 resource:Q224 . resource:Q408 property:P530 resource:Q878199 }
Australia Croatia Wiebelsbach
action is_in
entity Australia
action intersection
action find_reverse
entity Croatia
relation diplomatic relation
action find_reverse
entity Wiebelsbach
relation diplomatic relation
['Australia', 'diplomatic relation', 'Croatia'] ['Australia', 'diplomatic relation', 'Wiebelsbach']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Croatia . resource:Australia property:diplomatic_relation resource:Wiebelsbach }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q408,P530,Q224) (Q408,P530,Q878199)
action is_in
entity Q408
action intersection
action find_reverse
entity Q224
relation P530
action find_reverse
entity Q878199
relation P530
[ANSWER]
['Q408', 'P530', 'Q224'] ['Q408', 'P530', 'Q878199']
ASK WHERE { resource:Q408 property:P530 resource:Q224 . resource:Q408 property:P530 resource:Q878199 }
YES and NO respectively
action is_in
entity Australia
action intersection
action find_reverse
entity Croatia
relation diplomatic relation
action find_reverse
entity Wiebelsbach
relation diplomatic relation
['Australia', 'diplomatic relation', 'Croatia'] ['Australia', 'diplomatic relation', 'Wiebelsbach']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Croatia . resource:Australia property:diplomatic_relation resource:Wiebelsbach }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26697643 Q25909440
P1001
Q1048835
USER
Which political territories belong to jurisdiction of Minister for Special Trade Negotiations or mayor of Lugar Nuevo de la Corona ?
OR((Q25909440,P1001,c(Q1048835)), (Q26697643,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q25909440
relation P1001
action find
entity Q26697643
relation P1001
type Q1048835
{'OR': [['Q25909440', 'P1001', {'concept': 'Q1048835'}], ['Q26697643', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?g ) { ( resource:Q25909440 ) ( resource:Q26697643 ) } . ?g property:P1001 ?k } . ?k rdf:type ontology:Q1048835 }
mayor of Lugar Nuevo de la Corona Minister for Special Trade Negotiations
action filter_type
action union
action find
entity Minister for Special Trade Negotiations
relation applies to jurisdiction
action find
entity mayor of Lugar Nuevo de la Corona
relation applies to jurisdiction
type political territorial entity
{'OR': [['Minister for Special Trade Negotiations', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['mayor of Lugar Nuevo de la Corona', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?g ) { ( resource:Minister_for_Special_Trade_Negotiations ) ( resource:mayor_of_Lugar_Nuevo_de_la_Corona ) } . ?g property:applies_to_jurisdiction ?k } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q2043927 Q408
SYSTEM
Llocnou de la Corona, Australia
Q2043927 Q408
OR((Q25909440,P1001,c(Q1048835)), (Q26697643,P1001,c(Q1048835)))
action filter_type
action union
action find
entity Q25909440
relation P1001
action find
entity Q26697643
relation P1001
type Q1048835
[ANSWERS] belong to jurisdiction of Minister for Special Trade Negotiations or mayor of Lugar Nuevo de la Corona
{'OR': [['Q25909440', 'P1001', {'concept': 'Q1048835'}], ['Q26697643', 'P1001', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?g ) { ( resource:Q25909440 ) ( resource:Q26697643 ) } . ?g property:P1001 ?k } . ?k rdf:type ontology:Q1048835 }
Llocnou de la Corona Australia
Llocnou de la Corona and Australia belong to jurisdiction of Minister for Special Trade Negotiations or mayor of Lugar Nuevo de la Corona
Llocnou de la Corona Australia
action filter_type
action union
action find
entity Minister for Special Trade Negotiations
relation applies to jurisdiction
action find
entity mayor of Lugar Nuevo de la Corona
relation applies to jurisdiction
type political territorial entity
{'OR': [['Minister for Special Trade Negotiations', 'applies to jurisdiction', {'concept': 'political territorial entity'}], ['mayor of Lugar Nuevo de la Corona', 'applies to jurisdiction', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?g ) { ( resource:Minister_for_Special_Trade_Negotiations ) ( resource:mayor_of_Lugar_Nuevo_de_la_Corona ) } . ?g property:applies_to_jurisdiction ?k } . ?k rdf:type ontology:political_territorial_entity }
[]