Simple Question (Direct)
Simple Question
Q897634
P21
Q290
USER
Which sex does László Tábori belong to ?
(Q897634,P21,c(Q290))
action filter_type
action find
entity Q897634
relation P21
type Q290
['Q897634', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q897634 property:P21 ?w . ?w rdf:type ontology:Q290 }
László Tábori
action filter_type
action find
entity László Tábori
relation gender
type sex
['László Tábori', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:László_Tábori property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q897634,P21,c(Q290))
action filter_type
action find
entity Q897634
relation P21
type Q290
László Tábori belongs to [ANSWER]
['Q897634', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q897634 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
László Tábori belongs to male
male
action filter_type
action find
entity László Tábori
relation gender
type sex
['László Tábori', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:László_Tábori property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q897634
P641
Q31629
USER
Which type of sport was László Tábori a part of ?
(Q897634,P641,c(Q31629))
action filter_type
action find
entity Q897634
relation P641
type Q31629
['Q897634', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { resource:Q897634 property:P641 ?s . ?s rdf:type ontology:Q31629 }
László Tábori
action filter_type
action find
entity László Tábori
relation sport
type type of sport
['László Tábori', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { resource:László_Tábori property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q897634,P641,c(Q31629))
action filter_type
action find
entity Q897634
relation P641
type Q31629
The [ANSWER] was László Tábori a part of
['Q897634', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?s WHERE { resource:Q897634 property:P641 ?s . ?s rdf:type ontology:Q31629 }
athletics
The athletics was László Tábori a part of
athletics
action filter_type
action find
entity László Tábori
relation sport
type type of sport
['László Tábori', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?s WHERE { resource:László_Tábori property:sport ?s . ?s rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q897634
P19
Q56061
USER
Where was László Tábori born ?
(Q897634,P19,c(Q56061))
action filter_type
action find
entity Q897634
relation P19
type Q56061
['Q897634', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q897634 property:P19 ?k . ?k rdf:type ontology:Q56061 }
László Tábori
action filter_type
action find
entity László Tábori
relation place of birth
type administrative territorial entity
['László Tábori', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:László_Tábori property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25409
SYSTEM
Košice
Q25409
(Q897634,P19,c(Q56061))
action filter_type
action find
entity Q897634
relation P19
type Q56061
László Tábori was born in [ANSWER]
['Q897634', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q897634 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Košice
László Tábori was born in Košice
Košice
action filter_type
action find
entity László Tábori
relation place of birth
type administrative territorial entity
['László Tábori', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:László_Tábori property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q897634
P106
Q12737077
USER
How many occupations are the professions of László Tábori ?
(Q897634,P106,c(Q12737077))
action count
action filter_type
action find
entity Q897634
relation P106
type Q12737077
['Q897634', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q897634 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
László Tábori
action count
action filter_type
action find
entity László Tábori
relation occupation
type occupation
['László Tábori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:László_Tábori property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q4439155 Q13381753
(Q897634,P106,c(Q12737077))
action count
action filter_type
action find
entity Q897634
relation P106
type Q12737077
[ANSWER]
['Q897634', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:Q897634 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
long-distance runner middle-distance runner
2
action count
action filter_type
action find
entity László Tábori
relation occupation
type occupation
['László Tábori', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { resource:László_Tábori property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q560336
Q12737077
USER
And also tell me about Nikolay Skvortsov?
(Q560336,P106,c(Q12737077))
action count
action filter_type
action find
entity Q560336
relation P106
type Q12737077
['Q560336', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q560336 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Nikolay Skvortsov
action count
action filter_type
action find
entity Nikolay Skvortsov
relation occupation
type occupation
['Nikolay Skvortsov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Nikolay_Skvortsov property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
(Q560336,P106,c(Q12737077))
action count
action filter_type
action find
entity Q560336
relation P106
type Q12737077
[ANSWER]
['Q560336', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Q560336 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
1
action count
action filter_type
action find
entity Nikolay Skvortsov
relation occupation
type occupation
['Nikolay Skvortsov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { resource:Nikolay_Skvortsov property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19302559 Q560336
P276 P20
Q56061
USER
Which administrative territories did Nikolay Skvortsov die or are the place where Klapweg are located ?
OR((Q560336,P20,c(Q56061)), (Q19302559,P276,c(Q56061)))
action filter_type
action union
action find
entity Q560336
relation P20
action find
entity Q19302559
relation P276
type Q56061
{'OR': [['Q560336', 'P20', {'concept': 'Q56061'}], ['Q19302559', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19302559 property:P276 ?p } UNION { resource:Q560336 property:P20 ?p } } . ?p rdf:type ontology:Q56061 }
Klapweg Nikolay Skvortsov
action filter_type
action union
action find
entity Nikolay Skvortsov
relation place of death
action find
entity Klapweg
relation location
type administrative territorial entity
{'OR': [['Nikolay Skvortsov', 'place of death', {'concept': 'administrative territorial entity'}], ['Klapweg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Klapweg property:location ?p } UNION { resource:Nikolay_Skvortsov property:place_of_death ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1024703 Q649
SYSTEM
Kapelle, Moscow
Q1024703 Q649
OR((Q560336,P20,c(Q56061)), (Q19302559,P276,c(Q56061)))
action filter_type
action union
action find
entity Q560336
relation P20
action find
entity Q19302559
relation P276
type Q56061
Nikolay Skvortsov died or are the place where Klapweg are located in [ANSWERS]
{'OR': [['Q560336', 'P20', {'concept': 'Q56061'}], ['Q19302559', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19302559 property:P276 ?p } UNION { resource:Q560336 property:P20 ?p } } . ?p rdf:type ontology:Q56061 }
Kapelle Moscow
Nikolay Skvortsov died or are the place where Klapweg are located in Kapelle and Moscow
Kapelle Moscow
action filter_type
action union
action find
entity Nikolay Skvortsov
relation place of death
action find
entity Klapweg
relation location
type administrative territorial entity
{'OR': [['Nikolay Skvortsov', 'place of death', {'concept': 'administrative territorial entity'}], ['Klapweg', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Klapweg property:location ?p } UNION { resource:Nikolay_Skvortsov property:place_of_death ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that administrative territory a part of ?
(Q1024703,P17,c(Q15617994))
['Q1024703', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1024703 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Kapelle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kapelle property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q649
SYSTEM
Did you mean Moscow ?
(Q1024703,P17,c(Q15617994)) (Q649,P17,c(Q15617994))
[ANSWER]
['Q1024703', 'P17', {'concept': 'Q15617994'}] ['Q649', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1024703 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Moscow ?
Moscow
['Kapelle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kapelle property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Kapelle. Could you tell me the answer for that?
(Q1024703,P17,c(Q15617994))
Q1024703
['Q1024703', 'P17', {'concept': 'Q15617994'}]
['Kapelle', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q55
(Q1024703,P17,c(Q15617994))
[ANSWER]
['Q1024703', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1024703 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Netherlands
1
['Kapelle', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kapelle property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q649
P276
Q838948 Q337060
USER
How many works of art and perceptible objects are situated at Moscow ?
(c(Q838948),P276,Q649) (c(Q337060),P276,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P276
type Q838948
action filter_type
action find_reverse
entity Q649
relation P276
type Q337060
[{'concept': 'Q838948'}, 'P276', 'Q649'] [{'concept': 'Q337060'}, 'P276', 'Q649']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q337060 ) } . ?o rdf:type ?v }
Moscow
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location
type work of art
action filter_type
action find_reverse
entity Moscow
relation location
type perceptible object
[{'concept': 'work of art'}, 'location', 'Moscow'] [{'concept': 'perceptible object'}, 'location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:perceptible_object ) } . ?o rdf:type ?v }
[]
work of art perceptible object
SYSTEM
1 works of art and 1 perceptible objects
Q5189497 Q16271053
(c(Q838948),P276,Q649) (c(Q337060),P276,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P276
type Q838948
action filter_type
action find_reverse
entity Q649
relation P276
type Q337060
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q649'] [{'concept': 'Q337060'}, 'P276', 'Q649']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q337060 ) } . ?o rdf:type ?v }
Crown of Augustus III of Poland Sholem Aleichem Monument
1 works of art and 1 perceptible objects
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location
type work of art
action filter_type
action find_reverse
entity Moscow
relation location
type perceptible object
[{'concept': 'work of art'}, 'location', 'Moscow'] [{'concept': 'perceptible object'}, 'location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:perceptible_object ) } . ?o rdf:type ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P740
Q4830453
USER
Which are the business enterprises that originates at Moscow ?
(c(Q4830453),P740,Q649)
action filter_type
action find_reverse
entity Q649
relation P740
type Q4830453
[{'concept': 'Q4830453'}, 'P740', 'Q649']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4830453 . ?s property:P740 resource:Q649 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation location of formation
type business enterprise
[{'concept': 'business enterprise'}, 'location of formation', 'Moscow']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:business_enterprise . ?s property:location_of_formation resource:Moscow }
[]
business enterprise
Q194009 Q188508 Q333780
SYSTEM
Tupolev, Mikoyan, Yakovlev
Q489943 Q188508 Q241828 Q898825 Q194009 Q4398011 Q333780
(c(Q4830453),P740,Q649)
action filter_type
action find_reverse
entity Q649
relation P740
type Q4830453
The business enterprises that originates at Moscow are the [ANSWERS]
[{'concept': 'Q4830453'}, 'P740', 'Q649']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4830453 . ?s property:P740 resource:Q649 }
Kaspersky Lab Mikoyan Kamov Mil Moscow Helicopter Plant Tupolev Ruselectronics Yakovlev
The business enterprises that originates at Moscow are the Tupolev, Mikoyan and Yakovlev
Tupolev Mikoyan Yakovlev
action filter_type
action find_reverse
entity Moscow
relation location of formation
type business enterprise
[{'concept': 'business enterprise'}, 'location of formation', 'Moscow']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:business_enterprise . ?s property:location_of_formation resource:Moscow }
[]