Simple Question (Direct)
Simple Question
Q862049
P641
Q349
USER
Which sport was Josu Urrutia a part of ?
(Q862049,P641,c(Q349))
action filter_type
action find
entity Q862049
relation P641
type Q349
['Q862049', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q862049 property:P641 ?h . ?h rdf:type ontology:Q349 }
Josu Urrutia
action filter_type
action find
entity Josu Urrutia
relation sport
type sport
['Josu Urrutia', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Josu_Urrutia property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q862049,P641,c(Q349))
action filter_type
action find
entity Q862049
relation P641
type Q349
Which sport was Josu Urrutia a part of
['Q862049', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q862049 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Which sport was Josu Urrutia a part of
association football
action filter_type
action find
entity Josu Urrutia
relation sport
type sport
['Josu Urrutia', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Josu_Urrutia property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q862049
P1412
Q34770
USER
Which language is spoken by that person ?
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q862049
relation P1412
type Q34770
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q862049 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Josu Urrutia
action filter_type
action find
entity Josu Urrutia
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Josu_Urrutia property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q862049
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q862049 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Josu Urrutia
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Josu_Urrutia property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q82799 Q4894405
USER
How many languages have an association with more number of names and journalism genres than that language ?
(c(Q82799)|c(Q4894405),P2439,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q4894405
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q82799
type Q4894405
[[{'concept': 'Q82799'}, {'concept': 'Q4894405'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q4894405 ) ( ontology:Q82799 ) } } GROUP BY ?y } . FILTER ( ?x > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P2439 resource:Q1321 . { { ?s rdf:type ontology:Q82799 } UNION { ?s rdf:type ontology:Q4894405 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation language
type language
type name
action find_reverse_tuple_counts
relation language
type language
type journalism genre
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type name
type journalism genre
[[{'concept': 'name'}, {'concept': 'journalism genre'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:journalism_genre ) ( ontology:name ) } } GROUP BY ?y } . FILTER ( ?x > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:language resource:Spanish . { { ?s rdf:type ontology:name } UNION { ?s rdf:type ontology:journalism_genre } } } } }
[]
language name journalism genre
SYSTEM
3
Q1860 Q9056 Q652
(c(Q82799)|c(Q4894405),P2439,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q4894405
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q82799
type Q4894405
[ANSWER]
[[{'concept': 'Q82799'}, {'concept': 'Q4894405'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q4894405 ) ( ontology:Q82799 ) } } GROUP BY ?y } . FILTER ( ?x > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P2439 resource:Q1321 . { { ?s rdf:type ontology:Q82799 } UNION { ?s rdf:type ontology:Q4894405 } } } } }
English Czech Italian
3
action count
action greater
action union
action find_reverse_tuple_counts
relation language
type language
type name
action find_reverse_tuple_counts
relation language
type language
type journalism genre
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type name
type journalism genre
[[{'concept': 'name'}, {'concept': 'journalism genre'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:journalism_genre ) ( ontology:name ) } } GROUP BY ?y } . FILTER ( ?x > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:language resource:Spanish . { { ?s rdf:type ontology:name } UNION { ?s rdf:type ontology:journalism_genre } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q862049
P734
Q82799
USER
Who is associated with Josu Urrutia ?
(Q862049,P734,c(Q82799))
action filter_type
action find
entity Q862049
relation P734
type Q82799
['Q862049', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q862049 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Josu Urrutia
action filter_type
action find
entity Josu Urrutia
relation family name
type name
['Josu Urrutia', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Josu_Urrutia property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q27180624
SYSTEM
Urrutia
Q27180624
(Q862049,P734,c(Q82799))
action filter_type
action find
entity Q862049
relation P734
type Q82799
[ANSWER] is associated with Josu [ANSWER]
['Q862049', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q862049 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Urrutia
Urrutia is associated with Josu Urrutia
Urrutia
action filter_type
action find
entity Josu Urrutia
relation family name
type name
['Josu Urrutia', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Josu_Urrutia property:family_name ?e . ?e rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6537055
Q82799
USER
And what about Lewis Smith?
(Q6537055,P734,c(Q82799))
action filter_type
action find
entity Q6537055
relation P734
type Q82799
['Q6537055', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q6537055 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Lewis Smith
action filter_type
action find
entity Lewis Smith
relation family name
type name
['Lewis Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Lewis_Smith property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q6537055,P734,c(Q82799))
action filter_type
action find
entity Q6537055
relation P734
type Q82799
[ANSWER]
['Q6537055', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q6537055 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Smith
Smith
action filter_type
action find
entity Lewis Smith
relation family name
type name
['Lewis Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Lewis_Smith property:family_name ?q . ?q rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1158446 Q10511230 Q1860
P407
Q34770
USER
Is Smith composed in Guyani and English ?
(Q1158446,P407,Q10511230) (Q1158446,P407,Q1860)
action is_in
entity Q1158446
action intersection
action find_reverse
entity Q10511230
relation P407
action find_reverse
entity Q1860
relation P407
['Q1158446', 'P407', 'Q10511230'] ['Q1158446', 'P407', 'Q1860']
ASK WHERE { resource:Q1158446 property:P407 resource:Q10511230 . resource:Q1158446 property:P407 resource:Q1860 }
Smith Guyani English
action is_in
entity Smith
action intersection
action find_reverse
entity Guyani
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Smith', 'language of work or name', 'Guyani'] ['Smith', 'language of work or name', 'English']
ASK WHERE { resource:Smith property:language_of_work_or_name resource:Guyani . resource:Smith property:language_of_work_or_name resource:English }
[]
language
SYSTEM
NO and YES respectively
(Q1158446,P407,Q10511230) (Q1158446,P407,Q1860)
action is_in
entity Q1158446
action intersection
action find_reverse
entity Q10511230
relation P407
action find_reverse
entity Q1860
relation P407
[ANSWER]
['Q1158446', 'P407', 'Q10511230'] ['Q1158446', 'P407', 'Q1860']
ASK WHERE { resource:Q1158446 property:P407 resource:Q10511230 . resource:Q1158446 property:P407 resource:Q1860 }
NO and YES respectively
action is_in
entity Smith
action intersection
action find_reverse
entity Guyani
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Smith', 'language of work or name', 'Guyani'] ['Smith', 'language of work or name', 'English']
ASK WHERE { resource:Smith property:language_of_work_or_name resource:Guyani . resource:Smith property:language_of_work_or_name resource:English }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q862049
P27
Q15617994
USER
Which administrative territory is Josu Urrutia an inhabitant of ?
(Q862049,P27,c(Q15617994))
action filter_type
action find
entity Q862049
relation P27
type Q15617994
['Q862049', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q862049 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Josu Urrutia
action filter_type
action find
entity Josu Urrutia
relation country of citizenship
type designation for an administrative territorial entity
['Josu Urrutia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Josu_Urrutia property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q862049,P27,c(Q15617994))
action filter_type
action find
entity Q862049
relation P27
type Q15617994
[ANSWER] is Josu Urrutia an inhabitant of
['Q862049', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q862049 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Spain
Spain is Josu Urrutia an inhabitant of
Spain
action filter_type
action find
entity Josu Urrutia
relation country of citizenship
type designation for an administrative territorial entity
['Josu Urrutia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Josu_Urrutia property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P710
Q15275719
USER
Which recurring event did that administrative territory participate in ?
(c(Q15275719),P710,Q29)
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
[{'concept': 'Q15275719'}, 'P710', 'Q29']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15275719 . ?m property:P710 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Spain']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:recurring_event . ?m property:participant resource:Spain }
[]
recurring event
Q207815
SYSTEM
Eurovision Song Contest 1996
Q207815
(c(Q15275719),P710,Q29)
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
That administrative territory participated in [ANSWER]
[{'concept': 'Q15275719'}, 'P710', 'Q29']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15275719 . ?m property:P710 resource:Q29 }
Eurovision Song Contest 1996
That administrative territory participated in Eurovision Song Contest 1996
Eurovision Song Contest 1996
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
[{'concept': 'recurring event'}, 'participant', 'Spain']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:recurring_event . ?m property:participant resource:Spain }
[]