Simple Question (Direct)
Simple Question
Q6873881
P39
Q12737077
USER
What were the positions for which Miron Mitrea were appointed ?
(Q6873881,P39,c(Q12737077))
action filter_type
action find
entity Q6873881
relation P39
type Q12737077
['Q6873881', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6873881 property:P39 ?e }
Miron Mitrea
action filter_type
action find
entity Miron Mitrea
relation position held
type occupation
['Miron Mitrea', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Miron_Mitrea property:position_held ?e }
[]
occupation
Q19938957 Q17556530
SYSTEM
member of the Senate of Romania, Member of the Chamber of Deputies of Romania
Q19938957 Q17556530
(Q6873881,P39,c(Q12737077))
action filter_type
action find
entity Q6873881
relation P39
type Q12737077
The [ANSWERS]
['Q6873881', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q6873881 property:P39 ?e }
member of the Senate of Romania Member of the Chamber of Deputies of Romania
The member of the Senate of Romania and Member of the Chamber of Deputies of Romania
member of the Senate of Romania Member of the Chamber of Deputies of Romania
action filter_type
action find
entity Miron Mitrea
relation position held
type occupation
['Miron Mitrea', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Miron_Mitrea property:position_held ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19938957
P17
Q15617994
USER
Which administrative territory does member of the Senate of Romania belong to ?
(Q19938957,P17,c(Q15617994))
action filter_type
action find
entity Q19938957
relation P17
type Q15617994
['Q19938957', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q19938957 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
member of the Senate of Romania
action filter_type
action find
entity member of the Senate of Romania
relation country
type designation for an administrative territorial entity
['member of the Senate of Romania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:member_of_the_Senate_of_Romania property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q19938957,P17,c(Q15617994))
action filter_type
action find
entity Q19938957
relation P17
type Q15617994
Member of the Senate of [ANSWER] belongs to the [ANSWER]
['Q19938957', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q19938957 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Romania
Member of the Senate of Romania belongs to the Romania
Romania
action filter_type
action find
entity member of the Senate of Romania
relation country
type designation for an administrative territorial entity
['member of the Senate of Romania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:member_of_the_Senate_of_Romania property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q499470
Q15617994
USER
And how about Ilam?
(Q499470,P17,c(Q15617994))
action filter_type
action find
entity Q499470
relation P17
type Q15617994
['Q499470', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q499470 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Ilam
action filter_type
action find
entity Ilam
relation country
type designation for an administrative territorial entity
['Ilam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Ilam property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q499470,P17,c(Q15617994))
action filter_type
action find
entity Q499470
relation P17
type Q15617994
[ANSWER]
['Q499470', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q499470 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Ilam
relation country
type designation for an administrative territorial entity
['Ilam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Ilam property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q499470
P36
Q137535
USER
Which county of Iran has that administrative territory as its administrative centre ?
(c(Q137535),P36,Q794)
action filter_type
action find_reverse
entity Q499470
relation P36
type Q137535
[{'concept': 'Q137535'}, 'P36', 'Q794']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q499470 . ?h rdf:type ontology:Q137535 }
Ilam
action filter_type
action find_reverse
entity Ilam
relation capital
type county of Iran
[{'concept': 'county of Iran'}, 'capital', 'Iran']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Ilam . ?h rdf:type ontology:county_of_Iran }
[]
county of Iran
Q1291845
SYSTEM
Ilam County
Q1291845
(c(Q137535),P36,Q794)
action filter_type
action find_reverse
entity Q499470
relation P36
type Q137535
[ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q137535'}, 'P36', 'Q794']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q499470 . ?h rdf:type ontology:Q137535 }
Ilam County
Ilam County has that administrative territory as its administrative centre
Ilam County
action filter_type
action find_reverse
entity Ilam
relation capital
type county of Iran
[{'concept': 'county of Iran'}, 'capital', 'Iran']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Ilam . ?h rdf:type ontology:county_of_Iran }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1291845
P361
Q56061
USER
Which administrative territory is a portion of that county of Iran ?
(c(Q56061),P361,Q1291845)
action filter_type
action find_reverse
entity Q1291845
relation P361
type Q56061
[{'concept': 'Q56061'}, 'P361', 'Q1291845']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q1291845 . ?n rdf:type ontology:Q56061 }
Ilam County
action filter_type
action find_reverse
entity Ilam County
relation part of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'part of', 'Ilam County']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Ilam_County . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q499470
SYSTEM
Ilam
Q499470
(c(Q56061),P361,Q1291845)
action filter_type
action find_reverse
entity Q1291845
relation P361
type Q56061
[ANSWER] is a portion of that county of Iran
[{'concept': 'Q56061'}, 'P361', 'Q1291845']
SELECT DISTINCT ?n WHERE { ?n property:P361 resource:Q1291845 . ?n rdf:type ontology:Q56061 }
Ilam
Ilam is a portion of that county of Iran
Ilam
action filter_type
action find_reverse
entity Ilam County
relation part of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'part of', 'Ilam County']
SELECT DISTINCT ?n WHERE { ?n property:part_of resource:Ilam_County . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q137535 Q1344695
USER
How many counties of Iran and provinces of Iran are that administrative territory the capital of ?
(c(Q137535),P36,Q499470) (c(Q1344695),P36,Q499470) (c(Q137535),P36,Q499470) (c(Q1344695),P36,Q499470)
action count
action union
action filter_type
action find_reverse
entity Q499470
relation P36
type Q137535
action filter_type
action find_reverse
entity Q499470
relation P36
type Q1344695
[{'concept': 'Q137535'}, 'P36', 'Q499470'] [{'concept': 'Q1344695'}, 'P36', 'Q499470'] [{'concept': 'Q137535'}, 'P36', 'Q499470'] [{'concept': 'Q1344695'}, 'P36', 'Q499470']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:Q137535 . ?h property:P36 resource:Q499470 } UNION { ?h rdf:type ontology:Q1344695 . ?h property:P36 resource:Q499470 } }
action count
action union
action filter_type
action find_reverse
entity Ilam
relation capital
type county of Iran
action filter_type
action find_reverse
entity Ilam
relation capital
type province of Iran
[{'concept': 'county of Iran'}, 'capital', 'Ilam'] [{'concept': 'province of Iran'}, 'capital', 'Ilam'] [{'concept': 'county of Iran'}, 'capital', 'Ilam'] [{'concept': 'province of Iran'}, 'capital', 'Ilam']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:county_of_Iran . ?h property:capital resource:Ilam } UNION { ?h rdf:type ontology:province_of_Iran . ?h property:capital resource:Ilam } }
[]
county of Iran province of Iran
SYSTEM
1 counties of Iran and 1 provinces of Iran
Q1291845 Q170570
(c(Q137535),P36,Q499470) (c(Q1344695),P36,Q499470) (c(Q137535),P36,Q499470) (c(Q1344695),P36,Q499470)
action count
action union
action filter_type
action find_reverse
entity Q499470
relation P36
type Q137535
action filter_type
action find_reverse
entity Q499470
relation P36
type Q1344695
[ANSWER]
[{'concept': 'Q137535'}, 'P36', 'Q499470'] [{'concept': 'Q1344695'}, 'P36', 'Q499470'] [{'concept': 'Q137535'}, 'P36', 'Q499470'] [{'concept': 'Q1344695'}, 'P36', 'Q499470']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:Q137535 . ?h property:P36 resource:Q499470 } UNION { ?h rdf:type ontology:Q1344695 . ?h property:P36 resource:Q499470 } }
Ilam County Ilam Province
1 counties of Iran and 1 provinces of Iran
action count
action union
action filter_type
action find_reverse
entity Ilam
relation capital
type county of Iran
action filter_type
action find_reverse
entity Ilam
relation capital
type province of Iran
[{'concept': 'county of Iran'}, 'capital', 'Ilam'] [{'concept': 'province of Iran'}, 'capital', 'Ilam'] [{'concept': 'county of Iran'}, 'capital', 'Ilam'] [{'concept': 'province of Iran'}, 'capital', 'Ilam']
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { ?h rdf:type ontology:county_of_Iran . ?h property:capital resource:Ilam } UNION { ?h rdf:type ontology:province_of_Iran . ?h property:capital resource:Ilam } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24026988
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as registry port than Hope ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026988
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?l ) WHERE { ?n property:P532 ?b . ?n rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?n } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q24026988 property:P532 ?e . ?e rdf:type ontology:Q2235308 } } }
Hope
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Hope
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?l ) WHERE { ?n property:port_of_registry ?b . ?n rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Hope property:port_of_registry ?e . ?e rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026988
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?l ) WHERE { ?n property:P532 ?b . ?n rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 } GROUP BY ?n } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Q24026988 property:P532 ?e . ?e rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Hope
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?l ) WHERE { ?n property:port_of_registry ?b . ?n rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?l > ?o ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { resource:Hope property:port_of_registry ?e . ?e rdf:type ontology:ship_type } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6873881
P166
Q618779
USER
Which award was Miron Mitrea awarded with ?
(Q6873881,P166,c(Q618779))
action filter_type
action find
entity Q6873881
relation P166
type Q618779
['Q6873881', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q6873881 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Miron Mitrea
action filter_type
action find
entity Miron Mitrea
relation award received
type award
['Miron Mitrea', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Miron_Mitrea property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q950604
SYSTEM
Order of the Star of Romania
Q950604
(Q6873881,P166,c(Q618779))
action filter_type
action find
entity Q6873881
relation P166
type Q618779
Miron Mitrea was awarded the [ANSWER]
['Q6873881', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q6873881 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Order of the Star of Romania
Miron Mitrea was awarded the Order of the Star of Romania
Order of the Star of Romania
action filter_type
action find
entity Miron Mitrea
relation award received
type award
['Miron Mitrea', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Miron_Mitrea property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4211492
Q618779
USER
And also tell me about Ivan Kamera?
(Q4211492,P166,c(Q618779))
action filter_type
action find
entity Q4211492
relation P166
type Q618779
['Q4211492', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q4211492 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Ivan Kamera
action filter_type
action find
entity Ivan Kamera
relation award received
type award
['Ivan Kamera', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Ivan_Kamera property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q185493 Q18080149 Q337463
SYSTEM
Order of Lenin, Order of the Patriotic War 1st class, Order of the Red Banner
Q185493 Q18080149 Q337463
(Q4211492,P166,c(Q618779))
action filter_type
action find
entity Q4211492
relation P166
type Q618779
[ANSWERS]
['Q4211492', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q4211492 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Order of Lenin Order of the Patriotic War 1st class Order of the Red Banner
Order of Lenin Order of the Patriotic War 1st class Order of the Red Banner
action filter_type
action find
entity Ivan Kamera
relation award received
type award
['Ivan Kamera', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Ivan_Kamera property:award_received ?y . ?y rdf:type ontology:award }
[]