Simple Question (Direct)
Simple Question
Q877825
P735
Q82799
USER
Which name is Drago Tršar known by ?
(Q877825,P735,c(Q82799))
action filter_type
action find
entity Q877825
relation P735
type Q82799
['Q877825', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q877825 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Drago Tršar
action filter_type
action find
entity Drago Tršar
relation given name
type name
['Drago Tršar', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Drago_Tršar property:given_name ?b . ?b rdf:type ontology:name }
[]
name
Q3714998
SYSTEM
Drago
Q3714998
(Q877825,P735,c(Q82799))
action filter_type
action find
entity Q877825
relation P735
type Q82799
[ANSWER] Tršar is known as [ANSWER]
['Q877825', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q877825 property:P735 ?b . ?b rdf:type ontology:Q82799 }
Drago
Drago Tršar is known as Drago
Drago
action filter_type
action find
entity Drago Tršar
relation given name
type name
['Drago Tršar', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Drago_Tršar property:given_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q877825
P463
Q1966910
USER
Which national academy had Drago Tršar as its member ?
(Q877825,P463,c(Q1966910))
action filter_type
action find
entity Q877825
relation P463
type Q1966910
['Q877825', 'P463', {'concept': 'Q1966910'}]
SELECT DISTINCT ?j WHERE { resource:Q877825 property:P463 ?j . ?j rdf:type ontology:Q1966910 }
Drago Tršar
action filter_type
action find
entity Drago Tršar
relation member of
type national academy
['Drago Tršar', 'member of', {'concept': 'national academy'}]
SELECT DISTINCT ?j WHERE { resource:Drago_Tršar property:member_of ?j . ?j rdf:type ontology:national_academy }
[]
national academy
Q266063
SYSTEM
Slovenian Academy of Sciences and Arts
Q266063
(Q877825,P463,c(Q1966910))
action filter_type
action find
entity Q877825
relation P463
type Q1966910
[ANSWER] had Drago Tršar as its member
['Q877825', 'P463', {'concept': 'Q1966910'}]
SELECT DISTINCT ?j WHERE { resource:Q877825 property:P463 ?j . ?j rdf:type ontology:Q1966910 }
Slovenian Academy of Sciences and Arts
Slovenian Academy of Sciences and Arts had Drago Tršar as its member
Slovenian Academy of Sciences and Arts
action filter_type
action find
entity Drago Tršar
relation member of
type national academy
['Drago Tršar', 'member of', {'concept': 'national academy'}]
SELECT DISTINCT ?j WHERE { resource:Drago_Tršar property:member_of ?j . ?j rdf:type ontology:national_academy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q266063
P488
Q502895
USER
Who served as the chairperson of that national academy ?
(Q266063,P488,c(Q502895))
action filter_type
action find
entity Q266063
relation P488
type Q502895
['Q266063', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q266063 property:P488 ?h . ?h rdf:type ontology:Q502895 }
Slovenian Academy of Sciences and Arts
action filter_type
action find
entity Slovenian Academy of Sciences and Arts
relation chairperson
type common name
['Slovenian Academy of Sciences and Arts', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Slovenian_Academy_of_Sciences_and_Arts property:chairperson ?h . ?h rdf:type ontology:common_name }
[]
common name
Q16766051
SYSTEM
Tadej Bajd
Q16766051
(Q266063,P488,c(Q502895))
action filter_type
action find
entity Q266063
relation P488
type Q502895
[ANSWER] served as the chairperson of that national academy
['Q266063', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q266063 property:P488 ?h . ?h rdf:type ontology:Q502895 }
Tadej Bajd
Tadej Bajd served as the chairperson of that national academy
Tadej Bajd
action filter_type
action find
entity Slovenian Academy of Sciences and Arts
relation chairperson
type common name
['Slovenian Academy of Sciences and Arts', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Slovenian_Academy_of_Sciences_and_Arts property:chairperson ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q266063
P159
Q56061
USER
Which administrative territory is the HQ of that national academy ?
(Q16766051,P159,c(Q56061))
action filter_type
action find
entity Q266063
relation P159
type Q56061
['Q16766051', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q266063 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Slovenian Academy of Sciences and Arts
action filter_type
action find
entity Slovenian Academy of Sciences and Arts
relation headquarters location
type administrative territorial entity
['Tadej Bajd', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Slovenian_Academy_of_Sciences_and_Arts property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q437
SYSTEM
Ljubljana
Q437
(Q16766051,P159,c(Q56061))
action filter_type
action find
entity Q266063
relation P159
type Q56061
[ANSWER] is the HQ of that national academy
['Q16766051', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q266063 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Ljubljana
Ljubljana is the HQ of that national academy
Ljubljana
action filter_type
action find
entity Slovenian Academy of Sciences and Arts
relation headquarters location
type administrative territorial entity
['Tadej Bajd', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Slovenian_Academy_of_Sciences_and_Arts property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q437
P1376
Q7275
USER
Which state has that administrative territory as its county seat ?
(Q437,P1376,c(Q7275))
action filter_type
action find
entity Q437
relation P1376
type Q7275
['Q437', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7275 . resource:Q437 property:P1376 ?y }
Ljubljana
action filter_type
action find
entity Ljubljana
relation capital of
type state
['Ljubljana', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:state . resource:Ljubljana property:capital_of ?y }
[]
state
Q1117051
SYSTEM
Kingdom of Illyria
Q1117051
(Q437,P1376,c(Q7275))
action filter_type
action find
entity Q437
relation P1376
type Q7275
The [ANSWER] has that administrative territory as its county seat
['Q437', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7275 . resource:Q437 property:P1376 ?y }
Kingdom of Illyria
The Kingdom of Illyria has that administrative territory as its county seat
Kingdom of Illyria
action filter_type
action find
entity Ljubljana
relation capital of
type state
['Ljubljana', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:state . resource:Ljubljana property:capital_of ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q374152
P194
Q11204 Q7275
USER
How many legislatures are the representative bodies for greater number of states than Seimas ?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q374152
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P194 ?b . ?b rdf:type ontology:Q11204 . ?e rdf:type ontology:Q7275 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Q374152 property:P194 ?g . ?g rdf:type ontology:Q11204 } } . FILTER ( ?h > ?f ) }
Seimas
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Seimas
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:legislative_body ?b . ?b rdf:type ontology:legislature . ?e rdf:type ontology:state } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Seimas property:legislative_body ?g . ?g rdf:type ontology:legislature } } . FILTER ( ?h > ?f ) }
[]
legislature state
SYSTEM
15
Q494162 Q6879217 Q980284 Q669970 Q1579497 Q3244416 Q388526 Q539149 Q3363019 Q2326816 Q700757 Q920222 Q876529 Q497578 Q3103766
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q374152
relation P194
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:P194 ?b . ?b rdf:type ontology:Q11204 . ?e rdf:type ontology:Q7275 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Q374152 property:P194 ?g . ?g rdf:type ontology:Q11204 } } . FILTER ( ?h > ?f ) }
National Assembly Mississippi Legislature South Carolina General Assembly Imperial Diet Parliament of Montenegro East Bengal Legislative Assembly Estates of Sint Maarten Congress of Deputies Assembly of the Union Estates of Curaçao Diet of Hungary National Assembly Imperial Diet Witenagemot Georgia General Assembly
15
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Seimas
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?h ) WHERE { ?e property:legislative_body ?b . ?b rdf:type ontology:legislature . ?e rdf:type ontology:state } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { resource:Seimas property:legislative_body ?g . ?g rdf:type ontology:legislature } } . FILTER ( ?h > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5148810
P194
Q11204 Q7275
USER
And also tell me about Colorado General Assembly?
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q5148810
relation P194
type Q11204
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P194 ?k . ?k rdf:type ontology:Q11204 . ?m rdf:type ontology:Q7275 } GROUP BY ?k } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q5148810 property:P194 ?h . ?h rdf:type ontology:Q11204 } } }
Colorado General Assembly
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Colorado General Assembly
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:legislative_body ?k . ?k rdf:type ontology:legislature . ?m rdf:type ontology:state } GROUP BY ?k } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Colorado_General_Assembly property:legislative_body ?h . ?h rdf:type ontology:legislature } } }
[]
legislature state
SYSTEM
15
Q494162 Q6879217 Q980284 Q669970 Q1579497 Q3244416 Q388526 Q539149 Q3363019 Q2326816 Q700757 Q920222 Q876529 Q497578 Q3103766
(c(Q7275),P194,c(Q11204))
action count
action greater
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
action count
action filter_type
action find
entity Q5148810
relation P194
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:P194 ?k . ?k rdf:type ontology:Q11204 . ?m rdf:type ontology:Q7275 } GROUP BY ?k } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q5148810 property:P194 ?h . ?h rdf:type ontology:Q11204 } } }
National Assembly Mississippi Legislature South Carolina General Assembly Imperial Diet Parliament of Montenegro East Bengal Legislative Assembly Estates of Sint Maarten Congress of Deputies Assembly of the Union Estates of Curaçao Diet of Hungary National Assembly Imperial Diet Witenagemot Georgia General Assembly
15
action count
action greater
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
action count
action filter_type
action find
entity Colorado General Assembly
relation legislative body
type legislature
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?m property:legislative_body ?k . ?k rdf:type ontology:legislature . ?m rdf:type ontology:state } GROUP BY ?k } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Colorado_General_Assembly property:legislative_body ?h . ?h rdf:type ontology:legislature } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q822919 Q374152
P194
Q15617994
USER
Which administrative territories have Seimas or Saeima as their representative body ?
OR((c(Q15617994),P194,Q374152), (c(Q15617994),P194,Q822919))
action filter_type
action union
action find_reverse
entity Q374152
relation P194
action find_reverse
entity Q822919
relation P194
type Q15617994
{'OR': [[{'concept': 'Q15617994'}, 'P194', 'Q374152'], [{'concept': 'Q15617994'}, 'P194', 'Q822919']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P194 resource:Q374152 } UNION { ?e property:P194 resource:Q822919 } } . ?e rdf:type ontology:Q15617994 }
Saeima Seimas
action filter_type
action union
action find_reverse
entity Seimas
relation legislative body
action find_reverse
entity Saeima
relation legislative body
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Seimas'], [{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Saeima']]}
SELECT DISTINCT ?e WHERE { { { ?e property:legislative_body resource:Seimas } UNION { ?e property:legislative_body resource:Saeima } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q37
SYSTEM
Latvia, Lithuania
Q211 Q37
OR((c(Q15617994),P194,Q374152), (c(Q15617994),P194,Q822919))
action filter_type
action union
action find_reverse
entity Q374152
relation P194
action find_reverse
entity Q822919
relation P194
type Q15617994
[ANSWERS] have Seimas or Saeima as their representative body
{'OR': [[{'concept': 'Q15617994'}, 'P194', 'Q374152'], [{'concept': 'Q15617994'}, 'P194', 'Q822919']]}
SELECT DISTINCT ?e WHERE { { { ?e property:P194 resource:Q374152 } UNION { ?e property:P194 resource:Q822919 } } . ?e rdf:type ontology:Q15617994 }
Latvia Lithuania
Latvia and Lithuania have Seimas or Saeima as their representative body
Latvia Lithuania
action filter_type
action union
action find_reverse
entity Seimas
relation legislative body
action find_reverse
entity Saeima
relation legislative body
type designation for an administrative territorial entity
{'OR': [[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Seimas'], [{'concept': 'designation for an administrative territorial entity'}, 'legislative body', 'Saeima']]}
SELECT DISTINCT ?e WHERE { { { ?e property:legislative_body resource:Seimas } UNION { ?e property:legislative_body resource:Saeima } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q211
P17
Q337567 Q1292279
USER
How many still waterss and political borders are present in Latvia ?
(c(Q337567),P17,Q211) (c(Q1292279),P17,Q211)
action count
action union
action filter_type
action find_reverse
entity Q211
relation P17
type Q337567
action filter_type
action find_reverse
entity Q211
relation P17
type Q1292279
[{'concept': 'Q337567'}, 'P17', 'Q211'] [{'concept': 'Q1292279'}, 'P17', 'Q211']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:P17 resource:Q211 . ?a rdf:type ontology:Q337567 } UNION { ?a property:P17 resource:Q211 . ?a rdf:type ontology:Q1292279 } }
Latvia
action count
action union
action filter_type
action find_reverse
entity Latvia
relation country
type still waters
action filter_type
action find_reverse
entity Latvia
relation country
type political border
[{'concept': 'still waters'}, 'country', 'Latvia'] [{'concept': 'political border'}, 'country', 'Latvia']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:country resource:Latvia . ?a rdf:type ontology:still_waters } UNION { ?a property:country resource:Latvia . ?a rdf:type ontology:political_border } }
[]
still waters political border
SYSTEM
31 still waterss and 6 political borders
Q1017107 Q26059311 Q15218474 Q966245 Q4363827 Q1282738 Q15219765 Q2662439 Q2630440 Q20402735 Q3738617 Q2637736 Q570564 Q15219396 Q20405668 Q1258906 Q25938123 Q1576080 Q9275849 Q6112816 Q20404090 Q10986053 Q19822467 Q919425 Q451098 Q25938124 Q603462 Q2634555 Q20399760 Q15219534 Q16025252 Q4849013 Q20400767 Q2778786 Q5248686 Q2340235 Q1263866
(c(Q337567),P17,Q211) (c(Q1292279),P17,Q211)
action count
action union
action filter_type
action find_reverse
entity Q211
relation P17
type Q337567
action filter_type
action find_reverse
entity Q211
relation P17
type Q1292279
[ANSWER]
[{'concept': 'Q337567'}, 'P17', 'Q211'] [{'concept': 'Q1292279'}, 'P17', 'Q211']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:P17 resource:Q211 . ?a rdf:type ontology:Q337567 } UNION { ?a property:P17 resource:Q211 . ?a rdf:type ontology:Q1292279 } }
Lake Burtnieks Zāļu ezers Lake Aglona Belarus–Latvia border Pitelis Lake Lubāns Skudriņka Lake Rychy Latvia–Russia border Lazdiņu lake Lake Murati Jugla Lake Lake Engure Lake Mordangas Tuvais ezers Lake Drīdzis Trūdis Ķīšezers Latvia–Poland border Alauksts Raiskuma lake Geraņimovas Ilzas ezers Pakalnis Lake Sivers Lake Alūksne Purgaiļu ezers Lake Razna Latvia–Lithuania border Biešons Plaužu ezers Latvia–Sweden border Bakans Driškins Estonia–Latvia border Lake Kaņieris Lake Pape Lake Usma
31 still waterss and 6 political borders
action count
action union
action filter_type
action find_reverse
entity Latvia
relation country
type still waters
action filter_type
action find_reverse
entity Latvia
relation country
type political border
[{'concept': 'still waters'}, 'country', 'Latvia'] [{'concept': 'political border'}, 'country', 'Latvia']
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { ?a property:country resource:Latvia . ?a rdf:type ontology:still_waters } UNION { ?a property:country resource:Latvia . ?a rdf:type ontology:political_border } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437
P931
Q62447
USER
What city is served by Ljubljana ?
(c(Q62447),P931,Q437)
action filter_type
action find_reverse
entity Q437
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q437']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q62447 . ?m property:P931 resource:Q437 }
Ljubljana
action filter_type
action find_reverse
entity Ljubljana
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Ljubljana']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:aerodrome . ?m property:place_served_by_airport resource:Ljubljana }
[]
aerodrome
Q1109558
SYSTEM
Ljubljana Jože Pučnik Airport
Q1109558
(c(Q62447),P931,Q437)
action filter_type
action find_reverse
entity Q437
relation P931
type Q62447
Airport [ANSWER] is served by Ljubljana
[{'concept': 'Q62447'}, 'P931', 'Q437']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q62447 . ?m property:P931 resource:Q437 }
Ljubljana Jože Pučnik Airport
Airport Ljubljana Jože Pučnik Airport is served by Ljubljana
Ljubljana Jože Pučnik Airport
action filter_type
action find_reverse
entity Ljubljana
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Ljubljana']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:aerodrome . ?m property:place_served_by_airport resource:Ljubljana }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437
P108
Q502895
USER
Who works for Ljubljana ?
(c(Q502895),P108,Q437)
action filter_type
action find_reverse
entity Q437
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q437']
SELECT DISTINCT ?q WHERE { ?q property:P108 resource:Q437 . ?q rdf:type ontology:Q502895 }
Ljubljana
action filter_type
action find_reverse
entity Ljubljana
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Ljubljana']
SELECT DISTINCT ?q WHERE { ?q property:employer resource:Ljubljana . ?q rdf:type ontology:common_name }
[]
common name
Q310106
SYSTEM
Janko Prunk
Q310106
(c(Q502895),P108,Q437)
action filter_type
action find_reverse
entity Q437
relation P108
type Q502895
[ANSWER] works for Ljubljana
[{'concept': 'Q502895'}, 'P108', 'Q437']
SELECT DISTINCT ?q WHERE { ?q property:P108 resource:Q437 . ?q rdf:type ontology:Q502895 }
Janko Prunk
Janko Prunk works for Ljubljana
Janko Prunk
action filter_type
action find_reverse
entity Ljubljana
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Ljubljana']
SELECT DISTINCT ?q WHERE { ?q property:employer resource:Ljubljana . ?q rdf:type ontology:common_name }
[]