Simple Question (Direct)
Simple Question
Q4264082
P106
Q12737077
USER
What does Vladimir Lysenko do for a living ?
(Q4264082,P106,c(Q12737077))
action filter_type
action find
entity Q4264082
relation P106
type Q12737077
['Q4264082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q4264082 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Vladimir Lysenko
action filter_type
action find
entity Vladimir Lysenko
relation occupation
type occupation
['Vladimir Lysenko', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Vladimir_Lysenko property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4264082,P106,c(Q12737077))
action filter_type
action find
entity Q4264082
relation P106
type Q12737077
Vladimir Lysenko does a [ANSWER] for a living
['Q4264082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q4264082 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
Vladimir Lysenko does a politician for a living
politician
action filter_type
action find
entity Vladimir Lysenko
relation occupation
type occupation
['Vladimir Lysenko', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Vladimir_Lysenko property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4264082
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q4264082
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q4264082 property:P39 ?w }
Vladimir Lysenko
action filter_type
action find
entity Vladimir Lysenko
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Vladimir_Lysenko property:position_held ?w }
[]
occupation
Q17276321
SYSTEM
member of the State Duma
Q17276321
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q4264082
relation P39
type Q12737077
A [ANSWER] was a position for which that person was appointed
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . resource:Q4264082 property:P39 ?w }
member of the State Duma
A member of the State Duma was a position for which that person was appointed
member of the State Duma
action filter_type
action find
entity Vladimir Lysenko
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . resource:Vladimir_Lysenko property:position_held ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q82955 Q2085381
P106
Q502895
USER
How many people have a job as politician and publisher ?
(c(Q502895),P106,Q82955) (c(Q502895),P106,Q2085381)
action count
action intersection
action filter_type
action find_reverse
entity Q82955
relation P106
type Q502895
action filter_type
action find_reverse
entity Q2085381
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q82955'] [{'concept': 'Q502895'}, 'P106', 'Q2085381']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P106 resource:Q82955 . ?y rdf:type ontology:Q502895 . ?y rdf:type ontology:Q502895 . ?y property:P106 resource:Q2085381 }
politician publisher
action count
action intersection
action filter_type
action find_reverse
entity politician
relation occupation
type common name
action filter_type
action find_reverse
entity publisher
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'politician'] [{'concept': 'common name'}, 'occupation', 'publisher']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:occupation resource:politician . ?y rdf:type ontology:common_name . ?y rdf:type ontology:common_name . ?y property:occupation resource:publisher }
[]
common name
SYSTEM
3
Q13529846 Q4823063 Q4382195
(c(Q502895),P106,Q82955) (c(Q502895),P106,Q2085381)
action count
action intersection
action filter_type
action find_reverse
entity Q82955
relation P106
type Q502895
action filter_type
action find_reverse
entity Q2085381
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q82955'] [{'concept': 'Q502895'}, 'P106', 'Q2085381']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P106 resource:Q82955 . ?y rdf:type ontology:Q502895 . ?y rdf:type ontology:Q502895 . ?y property:P106 resource:Q2085381 }
Brian Batsford Austin Edward Ford Irina Prokhorova
3
action count
action intersection
action filter_type
action find_reverse
entity politician
relation occupation
type common name
action filter_type
action find_reverse
entity publisher
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'politician'] [{'concept': 'common name'}, 'occupation', 'publisher']
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:occupation resource:politician . ?y rdf:type ontology:common_name . ?y rdf:type ontology:common_name . ?y property:occupation resource:publisher }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4264082
P937
Q56061
USER
What is the work location of Vladimir Lysenko ?
(Q4264082,P937,c(Q56061))
action filter_type
action find
entity Q4264082
relation P937
type Q56061
['Q4264082', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4264082 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Vladimir Lysenko
action filter_type
action find
entity Vladimir Lysenko
relation work location
type administrative territorial entity
['Vladimir Lysenko', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Vladimir_Lysenko property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q4264082,P937,c(Q56061))
action filter_type
action find
entity Q4264082
relation P937
type Q56061
The work location of Vladimir Lysenko is in [ANSWER]
['Q4264082', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4264082 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Moscow
The work location of Vladimir Lysenko is in Moscow
Moscow
action filter_type
action find
entity Vladimir Lysenko
relation work location
type administrative territorial entity
['Vladimir Lysenko', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Vladimir_Lysenko property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49258
P190
Q1048835 Q56061
USER
How many political territories and administrative territories are the sister cities of Colorado Springs ?
(Q49258,P190,c(Q1048835)) (Q49258,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q49258
relation P190
type Q1048835
action filter_type
action find
entity Q49258
relation P190
type Q56061
['Q49258', 'P190', {'concept': 'Q1048835'}] ['Q49258', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } }
Colorado Springs
action count
action union
action filter_type
action find
entity Colorado Springs
relation sister city
type political territorial entity
action filter_type
action find
entity Colorado Springs
relation sister city
type administrative territorial entity
['Colorado Springs', 'sister city', {'concept': 'political territorial entity'}] ['Colorado Springs', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
political territorial entity administrative territorial entity
SYSTEM
1 political territories and 3 administrative territories
Q9361 Q181557 Q1858936 Q178993
(Q49258,P190,c(Q1048835)) (Q49258,P190,c(Q56061))
action count
action union
action filter_type
action find
entity Q49258
relation P190
type Q1048835
action filter_type
action find
entity Q49258
relation P190
type Q56061
[ANSWER]
['Q49258', 'P190', {'concept': 'Q1048835'}] ['Q49258', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } }
Bishkek Kaohsiung City Nuevo Casas Grandes Palmas
1 political territories and 3 administrative territories
action count
action union
action filter_type
action find
entity Colorado Springs
relation sister city
type political territorial entity
action filter_type
action find
entity Colorado Springs
relation sister city
type administrative territorial entity
['Colorado Springs', 'sister city', {'concept': 'political territorial entity'}] ['Colorado Springs', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?x . VALUES ( ?x ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49258
P159
Q163740
USER
Which nonprofit organization has its HQ location at that administrative territory ?
action filter_type
action find_reverse
entity Q49258
relation P159
type Q163740
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q49258 . ?w rdf:type ontology:Q163740 }
Colorado Springs
action filter_type
action find_reverse
entity Colorado Springs
relation headquarters location
type nonprofit organization
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Colorado_Springs . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1111261
SYSTEM
Colorado College
Q1111261
action filter_type
action find_reverse
entity Q49258
relation P159
type Q163740
[ANSWER] has its HQ location at that administrative territory
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q49258 . ?w rdf:type ontology:Q163740 }
Colorado College
Colorado College has its HQ location at that administrative territory
Colorado College
action filter_type
action find_reverse
entity Colorado Springs
relation headquarters location
type nonprofit organization
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Colorado_Springs . ?w rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q386724
USER
Which occupations were approximately 1 publications and works mainly about ?
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?j rdf:type ?i } GROUP BY ?y } }
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 1
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:work ) ( ontology:publication ) } . ?j rdf:type ?i } GROUP BY ?y } }
[]
occupation publication work
Q16003532 Q3809586 Q2094335
SYSTEM
middle school student, Wikipedian in Residence, United States Attorney
Q3809586 Q2094335 Q9402 Q15320003 Q16003532
(c(Q732577)|c(Q386724),P921,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[ANSWERS] were approximately 1 publications and works mainly about
[[{'concept': 'Q732577'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:Q386724 ) ( ontology:Q732577 ) } . ?j rdf:type ?i } GROUP BY ?y } }
Wikipedian in Residence United States Attorney ninja migrant worker middle school student
Middle school student, Wikipedian in Residence and United States Attorney were approximately 1 publications and works mainly about
middle school student Wikipedian in Residence United States Attorney
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 1
[[{'concept': 'publication'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?u ) WHERE { VALUES ( ?i ) { ( ontology:work ) ( ontology:publication ) } . ?j rdf:type ?i } GROUP BY ?y } }
[]