Simple Question (Direct)
Simple Question
Q1260865
P21
Q290
USER
Which sex does Nikola Kojo possess ?
(Q1260865,P21,c(Q290))
action filter_type
action find
entity Q1260865
relation P21
type Q290
['Q1260865', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q1260865 property:P21 ?l }
Nikola Kojo
action filter_type
action find
entity Nikola Kojo
relation gender
type sex
['Nikola Kojo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Nikola_Kojo property:gender ?l }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1260865,P21,c(Q290))
action filter_type
action find
entity Q1260865
relation P21
type Q290
Nikola Kojo possesses un [ANSWER]
['Q1260865', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q290 . resource:Q1260865 property:P21 ?l }
male
Nikola Kojo possesses un male
male
action filter_type
action find
entity Nikola Kojo
relation gender
type sex
['Nikola Kojo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sex . resource:Nikola_Kojo property:gender ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1260865
P27
Q7275
USER
Which states are the countries of citizenship of Nikola Kojo ?
(Q1260865,P27,c(Q7275))
action filter_type
action find
entity Q1260865
relation P27
type Q7275
['Q1260865', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q1260865 property:P27 ?t . ?t rdf:type ontology:Q7275 }
Nikola Kojo
action filter_type
action find
entity Nikola Kojo
relation country of citizenship
type state
['Nikola Kojo', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Nikola_Kojo property:country_of_citizenship ?t . ?t rdf:type ontology:state }
[]
state
Q83286 Q37024
SYSTEM
Socialist Federal Republic of Yugoslavia, Serbia and Montenegro
Q83286 Q37024
(Q1260865,P27,c(Q7275))
action filter_type
action find
entity Q1260865
relation P27
type Q7275
[ANSWERS] are the countries of citizenship of Nikola Kojo
['Q1260865', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?t WHERE { resource:Q1260865 property:P27 ?t . ?t rdf:type ontology:Q7275 }
Socialist Federal Republic of Yugoslavia Serbia and Montenegro
Socialist Federal Republic of Yugoslavia and Serbia and Montenegro are the countries of citizenship of Nikola Kojo
Socialist Federal Republic of Yugoslavia Serbia and Montenegro
action filter_type
action find
entity Nikola Kojo
relation country of citizenship
type state
['Nikola Kojo', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?t WHERE { resource:Nikola_Kojo property:country_of_citizenship ?t . ?t rdf:type ontology:state }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1260865
Q15617994
USER
And which administrative territory?
(Q1260865,P27,c(Q15617994))
action filter_type
action find
entity Q1260865
relation P27
type Q15617994
['Q1260865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1260865 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Nikola Kojo
action filter_type
action find
entity Nikola Kojo
relation country of citizenship
type designation for an administrative territorial entity
['Nikola Kojo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nikola_Kojo property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q1260865,P27,c(Q15617994))
action filter_type
action find
entity Q1260865
relation P27
type Q15617994
[ANSWER]
['Q1260865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1260865 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Serbia
Serbia
action filter_type
action find
entity Nikola Kojo
relation country of citizenship
type designation for an administrative territorial entity
['Nikola Kojo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nikola_Kojo property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q403 Q4311983 Q4190691
P530
Q1048835
USER
Does that administrative territory have ambassadorial relations with Nadiia and Zelene ?
(Q403,P530,Q4311983) (Q403,P530,Q4190691)
action is_in
entity Q403
action intersection
action find_reverse
entity Q4311983
relation P530
action find_reverse
entity Q4190691
relation P530
['Q403', 'P530', 'Q4311983'] ['Q403', 'P530', 'Q4190691']
ASK WHERE { resource:Q403 property:P530 resource:Q4311983 . resource:Q403 property:P530 resource:Q4190691 }
Serbia Nadiia Zelene
action is_in
entity Serbia
action intersection
action find_reverse
entity Nadiia
relation diplomatic relation
action find_reverse
entity Zelene
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Nadiia'] ['Serbia', 'diplomatic relation', 'Zelene']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Nadiia . resource:Serbia property:diplomatic_relation resource:Zelene }
[]
political territorial entity
SYSTEM
NO
(Q403,P530,Q4311983) (Q403,P530,Q4190691)
action is_in
entity Q403
action intersection
action find_reverse
entity Q4311983
relation P530
action find_reverse
entity Q4190691
relation P530
[ANSWER]
['Q403', 'P530', 'Q4311983'] ['Q403', 'P530', 'Q4190691']
ASK WHERE { resource:Q403 property:P530 resource:Q4311983 . resource:Q403 property:P530 resource:Q4190691 }
No
action is_in
entity Serbia
action intersection
action find_reverse
entity Nadiia
relation diplomatic relation
action find_reverse
entity Zelene
relation diplomatic relation
['Serbia', 'diplomatic relation', 'Nadiia'] ['Serbia', 'diplomatic relation', 'Zelene']
ASK WHERE { resource:Serbia property:diplomatic_relation resource:Nadiia . resource:Serbia property:diplomatic_relation resource:Zelene }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P840
Q166142
USER
Which application has its setting located at Serbia ?
(c(Q166142),P840,Q403)
action filter_type
action find_reverse
entity Q403
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q403']
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q403 . ?d rdf:type ontology:Q166142 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Serbia']
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:Serbia . ?d rdf:type ontology:application }
[]
application
Q811024
SYSTEM
Battlefield 2142
Q811024
(c(Q166142),P840,Q403)
action filter_type
action find_reverse
entity Q403
relation P840
type Q166142
[ANSWER] has its setting located at Serbia
[{'concept': 'Q166142'}, 'P840', 'Q403']
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q403 . ?d rdf:type ontology:Q166142 }
Battlefield 2142
Battlefield 2142 has its setting located at Serbia
Battlefield 2142
action filter_type
action find_reverse
entity Serbia
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Serbia']
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:Serbia . ?d rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q811024
P400
Q676202
USER
What is the platform for which that application was developed ?
(Q811024,P400,c(Q676202))
action filter_type
action find
entity Q811024
relation P400
type Q676202
['Q811024', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q676202 . resource:Q811024 property:P400 ?j }
Battlefield 2142
action filter_type
action find
entity Battlefield 2142
relation platform
type system software
['Battlefield 2142', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:system_software . resource:Battlefield_2142 property:platform ?j }
[]
system software
Q1406
SYSTEM
Microsoft Windows
Q1406
(Q811024,P400,c(Q676202))
action filter_type
action find
entity Q811024
relation P400
type Q676202
[ANSWER]
['Q811024', 'P400', {'concept': 'Q676202'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q676202 . resource:Q811024 property:P400 ?j }
Microsoft Windows
Microsoft Windows
Microsoft Windows
action filter_type
action find
entity Battlefield 2142
relation platform
type system software
['Battlefield 2142', 'platform', {'concept': 'system software'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:system_software . resource:Battlefield_2142 property:platform ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q664
P1001
Q895526
USER
Which authority organs have control over the jurisdiction of New Zealand ?
(c(Q895526),P1001,Q664)
action filter_type
action find_reverse
entity Q664
relation P1001
type Q895526
[{'concept': 'Q895526'}, 'P1001', 'Q664']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q664 . ?l rdf:type ontology:Q895526 }
New Zealand
action filter_type
action find_reverse
entity New Zealand
relation applies to jurisdiction
type authority organ
[{'concept': 'authority organ'}, 'applies to jurisdiction', 'New Zealand']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:New_Zealand . ?l rdf:type ontology:authority_organ }
[]
authority organ
Q17513775 Q7079394
SYSTEM
Department of Scientific and Industrial Research, Office of the Ombudsman
Q17513775 Q7079394
(c(Q895526),P1001,Q664)
action filter_type
action find_reverse
entity Q664
relation P1001
type Q895526
[ANSWERS] have control over the jurisdiction of New Zealand
[{'concept': 'Q895526'}, 'P1001', 'Q664']
SELECT DISTINCT ?l WHERE { ?l property:P1001 resource:Q664 . ?l rdf:type ontology:Q895526 }
Department of Scientific and Industrial Research Office of the Ombudsman
Department of Scientific and Industrial Research and Office of the Ombudsman have control over the jurisdiction of New Zealand
Department of Scientific and Industrial Research Office of the Ombudsman
action filter_type
action find_reverse
entity New Zealand
relation applies to jurisdiction
type authority organ
[{'concept': 'authority organ'}, 'applies to jurisdiction', 'New Zealand']
SELECT DISTINCT ?l WHERE { ?l property:applies_to_jurisdiction resource:New_Zealand . ?l rdf:type ontology:authority_organ }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q664
P138
Q15617994
USER
Which administrative territory is the origin of New Zealand ?
(Q664,P138,c(Q15617994))
action filter_type
action find
entity Q664
relation P138
type Q15617994
['Q664', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q664 property:P138 ?j }
New Zealand
action filter_type
action find
entity New Zealand
relation named after
type designation for an administrative territorial entity
['New Zealand', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:New_Zealand property:named_after ?j }
[]
designation for an administrative territorial entity
Q705
SYSTEM
Zeeland
Q705
(Q664,P138,c(Q15617994))
action filter_type
action find
entity Q664
relation P138
type Q15617994
[ANSWER] is the origin of New Zealand
['Q664', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q664 property:P138 ?j }
Zeeland
Zeeland is the origin of New Zealand
Zeeland
action filter_type
action find
entity New Zealand
relation named after
type designation for an administrative territorial entity
['New Zealand', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:New_Zealand property:named_after ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q150378
Q15617994
USER
And also tell me about 293 Brasilia?
(Q150378,P138,c(Q15617994))
action filter_type
action find
entity Q150378
relation P138
type Q15617994
['Q150378', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q150378 property:P138 ?n . ?n rdf:type ontology:Q15617994 }
293 Brasilia
action filter_type
action find
entity 293 Brasilia
relation named after
type designation for an administrative territorial entity
['293 Brasilia', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:293_Brasilia property:named_after ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q150378,P138,c(Q15617994))
action filter_type
action find
entity Q150378
relation P138
type Q15617994
[ANSWER]
['Q150378', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q150378 property:P138 ?n . ?n rdf:type ontology:Q15617994 }
Brazil
Brazil
action filter_type
action find
entity 293 Brasilia
relation named after
type designation for an administrative territorial entity
['293 Brasilia', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:293_Brasilia property:named_after ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 93 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 93
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?u ) WHERE { ?i property:P530 ?r . ?i rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?u = 93 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 93
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?u ) WHERE { ?i property:diplomatic_relation ?r . ?i rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?u = 93 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 93
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?u ) WHERE { ?i property:P530 ?r . ?i rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?u = 93 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 93
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?u ) WHERE { ?i property:diplomatic_relation ?r . ?i rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?u = 93 ) }
[]