Simple Question (Direct)
Simple Question
Q1232703
P463
Q938236
USER
Which organizations were Dmitry Polyansky a member of ?
(Q1232703,P463,c(Q938236))
action filter_type
action find
entity Q1232703
relation P463
type Q938236
['Q1232703', 'P463', {'concept': 'Q938236'}]
SELECT DISTINCT ?t WHERE { resource:Q1232703 property:P463 ?t . ?t rdf:type ontology:Q938236 }
Dmitry Polyansky
action filter_type
action find
entity Dmitry Polyansky
relation member of
type committee
['Dmitry Polyansky', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?t WHERE { resource:Dmitry_Polyansky property:member_of ?t . ?t rdf:type ontology:committee }
[]
committee
Q842008 Q1971373
SYSTEM
Politburo of the Central Committee of the Communist Party of the Soviet Union, Central Committee of the Communist Party of the Soviet Union
Q842008 Q1971373
(Q1232703,P463,c(Q938236))
action filter_type
action find
entity Q1232703
relation P463
type Q938236
[ANSWERS] were Dmitry Polyansky a member of
['Q1232703', 'P463', {'concept': 'Q938236'}]
SELECT DISTINCT ?t WHERE { resource:Q1232703 property:P463 ?t . ?t rdf:type ontology:Q938236 }
Politburo of the Central Committee of the Communist Party of the Soviet Union Central Committee of the Communist Party of the Soviet Union
Politburo of the Central Committee of the Communist Party of the Soviet Union and Central Committee of the Communist Party of the Soviet Union were Dmitry Polyansky a member of
Politburo of the Central Committee of the Communist Party of the Soviet Union Central Committee of the Communist Party of the Soviet Union
action filter_type
action find
entity Dmitry Polyansky
relation member of
type committee
['Dmitry Polyansky', 'member of', {'concept': 'committee'}]
SELECT DISTINCT ?t WHERE { resource:Dmitry_Polyansky property:member_of ?t . ?t rdf:type ontology:committee }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1971373
P123
Q732577
USER
Which publication produced that committee ?
(c(Q732577),P123,Q1971373)
action filter_type
action find_reverse
entity Q1971373
relation P123
type Q732577
[{'concept': 'Q732577'}, 'P123', 'Q1971373']
SELECT DISTINCT ?b WHERE { ?b property:P123 resource:Q1971373 . ?b rdf:type ontology:Q732577 }
Central Committee of the Communist Party of the Soviet Union
action filter_type
action find_reverse
entity Central Committee of the Communist Party of the Soviet Union
relation publisher
type publication
[{'concept': 'publication'}, 'publisher', 'Central Committee of the Communist Party of the Soviet Union']
SELECT DISTINCT ?b WHERE { ?b property:publisher resource:Central_Committee_of_the_Communist_Party_of_the_Soviet_Union . ?b rdf:type ontology:publication }
[]
publication
Clarification for simple ques.
Q1971373
SYSTEM
Did you mean Central Committee of the Communist Party of the Soviet Union ?
Q842008 Q1971373
(c(Q732577),P123,Q842008) (c(Q732577),P123,Q1971373)
[ANSWER]
[{'concept': 'Q732577'}, 'P123', 'Q842008'] [{'concept': 'Q732577'}, 'P123', 'Q1971373']
SELECT DISTINCT ?b WHERE { ?b property:P123 resource:Q1971373 . ?b rdf:type ontology:Q732577 }
Politburo of the Central Committee of the Communist Party of the Soviet Union Central Committee of the Communist Party of the Soviet Union
Did you mean Central Committee of the Communist Party of the Soviet Union ?
Central Committee of the Communist Party of the Soviet Union
[{'concept': 'publication'}, 'publisher', 'Politburo of the Central Committee of the Communist Party of the Soviet Union'] [{'concept': 'publication'}, 'publisher', 'Central Committee of the Communist Party of the Soviet Union']
SELECT DISTINCT ?b WHERE { ?b property:publisher resource:Central_Committee_of_the_Communist_Party_of_the_Soviet_Union . ?b rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q732577),P123,Q1971373)
[{'concept': 'Q732577'}, 'P123', 'Q1971373']
[{'concept': 'publication'}, 'publisher', 'Central Committee of the Communist Party of the Soviet Union']
[]
Q1967268
SYSTEM
Der Emes
Q1967268
(c(Q732577),P123,Q1971373)
action filter_type
action find_reverse
entity Q1971373
relation P123
type Q732577
[ANSWER] produced that committee
[{'concept': 'Q732577'}, 'P123', 'Q1971373']
SELECT DISTINCT ?b WHERE { ?b property:P123 resource:Q1971373 . ?b rdf:type ontology:Q732577 }
Der Emes
Der Emes produced that committee
Der Emes
action filter_type
action find_reverse
entity Central Committee of the Communist Party of the Soviet Union
relation publisher
type publication
[{'concept': 'publication'}, 'publisher', 'Central Committee of the Communist Party of the Soviet Union']
SELECT DISTINCT ?b WHERE { ?b property:publisher resource:Central_Committee_of_the_Communist_Party_of_the_Soviet_Union . ?b rdf:type ontology:publication }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q60346
P859
Q895526 Q732577
USER
Which authority organs backs lesser number of publications than National Institute for Occupational Safety and Health ?
(c(Q732577),P859,c(Q895526))
action less
action find_reverse_tuple_counts
relation P859
type Q895526
type Q732577
action count
action filter_type
action find_reverse
entity Q60346
relation P859
type Q732577
[{'concept': 'Q732577'}, 'P859', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P859 ?g . ?r rdf:type ontology:Q732577 . ?g rdf:type ontology:Q895526 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P859 resource:Q60346 . ?q rdf:type ontology:Q732577 } } . FILTER ( ?h < ?e ) }
National Institute for Occupational Safety and Health
action less
action find_reverse_tuple_counts
relation sponsor
type authority organ
type publication
action count
action filter_type
action find_reverse
entity National Institute for Occupational Safety and Health
relation sponsor
type publication
[{'concept': 'publication'}, 'sponsor', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:sponsor ?g . ?r rdf:type ontology:publication . ?g rdf:type ontology:authority_organ } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:sponsor resource:National_Institute_for_Occupational_Safety_and_Health . ?q rdf:type ontology:publication } } . FILTER ( ?h < ?e ) }
[]
authority organ publication
Q583725 Q3475731
SYSTEM
Centers for Disease Control and Prevention, Science Foundation Ireland
Q583725 Q3475731
(c(Q732577),P859,c(Q895526))
action less
action find_reverse_tuple_counts
relation P859
type Q895526
type Q732577
action count
action filter_type
action find_reverse
entity Q60346
relation P859
type Q732577
The [ANSWERS] organ backs lesser number of publications than National Institute for Occupational Safety and Health
[{'concept': 'Q732577'}, 'P859', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:P859 ?g . ?r rdf:type ontology:Q732577 . ?g rdf:type ontology:Q895526 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P859 resource:Q60346 . ?q rdf:type ontology:Q732577 } } . FILTER ( ?h < ?e ) }
Centers for Disease Control and Prevention Science Foundation Ireland
The Centers for Disease Control and Prevention and Science Foundation Ireland organ backs lesser number of publications than National Institute for Occupational Safety and Health
Centers for Disease Control and Prevention Science Foundation Ireland
action less
action find_reverse_tuple_counts
relation sponsor
type authority organ
type publication
action count
action filter_type
action find_reverse
entity National Institute for Occupational Safety and Health
relation sponsor
type publication
[{'concept': 'publication'}, 'sponsor', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?h ) WHERE { ?r property:sponsor ?g . ?r rdf:type ontology:publication . ?g rdf:type ontology:authority_organ } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:sponsor resource:National_Institute_for_Occupational_Safety_and_Health . ?q rdf:type ontology:publication } } . FILTER ( ?h < ?e ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3475731
P17
Q15617994
USER
Which administrative territory is that authority organ present in ?
(Q3475731,P17,c(Q15617994))
action filter_type
action find
entity Q3475731
relation P17
type Q15617994
['Q3475731', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3475731 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Science Foundation Ireland
action filter_type
action find
entity Science Foundation Ireland
relation country
type designation for an administrative territorial entity
['Science Foundation Ireland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Science_Foundation_Ireland property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3475731
SYSTEM
Did you mean Science Foundation Ireland ?
Q583725 Q3475731
(Q583725,P17,c(Q15617994)) (Q3475731,P17,c(Q15617994))
[ANSWER]
['Q583725', 'P17', {'concept': 'Q15617994'}] ['Q3475731', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3475731 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Centers for Disease Control and Prevention Science Foundation Ireland
Did you mean Science Foundation Ireland ?
Science Foundation Ireland
['Centers for Disease Control and Prevention', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Science Foundation Ireland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Science_Foundation_Ireland property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3475731,P17,c(Q15617994))
['Q3475731', 'P17', {'concept': 'Q15617994'}]
['Science Foundation Ireland', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q27
SYSTEM
Ireland
Q27
(Q3475731,P17,c(Q15617994))
action filter_type
action find
entity Q3475731
relation P17
type Q15617994
That authority organ is Northern [ANSWER]
['Q3475731', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3475731 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Ireland
That authority organ is Northern Ireland
Ireland
action filter_type
action find
entity Science Foundation Ireland
relation country
type designation for an administrative territorial entity
['Science Foundation Ireland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Science_Foundation_Ireland property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q15416 Q2088357
USER
How many administrative territories are the countries of origin of more number of television programs or musical ensembles than that administrative territory ?
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q27
relation P495
type Q15416
type Q2088357
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } UNION { ?o property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2088357 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:Q15416 } UNION { ?c rdf:type ontology:Q2088357 } } . ?c property:P495 resource:Q27 } } . FILTER ( ?l > ?t ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Ireland
relation country of origin
type television program
type musical ensemble
[[{'concept': 'television program'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } UNION { ?o property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:musical_ensemble } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:television_program } UNION { ?c rdf:type ontology:musical_ensemble } } . ?c property:country_of_origin resource:Ireland } } . FILTER ( ?l > ?t ) }
[]
designation for an administrative territorial entity television program musical ensemble
SYSTEM
23
Q668 Q414 Q142 Q55 Q145 Q148 Q717 Q43 Q155 Q884 Q33 Q31 Q30 Q36 Q34 Q928 Q38 Q739 Q20 Q96 Q17 Q298 Q29
(c(Q15416)|c(Q2088357),P495,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q27
relation P495
type Q15416
type Q2088357
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } UNION { ?o property:P495 ?u . ?u rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2088357 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:Q15416 } UNION { ?c rdf:type ontology:Q2088357 } } . ?c property:P495 resource:Q27 } } . FILTER ( ?l > ?t ) }
India Argentina France Netherlands United Kingdom People's Republic of China Venezuela Turkey Brazil South Korea Finland Belgium United States of America Poland Sweden Philippines Italy Colombia Norway Mexico Japan Chile Spain
23
action count
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Ireland
relation country of origin
type television program
type musical ensemble
[[{'concept': 'television program'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?l ) WHERE { { ?o property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } UNION { ?o property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:musical_ensemble } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { { ?c rdf:type ontology:television_program } UNION { ?c rdf:type ontology:musical_ensemble } } . ?c property:country_of_origin resource:Ireland } } . FILTER ( ?l > ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1967268
P123
Q938236
USER
Who published Der Emes ?
(Q1967268,P123,c(Q938236))
action filter_type
action find
entity Q1967268
relation P123
type Q938236
['Q1967268', 'P123', {'concept': 'Q938236'}]
SELECT DISTINCT ?g WHERE { resource:Q1967268 property:P123 ?g . ?g rdf:type ontology:Q938236 }
Der Emes
action filter_type
action find
entity Der Emes
relation publisher
type committee
['Der Emes', 'publisher', {'concept': 'committee'}]
SELECT DISTINCT ?g WHERE { resource:Der_Emes property:publisher ?g . ?g rdf:type ontology:committee }
[]
committee
Q1971373
SYSTEM
Central Committee of the Communist Party of the Soviet Union
Q1971373
(Q1967268,P123,c(Q938236))
action filter_type
action find
entity Q1967268
relation P123
type Q938236
The [ANSWER] published Der Emes
['Q1967268', 'P123', {'concept': 'Q938236'}]
SELECT DISTINCT ?g WHERE { resource:Q1967268 property:P123 ?g . ?g rdf:type ontology:Q938236 }
Central Committee of the Communist Party of the Soviet Union
The Central Committee of the Communist Party of the Soviet Union published Der Emes
Central Committee of the Communist Party of the Soviet Union
action filter_type
action find
entity Der Emes
relation publisher
type committee
['Der Emes', 'publisher', {'concept': 'committee'}]
SELECT DISTINCT ?g WHERE { resource:Der_Emes property:publisher ?g . ?g rdf:type ontology:committee }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P710
Q15275719
USER
What event did Ireland particiate in ?
(c(Q15275719),P710,Q27)
action filter_type
action find_reverse
entity Q27
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q27']
SELECT DISTINCT ?l WHERE { ?l property:P710 resource:Q27 . ?l rdf:type ontology:Q15275719 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Ireland']
SELECT DISTINCT ?l WHERE { ?l property:participant resource:Ireland . ?l rdf:type ontology:recurring_event }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q27)
action filter_type
action find_reverse
entity Q27
relation P710
type Q15275719
Ireland particiated at [ANSWER]
[{'concept': 'Q15275719'}, 'P710', 'Q27']
SELECT DISTINCT ?l WHERE { ?l property:P710 resource:Q27 . ?l rdf:type ontology:Q15275719 }
Eurovision Song Contest 1996
Ireland particiated at Eurovision Song Contest 1996
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Ireland
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Ireland']
SELECT DISTINCT ?l WHERE { ?l property:participant resource:Ireland . ?l rdf:type ontology:recurring_event }
[]