Simple Question (Direct)
Simple Question
Q4003649
P86
Q502895
USER
Who was Un amore composed by ?
(Q4003649,P86,c(Q502895))
action filter_type
action find
entity Q4003649
relation P86
type Q502895
['Q4003649', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q4003649 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Un amore
action filter_type
action find
entity Un amore
relation composer
type common name
['Un amore', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Un_amore property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q352817
SYSTEM
Giorgio Gaslini
Q352817
(Q4003649,P86,c(Q502895))
action filter_type
action find
entity Q4003649
relation P86
type Q502895
Un amore by composed by [ANSWER]
['Q4003649', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q4003649 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Giorgio Gaslini
Un amore by composed by Giorgio Gaslini
Giorgio Gaslini
action filter_type
action find
entity Un amore
relation composer
type common name
['Un amore', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Un_amore property:composer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4003649
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q352817,P136,c(Q1792379))
action filter_type
action find
entity Q4003649
relation P136
type Q1792379
['Q352817', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q4003649 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Un amore
action filter_type
action find
entity Un amore
relation genre
type art genre
['Giorgio Gaslini', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Un_amore property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q352817,P136,c(Q1792379))
action filter_type
action find
entity Q4003649
relation P136
type Q1792379
The [ANSWER] can be considered as category for that work of art
['Q352817', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q4003649 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
drama film
The drama film can be considered as category for that work of art
drama film
action filter_type
action find
entity Un amore
relation genre
type art genre
['Giorgio Gaslini', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Un_amore property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q352817
P27
Q15617994
USER
How many administrative territories do Giorgio Gaslini belong to ?
(Q352817,P27,c(Q15617994))
action count
action filter_type
action find
entity Q352817
relation P27
type Q15617994
['Q352817', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q352817 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Giorgio Gaslini
action count
action filter_type
action find
entity Giorgio Gaslini
relation country of citizenship
type designation for an administrative territorial entity
['Giorgio Gaslini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Giorgio_Gaslini property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q352817,P27,c(Q15617994))
action count
action filter_type
action find
entity Q352817
relation P27
type Q15617994
[ANSWER]
['Q352817', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q352817 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Giorgio Gaslini
relation country of citizenship
type designation for an administrative territorial entity
['Giorgio Gaslini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Giorgio_Gaslini property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2393903
P27
Q15617994
USER
And also tell me about Eddy Schuyer?
(Q2393903,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2393903
relation P27
type Q15617994
['Q2393903', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q2393903 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Eddy Schuyer
action count
action filter_type
action find
entity Eddy Schuyer
relation country of citizenship
type designation for an administrative territorial entity
['Eddy Schuyer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Eddy_Schuyer property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29999
(Q2393903,P27,c(Q15617994))
action count
action filter_type
action find
entity Q2393903
relation P27
type Q15617994
[ANSWER]
['Q2393903', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q2393903 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
1
action count
action filter_type
action find
entity Eddy Schuyer
relation country of citizenship
type designation for an administrative territorial entity
['Eddy Schuyer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Eddy_Schuyer property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18646315
Q15617994
USER
And what about Štefan Matuš?
(Q18646315,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18646315
relation P27
type Q15617994
['Q18646315', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q18646315 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Štefan Matuš
action count
action filter_type
action find
entity Štefan Matuš
relation country of citizenship
type designation for an administrative territorial entity
['Štefan Matuš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Štefan_Matuš property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q18646315,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18646315
relation P27
type Q15617994
[ANSWER]
['Q18646315', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q18646315 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Štefan Matuš
relation country of citizenship
type designation for an administrative territorial entity
['Štefan Matuš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Štefan_Matuš property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3103799 Q2393903
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Eddy Schuyer or are Palojce located in ?
OR((Q2393903,P27,c(Q15617994)), (Q3103799,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2393903
relation P27
action find
entity Q3103799
relation P17
type Q15617994
{'OR': [['Q2393903', 'P27', {'concept': 'Q15617994'}], ['Q3103799', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2393903 property:P27 ?u } UNION { resource:Q3103799 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Palojce Eddy Schuyer
action filter_type
action union
action find
entity Eddy Schuyer
relation country of citizenship
action find
entity Palojce
relation country
type designation for an administrative territorial entity
{'OR': [['Eddy Schuyer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Palojce', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Eddy_Schuyer property:country_of_citizenship ?u } UNION { resource:Palojce property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q29999
SYSTEM
Serbia, Kingdom of the Netherlands
Q403 Q29999
OR((Q2393903,P27,c(Q15617994)), (Q3103799,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2393903
relation P27
action find
entity Q3103799
relation P17
type Q15617994
[ANSWERS] are the native countriesof Eddy Schuyer or are Palojce located in
{'OR': [['Q2393903', 'P27', {'concept': 'Q15617994'}], ['Q3103799', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2393903 property:P27 ?u } UNION { resource:Q3103799 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Serbia Kingdom of the Netherlands
Serbia and Kingdom of the Netherlands are the native countriesof Eddy Schuyer or are Palojce located in
Serbia Kingdom of the Netherlands
action filter_type
action union
action find
entity Eddy Schuyer
relation country of citizenship
action find
entity Palojce
relation country
type designation for an administrative territorial entity
{'OR': [['Eddy Schuyer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Palojce', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Eddy_Schuyer property:country_of_citizenship ?u } UNION { resource:Palojce property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q1048835 Q15617994
USER
How many political territories have a diplomatic relationship with approximately the same number of administrative territories as Denmark ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { ?b property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q35 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?f ) }
Denmark
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { ?b property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Denmark property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?f ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { ?b property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q35 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?z = ?f ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?z ) WHERE { ?b property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Denmark property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?z = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q183
P530
Q1048835 Q15617994
USER
And also tell me about Germany?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?z ) WHERE { ?s property:P530 ?g . ?s rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q183 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } }
Germany
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?z ) WHERE { ?s property:diplomatic_relation ?g . ?s rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Germany property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?z ) WHERE { ?s property:P530 ?g . ?s rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Q183 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?z ) WHERE { ?s property:diplomatic_relation ?g . ?s rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { resource:Germany property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P1001
Q1292279
USER
Which political borders preside the jurisdiction over Serbia ?
(c(Q1292279),P1001,Q403)
action filter_type
action find_reverse
entity Q403
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q403']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q403 . ?a rdf:type ontology:Q1292279 }
Serbia
action filter_type
action find_reverse
entity Serbia
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Serbia']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Serbia . ?a rdf:type ontology:political_border }
[]
political border
Q641617 Q3088685 Q3088952
SYSTEM
Croatia–Serbia border, Albania–Serbia border, Macedonia–Serbia border
Q3088952 Q3088866 Q3088859 Q3088942 Q641617 Q3088972 Q3088685 Q3089147
(c(Q1292279),P1001,Q403)
action filter_type
action find_reverse
entity Q403
relation P1001
type Q1292279
[ANSWERS] preside the jurisdiction over Serbia
[{'concept': 'Q1292279'}, 'P1001', 'Q403']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q403 . ?a rdf:type ontology:Q1292279 }
Macedonia–Serbia border Bulgaria–Serbia border Bosnia and Herzegovina–Serbia border Hungary–Serbia border Croatia–Serbia border Romania–Serbia border Albania–Serbia border Montenegro–Serbia border
Croatia–Serbia border, Albania–Serbia border and Macedonia–Serbia border preside the jurisdiction over Serbia
Croatia–Serbia border Albania–Serbia border Macedonia–Serbia border
action filter_type
action find_reverse
entity Serbia
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Serbia']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Serbia . ?a rdf:type ontology:political_border }
[]