Simple Question (Direct)
Simple Question
Q1591009
P19
Q56061
USER
Which administrative territory is the birthplace of Søren Berg ?
(Q1591009,P19,c(Q56061))
action filter_type
action find
entity Q1591009
relation P19
type Q56061
['Q1591009', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1591009 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Søren Berg
action filter_type
action find
entity Søren Berg
relation place of birth
type administrative territorial entity
['Søren Berg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Søren_Berg property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q25331
SYSTEM
Odense
Q25331
(Q1591009,P19,c(Q56061))
action filter_type
action find
entity Q1591009
relation P19
type Q56061
Denmark [ANSWER] is the birthplace of Søren Berg
['Q1591009', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1591009 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Odense
Denmark Odense is the birthplace of Søren Berg
Odense
action filter_type
action find
entity Søren Berg
relation place of birth
type administrative territorial entity
['Søren Berg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Søren_Berg property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1591009
P734
Q82799
USER
Who is associated with that person ?
(Q25331,P734,c(Q82799))
action filter_type
action find
entity Q1591009
relation P734
type Q82799
['Q25331', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1591009 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Søren Berg
action filter_type
action find
entity Søren Berg
relation family name
type name
['Odense', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Søren_Berg property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q15233659
SYSTEM
Berg
Q15233659
(Q25331,P734,c(Q82799))
action filter_type
action find
entity Q1591009
relation P734
type Q82799
[ANSWER] is associated with that person
['Q25331', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1591009 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Berg
Berg is associated with that person
Berg
action filter_type
action find
entity Søren Berg
relation family name
type name
['Odense', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Søren_Berg property:family_name ?j . ?j rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q25331 Q504676
P190
Q56061
USER
How many administrative territories are sister town of Odense and Norrköping Municipality ?
(c(Q56061),P190,Q25331) (c(Q56061),P190,Q504676)
action count
action intersection
action filter_type
action find_reverse
entity Q25331
relation P190
type Q56061
action filter_type
action find_reverse
entity Q504676
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q25331'] [{'concept': 'Q56061'}, 'P190', 'Q504676']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P190 resource:Q504676 . ?c rdf:type ontology:Q56061 . ?c property:P190 resource:Q25331 . ?c rdf:type ontology:Q56061 }
Odense Norrköping Municipality
action count
action intersection
action filter_type
action find_reverse
entity Odense
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Norrköping Municipality
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Odense'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Norrköping Municipality']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:sister_city resource:Norrköping_Municipality . ?c rdf:type ontology:administrative_territorial_entity . ?c property:sister_city resource:Odense . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
4
Q25804 Q40840 Q189361 Q163852
(c(Q56061),P190,Q25331) (c(Q56061),P190,Q504676)
action count
action intersection
action filter_type
action find_reverse
entity Q25331
relation P190
type Q56061
action filter_type
action find_reverse
entity Q504676
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q25331'] [{'concept': 'Q56061'}, 'P190', 'Q504676']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P190 resource:Q504676 . ?c rdf:type ontology:Q56061 . ?c property:P190 resource:Q25331 . ?c rdf:type ontology:Q56061 }
Trondheim Tampere Klaksvík Kópavogur
4
action count
action intersection
action filter_type
action find_reverse
entity Odense
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Norrköping Municipality
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Odense'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Norrköping Municipality']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:sister_city resource:Norrköping_Municipality . ?c rdf:type ontology:administrative_territorial_entity . ?c property:sister_city resource:Odense . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1170076 Q504676
P291 P36
Q56061
USER
Which administrative territories are called the capital of Norrköping Municipality or were Harper's Magazine issued ?
OR((Q504676,P36,c(Q56061)), (Q1170076,P291,c(Q56061)))
action filter_type
action union
action find
entity Q504676
relation P36
action find
entity Q1170076
relation P291
type Q56061
{'OR': [['Q504676', 'P36', {'concept': 'Q56061'}], ['Q1170076', 'P291', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1170076 property:P291 ?i } UNION { resource:Q504676 property:P36 ?i } } . ?i rdf:type ontology:Q56061 }
Harper's Magazine Norrköping Municipality
action filter_type
action union
action find
entity Norrköping Municipality
relation capital
action find
entity Harper's Magazine
relation place of publication
type administrative territorial entity
{'OR': [['Norrköping Municipality', 'capital', {'concept': 'administrative territorial entity'}], ["Harper's Magazine", 'place of publication', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Harper's_Magazine property:place_of_publication ?i } UNION { resource:Norrköping_Municipality property:capital ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q25724
SYSTEM
New York City, Norrköping
Q60 Q25724
OR((Q504676,P36,c(Q56061)), (Q1170076,P291,c(Q56061)))
action filter_type
action union
action find
entity Q504676
relation P36
action find
entity Q1170076
relation P291
type Q56061
[ANSWERS] are called the capital of Norrköping Municipality or were Harper's Magazine issued
{'OR': [['Q504676', 'P36', {'concept': 'Q56061'}], ['Q1170076', 'P291', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1170076 property:P291 ?i } UNION { resource:Q504676 property:P36 ?i } } . ?i rdf:type ontology:Q56061 }
New York City Norrköping
New York City and Norrköping are called the capital of Norrköping Municipality or were Harper's Magazine issued
New York City Norrköping
action filter_type
action union
action find
entity Norrköping Municipality
relation capital
action find
entity Harper's Magazine
relation place of publication
type administrative territorial entity
{'OR': [['Norrköping Municipality', 'capital', {'concept': 'administrative territorial entity'}], ["Harper's Magazine", 'place of publication', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Harper's_Magazine property:place_of_publication ?i } UNION { resource:Norrköping_Municipality property:capital ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q39546 Q56061 Q56061
USER
How many administrative territories come from exactly 1 tools and administrative territories ?
(c(Q56061),P138,c(Q39546)|c(Q56061))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q56061
value 1
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?m ) WHERE { { ?g rdf:type ontology:Q56061 . ?e rdf:type ontology:Q39546 . ?g property:P138 ?e } UNION { ?g property:P138 ?e . ?g rdf:type ontology:Q56061 . ?e rdf:type ontology:Q56061 } } GROUP BY ?g } }
action count
action equal
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type administrative territorial entity
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?m ) WHERE { { ?g rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:tool . ?g property:named_after ?e } UNION { ?g property:named_after ?e . ?g rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } }
[]
tool administrative territorial entity administrative territorial entity
SYSTEM
93
Q923811 Q630597 Q2965897 Q755425 Q3028710 Q2675898 Q2786054 Q2247076 Q2451306 Q959016 Q383434 Q3025889 Q2327293 Q1924796 Q79439 Q12725121 Q2441471 Q3030491 Q1020419 Q2310264 Q58337 Q2231797 Q128361 Q2367586 Q1904685 Q2995979 Q2281401 Q852577 Q3028745 Q706032 Q614727 Q585186 Q2405593 Q606268 Q1434796 Q49111 Q60 Q2324280 Q3029834 Q2224902 Q3183 Q956 Q3101185 Q2324628 Q1021877 Q18419 Q2455984 Q2375558 Q2865259 Q5355318 Q3152900 Q54886 Q2523914 Q2503080 Q1112057 Q1942643 Q652552 Q188693 Q743632 Q471969 Q2272796 Q663035 Q223308 Q2931074 Q2636902 Q194067 Q2761467 Q2782963 Q2613390 Q3029792 Q2434021 Q3112125 Q79844 Q427543 Q727806 Q2662899 Q203263 Q75008 Q2650727 Q2623928 Q100 Q1002490 Q2081683 Q2688620 Q1943127 Q3028087 Q1858372 Q339527 Q2388710 Q2904899 Q1849651 Q2503821 Q1758944
(c(Q56061),P138,c(Q39546)|c(Q56061))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q56061
type Q39546
action find_tuple_counts
relation P138
type Q56061
type Q56061
value 1
[ANSWER]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?m ) WHERE { { ?g rdf:type ontology:Q56061 . ?e rdf:type ontology:Q39546 . ?g property:P138 ?e } UNION { ?g property:P138 ?e . ?g rdf:type ontology:Q56061 . ?e rdf:type ontology:Q56061 } } GROUP BY ?g } }
New Amsterdam, Guyana Twijzelerheide Ermerveen Athens Zuidlaarderveen Beetsterzwaag Valthermond Barger-Compascuum Onida Amsterdam Greater Sudbury Odoornerveen Kolderwolde Mora Athens Sarmizegetusa Dieverbrug Nieuw-Dordrecht Madison Roderwolde Banff Nieuw-Roden Odessa Sint Jacobiparochie Naterij Hull Nieuw-Buinen Carlsbad Eelderwolde Melton Eexterveen Tweede Exloërmond Drouwenermond Port Lincoln Tamworth Cambridge New York City Eexterzandvoort Kollumerzwaag Echtenerbrug Perth Beijing Uithuizermeeden Geesbrug Clarens, Free State Brooklyn Haulerwijk Rutherglen Exloërveen Electoral district of Daylesford Amsterdam, Mpumalanga Cuenca Bethlehem, Groningen Amsterdamscheveld Jumilla Aberfeldy Dordrecht, Eastern Cape Blantyre Nieuw-Amsterdam, Drenthe Lille metropolis Damwâld Lincoln New Amsterdam Termunterzijl Eagmaryp Serpukhov Roderesch Nieuw-Balinge Tweede Valthermond Nij Altoenae Lheebroek Nij Beets Stuttgart Stockholm metropolitan area Kollumerpomp Surhuisterveen Athens Östra Torn Gieterveen Bartlehiem Boston New Bern Donnybrook Nieuw-Beerta Seville Feanwâldsterwâl Exloërkijl Launceston Eerste Exloërmond Beetgumermolen Nieuw-Weerdinge Ouwster-Nijega Rottumeroog
93
action count
action equal
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type tool
action find_tuple_counts
relation named after
type administrative territorial entity
type administrative territorial entity
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'tool'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { FILTER ( ?m = 1 ) . { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?m ) WHERE { { ?g rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:tool . ?g property:named_after ?e } UNION { ?g property:named_after ?e . ?g rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q36180 Q1170076
P106 P108
Q502895
USER
Which people are working for Harper's Magazine and have the profession of writer ?
AND((c(Q502895),P108,Q1170076), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q1170076
relation P108
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q1170076'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q1170076 . ?x property:P106 resource:Q36180 . ?x rdf:type ontology:Q502895 }
writer Harper's Magazine
action filter_type
action intersection
action find_reverse
entity Harper's Magazine
relation employer
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'employer', "Harper's Magazine"], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?x WHERE { ?x property:employer resource:Harper's_Magazine . ?x property:occupation resource:writer . ?x rdf:type ontology:common_name }
[]
common name
Q1686355
SYSTEM
Jeff Sharlet
Q1686355
AND((c(Q502895),P108,Q1170076), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q1170076
relation P108
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWER] is working for Harper's Magazine and have the profession of writer
{'AND': [[{'concept': 'Q502895'}, 'P108', 'Q1170076'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q1170076 . ?x property:P106 resource:Q36180 . ?x rdf:type ontology:Q502895 }
Jeff Sharlet
Jeff Sharlet is working for Harper's Magazine and have the profession of writer
Jeff Sharlet
action filter_type
action intersection
action find_reverse
entity Harper's Magazine
relation employer
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'employer', "Harper's Magazine"], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?x WHERE { ?x property:employer resource:Harper's_Magazine . ?x property:occupation resource:writer . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works have been dubbed by atleast 7 people ?
(c(Q386724),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 7
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?o ) WHERE { ?p property:P725 ?l . ?p rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?o >= 7 ) }
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 7
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?o ) WHERE { ?p property:voice_actor ?l . ?p rdf:type ontology:work . ?l rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?o >= 7 ) }
[]
common name work
Q26331781 Q26712000 Q26301623
SYSTEM
Hércules y el examen de conducir, Hércules y los Tecno-Griegos, Hércules y el primer día de escuela
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26715049 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 7
[ANSWERS] have been dubbed by atleast 7 people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?o ) WHERE { ?p property:P725 ?l . ?p rdf:type ontology:Q386724 . ?l rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?o >= 7 ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
Hércules y el examen de conducir, Hércules y los Tecno-Griegos and Hércules y el primer día de escuela have been dubbed by atleast 7 people
Hércules y el examen de conducir Hércules y los Tecno-Griegos Hércules y el primer día de escuela
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 7
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?o ) WHERE { ?p property:voice_actor ?l . ?p rdf:type ontology:work . ?l rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?o >= 7 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1591009
P27
Q1048835
USER
How many political territories are Søren Berg an inhabitant of ?
(Q1591009,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1591009
relation P27
type Q1048835
['Q1591009', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1591009 property:P27 ?k }
Søren Berg
action count
action filter_type
action find
entity Søren Berg
relation country of citizenship
type political territorial entity
['Søren Berg', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Søren_Berg property:country_of_citizenship ?k }
[]
political territorial entity
SYSTEM
1
Q35
(Q1591009,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1591009
relation P27
type Q1048835
[ANSWER]
['Q1591009', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1591009 property:P27 ?k }
Denmark
1
action count
action filter_type
action find
entity Søren Berg
relation country of citizenship
type political territorial entity
['Søren Berg', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Søren_Berg property:country_of_citizenship ?k }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1079689
Q1048835
USER
And also tell me about Christian Friedrich Voigt?
(Q1079689,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1079689
relation P27
type Q1048835
['Q1079689', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q1079689 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Christian Friedrich Voigt
action count
action filter_type
action find
entity Christian Friedrich Voigt
relation country of citizenship
type political territorial entity
['Christian Friedrich Voigt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Christian_Friedrich_Voigt property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q1079689,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1079689
relation P27
type Q1048835
[ANSWER]
['Q1079689', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q1079689 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Christian Friedrich Voigt
relation country of citizenship
type political territorial entity
['Christian Friedrich Voigt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Christian_Friedrich_Voigt property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6723 Q504676
P190 P421
Q56061
USER
Which administrative territories are twin town of Norrköping Municipality and are UTC+02:00 a time zone for ?
AND((c(Q56061),P190,Q504676), (c(Q56061),P421,Q6723))
action filter_type
action intersection
action find_reverse
entity Q504676
relation P190
action find_reverse
entity Q6723
relation P421
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q504676'], [{'concept': 'Q56061'}, 'P421', 'Q6723']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . ?o property:P190 resource:Q504676 . ?o property:P421 resource:Q6723 }
UTC+02:00 Norrköping Municipality
action filter_type
action intersection
action find_reverse
entity Norrköping Municipality
relation sister city
action find_reverse
entity UTC+02:00
relation located in time zone
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Norrköping Municipality'], [{'concept': 'administrative territorial entity'}, 'located in time zone', 'UTC+02:00']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?o property:sister_city resource:Norrköping_Municipality . ?o property:located_in_time_zone resource:UTC+02:00 }
[]
administrative territorial entity
Q40840
SYSTEM
Tampere
Q40840
AND((c(Q56061),P190,Q504676), (c(Q56061),P421,Q6723))
action filter_type
action intersection
action find_reverse
entity Q504676
relation P190
action find_reverse
entity Q6723
relation P421
type Q56061
[ANSWER] is twin town of Norrköping Municipality and is UTC+02:00 a time zone for
{'AND': [[{'concept': 'Q56061'}, 'P190', 'Q504676'], [{'concept': 'Q56061'}, 'P421', 'Q6723']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . ?o property:P190 resource:Q504676 . ?o property:P421 resource:Q6723 }
Tampere
Tampere is twin town of Norrköping Municipality and is UTC+02:00 a time zone for
Tampere
action filter_type
action intersection
action find_reverse
entity Norrköping Municipality
relation sister city
action find_reverse
entity UTC+02:00
relation located in time zone
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'sister city', 'Norrköping Municipality'], [{'concept': 'administrative territorial entity'}, 'located in time zone', 'UTC+02:00']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . ?o property:sister_city resource:Norrköping_Municipality . ?o property:located_in_time_zone resource:UTC+02:00 }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q956
P559
Q56061 Q83620 Q44377
USER
How many administrative territories are the endpoints for more number of thoroughfares and tunnels than Beijing ?
(c(Q83620)|c(Q44377),P559,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q956
relation P559
type Q83620
type Q44377
[[{'concept': 'Q83620'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:Q83620 ) ( ontology:Q44377 ) } . ?f rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P559 resource:Q956 . { { ?v rdf:type ontology:Q44377 } UNION { ?v rdf:type ontology:Q83620 } } } } . FILTER ( ?r > ?n ) }
Beijing
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Beijing
relation terminus
type thoroughfare
type tunnel
[[{'concept': 'thoroughfare'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:thoroughfare ) ( ontology:tunnel ) } . ?f rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:terminus resource:Beijing . { { ?v rdf:type ontology:tunnel } UNION { ?v rdf:type ontology:thoroughfare } } } } . FILTER ( ?r > ?n ) }
[]
administrative territorial entity thoroughfare tunnel
SYSTEM
4
Q69639 Q3001 Q1318695 Q12892
(c(Q83620)|c(Q44377),P559,c(Q56061))
action count
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q956
relation P559
type Q83620
type Q44377
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:Q83620 ) ( ontology:Q44377 ) } . ?f rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P559 resource:Q956 . { { ?v rdf:type ontology:Q44377 } UNION { ?v rdf:type ontology:Q83620 } } } } . FILTER ( ?r > ?n ) }
Göschenen Paramaribo Apoera Antwerp
4
action count
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Beijing
relation terminus
type thoroughfare
type tunnel
[[{'concept': 'thoroughfare'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:thoroughfare ) ( ontology:tunnel ) } . ?f rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:terminus resource:Beijing . { { ?v rdf:type ontology:tunnel } UNION { ?v rdf:type ontology:thoroughfare } } } } . FILTER ( ?r > ?n ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q25331
P19 P21
Q502895
USER
Which people were born at Odense and are a male ?
AND((c(Q502895),P19,Q25331), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25331
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q25331'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P19 resource:Q25331 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Odense
action filter_type
action intersection
action find_reverse
entity Odense
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Odense'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:place_of_birth resource:Odense . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q12331649 Q1037888 Q816805 Q180097 Q543536 Q2485811 Q11973993 Q5388456 Q669625 Q12304966
SYSTEM
Some of them are Peter Martensen, Carl Frederik Tietgen, Bendt Bendtsen, Laurids Bruun, Sophus Michaëlis, Carsten Hemmingsen, Hans Christian Ægidius, Erik Andersen, Mads Toppel, C.M. Soya-Jensen
Q11679515 Q20888765 Q1718517 Q3364631 Q6914454 Q18044255 Q4919509 Q1797678 Q1361090 Q7518415 Q1345002 Q19478508 Q3442278 Q18619447 Q7608156 Q4890328 Q20677147 Q719072 Q6160022 Q1691977 Q491169 Q1410988 Q330192 Q4310472 Q5388456 Q6185807 Q59554 Q12331649 Q516258 Q1591009 Q12313795 Q1735156 Q972238 Q677511 Q11974061 Q2485811 Q466316 Q6765967 Q388818 Q7341515 Q3434238 Q19798424 Q16065110 Q350308 Q63989 Q2425541 Q1986288 Q300794 Q4994126 Q1942474 Q10513421 Q616574 Q12300516 Q21817080 Q26255376 Q1793449 Q586422 Q4115546 Q7160370 Q3359618 Q5673 Q180097 Q262716 Q11973993 Q643123 Q2744887 Q352777 Q6234038 Q213134 Q3978477 Q286922 Q12304966 Q472590 Q6194160 Q462867 Q531748 Q19665852 Q6179595 Q3118203 Q378217 Q1274343 Q11973422 Q310958 Q1375711 Q981441 Q5129520 Q2479329 Q1687112 Q1598698 Q6187873 Q2330 Q5039821 Q972374 Q3121425 Q5880250 Q2035231 Q2567316 Q245057 Q709706 Q910192 Q386721 Q5371398 Q554768 Q11986923 Q3441565 Q6185832 Q816805 Q5723683 Q677563 Q15787699 Q5509279 Q1859244 Q4355461 Q1037888 Q12344165 Q18719295 Q4830296 Q1382210 Q4992451 Q1375737 Q2055678 Q774978 Q543536 Q1677684 Q5388859 Q3276246 Q1153192 Q1904467 Q12318023 Q788060 Q1159092 Q425708 Q669625 Q6491442 Q20018556 Q1624647 Q715430 Q5217565 Q3177576 Q4994468 Q1745818 Q12301476
AND((c(Q502895),P19,Q25331), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25331
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were born at Odense and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q25331'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P19 resource:Q25331 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Olaf Schmidth Axel Axgil Peter Lyck Hansen Aksel Hansen Morten Donnerup Jørgen Jensen Bjarne Eltang Lars Simonsen Mads Timm Simon Carlsen Morten Grunwald Jørgen Rasmussen Robert Madsen Otto Plantener Stephan Mølvig Bent Jensen Kristian Jensen Stephan Groth Julius Paulsen Johan Heinrich Knuth Anders Lund Hoyer Michael Eskesen Abraham Kurland Viggo Frederik Møller Erik Andersen Jesper Christiansen Edmund Hansen Peter Martensen Johannes Buchholtz Søren Berg Gerhardt Poulsen Kasper Linde Jørgensen Lars Høgh Dan Petersen Hans Laurits Pedersen Carsten Hemmingsen Kasper Bøgelund Marius Lefèrve Patrik Wozniacki Robert Anderson Bernhard Jensen Hans Luunbjerg Roland Møller Allan Simonsen Johnny Hansen Ulrik Laursen Nicolai Hansen Aage Pedersen Roald Poulsen Mogens Berg Niels Frederiksen Martin Vingaard Adam Gottlob Detlef Moltke Martin Johs. Møller Frank Lauridsen Kurt Christensen Viktor Axelsen Peter Rasmussen Peer Guldbrandsen Rune T. Kidde Hans Christian Andersen Laurids Bruun Claus Bo Larsen Hans Christian Ægidius Carl Frederik Aagaard Johan Kobborg Niels Matthias Petersen Gustav Joachim Wedell-Wedellsborg Lars Jacobsen Svend Jørgen Hansen Erik Christian Clemmensen C.M. Soya-Jensen Jakob Piil Søren Stærmose Alex Rasmussen Carsten Hansen Johan Frederik Schultz Jens Axboe Grunddal Sjallung Charles I, Count of Flanders Richard Møller Nielsen Gustav Rasmussen Rasmus Rask Allan Hansen Wilhelm Bendz Claus Madsen Helge Jørgensen J.A. Hansen Jann Jensen Uffe Steen Nicki Pedersen Carl Andersen Carl Deichman Thomas Troelsen Holger Jacobsen Kai Johansen Morten Ramsland Anders Lindegaard Ole Bjørnmose Thomas Helveg Jørn Riel Emil Ousager Peter Eastgate Ludvig Holgersen Rosenkrantz Ingvald Eriksen Jesper Hjorth Bendt Bendtsen Vigand Andreas Falbe-Hansen Kaj Jensen Benny Simonsen Funkstar De Luxe Matti Lund Nielsen Morten Lange Carl Frederik Tietgen William Douglas Per Bartram Axel Jensen John Danielsen Hans Schjellerup Michael Pedersen Friis Erling Nielsen Torsten Laen Sophus Michaëlis Jacob B. Winslow Erik Sørensen Mads Jespersen Jørgen Leschly Sørensen Martin Lollesgaard Ib Stetter Ove Sprogøe Dan Jørgensen Niels Helveg Petersen Mads Toppel Lars Christian Lilleholt Jonas Groth Holger Topp-Pedersen Kristian Pless Daniel Høegh Jesper Andersen Kenneth Møller Pedersen Peter Friedrich von Willemoes-Suhm Anders Søgaard
Peter Martensen, Carl Frederik Tietgen, Bendt Bendtsen, Laurids Bruun, Sophus Michaëlis, Carsten Hemmingsen, Hans Christian Ægidius, Erik Andersen, Mads Toppel and C.M. Soya-Jensen were born at Odense and are a male
Peter Martensen Carl Frederik Tietgen Bendt Bendtsen Laurids Bruun Sophus Michaëlis Carsten Hemmingsen Hans Christian Ægidius Erik Andersen Mads Toppel C.M. Soya-Jensen
action filter_type
action intersection
action find_reverse
entity Odense
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Odense'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:place_of_birth resource:Odense . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q482500
P725
Q502895 Q166142
USER
Which applications did around the same number of people dub for as Bludgeoning Angel Dokuro-Chan ?
(c(Q166142),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q482500
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?k ) WHERE { ?t property:P725 ?d . ?t rdf:type ontology:Q166142 . ?d rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q482500 property:P725 ?h . ?h rdf:type ontology:Q166142 } } . FILTER ( ?k = ?s ) }
Bludgeoning Angel Dokuro-Chan
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Bludgeoning Angel Dokuro-Chan
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?k ) WHERE { ?t property:voice_actor ?d . ?t rdf:type ontology:application . ?d rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Bludgeoning_Angel_Dokuro-Chan property:voice_actor ?h . ?h rdf:type ontology:application } } . FILTER ( ?k = ?s ) }
[]
common name application
Q1371495 Q1037042 Q914286
SYSTEM
System Shock 2, Hitman 2: Silent Assassin, Street Fighter IV
Q16031150 Q5319170 Q602979 Q1371495 Q53362 Q1065670 Q8059682 Q7379808 Q3546883 Q2578717 Q7379806 Q6902732 Q15588417 Q3274352 Q1191681 Q2709892 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q27863 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q1207525 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q4121008 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q482500
relation P725
type Q166142
[ANSWERS] around the same number of people dubbed for as Bludgeoning Angel Dokuro-Chan
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?k ) WHERE { ?t property:P725 ?d . ?t rdf:type ontology:Q166142 . ?d rdf:type ontology:Q502895 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q482500 property:P725 ?h . ?h rdf:type ontology:Q166142 } } . FILTER ( ?k = ?s ) }
Hyperdimension Neptunia PP Dynasty Warriors 8 Tokyo Majin System Shock 2 Bakemonogatari Shuffle! Ys Seven Rune Factory 4 Hourglass of Summer Star Fox Adventures Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Project 575 Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc Sword Art Online God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Hyperdimension Neptunia Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Super Mario Galaxy Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) Date A Live 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Hyperdimension Neptunia Victory Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
System Shock 2, Hitman 2: Silent Assassin and Street Fighter IV around the same number of people dubbed for as Bludgeoning Angel Dokuro-Chan
System Shock 2 Hitman 2: Silent Assassin Street Fighter IV
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Bludgeoning Angel Dokuro-Chan
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?d ) AS ?k ) WHERE { ?t property:voice_actor ?d . ?t rdf:type ontology:application . ?d rdf:type ontology:common_name } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Bludgeoning_Angel_Dokuro-Chan property:voice_actor ?h . ?h rdf:type ontology:application } } . FILTER ( ?k = ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q60
P206
Q15324 Q355304
USER
How many bodies of water or watercourses are located in the neighbourhood of New York City ?
(Q60,P206,c(Q15324)) (Q60,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q60
relation P206
type Q15324
action filter_type
action find
entity Q60
relation P206
type Q355304
['Q60', 'P206', {'concept': 'Q15324'}] ['Q60', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:Q60 property:P206 ?k . ?k rdf:type ontology:Q15324 } UNION { resource:Q60 property:P206 ?k . ?k rdf:type ontology:Q355304 } }
New York City
action count
action union
action filter_type
action find
entity New York City
relation located next to body of water
type body of water
action filter_type
action find
entity New York City
relation located next to body of water
type watercourse
['New York City', 'located next to body of water', {'concept': 'body of water'}] ['New York City', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:New_York_City property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water } UNION { resource:New_York_City property:located_next_to_body_of_water ?k . ?k rdf:type ontology:watercourse } }
[]
body of water watercourse
SYSTEM
6
Q3140 Q1294277 Q867460 Q1064776 Q597451 Q928157
(Q60,P206,c(Q15324)) (Q60,P206,c(Q355304))
action count
action union
action filter_type
action find
entity Q60
relation P206
type Q15324
action filter_type
action find
entity Q60
relation P206
type Q355304
[ANSWER]
['Q60', 'P206', {'concept': 'Q15324'}] ['Q60', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:Q60 property:P206 ?k . ?k rdf:type ontology:Q15324 } UNION { resource:Q60 property:P206 ?k . ?k rdf:type ontology:Q355304 } }
Hudson River Lower New York Bay Long Island Sound Upper New York Bay Harlem River Bronx River
6
action count
action union
action filter_type
action find
entity New York City
relation located next to body of water
type body of water
action filter_type
action find
entity New York City
relation located next to body of water
type watercourse
['New York City', 'located next to body of water', {'concept': 'body of water'}] ['New York City', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { resource:New_York_City property:located_next_to_body_of_water ?k . ?k rdf:type ontology:body_of_water } UNION { resource:New_York_City property:located_next_to_body_of_water ?k . ?k rdf:type ontology:watercourse } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5543398 Q25331
P19 P190
Q56061
USER
Which administrative territories are twin towns of Odense or were George Phillpotts born in ?
OR((Q25331,P190,c(Q56061)), (Q5543398,P19,c(Q56061)))
action filter_type
action union
action find
entity Q25331
relation P190
action find
entity Q5543398
relation P19
type Q56061
{'OR': [['Q25331', 'P190', {'concept': 'Q56061'}], ['Q5543398', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q25331 property:P190 ?r } UNION { resource:Q5543398 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
George Phillpotts Odense
action filter_type
action union
action find
entity Odense
relation sister city
action find
entity George Phillpotts
relation place of birth
type administrative territorial entity
{'OR': [['Odense', 'sister city', {'concept': 'administrative territorial entity'}], ['George Phillpotts', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Odense property:sister_city ?r } UNION { resource:George_Phillpotts property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42137 Q6226 Q1709 Q4115712 Q163852 Q749 Q190828 Q25724 Q303160 Q40840
SYSTEM
Some of them are Iksan, St Albans, Schwerin, Kaunas, Kópavogur, Groningen, Petah Tikva, Norrköping, Upernavik, Tampere
Q588 Q1829 Q40840 Q25724 Q163852 Q25804 Q6226 Q42137 Q303160 Q190828 Q1709 Q16567 Q179815 Q4115712 Q189361 Q749
OR((Q25331,P190,c(Q56061)), (Q5543398,P19,c(Q56061)))
action filter_type
action union
action find
entity Q25331
relation P190
action find
entity Q5543398
relation P19
type Q56061
[ANSWERS] are twin towns of Odense or were George Phillpotts born in
{'OR': [['Q25331', 'P190', {'concept': 'Q56061'}], ['Q5543398', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q25331 property:P190 ?r } UNION { resource:Q5543398 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Katowice Kaliningrad Tampere Norrköping Kópavogur Trondheim St Albans Iksan Upernavik Petah Tikva Schwerin Columbus Durham Kaunas Klaksvík Groningen
Iksan, St Albans, Schwerin, Kaunas, Kópavogur, Groningen, Petah Tikva, Norrköping, Upernavik and Tampere are twin towns of Odense or were George Phillpotts born in
Iksan St Albans Schwerin Kaunas Kópavogur Groningen Petah Tikva Norrköping Upernavik Tampere
action filter_type
action union
action find
entity Odense
relation sister city
action find
entity George Phillpotts
relation place of birth
type administrative territorial entity
{'OR': [['Odense', 'sister city', {'concept': 'administrative territorial entity'}], ['George Phillpotts', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Odense property:sister_city ?r } UNION { resource:George_Phillpotts property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]