Simple Question (Direct)
Simple Question
Q602437
P27
Q15617994
USER
Which administrative territory is Daniel Krajcer a civilian of ?
(Q602437,P27,c(Q15617994))
action filter_type
action find
entity Q602437
relation P27
type Q15617994
['Q602437', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q602437 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Daniel Krajcer
action filter_type
action find
entity Daniel Krajcer
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Krajcer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Daniel_Krajcer property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q602437,P27,c(Q15617994))
action filter_type
action find
entity Q602437
relation P27
type Q15617994
Which administrative territory is Daniel Krajcer a civilian of
['Q602437', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q602437 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Slovakia
Which administrative territory is Daniel Krajcer a civilian of
Slovakia
action filter_type
action find
entity Daniel Krajcer
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Krajcer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Daniel_Krajcer property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q602437
P106
Q12737077
USER
What are the job of Daniel Krajcer ?
(Q602437,P106,c(Q12737077))
action filter_type
action find
entity Q602437
relation P106
type Q12737077
['Q602437', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q602437 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Daniel Krajcer
action filter_type
action find
entity Daniel Krajcer
relation occupation
type occupation
['Daniel Krajcer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Daniel_Krajcer property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q602437,P106,c(Q12737077))
action filter_type
action find
entity Q602437
relation P106
type Q12737077
The job of Daniel Krajcer are a [ANSWERS]
['Q602437', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q602437 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
journalist writer
The job of Daniel Krajcer are a journalist and writer
journalist writer
action filter_type
action find
entity Daniel Krajcer
relation occupation
type occupation
['Daniel Krajcer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Daniel_Krajcer property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q602437
P19
Q56061
USER
Which administrative territory was Daniel Krajcer born at ?
(Q602437,P19,c(Q56061))
action filter_type
action find
entity Q602437
relation P19
type Q56061
['Q602437', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q602437 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Daniel Krajcer
action filter_type
action find
entity Daniel Krajcer
relation place of birth
type administrative territorial entity
['Daniel Krajcer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Daniel_Krajcer property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1780
SYSTEM
Bratislava
Q1780
(Q602437,P19,c(Q56061))
action filter_type
action find
entity Q602437
relation P19
type Q56061
Daniel Krajcer was born [ANSWER]
['Q602437', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q602437 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Bratislava
Daniel Krajcer was born Bratislava
Bratislava
action filter_type
action find
entity Daniel Krajcer
relation place of birth
type administrative territorial entity
['Daniel Krajcer', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Daniel_Krajcer property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1780 Q8001625
P19
Q502895
USER
Does Wiley Harker have birthplace at that administrative territory ?
(Q8001625,P19,Q1780)
action is_in
entity Q8001625
action find
entity Q1780
relation P19
['Q8001625', 'P19', 'Q1780']
ASK WHERE { resource:Q1780 property:P19 resource:Q8001625 }
Bratislava Wiley Harker
action is_in
entity Wiley Harker
action find
entity Bratislava
relation place of birth
['Wiley Harker', 'place of birth', 'Bratislava']
ASK WHERE { resource:Bratislava property:place_of_birth resource:Wiley_Harker }
[]
common name
SYSTEM
NO
(Q8001625,P19,Q1780)
action is_in
entity Q8001625
action find
entity Q1780
relation P19
[ANSWER]
['Q8001625', 'P19', 'Q1780']
ASK WHERE { resource:Q1780 property:P19 resource:Q8001625 }
No
action is_in
entity Wiley Harker
action find
entity Bratislava
relation place of birth
['Wiley Harker', 'place of birth', 'Bratislava']
ASK WHERE { resource:Bratislava property:place_of_birth resource:Wiley_Harker }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1780 Q698634
P1376
Q7275
USER
How many states have Bratislava or Arpad, Syria as their capital ?
(Q1780,P1376,c(Q7275)) (Q698634,P1376,c(Q7275))
action count
action union
action filter_type
action find
entity Q1780
relation P1376
type Q7275
action filter_type
action find
entity Q698634
relation P1376
type Q7275
['Q1780', 'P1376', {'concept': 'Q7275'}] ['Q698634', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x rdf:type ontology:Q7275 . resource:Q1780 property:P1376 ?x } UNION { resource:Q698634 property:P1376 ?x . ?x rdf:type ontology:Q7275 } }
Bratislava Arpad, Syria
action count
action union
action filter_type
action find
entity Bratislava
relation capital of
type state
action filter_type
action find
entity Arpad, Syria
relation capital of
type state
['Bratislava', 'capital of', {'concept': 'state'}] ['Arpad, Syria', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x rdf:type ontology:state . resource:Bratislava property:capital_of ?x } UNION { resource:Arpad,_Syria property:capital_of ?x . ?x rdf:type ontology:state } }
[]
state
SYSTEM
3
Q11909456 Q1751495 Q171150
(Q1780,P1376,c(Q7275)) (Q698634,P1376,c(Q7275))
action count
action union
action filter_type
action find
entity Q1780
relation P1376
type Q7275
action filter_type
action find
entity Q698634
relation P1376
type Q7275
[ANSWER]
['Q1780', 'P1376', {'concept': 'Q7275'}] ['Q698634', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x rdf:type ontology:Q7275 . resource:Q1780 property:P1376 ?x } UNION { resource:Q698634 property:P1376 ?x . ?x rdf:type ontology:Q7275 } }
Bit Agusi Slovak Socialist Republic Kingdom of Hungary
3
action count
action union
action filter_type
action find
entity Bratislava
relation capital of
type state
action filter_type
action find
entity Arpad, Syria
relation capital of
type state
['Bratislava', 'capital of', {'concept': 'state'}] ['Arpad, Syria', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { ?x rdf:type ontology:state . resource:Bratislava property:capital_of ?x } UNION { resource:Arpad,_Syria property:capital_of ?x . ?x rdf:type ontology:state } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1780 Q18424
P206
Q15324
USER
How many bodies of water are located next to Bratislava or Queens ?
(Q1780,P206,c(Q15324)) (Q18424,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q1780
relation P206
type Q15324
action filter_type
action find
entity Q18424
relation P206
type Q15324
['Q1780', 'P206', {'concept': 'Q15324'}] ['Q18424', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { resource:Q1780 property:P206 ?b . ?b rdf:type ontology:Q15324 } UNION { resource:Q18424 property:P206 ?b . ?b rdf:type ontology:Q15324 } }
Bratislava Queens
action count
action union
action filter_type
action find
entity Bratislava
relation located next to body of water
type body of water
action filter_type
action find
entity Queens
relation located next to body of water
type body of water
['Bratislava', 'located next to body of water', {'concept': 'body of water'}] ['Queens', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { resource:Bratislava property:located_next_to_body_of_water ?b . ?b rdf:type ontology:body_of_water } UNION { resource:Queens property:located_next_to_body_of_water ?b . ?b rdf:type ontology:body_of_water } }
[]
body of water
SYSTEM
2
Q1679819 Q867460
(Q1780,P206,c(Q15324)) (Q18424,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q1780
relation P206
type Q15324
action filter_type
action find
entity Q18424
relation P206
type Q15324
[ANSWER]
['Q1780', 'P206', {'concept': 'Q15324'}] ['Q18424', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { resource:Q1780 property:P206 ?b . ?b rdf:type ontology:Q15324 } UNION { resource:Q18424 property:P206 ?b . ?b rdf:type ontology:Q15324 } }
Jamaica Bay Long Island Sound
2
action count
action union
action filter_type
action find
entity Bratislava
relation located next to body of water
type body of water
action filter_type
action find
entity Queens
relation located next to body of water
type body of water
['Bratislava', 'located next to body of water', {'concept': 'body of water'}] ['Queens', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { { resource:Bratislava property:located_next_to_body_of_water ?b . ?b rdf:type ontology:body_of_water } UNION { resource:Queens property:located_next_to_body_of_water ?b . ?b rdf:type ontology:body_of_water } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1780
P47
Q56061
USER
Which administrative territory is adjacent to Bratislava ?
(Q1780,P47,c(Q56061))
action filter_type
action find
entity Q1780
relation P47
type Q56061
['Q1780', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1780 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Bratislava
action filter_type
action find
entity Bratislava
relation shares border with
type administrative territorial entity
['Bratislava', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Bratislava property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085
SYSTEM
Prague
Q1085
(Q1780,P47,c(Q56061))
action filter_type
action find
entity Q1780
relation P47
type Q56061
[ANSWER] is adjacent to Bratislava
['Q1780', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1780 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Prague
Prague is adjacent to Bratislava
Prague
action filter_type
action find
entity Bratislava
relation shares border with
type administrative territorial entity
['Bratislava', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Bratislava property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]