Simple Question (Direct)
Simple Question
Q526455
P27
Q15617994
USER
Which administrative territory does Zalán Zombori belong to ?
(Q526455,P27,c(Q15617994))
action filter_type
action find
entity Q526455
relation P27
type Q15617994
['Q526455', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q526455 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Zalán Zombori
action filter_type
action find
entity Zalán Zombori
relation country of citizenship
type designation for an administrative territorial entity
['Zalán Zombori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Zalán_Zombori property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q526455,P27,c(Q15617994))
action filter_type
action find
entity Q526455
relation P27
type Q15617994
Zalán Zombori belongs to [ANSWER]
['Q526455', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q526455 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Hungary
Zalán Zombori belongs to Hungary
Hungary
action filter_type
action find
entity Zalán Zombori
relation country of citizenship
type designation for an administrative territorial entity
['Zalán Zombori', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Zalán_Zombori property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q526455
P735
Q82799
USER
Which name is that person known by ?
(Q28,P735,c(Q82799))
action filter_type
action find
entity Q526455
relation P735
type Q82799
['Q28', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q526455 property:P735 ?m . ?m rdf:type ontology:Q82799 }
Zalán Zombori
action filter_type
action find
entity Zalán Zombori
relation given name
type name
['Hungary', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Zalán_Zombori property:given_name ?m . ?m rdf:type ontology:name }
[]
name
Q1466673
SYSTEM
Zalán
Q1466673
(Q28,P735,c(Q82799))
action filter_type
action find
entity Q526455
relation P735
type Q82799
That person is known as [ANSWER]
['Q28', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q526455 property:P735 ?m . ?m rdf:type ontology:Q82799 }
Zalán
That person is known as Zalán
Zalán
action filter_type
action find
entity Zalán Zombori
relation given name
type name
['Hungary', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Zalán_Zombori property:given_name ?m . ?m rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P735
Q502895
USER
How many people have that name as forename ?
(c(Q502895),P735,Q1466673)
action count
action filter_type
action find_reverse
entity Q1466673
relation P735
type Q502895
[{'concept': 'Q502895'}, 'P735', 'Q1466673']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:Q502895 . ?b property:P735 resource:Q1466673 }
action count
action filter_type
action find_reverse
entity Zalán
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Zalán']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:common_name . ?b property:given_name resource:Zalán }
[]
common name
SYSTEM
2
Q526455 Q16521709
(c(Q502895),P735,Q1466673)
action count
action filter_type
action find_reverse
entity Q1466673
relation P735
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P735', 'Q1466673']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:Q502895 . ?b property:P735 resource:Q1466673 }
Zalán Zombori Zalán Makranczi
2
action count
action filter_type
action find_reverse
entity Zalán
relation given name
type common name
[{'concept': 'common name'}, 'given name', 'Zalán']
SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) WHERE { ?b rdf:type ontology:common_name . ?b property:given_name resource:Zalán }
[]