Simple Question (Direct)
Simple Question
Q16732004
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Nikola Marjanović ?
(Q16732004,P27,c(Q15617994))
action filter_type
action find
entity Q16732004
relation P27
type Q15617994
['Q16732004', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q16732004 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Nikola Marjanović
action filter_type
action find
entity Nikola Marjanović
relation country of citizenship
type designation for an administrative territorial entity
['Nikola Marjanović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Nikola_Marjanović property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q16732004,P27,c(Q15617994))
action filter_type
action find
entity Q16732004
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Nikola Marjanović
['Q16732004', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q16732004 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Serbia
Serbia is the country of citizenship of Nikola Marjanović
Serbia
action filter_type
action find
entity Nikola Marjanović
relation country of citizenship
type designation for an administrative territorial entity
['Nikola Marjanović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Nikola_Marjanović property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16732004
P106
Q12737077
USER
What is the profession of Nikola Marjanović ?
(Q16732004,P106,c(Q12737077))
action filter_type
action find
entity Q16732004
relation P106
type Q12737077
['Q16732004', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q16732004 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Nikola Marjanović
action filter_type
action find
entity Nikola Marjanović
relation occupation
type occupation
['Nikola Marjanović', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Nikola_Marjanović property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16732004,P106,c(Q12737077))
action filter_type
action find
entity Q16732004
relation P106
type Q12737077
The profession of Nikola Marjanović is an [ANSWER]
['Q16732004', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q16732004 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
The profession of Nikola Marjanović is an association football player
association football player
action filter_type
action find
entity Nikola Marjanović
relation occupation
type occupation
['Nikola Marjanović', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Nikola_Marjanović property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16732004
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q16732004
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16732004 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Nikola Marjanović
action filter_type
action find
entity Nikola Marjanović
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nikola_Marjanović property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q16732004
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16732004 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Belgrade
That person was born in Belgrade
Belgrade
action filter_type
action find
entity Nikola Marjanović
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Nikola_Marjanović property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3711 Q1261526
P551
Q502895
USER
Does Ksenija Pajčin dwell at that administrative territory ?
(Q1261526,P551,Q3711)
action is_in
entity Q3711
action find
entity Q1261526
relation P551
['Q1261526', 'P551', 'Q3711']
ASK WHERE { resource:Q1261526 property:P551 resource:Q3711 }
Belgrade Ksenija Pajčin
action is_in
entity Belgrade
action find
entity Ksenija Pajčin
relation residence
['Ksenija Pajčin', 'residence', 'Belgrade']
ASK WHERE { resource:Ksenija_Pajčin property:residence resource:Belgrade }
[]
common name
SYSTEM
YES
(Q1261526,P551,Q3711)
action is_in
entity Q3711
action find
entity Q1261526
relation P551
[ANSWER]
['Q1261526', 'P551', 'Q3711']
ASK WHERE { resource:Q1261526 property:P551 resource:Q3711 }
Yes
action is_in
entity Belgrade
action find
entity Ksenija Pajčin
relation residence
['Ksenija Pajčin', 'residence', 'Belgrade']
ASK WHERE { resource:Ksenija_Pajčin property:residence resource:Belgrade }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3711
P740
Q2088357
USER
Which are the musical ensembles that originates at Belgrade ?
(c(Q2088357),P740,Q3711)
action filter_type
action find_reverse
entity Q3711
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q3711']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q3711 . ?f rdf:type ontology:Q2088357 }
Belgrade
action filter_type
action find_reverse
entity Belgrade
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Belgrade']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Belgrade . ?f rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q5186984 Q4726918 Q6071272
SYSTEM
Crni Biseri, Alisa, Irish Stew of Sindidun
Q6957766 Q4721875 Q17149728 Q1271249 Q5361301 Q5321290 Q7818860 Q12960596 Q6071272 Q7418381 Q6705802 Q15053147 Q3504458 Q813460 Q4726918 Q7413202 Q8073026 Q16087022 Q58348 Q1564042 Q6081399 Q1259858 Q6437709 Q7410020 Q5186984 Q15053622 Q7073116 Q5162778 Q5361986 Q12956712
(c(Q2088357),P740,Q3711)
action filter_type
action find_reverse
entity Q3711
relation P740
type Q2088357
The musical ensembles that originates at Belgrade are the [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q3711']
SELECT DISTINCT ?f WHERE { ?f property:P740 resource:Q3711 . ?f rdf:type ontology:Q2088357 }
NadimaČ Alfapop Sixth June S.A.R.S. Elipse Džentlmeni Tomi Sovilj i Njegove Siluete Xanax (band) Irish Stew of Sindidun Sanjalice Lutke Trigger (band) Disciplin A Kitschme Beauty Queens Alisa San Zlatni Dečaci Miligram (band) Betty Boop Inje Iskre Repetitor Kristali Samonikli Crni Biseri The Dibidus OT Band Consecration Elitni odredi Damjan od Resnika
The musical ensembles that originates at Belgrade are the Crni Biseri, Alisa and Irish Stew of Sindidun
Crni Biseri Alisa Irish Stew of Sindidun
action filter_type
action find_reverse
entity Belgrade
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Belgrade']
SELECT DISTINCT ?f WHERE { ?f property:location_of_formation resource:Belgrade . ?f rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5186984 Q4726918 Q6071272
P264
Q334453
USER
Which divisions are the record brand of Crni Biseri, Alisa and Irish Stew of Sindidun ?
(Q5186984,P264,c(Q334453)) (Q4726918,P264,c(Q334453)) (Q6071272,P264,c(Q334453))
action union
action filter_type
action find
entity Q5186984
relation P264
type Q334453
action filter_type
action find
entity Q4726918
relation P264
type Q334453
action filter_type
action find
entity Q6071272
relation P264
type Q334453
['Q5186984', 'P264', {'concept': 'Q334453'}] ['Q4726918', 'P264', {'concept': 'Q334453'}] ['Q6071272', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?s WHERE { { resource:Q5186984 property:P264 ?s . ?s rdf:type ontology:Q334453 } UNION { resource:Q4726918 property:P264 ?s . ?s rdf:type ontology:Q334453 } }
Crni Biseri Alisa Irish Stew of Sindidun
action union
action filter_type
action find
entity Crni Biseri
relation record label
type division
action filter_type
action find
entity Alisa
relation record label
type division
action filter_type
action find
entity Irish Stew of Sindidun
relation record label
type division
['Crni Biseri', 'record label', {'concept': 'division'}] ['Alisa', 'record label', {'concept': 'division'}] ['Irish Stew of Sindidun', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?s WHERE { { resource:Crni_Biseri property:record_label ?s . ?s rdf:type ontology:division } UNION { resource:Alisa property:record_label ?s . ?s rdf:type ontology:division } }
[]
division
Q818134 Q818142 Q1094430
SYSTEM
PGP-RTB, PGP-RTS, Jugoton
Q818142 Q818134 Q1094430 Q6304923 Q7093150
(Q5186984,P264,c(Q334453)) (Q4726918,P264,c(Q334453)) (Q6071272,P264,c(Q334453))
action union
action filter_type
action find
entity Q5186984
relation P264
type Q334453
action filter_type
action find
entity Q4726918
relation P264
type Q334453
action filter_type
action find
entity Q6071272
relation P264
type Q334453
[ANSWERS] are the record brand of Crni Biseri, Alisa and Irish Stew of Sindidun
['Q5186984', 'P264', {'concept': 'Q334453'}] ['Q4726918', 'P264', {'concept': 'Q334453'}] ['Q6071272', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?s WHERE { { resource:Q5186984 property:P264 ?s . ?s rdf:type ontology:Q334453 } UNION { resource:Q4726918 property:P264 ?s . ?s rdf:type ontology:Q334453 } }
PGP-RTS PGP-RTB Jugoton Jugodisk One Records
PGP-RTB, PGP-RTS and Jugoton are the record brand of Crni Biseri, Alisa and Irish Stew of Sindidun
PGP-RTB PGP-RTS Jugoton
action union
action filter_type
action find
entity Crni Biseri
relation record label
type division
action filter_type
action find
entity Alisa
relation record label
type division
action filter_type
action find
entity Irish Stew of Sindidun
relation record label
type division
['Crni Biseri', 'record label', {'concept': 'division'}] ['Alisa', 'record label', {'concept': 'division'}] ['Irish Stew of Sindidun', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?s WHERE { { resource:Crni_Biseri property:record_label ?s . ?s rdf:type ontology:division } UNION { resource:Alisa property:record_label ?s . ?s rdf:type ontology:division } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q818142
P17
Q15617994
USER
Which administrative territory is that division situated in ?
(Q818142,P17,c(Q15617994))
action filter_type
action find
entity Q818142
relation P17
type Q15617994
['Q818142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q818142 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
PGP-RTS
action filter_type
action find
entity PGP-RTS
relation country
type designation for an administrative territorial entity
['PGP-RTS', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:PGP-RTS property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1094430
SYSTEM
Did you mean Jugoton ?
Q818134 Q818142 Q1094430
(Q818134,P17,c(Q15617994)) (Q818142,P17,c(Q15617994)) (Q1094430,P17,c(Q15617994))
[ANSWER]
['Q818134', 'P17', {'concept': 'Q15617994'}] ['Q818142', 'P17', {'concept': 'Q15617994'}] ['Q1094430', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q818142 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
PGP-RTB PGP-RTS Jugoton
Did you mean Jugoton ?
Jugoton
['PGP-RTB', 'country', {'concept': 'designation for an administrative territorial entity'}] ['PGP-RTS', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jugoton', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:PGP-RTS property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant PGP-RTS. Could you tell me the answer for that?
(Q818142,P17,c(Q15617994))
Q818142
['Q818142', 'P17', {'concept': 'Q15617994'}]
['PGP-RTS', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q403
SYSTEM
Serbia
Q403
(Q818142,P17,c(Q15617994))
action filter_type
action find
entity Q818142
relation P17
type Q15617994
That division is situated in [ANSWER]
['Q818142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q818142 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Serbia
That division is situated in Serbia
Serbia
action filter_type
action find
entity PGP-RTS
relation country
type designation for an administrative territorial entity
['PGP-RTS', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:PGP-RTS property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q403
P364
Q15416
USER
Which television program was done in that administrative territory language during its inception ?
(c(Q15416),P364,Q403)
action filter_type
action find_reverse
entity Q403
relation P364
type Q15416
[{'concept': 'Q15416'}, 'P364', 'Q403']
SELECT DISTINCT ?n WHERE { ?n property:P364 resource:Q403 . ?n rdf:type ontology:Q15416 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation original language of work
type television program
[{'concept': 'television program'}, 'original language of work', 'Serbia']
SELECT DISTINCT ?n WHERE { ?n property:original_language_of_work resource:Serbia . ?n rdf:type ontology:television_program }
[]
television program
Q4249828
SYSTEM
Kitchen
Q4249828
(c(Q15416),P364,Q403)
action filter_type
action find_reverse
entity Q403
relation P364
type Q15416
[ANSWER] was done in that administrative territory language during its inception
[{'concept': 'Q15416'}, 'P364', 'Q403']
SELECT DISTINCT ?n WHERE { ?n property:P364 resource:Q403 . ?n rdf:type ontology:Q15416 }
Kitchen
Kitchen was done in that administrative territory language during its inception
Kitchen
action filter_type
action find_reverse
entity Serbia
relation original language of work
type television program
[{'concept': 'television program'}, 'original language of work', 'Serbia']
SELECT DISTINCT ?n WHERE { ?n property:original_language_of_work resource:Serbia . ?n rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q56061 Q20667921 Q334453
USER
How many divisions have the principal seat at exactly 2 administrative territories or french administrative divisions ?
(c(Q334453),P159,c(Q56061)|c(Q20667921))
action count
action equal
action union
action find_tuple_counts
relation P159
type Q334453
type Q56061
action find_tuple_counts
relation P159
type Q334453
type Q20667921
value 2
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?s WHERE { { ?s property:P159 ?g . ?g rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q334453 } UNION { ?g rdf:type ontology:Q56061 . ?s rdf:type ontology:Q334453 . ?s property:P159 ?g } } GROUP BY ?s } . FILTER ( ?p = 2 ) }
action count
action equal
action union
action find_tuple_counts
relation headquarters location
type division
type administrative territorial entity
action find_tuple_counts
relation headquarters location
type division
type type of french administrative division
value 2
[{'concept': 'division'}, 'headquarters location', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?s WHERE { { ?s property:headquarters_location ?g . ?g rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:division } UNION { ?g rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:division . ?s property:headquarters_location ?g } } GROUP BY ?s } . FILTER ( ?p = 2 ) }
[]
administrative territorial entity type of french administrative division division
SYSTEM
6
Q5322356 Q14259733 Q1882866 Q1984458 Q6783165 Q1046066
(c(Q334453),P159,c(Q56061)|c(Q20667921))
action count
action equal
action union
action find_tuple_counts
relation P159
type Q334453
type Q56061
action find_tuple_counts
relation P159
type Q334453
type Q20667921
value 2
[ANSWER]
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q56061'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?s WHERE { { ?s property:P159 ?g . ?g rdf:type ontology:Q20667921 . ?s rdf:type ontology:Q334453 } UNION { ?g rdf:type ontology:Q56061 . ?s rdf:type ontology:Q334453 . ?s property:P159 ?g } } GROUP BY ?s } . FILTER ( ?p = 2 ) }
E1 Entertainment Distribution INgrooves Mack Avenue Records Capricorn Records Mashit Fueled By Ramen
6
action count
action equal
action union
action find_tuple_counts
relation headquarters location
type division
type administrative territorial entity
action find_tuple_counts
relation headquarters location
type division
type type of french administrative division
value 2
[{'concept': 'division'}, 'headquarters location', [{'concept': 'administrative territorial entity'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) ?s WHERE { { ?s property:headquarters_location ?g . ?g rdf:type ontology:type_of_french_administrative_division . ?s rdf:type ontology:division } UNION { ?g rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:division . ?s property:headquarters_location ?g } } GROUP BY ?s } . FILTER ( ?p = 2 ) }
[]