Simple Question (Direct)
Simple Question
Q16233066
P641
Q349
USER
What did Constantin Iavorschi participate in ?
(Q16233066,P641,c(Q349))
action filter_type
action find
entity Q16233066
relation P641
type Q349
['Q16233066', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q16233066 property:P641 ?k . ?k rdf:type ontology:Q349 }
Constantin Iavorschi
action filter_type
action find
entity Constantin Iavorschi
relation sport
type sport
['Constantin Iavorschi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Constantin_Iavorschi property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16233066,P641,c(Q349))
action filter_type
action find
entity Q16233066
relation P641
type Q349
Constantin Iavorschi participated in [ANSWER]
['Q16233066', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q16233066 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Constantin Iavorschi participated in association football
association football
action filter_type
action find
entity Constantin Iavorschi
relation sport
type sport
['Constantin Iavorschi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Constantin_Iavorschi property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16233066
P19
Q15617994
USER
Which administrative territory is the place of birth of Constantin Iavorschi ?
(Q16233066,P19,c(Q15617994))
action filter_type
action find
entity Q16233066
relation P19
type Q15617994
['Q16233066', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q16233066 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Constantin Iavorschi
action filter_type
action find
entity Constantin Iavorschi
relation place of birth
type designation for an administrative territorial entity
['Constantin Iavorschi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Constantin_Iavorschi property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q217
SYSTEM
Republic of Moldova
Q217
(Q16233066,P19,c(Q15617994))
action filter_type
action find
entity Q16233066
relation P19
type Q15617994
The [ANSWER] is the place of birth of Constantin Iavorschi
['Q16233066', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q16233066 property:P19 ?e . ?e rdf:type ontology:Q15617994 }
Republic of Moldova
The Republic of Moldova is the place of birth of Constantin Iavorschi
Republic of Moldova
action filter_type
action find
entity Constantin Iavorschi
relation place of birth
type designation for an administrative territorial entity
['Constantin Iavorschi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Constantin_Iavorschi property:place_of_birth ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16233066
P27
Q15617994
USER
Which administrative territory is Constantin Iavorschi an inhabitant of ?
(Q16233066,P27,c(Q15617994))
action filter_type
action find
entity Q16233066
relation P27
type Q15617994
['Q16233066', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q16233066 property:P27 ?n }
Constantin Iavorschi
action filter_type
action find
entity Constantin Iavorschi
relation country of citizenship
type designation for an administrative territorial entity
['Constantin Iavorschi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Constantin_Iavorschi property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
Q217
SYSTEM
Republic of Moldova
Q217
(Q16233066,P27,c(Q15617994))
action filter_type
action find
entity Q16233066
relation P27
type Q15617994
The [ANSWER] is Constantin Iavorschi an inhabitant of
['Q16233066', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q16233066 property:P27 ?n }
Republic of Moldova
The Republic of Moldova is Constantin Iavorschi an inhabitant of
Republic of Moldova
action filter_type
action find
entity Constantin Iavorschi
relation country of citizenship
type designation for an administrative territorial entity
['Constantin Iavorschi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Constantin_Iavorschi property:country_of_citizenship ?n }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6756291
Q15617994
USER
And also tell me about Marceli Landsberg?
(Q6756291,P27,c(Q15617994))
action filter_type
action find
entity Q6756291
relation P27
type Q15617994
['Q6756291', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q6756291 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Marceli Landsberg
action filter_type
action find
entity Marceli Landsberg
relation country of citizenship
type designation for an administrative territorial entity
['Marceli Landsberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Marceli_Landsberg property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q6756291,P27,c(Q15617994))
action filter_type
action find
entity Q6756291
relation P27
type Q15617994
[ANSWER]
['Q6756291', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q6756291 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Poland
Poland
action filter_type
action find
entity Marceli Landsberg
relation country of citizenship
type designation for an administrative territorial entity
['Marceli Landsberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Marceli_Landsberg property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q217 Q42620
P530
Q1048835
USER
How many political territories have diplomatic associations with Republic of Moldova or Palestinian National Authority ?
(c(Q1048835),P530,Q217) (c(Q1048835),P530,Q42620)
action count
action union
action filter_type
action find_reverse
entity Q217
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q42620
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q42620']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P530 resource:Q217 . ?t rdf:type ontology:Q1048835 } UNION { ?t property:P530 resource:Q42620 . ?t rdf:type ontology:Q1048835 } }
Republic of Moldova Palestinian National Authority
action count
action union
action filter_type
action find_reverse
entity Republic of Moldova
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Palestinian National Authority']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:diplomatic_relation resource:Republic_of_Moldova . ?t rdf:type ontology:political_territorial_entity } UNION { ?t property:diplomatic_relation resource:Palestinian_National_Authority . ?t rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q217) (c(Q1048835),P530,Q42620)
action count
action union
action filter_type
action find_reverse
entity Q217
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q42620
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q217'] [{'concept': 'Q1048835'}, 'P530', 'Q42620']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P530 resource:Q217 . ?t rdf:type ontology:Q1048835 } UNION { ?t property:P530 resource:Q42620 . ?t rdf:type ontology:Q1048835 } }
Australia Germany
2
action count
action union
action filter_type
action find_reverse
entity Republic of Moldova
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Palestinian National Authority
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Republic of Moldova'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Palestinian National Authority']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:diplomatic_relation resource:Republic_of_Moldova . ?t rdf:type ontology:political_territorial_entity } UNION { ?t property:diplomatic_relation resource:Palestinian_National_Authority . ?t rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16233066
P106
Q12737077
USER
What does Constantin Iavorschi do for a living ?
(Q16233066,P106,c(Q12737077))
action filter_type
action find
entity Q16233066
relation P106
type Q12737077
['Q16233066', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16233066 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Constantin Iavorschi
action filter_type
action find
entity Constantin Iavorschi
relation occupation
type occupation
['Constantin Iavorschi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Constantin_Iavorschi property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16233066,P106,c(Q12737077))
action filter_type
action find
entity Q16233066
relation P106
type Q12737077
[ANSWER] Constantin Iavorschi does for a living
['Q16233066', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16233066 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
Association football player Constantin Iavorschi does for a living
association football player
action filter_type
action find
entity Constantin Iavorschi
relation occupation
type occupation
['Constantin Iavorschi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Constantin_Iavorschi property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17385684
Q12737077
USER
And what about Hendrik Brocks?
(Q17385684,P106,c(Q12737077))
action filter_type
action find
entity Q17385684
relation P106
type Q12737077
['Q17385684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q17385684 property:P106 ?u }
Hendrik Brocks
action filter_type
action find
entity Hendrik Brocks
relation occupation
type occupation
['Hendrik Brocks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Hendrik_Brocks property:occupation ?u }
[]
occupation
Q2309784
SYSTEM
sport cyclist
Q2309784
(Q17385684,P106,c(Q12737077))
action filter_type
action find
entity Q17385684
relation P106
type Q12737077
[ANSWER]
['Q17385684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q17385684 property:P106 ?u }
sport cyclist
sport cyclist
action filter_type
action find
entity Hendrik Brocks
relation occupation
type occupation
['Hendrik Brocks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Hendrik_Brocks property:occupation ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q2031291 Q838948
USER
How many administrative territories are the origins of atleast 17906 releases or works of art ?
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
value 17906
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } . ?r rdf:type ?j } GROUP BY ?g } . FILTER ( ?m >= 17906 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
value 17906
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( ontology:release ) ( ontology:work_of_art ) } . ?r rdf:type ?j } GROUP BY ?g } . FILTER ( ?m >= 17906 ) }
[]
designation for an administrative territorial entity release work of art
SYSTEM
2
Q668 Q30
(c(Q2031291)|c(Q838948),P495,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
value 17906
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( ontology:Q2031291 ) ( ontology:Q838948 ) } . ?r rdf:type ?j } GROUP BY ?g } . FILTER ( ?m >= 17906 ) }
India United States of America
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
value 17906
[[{'concept': 'release'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?m ) WHERE { VALUES ( ?j ) { ( ontology:release ) ( ontology:work_of_art ) } . ?r rdf:type ?j } GROUP BY ?g } . FILTER ( ?m >= 17906 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q217
P35
Q502895
USER
Which person has the highest formal authority in Republic of Moldova ?
(Q217,P35,c(Q502895))
action filter_type
action find
entity Q217
relation P35
type Q502895
['Q217', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q217 property:P35 ?h . ?h rdf:type ontology:Q502895 }
Republic of Moldova
action filter_type
action find
entity Republic of Moldova
relation head of state
type common name
['Republic of Moldova', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Republic_of_Moldova property:head_of_state ?h . ?h rdf:type ontology:common_name }
[]
common name
Q57478
SYSTEM
Nicolae Timofti
Q57478
(Q217,P35,c(Q502895))
action filter_type
action find
entity Q217
relation P35
type Q502895
[ANSWER] has the highest formal authority in Republic of Moldova
['Q217', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q217 property:P35 ?h . ?h rdf:type ontology:Q502895 }
Nicolae Timofti
Nicolae Timofti has the highest formal authority in Republic of Moldova
Nicolae Timofti
action filter_type
action find
entity Republic of Moldova
relation head of state
type common name
['Republic of Moldova', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Republic_of_Moldova property:head_of_state ?h . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P35
Q15617994
USER
How many administrative territories have that person as their chief of state ?
(c(Q15617994),P35,Q57478)
action count
action filter_type
action find_reverse
entity Q57478
relation P35
type Q15617994
[{'concept': 'Q15617994'}, 'P35', 'Q57478']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P35 resource:Q57478 . ?c rdf:type ontology:Q15617994 }
action count
action filter_type
action find_reverse
entity Nicolae Timofti
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Nicolae Timofti']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:head_of_state resource:Nicolae_Timofti . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q217
(c(Q15617994),P35,Q57478)
action count
action filter_type
action find_reverse
entity Q57478
relation P35
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P35', 'Q57478']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:P35 resource:Q57478 . ?c rdf:type ontology:Q15617994 }
Republic of Moldova
1
action count
action filter_type
action find_reverse
entity Nicolae Timofti
relation head of state
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'head of state', 'Nicolae Timofti']
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { ?c property:head_of_state resource:Nicolae_Timofti . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19158808 Q217
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Republic of Moldova or are Françoise van Luxemburglaan situated in ?
OR((Q217,P530,c(Q15617994)), (Q19158808,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q217
relation P530
action find
entity Q19158808
relation P17
type Q15617994
{'OR': [['Q217', 'P530', {'concept': 'Q15617994'}], ['Q19158808', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q217 property:P530 ?c } UNION { resource:Q19158808 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Françoise van Luxemburglaan Republic of Moldova
action filter_type
action union
action find
entity Republic of Moldova
relation diplomatic relation
action find
entity Françoise van Luxemburglaan
relation country
type designation for an administrative territorial entity
{'OR': [['Republic of Moldova', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Françoise van Luxemburglaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Republic_of_Moldova property:diplomatic_relation ?c } UNION { resource:Françoise_van_Luxemburglaan property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q217,P530,c(Q15617994)), (Q19158808,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q217
relation P530
action find
entity Q19158808
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Republic of Moldova or are Françoise van Luxemburglaan situated in
{'OR': [['Q217', 'P530', {'concept': 'Q15617994'}], ['Q19158808', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q217 property:P530 ?c } UNION { resource:Q19158808 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Italy Netherlands
Italy and Netherlands hold diplomatic relationship with Republic of Moldova or are Françoise van Luxemburglaan situated in
Italy Netherlands
action filter_type
action union
action find
entity Republic of Moldova
relation diplomatic relation
action find
entity Françoise van Luxemburglaan
relation country
type designation for an administrative territorial entity
{'OR': [['Republic of Moldova', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Françoise van Luxemburglaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Republic_of_Moldova property:diplomatic_relation ?c } UNION { resource:Françoise_van_Luxemburglaan property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]