Simple Question (Direct)
Simple Question
Q352737
P1344
Q15275719
USER
Which recurring event did Loukas Giorkas compete in ?
(Q352737,P1344,c(Q15275719))
action filter_type
action find
entity Q352737
relation P1344
type Q15275719
['Q352737', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?e WHERE { resource:Q352737 property:P1344 ?e . ?e rdf:type ontology:Q15275719 }
Loukas Giorkas
action filter_type
action find
entity Loukas Giorkas
relation participant of
type recurring event
['Loukas Giorkas', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?e WHERE { resource:Loukas_Giorkas property:participant_of ?e . ?e rdf:type ontology:recurring_event }
[]
recurring event
Q10160
SYSTEM
Eurovision Song Contest 2011
Q10160
(Q352737,P1344,c(Q15275719))
action filter_type
action find
entity Q352737
relation P1344
type Q15275719
Loukas Giorkas competed in [ANSWER]
['Q352737', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?e WHERE { resource:Q352737 property:P1344 ?e . ?e rdf:type ontology:Q15275719 }
Eurovision Song Contest 2011
Loukas Giorkas competed in Eurovision Song Contest 2011
Eurovision Song Contest 2011
action filter_type
action find
entity Loukas Giorkas
relation participant of
type recurring event
['Loukas Giorkas', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?e WHERE { resource:Loukas_Giorkas property:participant_of ?e . ?e rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10160
P361
Q7725634
USER
Which literary works are a part of that recurring event ?
(c(Q7725634),P361,Q10160)
action filter_type
action find_reverse
entity Q10160
relation P361
type Q7725634
[{'concept': 'Q7725634'}, 'P361', 'Q10160']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7725634 . ?h property:P361 resource:Q10160 }
Eurovision Song Contest 2011
action filter_type
action find_reverse
entity Eurovision Song Contest 2011
relation part of
type literary work
[{'concept': 'literary work'}, 'part of', 'Eurovision Song Contest 2011']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:literary_work . ?h property:part_of resource:Eurovision_Song_Contest_2011 }
[]
literary work
Q769271 Q868493
SYSTEM
Angel, Coming Home
Q769271 Q868493
(c(Q7725634),P361,Q10160)
action filter_type
action find_reverse
entity Q10160
relation P361
type Q7725634
[ANSWERS] are a part of that recurring event
[{'concept': 'Q7725634'}, 'P361', 'Q10160']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q7725634 . ?h property:P361 resource:Q10160 }
Angel Coming Home
Angel and Coming Home are a part of that recurring event
Angel Coming Home
action filter_type
action find_reverse
entity Eurovision Song Contest 2011
relation part of
type literary work
[{'concept': 'literary work'}, 'part of', 'Eurovision Song Contest 2011']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:literary_work . ?h property:part_of resource:Eurovision_Song_Contest_2011 }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q7725634
USER
How many languages are the languages of work for approximately 13 literary works ?
(c(Q7725634),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 13
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P407 ?l . ?x rdf:type ontology:Q7725634 . ?l rdf:type ontology:Q34770 } GROUP BY ?l } . FILTER ( ?k = 13 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 13
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:language_of_work_or_name ?l . ?x rdf:type ontology:literary_work . ?l rdf:type ontology:language } GROUP BY ?l } . FILTER ( ?k = 13 ) }
[]
language literary work
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 13
[ANSWER]
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P407 ?l . ?x rdf:type ontology:Q7725634 . ?l rdf:type ontology:Q34770 } GROUP BY ?l } . FILTER ( ?k = 13 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 13
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:language_of_work_or_name ?l . ?x rdf:type ontology:literary_work . ?l rdf:type ontology:language } GROUP BY ?l } . FILTER ( ?k = 13 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3806804 Q769271
P361 P1344
Q15275719
USER
Which recurring events are Angel a component of or did Jamie Lowery participate in ?
OR((Q769271,P361,c(Q15275719)), (Q3806804,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q769271
relation P361
action find
entity Q3806804
relation P1344
type Q15275719
{'OR': [['Q769271', 'P361', {'concept': 'Q15275719'}], ['Q3806804', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15275719 . { { resource:Q3806804 property:P1344 ?u } UNION { resource:Q769271 property:P361 ?u } } }
Jamie Lowery Angel
action filter_type
action union
action find
entity Angel
relation part of
action find
entity Jamie Lowery
relation participant of
type recurring event
{'OR': [['Angel', 'part of', {'concept': 'recurring event'}], ['Jamie Lowery', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:recurring_event . { { resource:Jamie_Lowery property:participant_of ?u } UNION { resource:Angel property:part_of ?u } } }
[]
recurring event
Q10160 Q46938
SYSTEM
Eurovision Song Contest 2011, 1986 FIFA World Cup
Q10160 Q46938
OR((Q769271,P361,c(Q15275719)), (Q3806804,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q769271
relation P361
action find
entity Q3806804
relation P1344
type Q15275719
[ANSWERS] are Angel a component of or did Jamie Lowery participate in
{'OR': [['Q769271', 'P361', {'concept': 'Q15275719'}], ['Q3806804', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15275719 . { { resource:Q3806804 property:P1344 ?u } UNION { resource:Q769271 property:P361 ?u } } }
Eurovision Song Contest 2011 1986 FIFA World Cup
Eurovision Song Contest 2011 and 1986 FIFA World Cup are Angel a component of or did Jamie Lowery participate in
Eurovision Song Contest 2011 1986 FIFA World Cup
action filter_type
action union
action find
entity Angel
relation part of
action find
entity Jamie Lowery
relation participant of
type recurring event
{'OR': [['Angel', 'part of', {'concept': 'recurring event'}], ['Jamie Lowery', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:recurring_event . { { resource:Jamie_Lowery property:participant_of ?u } UNION { resource:Angel property:part_of ?u } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2058950 Q46938
P54 P1923
Q1194951
USER
Which national sports teams competed in 1986 FIFA World Cup and are Antonio Cabrera a member of ?
AND((Q46938,P1923,c(Q1194951)), (Q2058950,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q46938
relation P1923
action find
entity Q2058950
relation P54
type Q1194951
{'AND': [['Q46938', 'P1923', {'concept': 'Q1194951'}], ['Q2058950', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?s WHERE { resource:Q46938 property:P1923 ?s . resource:Q2058950 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Antonio Cabrera 1986 FIFA World Cup
action filter_type
action intersection
action find
entity 1986 FIFA World Cup
relation participating teams
action find
entity Antonio Cabrera
relation member of sports team
type national sports team
{'AND': [['1986 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}], ['Antonio Cabrera', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?s WHERE { resource:1986_FIFA_World_Cup property:participating_teams ?s . resource:Antonio_Cabrera property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]
national sports team
Q172020
SYSTEM
Paraguay national football team
Q172020
AND((Q46938,P1923,c(Q1194951)), (Q2058950,P54,c(Q1194951)))
action filter_type
action intersection
action find
entity Q46938
relation P1923
action find
entity Q2058950
relation P54
type Q1194951
[ANSWER] competed in 1986 FIFA World Cup and are Antonio Cabrera a member of
{'AND': [['Q46938', 'P1923', {'concept': 'Q1194951'}], ['Q2058950', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?s WHERE { resource:Q46938 property:P1923 ?s . resource:Q2058950 property:P54 ?s . ?s rdf:type ontology:Q1194951 }
Paraguay national football team
Paraguay national football team competed in 1986 FIFA World Cup and are Antonio Cabrera a member of
Paraguay national football team
action filter_type
action intersection
action find
entity 1986 FIFA World Cup
relation participating teams
action find
entity Antonio Cabrera
relation member of sports team
type national sports team
{'AND': [['1986 FIFA World Cup', 'participating teams', {'concept': 'national sports team'}], ['Antonio Cabrera', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?s WHERE { resource:1986_FIFA_World_Cup property:participating_teams ?s . resource:Antonio_Cabrera property:member_of_sports_team ?s . ?s rdf:type ontology:national_sports_team }
[]