Simple Question (Direct)
Simple Question
Q1799440
P106
Q12737077
USER
What does Labinot Haliti do for a living ?
(Q1799440,P106,c(Q12737077))
action filter_type
action find
entity Q1799440
relation P106
type Q12737077
['Q1799440', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1799440 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Labinot Haliti
action filter_type
action find
entity Labinot Haliti
relation occupation
type occupation
['Labinot Haliti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Labinot_Haliti property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1799440,P106,c(Q12737077))
action filter_type
action find
entity Q1799440
relation P106
type Q12737077
Labinot Haliti does an [ANSWER] for a living
['Q1799440', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1799440 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
association football player
Labinot Haliti does an association football player for a living
association football player
action filter_type
action find
entity Labinot Haliti
relation occupation
type occupation
['Labinot Haliti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Labinot_Haliti property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799440
P641
Q349
USER
What was the sport that Labinot Haliti was a part of ?
(Q1799440,P641,c(Q349))
action filter_type
action find
entity Q1799440
relation P641
type Q349
['Q1799440', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q1799440 property:P641 ?q . ?q rdf:type ontology:Q349 }
Labinot Haliti
action filter_type
action find
entity Labinot Haliti
relation sport
type sport
['Labinot Haliti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Labinot_Haliti property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1799440,P641,c(Q349))
action filter_type
action find
entity Q1799440
relation P641
type Q349
The sport that Labinot Haliti was a part of was the [ANSWER]
['Q1799440', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q1799440 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
The sport that Labinot Haliti was a part of was the association football
association football
action filter_type
action find
entity Labinot Haliti
relation sport
type sport
['Labinot Haliti', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Labinot_Haliti property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6936058
Q349
USER
And what about Munhar?
(Q6936058,P641,c(Q349))
action filter_type
action find
entity Q6936058
relation P641
type Q349
['Q6936058', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6936058 property:P641 ?k . ?k rdf:type ontology:Q349 }
Munhar
action filter_type
action find
entity Munhar
relation sport
type sport
['Munhar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Munhar property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6936058,P641,c(Q349))
action filter_type
action find
entity Q6936058
relation P641
type Q349
[ANSWER]
['Q6936058', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6936058 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Munhar
relation sport
type sport
['Munhar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Munhar property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P366
Q483110
USER
Which stadium has its main utilization as that sport ?
(c(Q483110),P366,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q483110
[{'concept': 'Q483110'}, 'P366', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P366 resource:Q2736 . ?j rdf:type ontology:Q483110 }
association football
action filter_type
action find_reverse
entity association football
relation use
type stadium
[{'concept': 'stadium'}, 'use', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:use resource:association_football . ?j rdf:type ontology:stadium }
[]
stadium
Q3967762
SYSTEM
Stadio Emilio Colombo-Gaetano Gianetti
Q3967762
(c(Q483110),P366,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P366
type Q483110
[ANSWER] has its main utilization as that sport
[{'concept': 'Q483110'}, 'P366', 'Q2736']
SELECT DISTINCT ?j WHERE { ?j property:P366 resource:Q2736 . ?j rdf:type ontology:Q483110 }
Stadio Emilio Colombo-Gaetano Gianetti
Stadio Emilio Colombo-Gaetano Gianetti has its main utilization as that sport
Stadio Emilio Colombo-Gaetano Gianetti
action filter_type
action find_reverse
entity association football
relation use
type stadium
[{'concept': 'stadium'}, 'use', 'association football']
SELECT DISTINCT ?j WHERE { ?j property:use resource:association_football . ?j rdf:type ontology:stadium }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q11060274 Q386724
USER
How many occupations are expressed in around 1 prints and works ?
(c(Q11060274)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?l WHERE { VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?j rdf:type ?f } GROUP BY ?l } . FILTER ( ?h = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work
value 1
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?l WHERE { VALUES ( ?f ) { ( ontology:print ) ( ontology:work ) } . ?j rdf:type ?f } GROUP BY ?l } . FILTER ( ?h = 1 ) }
[]
occupation print work
SYSTEM
11
Q2486919 Q131512 Q376924 Q848466 Q20489032 Q1509714 Q11063 Q838811 Q2251335 Q639669 Q42603
(c(Q11060274)|c(Q386724),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
value 1
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?l WHERE { VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?j rdf:type ?f } GROUP BY ?l } . FILTER ( ?h = 1 ) }
standard-bearer farmer courtesan courier salt pan worker porter astronomer peasant school teacher musician priest
11
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type work
value 1
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) ?l WHERE { VALUES ( ?f ) { ( ontology:print ) ( ontology:work ) } . ?j rdf:type ?f } GROUP BY ?l } . FILTER ( ?h = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3967762
P138
Q502895
USER
Which person is the origin of Stadio Emilio Colombo-Gaetano Gianetti ?
(Q3967762,P138,c(Q502895))
action filter_type
action find
entity Q3967762
relation P138
type Q502895
['Q3967762', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q3967762 property:P138 ?o }
Stadio Emilio Colombo-Gaetano Gianetti
action filter_type
action find
entity Stadio Emilio Colombo-Gaetano Gianetti
relation named after
type common name
['Stadio Emilio Colombo-Gaetano Gianetti', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Stadio_Emilio_Colombo-Gaetano_Gianetti property:named_after ?o }
[]
common name
Q16551876
SYSTEM
Emilio Colombo
Q16551876
(Q3967762,P138,c(Q502895))
action filter_type
action find
entity Q3967762
relation P138
type Q502895
[ANSWER] is the origin of Stadio [ANSWER]-Gaetano Gianetti
['Q3967762', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q3967762 property:P138 ?o }
Emilio Colombo
Emilio Colombo is the origin of Stadio Emilio Colombo-Gaetano Gianetti
Emilio Colombo
action filter_type
action find
entity Stadio Emilio Colombo-Gaetano Gianetti
relation named after
type common name
['Stadio Emilio Colombo-Gaetano Gianetti', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Stadio_Emilio_Colombo-Gaetano_Gianetti property:named_after ?o }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1102754
Q502895
USER
And what about Jókai Garden?
(Q1102754,P138,c(Q502895))
action filter_type
action find
entity Q1102754
relation P138
type Q502895
['Q1102754', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1102754 property:P138 ?n . ?n rdf:type ontology:Q502895 }
Jókai Garden
action filter_type
action find
entity Jókai Garden
relation named after
type common name
['Jókai Garden', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Jókai_Garden property:named_after ?n . ?n rdf:type ontology:common_name }
[]
common name
Q379621
SYSTEM
Mór Jókai
Q379621
(Q1102754,P138,c(Q502895))
action filter_type
action find
entity Q1102754
relation P138
type Q502895
[ANSWER]
['Q1102754', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1102754 property:P138 ?n . ?n rdf:type ontology:Q502895 }
Mór Jókai
Mór Jókai
action filter_type
action find
entity Jókai Garden
relation named after
type common name
['Jókai Garden', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Jókai_Garden property:named_after ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 3154 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3154
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?f = 3154 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3154
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?f = 3154 ) }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3154
[ANSWERS] can around 3154 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?f = 3154 ) }
violin organ drum kit
Violin, organ and drum kit can around 3154 people perform with
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3154
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?f = 3154 ) }
[]