Simple Question (Direct)
Simple Question
Q5998997
P1412
Q34770
USER
Which language can Mario Reig understand ?
(Q5998997,P1412,c(Q34770))
action filter_type
action find
entity Q5998997
relation P1412
type Q34770
['Q5998997', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q5998997 property:P1412 ?t }
Mario Reig
action filter_type
action find
entity Mario Reig
relation languages spoken, written or signed
type language
['Mario Reig', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Mario_Reig property:languages_spoken,_written_or_signed ?t }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5998997,P1412,c(Q34770))
action filter_type
action find
entity Q5998997
relation P1412
type Q34770
Mario Reig can understand [ANSWER]
['Q5998997', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q5998997 property:P1412 ?t }
Spanish
Mario Reig can understand Spanish
Spanish
action filter_type
action find
entity Mario Reig
relation languages spoken, written or signed
type language
['Mario Reig', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Mario_Reig property:languages_spoken,_written_or_signed ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5998997
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1321,P27,c(Q15617994))
action filter_type
action find
entity Q5998997
relation P27
type Q15617994
['Q1321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q5998997 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Mario Reig
action filter_type
action find
entity Mario Reig
relation country of citizenship
type designation for an administrative territorial entity
['Spanish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mario_Reig property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1321,P27,c(Q15617994))
action filter_type
action find
entity Q5998997
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q1321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q5998997 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Spain
The Spain is the native country of that person
Spain
action filter_type
action find
entity Mario Reig
relation country of citizenship
type designation for an administrative territorial entity
['Spanish', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mario_Reig property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5998997
P106
Q12737077
USER
What are the job of that person ?
(Q29,P106,c(Q12737077))
action filter_type
action find
entity Q5998997
relation P106
type Q12737077
['Q29', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5998997 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Mario Reig
action filter_type
action find
entity Mario Reig
relation occupation
type occupation
['Spain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mario_Reig property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q29,P106,c(Q12737077))
action filter_type
action find
entity Q5998997
relation P106
type Q12737077
The job of that person are also [ANSWERS]
['Q29', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q5998997 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football manager association football player
The job of that person are also association football manager and association football player
association football manager association football player
action filter_type
action find
entity Mario Reig
relation occupation
type occupation
['Spain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Mario_Reig property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5554757
P106
Q502895
USER
Do Helge Andersson have the profession as those occupations ?
(Q5554757,P106,Q628099) (Q5554757,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q5554757
relation P106
['Q5554757', 'P106', 'Q628099'] ['Q5554757', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?l ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q5554757 property:P106 ?l }
Helge Andersson
action is_in
entity prev_answer
action find
entity Helge Andersson
relation occupation
['Helge Andersson', 'occupation', 'association football manager'] ['Helge Andersson', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?l ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Helge_Andersson property:occupation ?l }
[]
common name
SYSTEM
NO
(Q5554757,P106,Q628099) (Q5554757,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q5554757
relation P106
[ANSWER]
['Q5554757', 'P106', 'Q628099'] ['Q5554757', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?l ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q5554757 property:P106 ?l }
No
action is_in
entity prev_answer
action find
entity Helge Andersson
relation occupation
['Helge Andersson', 'occupation', 'association football manager'] ['Helge Andersson', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?l ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Helge_Andersson property:occupation ?l }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q937857 Q2736 Q3983734
P425
Q349
USER
Does association football player have association football and Tennis polo as thier field of occupation ?
(Q937857,P425,Q2736) (Q937857,P425,Q3983734)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q3983734
relation P425
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q3983734']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q3983734 }
association football player association football Tennis polo
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Tennis polo
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Tennis polo']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Tennis_polo }
[]
sport
SYSTEM
YES and NO respectively
(Q937857,P425,Q2736) (Q937857,P425,Q3983734)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q2736
relation P425
action find_reverse
entity Q3983734
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736'] ['Q937857', 'P425', 'Q3983734']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 . resource:Q937857 property:P425 resource:Q3983734 }
YES and NO respectively
action is_in
entity association football player
action intersection
action find_reverse
entity association football
relation field of this occupation
action find_reverse
entity Tennis polo
relation field of this occupation
['association football player', 'field of this occupation', 'association football'] ['association football player', 'field of this occupation', 'Tennis polo']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football . resource:association_football_player property:field_of_this_occupation resource:Tennis_polo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q29 Q1843416 Q183
P530
Q1048835
USER
Does Spain have ambassadorial relations with Coremas and Germany ?
(Q29,P530,Q1843416) (Q29,P530,Q183)
action is_in
entity Q29
action intersection
action find_reverse
entity Q1843416
relation P530
action find_reverse
entity Q183
relation P530
['Q29', 'P530', 'Q1843416'] ['Q29', 'P530', 'Q183']
ASK WHERE { resource:Q29 property:P530 resource:Q1843416 . resource:Q29 property:P530 resource:Q183 }
Spain Coremas Germany
action is_in
entity Spain
action intersection
action find_reverse
entity Coremas
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Spain', 'diplomatic relation', 'Coremas'] ['Spain', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Coremas . resource:Spain property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q29,P530,Q1843416) (Q29,P530,Q183)
action is_in
entity Q29
action intersection
action find_reverse
entity Q1843416
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q29', 'P530', 'Q1843416'] ['Q29', 'P530', 'Q183']
ASK WHERE { resource:Q29 property:P530 resource:Q1843416 . resource:Q29 property:P530 resource:Q183 }
NO and YES respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Coremas
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Spain', 'diplomatic relation', 'Coremas'] ['Spain', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Coremas . resource:Spain property:diplomatic_relation resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P159
Q17502905
USER
Which the media has its head office location at Spain ?
(c(Q17502905),P159,Q29)
action filter_type
action find_reverse
entity Q29
relation P159
type Q17502905
[{'concept': 'Q17502905'}, 'P159', 'Q29']
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q29 . ?c rdf:type ontology:Q17502905 }
Spain
action filter_type
action find_reverse
entity Spain
relation headquarters location
type the media
[{'concept': 'the media'}, 'headquarters location', 'Spain']
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Spain . ?c rdf:type ontology:the_media }
[]
the media
Q2056424
SYSTEM
Unidad Editorial
Q2056424
(c(Q17502905),P159,Q29)
action filter_type
action find_reverse
entity Q29
relation P159
type Q17502905
[ANSWER] has its head office location at Spain
[{'concept': 'Q17502905'}, 'P159', 'Q29']
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q29 . ?c rdf:type ontology:Q17502905 }
Unidad Editorial
Unidad Editorial has its head office location at Spain
Unidad Editorial
action filter_type
action find_reverse
entity Spain
relation headquarters location
type the media
[{'concept': 'the media'}, 'headquarters location', 'Spain']
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Spain . ?c rdf:type ontology:the_media }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2056424
P17
Q15617994
USER
Which administrative territory is that the media situated in ?
(Q2056424,P17,c(Q15617994))
action filter_type
action find
entity Q2056424
relation P17
type Q15617994
['Q2056424', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2056424 property:P17 ?f }
Unidad Editorial
action filter_type
action find
entity Unidad Editorial
relation country
type designation for an administrative territorial entity
['Unidad Editorial', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Unidad_Editorial property:country ?f }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q2056424,P17,c(Q15617994))
action filter_type
action find
entity Q2056424
relation P17
type Q15617994
Which administrative territory is that the media situated in
['Q2056424', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q2056424 property:P17 ?f }
Spain
Which administrative territory is that the media situated in
Spain
action filter_type
action find
entity Unidad Editorial
relation country
type designation for an administrative territorial entity
['Unidad Editorial', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Unidad_Editorial property:country ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6949410 Q2056424
P17
Q15617994
USER
Or Myślec?
OR((Q2056424,P17,c(Q15617994)), (Q6949410,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2056424
relation P17
action find
entity Q6949410
relation P17
type Q15617994
{'OR': [['Q2056424', 'P17', {'concept': 'Q15617994'}], ['Q6949410', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6949410 property:P17 ?w } UNION { resource:Q2056424 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Myślec Unidad Editorial
action filter_type
action union
action find
entity Unidad Editorial
relation country
action find
entity Myślec
relation country
type designation for an administrative territorial entity
{'OR': [['Unidad Editorial', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Myślec', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Myślec property:country ?w } UNION { resource:Unidad_Editorial property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q36
SYSTEM
Spain, Poland
Q29 Q36
OR((Q2056424,P17,c(Q15617994)), (Q6949410,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2056424
relation P17
action find
entity Q6949410
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q2056424', 'P17', {'concept': 'Q15617994'}], ['Q6949410', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6949410 property:P17 ?w } UNION { resource:Q2056424 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Spain Poland
Spain Poland
action filter_type
action union
action find
entity Unidad Editorial
relation country
action find
entity Myślec
relation country
type designation for an administrative territorial entity
{'OR': [['Unidad Editorial', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Myślec', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Myślec property:country ?w } UNION { resource:Unidad_Editorial property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P276
Q15275719 Q1190554
USER
How many recurring events and events are situated at Spain ?
(c(Q15275719),P276,Q29) (c(Q1190554),P276,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P276
type Q15275719
action filter_type
action find_reverse
entity Q29
relation P276
type Q1190554
[{'concept': 'Q15275719'}, 'P276', 'Q29'] [{'concept': 'Q1190554'}, 'P276', 'Q29']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:P276 resource:Q29 . ?u rdf:type ontology:Q15275719 } UNION { ?u property:P276 resource:Q29 . ?u rdf:type ontology:Q1190554 } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation location
type recurring event
action filter_type
action find_reverse
entity Spain
relation location
type event
[{'concept': 'recurring event'}, 'location', 'Spain'] [{'concept': 'event'}, 'location', 'Spain']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:location resource:Spain . ?u rdf:type ontology:recurring_event } UNION { ?u property:location resource:Spain . ?u rdf:type ontology:event } }
[]
recurring event event
SYSTEM
1 recurring events and 2 events
Q532166 Q2889928 Q1340107
(c(Q15275719),P276,Q29) (c(Q1190554),P276,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P276
type Q15275719
action filter_type
action find_reverse
entity Q29
relation P276
type Q1190554
[ANSWER]
[{'concept': 'Q15275719'}, 'P276', 'Q29'] [{'concept': 'Q1190554'}, 'P276', 'Q29']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:P276 resource:Q29 . ?u rdf:type ontology:Q15275719 } UNION { ?u property:P276 resource:Q29 . ?u rdf:type ontology:Q1190554 } }
Vuelta a Andalucía Battle of San Marcial Cantabrian Wars
1 recurring events and 2 events
action count
action union
action filter_type
action find_reverse
entity Spain
relation location
type recurring event
action filter_type
action find_reverse
entity Spain
relation location
type event
[{'concept': 'recurring event'}, 'location', 'Spain'] [{'concept': 'event'}, 'location', 'Spain']
SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { { ?u property:location resource:Spain . ?u rdf:type ontology:recurring_event } UNION { ?u property:location resource:Spain . ?u rdf:type ontology:event } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1309851 Q2056424
P127
Q11032
USER
Which newspapers are owned by Unidad Editorial or Schibsted ?
OR((c(Q11032),P127,Q2056424), (c(Q11032),P127,Q1309851))
action filter_type
action union
action find_reverse
entity Q2056424
relation P127
action find_reverse
entity Q1309851
relation P127
type Q11032
{'OR': [[{'concept': 'Q11032'}, 'P127', 'Q2056424'], [{'concept': 'Q11032'}, 'P127', 'Q1309851']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P127 resource:Q2056424 } UNION { ?x property:P127 resource:Q1309851 } } . ?x rdf:type ontology:Q11032 }
Schibsted Unidad Editorial
action filter_type
action union
action find_reverse
entity Unidad Editorial
relation owned by
action find_reverse
entity Schibsted
relation owned by
type newspaper
{'OR': [[{'concept': 'newspaper'}, 'owned by', 'Unidad Editorial'], [{'concept': 'newspaper'}, 'owned by', 'Schibsted']]}
SELECT DISTINCT ?x WHERE { { { ?x property:owned_by resource:Unidad_Editorial } UNION { ?x property:owned_by resource:Schibsted } } . ?x rdf:type ontology:newspaper }
[]
newspaper
Q1355052 Q921217
SYSTEM
Postimees, El Mundo
Q1355052 Q921217
OR((c(Q11032),P127,Q2056424), (c(Q11032),P127,Q1309851))
action filter_type
action union
action find_reverse
entity Q2056424
relation P127
action find_reverse
entity Q1309851
relation P127
type Q11032
[ANSWERS] are owned by Unidad Editorial or Schibsted
{'OR': [[{'concept': 'Q11032'}, 'P127', 'Q2056424'], [{'concept': 'Q11032'}, 'P127', 'Q1309851']]}
SELECT DISTINCT ?x WHERE { { { ?x property:P127 resource:Q2056424 } UNION { ?x property:P127 resource:Q1309851 } } . ?x rdf:type ontology:Q11032 }
Postimees El Mundo
Postimees and El Mundo are owned by Unidad Editorial or Schibsted
Postimees El Mundo
action filter_type
action union
action find_reverse
entity Unidad Editorial
relation owned by
action find_reverse
entity Schibsted
relation owned by
type newspaper
{'OR': [[{'concept': 'newspaper'}, 'owned by', 'Unidad Editorial'], [{'concept': 'newspaper'}, 'owned by', 'Schibsted']]}
SELECT DISTINCT ?x WHERE { { { ?x property:owned_by resource:Unidad_Editorial } UNION { ?x property:owned_by resource:Schibsted } } . ?x rdf:type ontology:newspaper }
[]